DISABLE JOB MODE IN BOT?

09/27/2019 04:26 ThievesUTD#1
Have a server based in job system, but traders uses phbot script and abusing of it, how can i restrict bot for job mode?.

Thanks in advance.
09/27/2019 06:14 NorseGodTyr#2
Quote:
Originally Posted by ThievesUTD View Post
Have a server based in job system, but traders uses phbot script and abusing of it, how can i restrict bot for job mode?.

Thanks in advance.
use a filter :)
09/27/2019 06:42 !SPLIT#3
c#
if (_pck.Opcode == 0x750E)
{
if (!MainForm.BOT_JOB)
{
if (MainForm.bot_list.Contains(this.user_id) && this.isCharJob)
{
this.DisconnectModuleSocket();
return;
}
}
09/27/2019 11:19 ThievesUTD#4
Quote:
Originally Posted by !SPLIT View Post
c#
if (_pck.Opcode == 0x750E)
{
if (!MainForm.BOT_JOB)
{
if (MainForm.bot_list.Contains(this.user_id) && this.isCharJob)
{
this.DisconnectModuleSocket();
return;
}
}
Excuse me mate, where i have to put this and how? Sry im beginner.

Quote:
Originally Posted by NorseGodTyr View Post
use a filter :)
Have already sr proxy premium but it doesnt have option for this ¯\_(ツ)_/¯
09/27/2019 15:08 !SPLIT#5
Quote:
Originally Posted by ThievesUTD View Post
Excuse me mate, where i have to put this and how? Sry im beginner.



Have already sr proxy premium but it doesnt have option for this ¯\_(ツ)_/¯
PM ME DISCORD
09/28/2019 10:02 JellyBitz#6
Quote:
Originally Posted by !SPLIT View Post
c#
if (_pck.Opcode == 0x750E)
{
if (!MainForm.BOT_JOB)
{
if (MainForm.bot_list.Contains(this.user_id) && this.isCharJob)
{
this.DisconnectModuleSocket();
return;
}
}
WTF.. Excuse me, what have to do weather with bots?
CLIENT_ENVIROMENT_WEATHER_REQUEST = 0x750E
09/29/2019 01:53 #HB#7
Quote:
Originally Posted by JellyBitz View Post
WTF.. Excuse me, what have to do weather with bots?
CLIENT_ENVIROMENT_WEATHER_REQUEST = 0x750E
It's actually CLIENT_CONSIGNMENT_LIST_REQUEST, he's trying to disconnect client on first spawn if it's in bots list.
09/29/2019 05:45 JellyBitz#8
Quote:
Originally Posted by #HB View Post
It's actually CLIENT_CONSIGNMENT_LIST_REQUEST, he's trying to disconnect client on first spawn if it's in bots list.
I can't remember how I came to wheater conclusion (For me was a blind packet protocol) ..

My question was how that code was going to restrict bots since you need detect bots at first. Not really necessary but good to know that sr proxy premium has this feature, I'll take a look later.
09/29/2019 14:30 #HB#9
Quote:
Originally Posted by JellyBitz View Post
My question was how that code was going to restrict bots since you need detect bots at first. Not really necessary but good to know that sr proxy premium has this feature, I'll take a look later.
Actually, that's just a typical supermike or some krylfilter code. It detects bots through locale, I don't know why, but its not correct anyways. The only way to detect bots is to modify sro_client or launcher code to inform server about being bot, you have to ensure the launcher has executed the sro_client.
09/30/2019 03:43 sarkoplata#10
Quote:
Originally Posted by #HB View Post
Actually, that's just a typical supermike or some krylfilter code. It detects bots through locale, I don't know why, but its not correct anyways. The only way to detect bots is to modify sro_client or launcher code to inform server about being bot, you have to ensure the launcher has executed the sro_client.
I think what it does is to modify the silkroad exe to start the client with a locale other than 22. As you know the launcher starts the client with some args (0/22 x x). If the locale is not 22, then the filter corrects the login packet and marks the user as a legit user. If you're logged in with 22 locale, you're considered as a bot.

Eh it's okay, but veeery easily bypassable.

For a proper phbot trade-only block, a DLL is a must.
10/01/2019 15:04 ThievesUTD#11
Quote:
Originally Posted by sarkoplata View Post
I think what it does is to modify the silkroad exe to start the client with a locale other than 22. As you know the launcher starts the client with some args (0/22 x x). If the locale is not 22, then the filter corrects the login packet and marks the user as a legit user. If you're logged in with 22 locale, you're considered as a bot.

Eh it's okay, but veeery easily bypassable.

For a proper phbot trade-only block, a DLL is a must.
Do u know how to make that dll? how much it costs?
10/01/2019 19:32 sarkoplata#12
Shouldn't be too hard with the SroPP base. Change the opcode of trade goods purchasing, match the new opcode with your filter and correct it before sending it to server.

If you want it extra secure, make the opcode dynamic. (Change it periodically)

Encrypting or reconstructing the packet is also a secure way, but much more work.
10/07/2019 17:00 ThievesUTD#13
Is there another most easy way?

Quote:
Originally Posted by JellyBitz View Post
I can't remember how I came to wheater conclusion (For me was a blind packet protocol) ..

My question was how that code was going to restrict bots since you need detect bots at first. Not really necessary but good to know that sr proxy premium has this feature, I'll take a look later.
No, sr proxy premium doesnt have option for disable or block bot in job mode, it only has job pc limit option.