|
You last visited: Today at 04:29
Advertisement
[Help] zBot source code - How to connect to SROR?
Discussion on [Help] zBot source code - How to connect to SROR? within the SRO Coding Corner forum part of the Silkroad Online category.
04/01/2013, 03:25
|
#1
|
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
|
[Help] zBot source code - How to connect to SROR?
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
|
#2
|
elite*gold: 0
Join Date: Feb 2008
Posts: 73
Received Thanks: 18
|
c8 means you are not using the correct locale.
|
|
|
04/01/2013, 15:40
|
#3
|
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
|
Quote:
Originally Posted by pergian
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
|
#4
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
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
|
#5
|
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
|
Quote:
Originally Posted by Nezekan
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
|
#6
|
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
|
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
|
#7
|
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
|
Did you start the client with arguments?
|
|
|
04/02/2013, 22:43
|
#8
|
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
|
Quote:
Originally Posted by qkuh
Did you start the client with arguments?
|
....was about to ask that.
|
|
|
04/03/2013, 02:59
|
#9
|
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
|
Quote:
Originally Posted by qkuh
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
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
|
#10
|
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
|
C:\files\silkroad\sro_client.exe thisIsTheArgument
e.g. C:\files\silkroad\sro_client.exe /22 0 0 (vSRO)
|
|
|
04/03/2013, 15:23
|
#11
|
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
|
Quote:
Originally Posted by qkuh
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
|
#12
|
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
|
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.
|
|
|
04/04/2013, 10:52
|
#13
|
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
|
Locale can be got even through edxloader. But Process Explorer is an elegant way (good to know that others use it too around here.  ).
|
|
|
04/04/2013, 12:03
|
#14
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
No need for extra tools though:
|
|
|
04/04/2013, 14:54
|
#15
|
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
|
Didn't know that. Thanks
|
|
|
Similar Threads
|
[Release][C#]zBot Source Code
01/06/2018 - SRO Coding Corner - 82 Replies
It's written in C# (Visual Studio 2010).
You can download it from Zeteris Projects: zBot project closed ! Source code included !
You can download it from Zeteris Projects: Source Code
|
Silkroad Bot: zBot Source Code
01/18/2013 - SRO Coding Corner - 3 Replies
Since this is the code corner, this site is for anyone motivated enough to keep up this good work.
zBot Source Code
|
Zbot (Zateris source code)
12/13/2012 - SRO Private Server - 18 Replies
HI all, can some one edit the Zateris bot in order to work on Vsro servers
http: //zeteris.blogspot.com/ there is the source code:pimp:
|
All times are GMT +1. The time now is 04:30.
|
|