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.
Thanks in advance.
Excuse me mate, where i have to put this and how? Sry im beginner.Quote:
c#
if (_pck.Opcode == 0x750E)
{
if (!MainForm.BOT_JOB)
{
if (MainForm.bot_list.Contains(this.user_id) && this.isCharJob)
{
this.DisconnectModuleSocket();
return;
}
}
Have already sr proxy premium but it doesnt have option for this ¯\_(ツ)_/¯Quote:
use a filter :)
I can't remember how I came to wheater conclusion (For me was a blind packet protocol) ..Quote:
It's actually CLIENT_CONSIGNMENT_LIST_REQUEST, he's trying to disconnect client on first spawn if it's in bots list.
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.Quote:
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.
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.Quote:
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.
Do u know how to make that dll? how much it costs?Quote:
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.
No, sr proxy premium doesnt have option for disable or block bot in job mode, it only has job pc limit option.Quote:
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.