AntiBot chance

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

AntiBot chance

Post by Pere »

http://l2netose.sourceforge.net/

If i'm not wrong, there is the l2net's source code repository. With this we'll be able to know about its behavior and detect its users.
But.. we are open source too, so this can become an endless war :P

Anyways, this goes for all the devs here: Kill all these fvcking bots!! Even if it isn't done in l2jserver :twisted:
I'll begin working on it soon for my part. The problem is that if I publish something, the bot devs will maybe program something against it...

PS: I have just made an svn checkout :mrgreen:
PS2: If you want it for the l2j client... C# is very similar to java :D
PS3: I don't have the visual C# right now, so I didn't compile it to check if it is the real l2net last version... so this post is maybe an epic fail (i warn xD)
Bones tardes amics meus tots!
toastgodsupreme
Posts: 750
Joined: Sun Dec 07, 2008 7:01 pm
Location: Poland

Re: AntiBot chance

Post by toastgodsupreme »

Your best bot prevention is to enable IP restrictions on the server. Basically prevent more than one account logging in from the same IP at the same time. It's been done a few times and if you search you'll probably find a version that's been made public.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: AntiBot chance

Post by Pere »

I guess that this isn't the way. With this the families are only able to play by turns, and the botters are able to leave 1 account farming mobs during all the day :S

I mean to detect bots, detect them and ban them.
I don't want you to help me, I only posted this to help these antibot fanatics (such as me xD). If someone knows how to use it well, the result can be amazing ^^

Ah, and see that this bot uses the directX graphics. I repeat that this thing can maybe help you to make this l2j client project.

Good Luck!
Bones tardes amics meus tots!
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: AntiBot chance

Post by Pere »

Epic fail, it is interlude version :P

Delete or simply let it go down.
Bones tardes amics meus tots!
_Shaolin_
Posts: 15
Joined: Sat Aug 08, 2009 5:20 pm
Location: Brazil

Re: AntiBot chance

Post by _Shaolin_ »

Guy...it's a simple code...but better than nothing..

This code must be add in RequestActionUse.java

Code: Select all

case 65:				//Ação do Bot Report                 if (target == null)                    return;                if (target == activeChar)                    return;                if (!(target instanceof L2PcInstance))                    return;                 String ip1 = activeChar.getClient().getConnection().getInetAddress().getHostAddress();                String ip2 = ((L2PcInstance) target).getClient().getConnection().getInetAddress().getHostAddress();                 String msgContent = activeChar.getName() + " reportou um player suspeito do uso de bot. Nick: " + activeChar.getTarget().getName() + ". Localizacao: " + activeChar.getTarget().getX() + ", " + activeChar.getTarget().getY() + ", " + activeChar.getTarget().getZ() + ".";                GmListTable.broadcastToGMs(new CreatureSay(activeChar.getObjectId(), 17, "Sistema Bot Report", msgContent));            {                SimpleDateFormat formatter;                formatter = new SimpleDateFormat("dd/MM/yyyy H:mm:ss");                String date = formatter.format(new Date());                 FileWriter save = null;                try                {                    File file = new File("log/BotReport.csv");                     boolean writeHead = false;                    if (!file.exists())                        writeHead = true;                     save = new FileWriter(file, true);                     if (writeHead)                     {                        String header = "Data, Suspeito, Reporter, IP do Suspeito, IP do Reporter, LocalizacaoX, LocalizacaoY, LocalizacaoZ\r\n";                        save.write(header);                    }                     String out = date + ", " + activeChar.getTarget().getName() + ", "                            + activeChar.getName() + ", " + ip2 + ", "                            + ip1 + ", " + activeChar.getTarget().getPosition().getX() + ", "                            + activeChar.getTarget().getPosition().getY() + ", "                            + activeChar.getTarget().getPosition().getZ() + "\r\n";                    save.write(out);                }                catch (IOException e)                {                    _log.log(Level.WARNING, "Sistema Bot Report: BotReport.csv nao pode ser salvo: ", e);                }                finally                {                    try                    {                        save.close();                    }                    catch (Exception e)                    {                    }                }            }                       activeChar.sendMessage("O Player " + activeChar.getTarget().getName() + " foi reportado. Os membros da Staff irao verificar o jogador. Obrigado por nos ajudar.");				break;
User avatar
Copyleft
Posts: 253
Joined: Fri Feb 01, 2008 9:39 pm

Re: AntiBot chance

Post by Copyleft »

_Shaolin_ wrote:Guy...it's a simple code...but better than nothing..

This code must be add in RequestActionUse.java

Code: Select all

case 65:				//Ação do Bot Report                 if (target == null)                    return;                if (target == activeChar)                    return;                if (!(target instanceof L2PcInstance))                    return;                 String ip1 = activeChar.getClient().getConnection().getInetAddress().getHostAddress();                String ip2 = ((L2PcInstance) target).getClient().getConnection().getInetAddress().getHostAddress();                 String msgContent = activeChar.getName() + " reportou um player suspeito do uso de bot. Nick: " + activeChar.getTarget().getName() + ". Localizacao: " + activeChar.getTarget().getX() + ", " + activeChar.getTarget().getY() + ", " + activeChar.getTarget().getZ() + ".";                GmListTable.broadcastToGMs(new CreatureSay(activeChar.getObjectId(), 17, "Sistema Bot Report", msgContent));            {                SimpleDateFormat formatter;                formatter = new SimpleDateFormat("dd/MM/yyyy H:mm:ss");                String date = formatter.format(new Date());                 FileWriter save = null;                try                {                    File file = new File("log/BotReport.csv");                     boolean writeHead = false;                    if (!file.exists())                        writeHead = true;                     save = new FileWriter(file, true);                     if (writeHead)                     {                        String header = "Data, Suspeito, Reporter, IP do Suspeito, IP do Reporter, LocalizacaoX, LocalizacaoY, LocalizacaoZ\r\n";                        save.write(header);                    }                     String out = date + ", " + activeChar.getTarget().getName() + ", "                            + activeChar.getName() + ", " + ip2 + ", "                            + ip1 + ", " + activeChar.getTarget().getPosition().getX() + ", "                            + activeChar.getTarget().getPosition().getY() + ", "                            + activeChar.getTarget().getPosition().getZ() + "\r\n";                    save.write(out);                }                catch (IOException e)                {                    _log.log(Level.WARNING, "Sistema Bot Report: BotReport.csv nao pode ser salvo: ", e);                }                finally                {                    try                    {                        save.close();                    }                    catch (Exception e)                    {                    }                }            }                       activeChar.sendMessage("O Player " + activeChar.getTarget().getName() + " foi reportado. Os membros da Staff irao verificar o jogador. Obrigado por nos ajudar.");				break;

