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
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Against bots

Post by Pere »

[Whisp] AntiBots: Yoy have 30 seconds to type "undq439reo".

If he doesn't write nothing, his bot-suspicious lvl gets increased (and he gets kicked).

Level 0: message every 10 hours
Level 1: message every 5 hours
Level 2: message every 3 hours
Level 3: message every 2 hours
Level 4: message every 1 hour
Level 5: ban

To decrease 1 bot-suspicious lvl you have to reply correctly the antibots 20 followed times.
Bones tardes amics meus tots!
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Against bots

Post by Lee »

This script actually detects when you try to move while you're dead..
Migi wrote:[Whisp] AntiBots: Yoy have 30 seconds to type "undq439reo".

If he doesn't write nothing, his bot-suspicious lvl gets increased (and he gets kicked).

Level 0: message every 10 hours
Level 1: message every 5 hours
Level 2: message every 3 hours
Level 3: message every 2 hours
Level 4: message every 1 hour
Level 5: ban

To decrease 1 bot-suspicious lvl you have to reply correctly the antibots 20 followed times.

Pretty smart.. I liked the idea and i think i`ll try to code it :]
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Against bots

Post by devo »

ye and a lot of afkers will get banned.
A hero of war is that what they see...
Lee
Posts: 102
Joined: Wed Sep 02, 2009 11:10 pm

Re: Against bots

Post by Lee »

devo wrote:ye and a lot of afkers will get banned.
You can make to kick players who doesn't doAction for 15~ minutes ;) Or notice them ,put warnings everywhere and if someone is using private shop - don't kick him ^.^

Actually yesterday i coded it and i`ll test it today.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Against bots

Post by Pere »

devo wrote:ye and a lot of afkers will get banned.
we can detect if he sent some action (walk, target..) during these 30 secs :)
Bones tardes amics meus tots!
DeGato
Posts: 51
Joined: Wed Oct 28, 2009 4:49 pm

Re: Against bots

Post by DeGato »

As you know some devices like Nostromo n52 with good macro is allowed on NA servers. Some users can get wrong ban if they didnt reply :P
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Against bots

Post by JIV »

its true but, what is better? allow 2 players from 1000 use that crap or allow l2w on server?
even so that protection is too old its still work and on high populated server each day ban ~3 acc
DeGato
Posts: 51
Joined: Wed Oct 28, 2009 4:49 pm

Re: Against bots

Post by DeGato »

At my opinion features which blocking bot programs should be a problem of individual administrators of servers and not a whole community, at least on this issue is best considered as a custom mod for the l2jserver and not as a necessary module to be included in the pack. IMHO retail-like must be retail-like.

Perhaps I would like to allow bots on the server to operate without editing packages and add-bot programs, patches, etc. :lol: But packets from gameserver is not similar packages retail-build.
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: Against bots

Post by ThePhoenixBird »

Lee wrote:This script actually detects when you try to move while you're dead..
Migi wrote:[Whisp] AntiBots: Yoy have 30 seconds to type "undq439reo".

If he doesn't write nothing, his bot-suspicious lvl gets increased (and he gets kicked).

Level 0: message every 10 hours
Level 1: message every 5 hours
Level 2: message every 3 hours
Level 3: message every 2 hours
Level 4: message every 1 hour
Level 5: ban

To decrease 1 bot-suspicious lvl you have to reply correctly the antibots 20 followed times.

