Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 04:29

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

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.

Reply
 
Old   #1
 
LuigiChase's Avatar
 
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.
LuigiChase is offline  
Old 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.
pergian is offline  
Old 04/01/2013, 15:40   #3
 
LuigiChase's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
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?
LuigiChase is offline  
Old 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
Nezekan is offline  
Old 04/01/2013, 20:00   #5
 
LuigiChase's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
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...
LuigiChase is offline  
Old 04/02/2013, 15:00   #6
 
kevin_owner's Avatar
 
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.
kevin_owner is offline  
Old 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?
qkuh is offline  
Old 04/02/2013, 22:43   #8
 
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
Quote:
Originally Posted by qkuh View Post
Did you start the client with arguments?
....was about to ask that.
intercsaki is offline  
Old 04/03/2013, 02:59   #9
 
LuigiChase's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
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.
LuigiChase is offline  
Old 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)
qkuh is offline  
Old 04/03/2013, 15:23   #11
 
LuigiChase's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 360
Received Thanks: 138
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?
LuigiChase is offline  
Old 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.
qkuh is offline  
Thanks
1 User
Old 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.).
intercsaki is offline  
Old 04/04/2013, 12:03   #14
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
No need for extra tools though:

lesderid is offline  
Old 04/04/2013, 14:54   #15
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
Didn't know that. Thanks
qkuh is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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