L2Walker Protection - EPIC FAIL!

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
knoppix
Posts: 138
Joined: Sat Dec 12, 2009 8:02 pm
Location: La Plata, Buenos Aires

L2Walker Protection - EPIC FAIL!

Post by knoppix »

L2J Revision 4501:
L2JDP Revision 7789:

Ok, here's the deal ...

I have the "L2Walker Protection" ENABLED.

The thing is that if a player whisp somebody and says "CALLATE INJU" (ignore quotes), the server detect this as a walker and kick the player and inform the GM.

Probably Argentinian people will understand what that means ... but the point is that for says something like that I banned a user :S

Can you please check this on your servers to see if we all have the same error?

Thanks in advance.
"Only two things are infinite, the universe and human stupidity, and I\\\'m not sure about the former." - A.Einstein
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: L2Walker Protection

Post by jurchiks »

that's because one of walker commands starts with "CALL". I don't remember if the code checked for the space after it, but if it doesn't - there's the problem.
Last edited by jurchiks on Wed Feb 16, 2011 11:39 am, edited 1 time in total.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: L2Walker Protection

Post by Zoey76 »

Use this patch:

Code: Select all

### Small patch by Zoey76#P L2J_ServerIndex: java/com/l2jserver/gameserver/network/clientpackets/Say2.java===================================================================--- java/com/l2jserver/gameserver/network/clientpackets/Say2.java   (revision 4498)+++ java/com/l2jserver/gameserver/network/clientpackets/Say2.java   (working copy)@@ -91,8 +91,8 @@        "MPCC_ROOM"    };    -   private static final String[] WALKER_COMMAND_LIST = { "USESKILL", "USEITEM", "BUYITEM", "SELLITEM", "SAVEITEM", "LOADITEM", "MSG", "DELAY", "LABEL", "JMP", "CALL",-       "RETURN", "MOVETO", "NPCSEL", "NPCDLG", "DLGSEL", "CHARSTATUS", "POSOUTRANGE", "POSINRANGE", "GOHOME", "SAY", "EXIT", "PAUSE", "STRINDLG", "STRNOTINDLG", "CHANGEWAITTYPE",+   private static final String[] WALKER_COMMAND_LIST = { "USESKILL", "USEITEM", "BUYITEM", "SELLITEM", "SAVEITEM", "LOADITEM", "MSG", "DELAY", "LABEL", "JMP", "CALL ",+       "RETURN", "MOVETO", "NPCSEL", "NPCDLG", "DLGSEL", "CHARSTATUS", "POSOUTRANGE", "POSINRANGE", "GOHOME", "SAY ", "EXIT", "PAUSE", "STRINDLG", "STRNOTINDLG", "CHANGEWAITTYPE",        "FORCEATTACK", "ISMEMBER", "REQUESTJOINPARTY", "REQUESTOUTPARTY", "QUITPARTY", "MEMBERSTATUS", "CHARBUFFS", "ITEMCOUNT", "FOLLOWTELEPORT" };        private String _text; 
At least you will be able to use "callar" verb in all it's Spanish forms.

You can say your player to avoid "SAY" and "CALL" uppercase :P

--Edit
Please change the title of the post, this is a support area not a flame forum.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Post Reply