Pretty smart.. I liked the idea and i think i`ll try to code it :]
Can you code it to show up in a pop-up box?

Big shiny letters if possible :P
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Against bots

Post by devo »

gio wrote:LOL
neo25 wrote:Subject: Against bots
gio wrote:Hello guys,

I just like to know your methods against bots on your servers.

thank you
gio
This is what I have used in the past. L2Walkers can still log into your server, but when they activate and try and do an action, it will kick the player and ban the account. Good Luck!

Code: Select all

Index: java/config/l2jmods.properties===================================================================--- java/config/l2jmods.properties	(revision 2796)+++ java/config/l2jmods.properties	(working copy)@@ -161,4 +161,9 @@ #---------------------------------- EnableWarehouseSortingClan = False EnableWarehouseSortingPrivate = False-EnableWarehouseSortingFreight = False\ No newline at end of file+EnableWarehouseSortingFreight = False++#---------------------------------+# Walker Protection+#---------------------------------+L2WalkerProtection = False\ No newline at end of fileIndex: java/net/sf/l2j/Config.java===================================================================--- java/net/sf/l2j/Config.java	(revision 2796)+++ java/net/sf/l2j/Config.java	(working copy)@@ -80,6 +80,7 @@   /******************************************************************************************************************************************************/     /** L2J Property File Definitions End Here**/ 	/******************************************************************************************************************************************************/@@ -560,6 +561,8 @@     public static boolean	L2JMOD_ENABLE_WAREHOUSESORTING_CLAN;     public static boolean	L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE;     public static boolean	L2JMOD_ENABLE_WAREHOUSESORTING_FREIGHT;+    // L2WalkerProtection+    public static boolean KICK_L2WALKER;      /** ************************************************** **/ 	/** L2JMods Settings -End                              **/@@ -1767,6 +1770,8 @@ 	                L2JMOD_ENABLE_WAREHOUSESORTING_CLAN     = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingClan", "False")); 	                L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE  = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False")); 	                L2JMOD_ENABLE_WAREHOUSESORTING_FREIGHT  = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingFreight", "False"));+	                // L2Walker Protection+	                KICK_L2WALKER = Boolean.parseBoolean(L2JModSettings.getProperty("L2WalkerProtection", "False"));  	                if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) 	                {Index: java/net/sf/l2j/gameserver/network/clientpackets/MoveBackwardToLocation.java===================================================================--- java/net/sf/l2j/gameserver/network/clientpackets/MoveBackwardToLocation.java	(revision 2796)+++ java/net/sf/l2j/gameserver/network/clientpackets/MoveBackwardToLocation.java	(working copy)@@ -23,6 +23,9 @@ import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.PartyMemberPosition;+import net.sf.l2j.gameserver.network.SystemMessageId;+import net.sf.l2j.gameserver.util.IllegalPlayerAction;+import net.sf.l2j.gameserver.util.Util;  /**  * This class ...@@ -71,6 +74,12 @@ 		catch (BufferUnderflowException e) 		{ 			// ignore for now+			 if(Config.KICK_L2WALKER)+				 {+				 L2PcInstance activeChar = getClient().getActiveChar();+				 activeChar.sendPacket(SystemMessageId.HACKING_TOOL);+				 Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " is trying to use l2walker! Character being kicked and account locked.", IllegalPlayerAction.PUNISH_KICKBAN);+				 } 		} 	} Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java===================================================================--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 2796)+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)@@ -11971,4 +11971,13 @@     		}     	}     }++	/**+	 * @param hacking_tool+	 */+	public void sendPacket(SystemMessageId hacking_tool)+	{+		sendMessage("Please try again after closing unnecessary programs!");+		+	} }
I just got this pm from neo25 lol! He thought he could kid me with that script xD
this script is blocking 3g connections. Anyone know why?
Last edited by devo on Sat Nov 07, 2009 11:51 am, edited 1 time in total.
A hero of war is that what they see...
User avatar
Qarked
Posts: 124
Joined: Tue Jun 02, 2009 2:27 am

Re: Against bots

Post by Qarked »

Post removed.
Image
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Against bots

Post by Pere »

ThePhoenixBird wrote:Can you code it to show up in a pop-up box?

Big shiny letters if possible :P
This is frustrating... if L2 has not pop-ups we cannot do that.. and big shiny letters neither.

Well... Say2.PARTYROOM_COMMANDER is maybe a solution for you xD


Seriously, if someone is only sending [farming-packets] (moveto, target, attack....) a Say2.WHISP would be enough. But not a sysmsg!
Bones tardes amics meus tots!
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: Against bots

Post by ThePhoenixBird »

Migi wrote:
ThePhoenixBird wrote:Can you code it to show up in a pop-up box?

Big shiny letters if possible :P
This is frustrating... if L2 has not pop-ups we cannot do that.. and big shiny letters neither.

Well... Say2.PARTYROOM_COMMANDER is maybe a solution for you xD


Seriously, if someone is only sending [farming-packets] (moveto, target, attack....) a Say2.WHISP would be enough. But not a sysmsg!
If sure that there are some pop-up around there, i will ask to a core dev :P
ViruZ
Posts: 4
Joined: Thu Feb 12, 2009 11:27 pm

Re: Against bots

Post by ViruZ »

On offi some bots dont work from a week,but dont know what protection they got :?
neo25
Posts: 26
Joined: Sun Jul 09, 2006 7:53 pm

Re: Against bots

Post by neo25 »

devo wrote:this script is blocking 3g connections. Anyone know why?
That script isn't blocking 3G connections, all it checks for is the use of the algorithm used to return a PC to a starting point in game. I would look into your servers firewall settings as that might be the cause of the blocked connections.
Locked