Jump to content

Recommended Posts

Posted

i'm trying to add event but i have problem:

i'm searching this lines

 

-3376,6 +3393,11 @@

                        player.sendPacket(new ActionFailed());

                        return;

                }

+               if (_inEventDM && DM._started && !Config.DM_ALLOW_INTERFERENCE)

+               {

+                       player.sendPacket(new ActionFailed());

+                       return;

+               }

 

                // Check if the L2PcInstance is confused

                if (player.isOutOfControl())

 

I have few this lines

 

i have no this line

 

if someone can help me please send me pm!

Posted

i'm trying to add event but i have problem:

i'm searching this lines

 

-3376,6 +3393,11 @@

                        player.sendPacket(new ActionFailed());

                        return;

                }

+              if (_inEventDM && DM._started && !Config.DM_ALLOW_INTERFERENCE)

+              {

+                      player.sendPacket(new ActionFailed());

+                      return;

+              }

 

                // Check if the L2PcInstance is confused

                if (player.isOutOfControl())

 

I have few this lines

 

i have no this line

 

if someone can help me please send me pm!

 

There is no need to find the exact lines.

Just find the method where these "lines" are, and add the code there.

  • 3 months later...
Posted

I tried to add it in old archid but i got error in AdminDmEngine over here:

if (!(checkLevel(activeChar.getAccessLevel()) && activeChar.isGM())) return false;

Posted

I tried to add it in old archid but i got error in AdminDmEngine over here:

if (!(checkLevel(activeChar.getAccessLevel()) && activeChar.isGM())) return false;

any ideas?oO

Posted

I tried to add it in old archid but i got error in AdminDmEngine over here:

if (!(checkLevel(activeChar.getAccessLevel()) && activeChar.isGM())) return false;

 

That's because they have remade the access level check.

Leaving the isGM() check would be okay as well, if you can't fix it.

 

DM can't be automatical...

 

It can.

 

I was wonderwing, how to do that event starts automaticly, like TvT ? :)

 

Every Event has phases.

Registration, Teleportation, Starting, Ending.

A simple method to control all of them together, and any global task or thread would be more than enough to run then automatically.

Posted

That's because they have remade the access level check.

Leaving the isGM() check would be okay as well, if you can't fix it.

 

nah it didnt work

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock