Jump to content

[SHARE] GM EnterWorld Message :D


Recommended Posts

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
Link to comment
Share on other sites

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 ) 

Link to comment
Share on other sites

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);

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...