Page 1 of 1

L2Walker Protection - EPIC FAIL!

Posted: Tue Feb 15, 2011 9:41 pm
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.

Re: L2Walker Protection

Posted: Tue Feb 15, 2011 9:51 pm
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.

Re: L2Walker Protection

Posted: Wed Feb 16, 2011 7:12 am
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.