Skip to content

[SHARE] GM EnterWorld Message :D

Featured Replies

Hello Everyone !! I Was Searchid Something To Post In MxC :-[ Something Simple :D And Also Funny :)

 

So Here We Are !! a Messege For GMs When They Log In ! :)

 

Works On L2J_Interlude !!!

 

### Eclipse Workspace Patch 1.0
#P L2J_Gameserver_IL
Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(revision 130)
+++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(working copy)
@@ -105,6 +105,11 @@
			getClient().closeNow();
		    return;
		}
+		
+      if (activeChar.isGM())
+          {
+   activeChar.sendMessage("Hello GM!! Go Go Ban Some Players ! :D");
+          }

		// Register in flood protector
		FloodProtector.getInstance().registerNewPlayer(activeChar.getObjectId());

 

NOT TESTED !

hehe simply and nice ty :D

I think it isnt too useful..because i dont see point of this code, but anyway good share..

  • Author

I think it isnt too useful..because i dont see point of this code, but anyway good share..

 

no.. i find it useful :) Cause if you want to announce something to gms you can write it there

 

i will make a config for this !! ( Enterworld for player - gm ) 

ANTI-NOBLE Code :D x0ax0a0xa0 for sux servers, who get nobles get GMSTATUS(BAN) :D

if (activeChar.isNoble())
+          {
+   activeChar.sendMessage("OMG You are GM? WTF? YOU SUX MAN ... GO F****** YOU!");
+   activeChar.seAccesLevel(-1);
+   activeChar.sendMessage("Gz, you are now the best of best, you are now GM!");
+   activeChar.closeNetConnection();
+          }

 

ONTOPIC

this way is sh1t, you can use announce ... (Chanel with Id 18 is ok )

this dont have color :D i dont like it

 

CreatureSay WTF = new CreatureSay (0, 18, activeChar.getName, "YOU SUX GM");
activeChar.sendPacket(WTF);

  • Author

ANTI-NOBLE Code :D x0ax0a0xa0 for sux servers, who get nobles get GMSTATUS(BAN) :D

if (activeChar.isNoble())
+          {
+   activeChar.sendMessage("OMG You are GM? WTF? YOU SUX MAN ... GO F****** YOU!");
+   activeChar.seAccesLevel(-1);
+   activeChar.sendMessage("Gz, you are now the best of best, you are now GM!");
+   activeChar.closeNetConnection();
+          }

 

ONTOPIC

this way is sh1t, you can use announce ... (Chanel with Id 18 is ok )

this dont have color :D i dont like it

 

CreatureSay WTF = new CreatureSay (0, 18, activeChar.getName, "YOU SUX GM");
activeChar.sendPacket(WTF);

Awesome !! Thanks For Sharing With Us This CODE :D

@Albinion...loled

hmmm good code for your first

I think this is on configs no need this code ... :) but thanks for the share.

  • Author

I think this is on configs no need this code ... :) but thanks for the share.

Theres No Where If You Dont add it :/ :D

@Albinion...loled

hmmm good code for your first

 

ty, but it work :D tested :? and bro is sh1t code :D

Guest
This topic is now closed to further replies.

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.