Jump to content
  • 0

Anti phx announce problem


Question

Recommended Posts

  • 0
Posted

to: SystemChatChannelId.Chat_None symenei :

Apo to class SystemChatChannelId (to opio prepei na exei ginei import pare to int Chat_None

Otan loipon to SystemChatChannelId den yparxei .... poy na to brei to kakomoiro ? :P

  • 0
Posted

Mporeis an exeis tis gnwseis na breis to SystemChatChannelId apo l2jfree kai na to metatrepseis se l2j.

An oxi apla briskeis an yparxei ena antiphx gia l2j

An kai se ayto kaneis fail tote apla den exeis antiphx !

Kalo ?

 

PS Rain xampari den exeis parei !

  • 0
Posted

Mporeis an exeis tis gnwseis na breis to SystemChatChannelId apo l2jfree kai na to metatrepseis se l2j.

An oxi apla briskeis an yparxei ena antiphx gia l2j

An kai se ayto kaneis fail tote apla den exeis antiphx !

Kalo ?

 

PS Rain xampari den exeis parei !

sovara?

vazeis stoixima pos an mpw me teamviewer to exw fixarei se 2 min?

  • 0
Posted

Index: /trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/Say2.java
===================================================================
--- /trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/Say2.java (revision 5)
+++ /trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/Say2.java (revision 11)
@@ -123,5 +123,16 @@
			}
		}
-
+				if (!activeChar.isGM() && _type == ANNOUNCEMENT)
+					{
+						activeChar.sendMessage("[Cheat Guard]: You May Not Announce Anything Without Rights!");
+						return;
+					}
+				
+					if (_text.length() > 100)
+					{
+						activeChar.sendMessage("[Cheat Guard]: You May Not Input More Than 100 Characters");
+					return;
+					}
+				
         if (activeChar.isInJail() && Config.JAIL_DISABLE_CHAT)
         {
@@ -132,4 +143,5 @@
             }
         }
+        

		if (_type == PETITION_PLAYER && activeChar.isGM())

 

Etsi epidi eisai zwara kai nomizeis pos eisai kapoios enw den 3ereis oute ena statement na vgaleis stin java

Guest
This topic is now closed to further replies.
×
×
  • Create New...