Against bots

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: Against bots

Post by Szponiasty »

Nice. Thx Janii for checking it out. This will open many new possibilities (not only for antibot) :)
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Against bots

Post 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")); 
You do not have the required permissions to view the files attached to this post.
User avatar
Moon
Posts: 192
Joined: Wed Feb 21, 2007 9:30 pm

Re: Against bots

Post 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:
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Against bots

Post 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
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Against bots

Post 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 :)
Devastator
Posts: 14
Joined: Tue May 05, 2009 7:25 am
Location: Lithuania
Contact:

Re: Against bots

Post 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 :)
Image
User avatar
Moon
Posts: 192
Joined: Wed Feb 21, 2007 9:30 pm

Re: Against bots

Post 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.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Against bots

Post 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..
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
Moon
Posts: 192
Joined: Wed Feb 21, 2007 9:30 pm

Re: Against bots

Post 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!
Last edited by Moon on Thu May 06, 2010 1:27 pm, edited 1 time in total.
User avatar
qwerty13
Posts: 640
Joined: Mon Feb 02, 2009 9:57 am
Location: Europe
Contact:

Re: Against bots

Post by qwerty13 »

Useless. But i am not sure, need to check. :)
User avatar
Gnacik
L2j Veteran
L2j Veteran
Posts: 925
Joined: Tue Dec 16, 2008 3:49 pm
Location: Wąchock ٩(̾●̮̮̃̾•̃̾)۶ Polska
Contact:

Re: Against bots

Post 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.
User avatar
Moon
Posts: 192
Joined: Wed Feb 21, 2007 9:30 pm

Re: Against bots

Post 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.
User avatar
qwerty13
Posts: 640
Joined: Mon Feb 02, 2009 9:57 am
Location: Europe
Contact:

Re: Against bots

Post by qwerty13 »

IG bots with that protection works fine. So, for me it can be reverted, useless. :)
angkor
Posts: 99
Joined: Sat May 02, 2009 5:32 pm

Re: Against bots

Post 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? =)
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: Against bots

Post 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
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
Locked