[Help] zBot source code - How to connect to SROR?

04/01/2013 03:25 LuigiChase#1
Hey guys, would be very good if someone could help me...

Im trying to make zBot connect to SROR. I modified the server.ini file with the correct configurations for SROR.

I can start the client normally, but when I try to login I get the C8 error (Failed to connect to the server).

Can someone help me what must I do to login successfully? I already have the source and VB installed, I just can't find what to modify.

Thank you.
04/01/2013 13:16 pergian#2
c8 means you are not using the correct locale.
04/01/2013 15:40 LuigiChase#3
Quote:
Originally Posted by pergian View Post
c8 means you are not using the correct locale.
Are you sure? Im using edxloader to see the locale and version, so It cant be wrong lol

My server.ini is set like this:

Quote:
[Server]
NAME=Global
IP=31.193.168.141
PORT=15779
LOCALE=65
VERSION=70
PATH=C:\Program Files (x86)\SilkroadR\sro_client.exe
Should I patch the media.pk2 file before opening bot?
04/01/2013 18:41 Nezekan#4
I doubt it will even be able to login, sror has a lot of changes, and not only gameplay-wise
04/01/2013 20:00 LuigiChase#5
Quote:
Originally Posted by Nezekan View Post
I doubt it will even be able to login, sror has a lot of changes, and not only gameplay-wise
Yea I know but I saw a guy saying he logged successfully with zBot on sror...
04/02/2013 15:00 kevin_owner#6
Like pergian said C8 means wrong locale, if you're 100% that the locale (and version) aren't wrong then the structure of the login packet must been different. My guess would be that the guy who used zbot to login changed the packet to login.
04/02/2013 15:16 qkuh#7
Did you start the client with arguments?
04/02/2013 22:43 intercsaki#8
Quote:
Originally Posted by qkuh View Post
Did you start the client with arguments?
....was about to ask that.
04/03/2013 02:59 LuigiChase#9
Quote:
Originally Posted by qkuh View Post
Did you start the client with arguments?
What do you mean? I am really noob at programming / codes... can you explain it and give me an exemple?

Quote:
Originally Posted by kevin_owner View Post
Like pergian said C8 means wrong locale, if you're 100% that the locale (and version) aren't wrong then the structure of the login packet must been different. My guess would be that the guy who used zbot to login changed the packet to login.
Yes... probably then. Cause Im sure the locate and version are correct.
04/03/2013 03:10 qkuh#10
C:\files\silkroad\sro_client.exe thisIsTheArgument

e.g. C:\files\silkroad\sro_client.exe /22 0 0 (vSRO)
04/03/2013 15:23 LuigiChase#11
Quote:
Originally Posted by qkuh View Post
C:\files\silkroad\sro_client.exe thisIsTheArgument

e.g. C:\files\silkroad\sro_client.exe /22 0 0 (vSRO)
Understood... on the target file.

Do you know what (if I have to) argument should I use for sror?
04/04/2013 00:34 qkuh#12
Nah. But there are several methods to check it.

Easy method:
Get Process Explorer

Harder method:
Get OllyDBG, open silkroad.exe and set a BP at the CreateProcess function.

I really recommend you to get Process Explorer.
[Only registered and activated users can see links. Click Here To Register...]
04/04/2013 10:52 intercsaki#13
Locale can be got even through edxloader. But Process Explorer is an elegant way (good to know that others use it too around here.:D).
04/04/2013 12:03 lesderid#14
No need for extra tools though:

[Only registered and activated users can see links. Click Here To Register...]
04/04/2013 14:54 qkuh#15
Didn't know that. Thanks :)