Page 10 of 12

Re: Against bots

Posted: Fri Apr 16, 2010 11:21 am
by Szponiasty
Nice. Thx Janii for checking it out. This will open many new possibilities (not only for antibot) :)

Re: Against bots

Posted: Mon Apr 26, 2010 12:31 am
by MELERIX
Old Patch updated to 4115...

Credits to Cobra.

Code: Select all

Index: java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java===================================================================--- java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(revision 4115)+++ java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(working copy)@@ -23,8 +23,10 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.ActionFailed; import com.l2jserver.gameserver.network.serverpackets.PartyMemberPosition;+import com.l2jserver.gameserver.network.SystemMessageId;+import com.l2jserver.gameserver.util.IllegalPlayerAction;+import com.l2jserver.gameserver.util.Util; - /**  * This class ...  *@@ -71,7 +73,13 @@ 		} 		catch (BufferUnderflowException e) 		{-			// ignore for now+			// L2Walker Protection+			if (Config.L2WALKER_PROTECTION)+			{+				L2PcInstance activeChar = getClient().getActiveChar();+				activeChar.sendPacket(SystemMessageId.HACKING_TOOL);+				Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " is trying to use L2Walker and got Kicked.", IllegalPlayerAction.PUNISH_KICK);+			} 		} 	} Index: java/config/General.properties===================================================================--- java/config/General.properties	(revision 4115)+++ java/config/General.properties	(working copy)@@ -99,6 +99,10 @@ # Default: False GameGuardProhibitAction = False +# Basic protection against L2Walker.+# Default: False+L2WalkerProtection = False+ #Logging settings. The following four settings, while enabled, will increase writing to your hard drive(s) considerably. Depending on the size of your server, the amount of players, and other factors, you may suffer a noticable performance hit. # Default: False LogChat = FalseIndex: java/com/l2jserver/Config.java===================================================================--- java/com/l2jserver/Config.java	(revision 4115)+++ java/com/l2jserver/Config.java	(working copy)@@ -382,6 +382,7 @@ 	public static boolean BYPASS_VALIDATION; 	public static boolean GAMEGUARD_ENFORCE; 	public static boolean GAMEGUARD_PROHIBITACTION;+	public static boolean L2WALKER_PROTECTION; 	public static boolean LOG_CHAT; 	public static boolean LOG_ITEMS; 	public static boolean LOG_ITEM_ENCHANTS;@@ -1626,6 +1627,7 @@ 					BYPASS_VALIDATION = Boolean.parseBoolean(General.getProperty("BypassValidation", "True")); 					GAMEGUARD_ENFORCE = Boolean.parseBoolean(General.getProperty("GameGuardEnforce", "False")); 					GAMEGUARD_PROHIBITACTION = Boolean.parseBoolean(General.getProperty("GameGuardProhibitAction", "False"));+					L2WALKER_PROTECTION = Boolean.parseBoolean(General.getProperty("L2WalkerProtection", "False")); 					LOG_CHAT = Boolean.parseBoolean(General.getProperty("LogChat", "false")); 					LOG_ITEMS = Boolean.parseBoolean(General.getProperty("LogItems", "false")); 					LOG_ITEM_ENCHANTS = Boolean.parseBoolean(General.getProperty("LogItemEnchants", "false")); 

Re: Against bots

Posted: Tue May 04, 2010 10:22 am
by Moon
If it really works, why isn't added permanently to l 2jservers?
A long time ago I didn't use l2j and I ask for initiation. :roll:

Re: Against bots

Posted: Tue May 04, 2010 8:41 pm
by MELERIX
Moon wrote:If it really works, why isn't added permanently to l 2jservers?
A long time ago I didn't use l2j and I ask for initiation. :roll:
probably because retail servers don't have protection against bots :P

Re: Against bots

Posted: Tue May 04, 2010 11:39 pm
by hope
MELERIX wrote:
Moon wrote:If it really works, why isn't added permanently to l 2jservers?
A long time ago I didn't use l2j and I ask for initiation. :roll:
probably because retail servers don't have protection against bots :P
they do they have GM's lol look I made a joke :)

Re: Against bots

Posted: Wed May 05, 2010 2:38 am
by Devastator
MELERIX wrote: probably because retail servers don't have protection against bots :P
Yes, retail servers don't have it, but almost all admins don't want bots/3rd software on their private servers :)

Re: Against bots

Posted: Thu May 06, 2010 11:53 am
by Moon
It should be on l2j e.g. in l2jmods.properties mainly for this reason I am thinking whether to change the group l2j, since other grups (emu,official, matrix) are backing the protection of our servers up.

Perhaps do the probe to this topic, since you are doing wolfskins mistake in my opinion.
Surely each player wished to protect your server itself.
And if not, it should be an option on or off.

Quite a lot of thing, of which they are on l2j, there is no on the official server. This addition will certainly contribute to the even better popularity of your project of l2j!

I apologise for my words, but I am wanting what's best for oneself and for us everyone.

Re: Against bots

Posted: Thu May 06, 2010 12:53 pm
by janiii
to make you all happy.. http://l2jserver.com/trac/changeset/4146

..but adding 3 lines of code should not be the most important when choosing a l2j server implementation, as you can add that 3 lines on your own too..

Re: Against bots

Posted: Thu May 06, 2010 1:24 pm
by Moon
Im soo happy :) Ty! :) :)

At everyone update (requent update) to add the server 3 lines of the code + a lot of of one's additions is very troublesome, right? I am thanking you a lot one more time!

Re: Against bots

Posted: Thu May 06, 2010 1:26 pm
by qwerty13
Useless. But i am not sure, need to check. :)

Re: Against bots

Posted: Thu May 06, 2010 3:03 pm
by Gnacik
you have right. useless, nobody is using l2walker in fact :=D or in follow mode/buff only. the real problem is l2net because they have really active dev team.

Re: Against bots

Posted: Thu May 06, 2010 3:52 pm
by Moon
At me on the server I detected so far:
Phx, pbx 3.4.1.82
Walker IG 2.17 with the independent program to "hide" before the scan.
L2Net as 384 bot OOG


As can be seen Walker is also also L2 used.
Better bit by bit to fight, than to do nothing - in my opinion.

Re: Against bots

Posted: Thu May 06, 2010 5:29 pm
by qwerty13
IG bots with that protection works fine. So, for me it can be reverted, useless. :)

Re: Against bots

Posted: Tue May 11, 2010 10:02 am
by angkor
Server Gracia Epilogue protocol 146, Java
L2walker 10.9.8e OOG

Click in map, bot kick and have msg "You will be kicked for illegal action, GM informed".

Client packet

0F DB 4E 00 00 C7 1F 02 00 76 F2 FF FF 31 4E 00 00 C7 1F 02 00 76 F2 FF FF 01 00 00 00
Type: 0x0F (MoveBackwardToLocation)
Size: 29+2
Time: 18:06:40:350
0002 d ToX: 20187 (0x00004EDB)
0006 d ToY: 139207 (0x00021FC7)
000A d ToZ: -3466 (0xFFFFF276)
000E d OrigX: 20017 (0x00004E31)
0012 d OrigY: 139207 (0x00021FC7)
0016 d OrigZ: -3466 (0xFFFFF276)
001A d MoveMovement: 1 (0x00000001)

L2walker packet
0F DB 4E 00 00 C7 1F 02 00 76 F2 FF FF 31 4E 00 00 C7 1F 02 00 76 F2 FF FF
Type: 0x0F (MoveBackwardToLocation)
Size: 25+2
Time: 18:16:44:699
0002 d ToX: 20187 (0x00004EDB)
0006 d ToY: 139207 (0x00021FC7)
000A d ToZ: -3466 (0xFFFFF276)
000E d OrigX: 20017 (0x00004E31)
0012 d OrigY: 139207 (0x00021FC7)
0016 d OrigZ: -3466 (0xFFFFF276)

L2Walker send not full packet, when I send full client packet then bot run and not kicked.

Script for send full packet.

begin
if pck <> '' then
if fromclient and (pck[1]=#$0F) then
pck := pck + hstr('01000000');
end.
end;
end.

And L2walker good work.

How can a fix this and stop L2Walker? =)

Re: Against bots

Posted: Wed May 12, 2010 10:31 am
by denser
already told... guru-boters cant sopped via this way. only lamers...
so if you need to kill all over bots - you need to hire assassins :) or whatever active GM.

only way - it is intermediate server with traffic checks or encrypting
also this thing must protect process in memory and protect itself :)try to google kinda thing "checker.exe" :wink:
i dont try it on GE...but on earlier like interlude - it was perfect...worth author disappear...
gl in bot-hunting