Skip to content

[Share]Interlude DM

Featured Replies

plss help how to make npc for this event  :(

 

i am sorry for my english

Thansk very much, for this !!! I did with random spawn locations. Great! Thx for sharing this. good luck!

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!

  • Author

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...

Thanks a lot coyote. One more greate share :D

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

Can be :) I saw a PvP server, there is automatical DM :)

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

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

Great share.Thanks man,awesome. :)

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

  • Author

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.