Register for your free account! | Forgot your password?

Go Back   elitepvpers › Popular Games › Silkroad Online › SRO Private Server
You last visited: Today at 09:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C# - Silkroad Packet] - Do not understand Chernobyl.

Discussion on [C# - Silkroad Packet] - Do not understand Chernobyl. within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2015
Posts: 1,444
Received Thanks: 1,374
[C# - Silkroad Packet] - Do not understand Chernobyl.

As the title say. Chernobyl is weird when he is coding, was checking his way of making bot detection and it makes no sense to me.

So his "locale" is this:
Code:
byte locale = pck.ReadUInt8();
Session isBot is false from start.
Code:
m_State.SetParameter("isBot", false);
This is the part I don't understand: (Agent)
Code:
if (Global.EnableBotDetected && locale == Global.OriginalLocale)
{
    m_State.SetParameter("isBot", true);
}
if (locale != Global.OriginalLocale)
{
    Packet p = new Packet(0x6103);
    p.WriteUInt32(uint32_1);
    p.WriteAscii(uname);
    p.WriteAscii(passw);
    p.WriteUInt8(Global.OriginalLocale);
    p.WriteUInt32(ukn1);
    p.WriteUInt16(ukn);
    // m_ModuleSecurity.Send(p);
    SendPacketToModule(p);
    continue;
}
Gateway:
Code:
if (locale > 0 && locale != Global.OriginalLocale)
{
    Packet login = new Packet(0x6102);
    login.WriteUInt8(Global.OriginalLocale);
    login.WriteAscii(username);
    login.WriteAscii(password);
    login.WriteUInt16(ServerID);
    // m_ModuleSecurity.Send(login);
    SendPacketToModule(login);
    continue;
}
His OriginalLocale is
Code:
public static int OriginalLocale = 22;
Why would you resend the original locale like this and the biggest question, does this even detect bots? lol?
​Goofie​ is offline  
Old   #2
 
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
because, mbot and sbot always send locale 22..

If you edit your client to send 0 locale, and have the filter just correct it before gateway receives it, your fine.

Atleast i think the bots always send 22, never double checked.
Timlock is offline  
Thanks
3 Users
Old   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 12
Received Thanks: 3
Timlock, how set my client to send 0 locale? need edit silkroad.exe or sro_client.exe?
neksrock is offline  
Old   #4
 
Isoline*'s Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 667
Received Thanks: 350
it is based on the assumption that sbot and mbot will always send 0x22 locale prefix, so he is differing the originals ones (sent from bots) from the tampered onces (sent by your custom sr_client).
the real problem is that if you change you clients locale, players wont be able to start their bot in the first place.
so kinda stupid way of doing it.
Isoline* is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Chernobyl
07/26/2012 - SRO Private Server - 13 Replies
Hello guys, so Chernobyl asked me to post that stuff on forum.
Chernobyl !
04/21/2012 - SRO Private Server - 8 Replies
Why Bloody-Rose closed?? and when server will back online...??
Chernobyl
04/07/2012 - SRO Private Server - 1 Replies
how i can contact this person ? if someone know pls give me his msn or facebook.
Chernobyl and DWO
09/19/2011 - SRO Private Server - 30 Replies
Unless you make your server rates 70x more than isro nobody will go to your server even if you shut down diamond sro deal with it.
Chernobyl
09/11/2011 - SRO Private Server - 3 Replies
So again Ocean win with vSro file's... you were the last hope :'(



All times are GMT +2. The time now is 09:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.