Page 3 of 12
Re: Against bots
Posted: Wed Nov 04, 2009 6:44 am
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.
Re: Against bots
Posted: Thu Nov 05, 2009 12:19 am
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 :]
Re: Against bots
Posted: Thu Nov 05, 2009 8:15 am
by devo
ye and a lot of afkers will get banned.
Re: Against bots
Posted: Thu Nov 05, 2009 12:00 pm
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.
Re: Against bots
Posted: Thu Nov 05, 2009 1:44 pm
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

Re: Against bots
Posted: Fri Nov 06, 2009 7:10 am
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

Re: Against bots
Posted: Fri Nov 06, 2009 9:10 am
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
Re: Against bots
Posted: Fri Nov 06, 2009 9:29 am
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.

But packets from gameserver is not similar packages retail-build.
Re: Against bots
Posted: Fri Nov 06, 2009 11:59 pm
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

Re: Against bots
Posted: Sat Nov 07, 2009 10:25 am
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?
Re: Against bots
Posted: Sat Nov 07, 2009 11:45 am
by Qarked
Post removed.
Re: Against bots
Posted: Sat Nov 07, 2009 6:41 pm
by Pere
ThePhoenixBird wrote:Can you code it to show up in a pop-up box?
Big shiny letters if possible

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!
Re: Against bots
Posted: Mon Nov 09, 2009 1:08 am
by ThePhoenixBird
Migi wrote:ThePhoenixBird wrote:Can you code it to show up in a pop-up box?
Big shiny letters if possible

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

Re: Against bots
Posted: Tue Nov 10, 2009 3:17 pm
by ViruZ
On offi some bots dont work from a week,but dont know what protection they got

Re: Against bots
Posted: Tue Nov 10, 2009 5:14 pm
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.