Nice to see that actually someone uses it ^^

and yes.. afaik they released the interlude source because they don't support it anymore
rockkth
Posts: 196
Joined: Sat Jul 04, 2009 8:54 am

Re: AntiBot chance

Post by rockkth »

best anti bot is an active gm.
User avatar
ZaKaX
Posts: 357
Joined: Thu Nov 22, 2007 6:28 am
Location: Somewhere in Asia.

Re: AntiBot chance

Post by ZaKaX »

rockkth wrote:best anti bot is an active gm.
Wrong. There are several ways to detect bots... just gotta find it. If you do, keep it for yourself, because if it gets commited on Jeejee it'll be fixed in no time.
¿ Que dice los cojones de la nina ?
User avatar
denser
Posts: 1392
Joined: Wed May 30, 2007 9:13 pm
Location: Russia
Contact:

Re: AntiBot chance

Post by denser »

i get some soft - it becomes like firewall between server and client.
it dos not take modifications of client, and its worth of it..it wasnt cracked still.
BUT - it was stop developed at some time. i will check it and share if get success :)

about tool: one of way to bypass it - annoying to gm that his client are crashes etc(lied) otherwise no way.

it russian dev who make a simple tool for it and his very surprised why GG do not monitored itself in memory
Tiger, once tasted human flesh, will want to taste it again
L2J - the place where glad to see you any time!
rockkth
Posts: 196
Joined: Sat Jul 04, 2009 8:54 am

Re: AntiBot chance

Post by rockkth »

denser wrote:i get some soft - it becomes like firewall between server and client.
it dos not take modifications of client, and its worth of it..it wasnt cracked still.
BUT - it was stop developed at some time. i will check it and share if get success :)

about tool: one of way to bypass it - annoying to gm that his client are crashes etc(lied) otherwise no way.

it russian dev who make a simple tool for it and his very surprised why GG do not monitored itself in memory
share :D
exz1
Posts: 95
Joined: Sat Jan 10, 2009 9:35 am

Re: AntiBot chance

Post by exz1 »

Copyleft wrote:
_Shaolin_ wrote:Guy...it's a simple code...but better than nothing..

This code must be add in RequestActionUse.java

Code: Select all

case 65:				//Ação do Bot Report                 if (target == null)                    return;                if (target == activeChar)                    return;                if (!(target instanceof L2PcInstance))                    return;                 String ip1 = activeChar.getClient().getConnection().getInetAddress().getHostAddress();                String ip2 = ((L2PcInstance) target).getClient().getConnection().getInetAddress().getHostAddress();                 String msgContent = activeChar.getName() + " reportou um player suspeito do uso de bot. Nick: " + activeChar.getTarget().getName() + ". Localizacao: " + activeChar.getTarget().getX() + ", " + activeChar.getTarget().getY() + ", " + activeChar.getTarget().getZ() + ".";                GmListTable.broadcastToGMs(new CreatureSay(activeChar.getObjectId(), 17, "Sistema Bot Report", msgContent));            {                SimpleDateFormat formatter;                formatter = new SimpleDateFormat("dd/MM/yyyy H:mm:ss");                String date = formatter.format(new Date());                 FileWriter save = null;                try                {                    File file = new File("log/BotReport.csv");                     boolean writeHead = false;                    if (!file.exists())                        writeHead = true;                     save = new FileWriter(file, true);                     if (writeHead)                     {                        String header = "Data, Suspeito, Reporter, IP do Suspeito, IP do Reporter, LocalizacaoX, LocalizacaoY, LocalizacaoZ\r\n";                        save.write(header);                    }                     String out = date + ", " + activeChar.getTarget().getName() + ", "                            + activeChar.getName() + ", " + ip2 + ", "                            + ip1 + ", " + activeChar.getTarget().getPosition().getX() + ", "                            + activeChar.getTarget().getPosition().getY() + ", "                            + activeChar.getTarget().getPosition().getZ() + "\r\n";                    save.write(out);                }                catch (IOException e)                {                    _log.log(Level.WARNING, "Sistema Bot Report: BotReport.csv nao pode ser salvo: ", e);                }                finally                {                    try                    {                        save.close();                    }                    catch (Exception e)                    {                    }                }            }                       activeChar.sendMessage("O Player " + activeChar.getTarget().getName() + " foi reportado. Os membros da Staff irao verificar o jogador. Obrigado por nos ajudar.");				break;

Nice to see that actually someone uses it ^^

and yes.. afaik they released the interlude source because they don't support it anymore
i use it since you share this on old forum:)
tropheo
Posts: 176
Joined: Tue Apr 21, 2009 3:09 pm

Re: AntiBot chance

Post by tropheo »

Doesn't work for me, some one have it updated?
Post Reply