Register for your free account! | Forgot your password?

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

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

Advertisement



How to start a bot for sro in c#

Discussion on How to start a bot for sro in c# within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 17
Received Thanks: 0
How to start a bot for sro in c#

Hey all

i am learning c# and want to make a sro bot but i just dont know how to start and make al the auto update things. xD
if someone can help me pls do it

thx for reading
Warotrix is offline  
Old 07/22/2011, 22:11   #2
 
half113's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,094
Received Thanks: 286
so you want some one to make a bot for you ?If you don't know how to start than don't start at all
half113 is offline  
Old 07/22/2011, 22:31   #3

 
Haxor's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 3,777
Received Thanks: 1,455
First you must to learn basic things
when you do that you can search for pushedx silkroadsecurityapi made in c#
and it have examples like serverstats and proxy
Getting this and read it ,will make you understand things better
And maybe after sometime start coding your own program
Haxor is offline  
Thanks
1 User
Old 07/22/2011, 22:32   #4
 
elite*gold: 0
Join Date: Nov 2010
Posts: 194
Received Thanks: 44
Quote:
Originally Posted by half113 View Post
so you want some one to make a bot for you ?If you don't know how to start than don't start at all
why are people always negative....

Quote:
Originally Posted by natrix View Post
Hey all

i am learning c# and want to make a sro bot but i just dont know how to start and make al the auto update things. xD
if someone can help me pls do it

thx for reading
i dont use C# but first i would log all the game with edx packet grabber

sry thats all i can help you with
™★EpicSoul★™ is offline  
Old 07/22/2011, 23:36   #5


 
Yo123's Avatar
 
elite*gold: 41
Join Date: Nov 2007
Posts: 3,390
Received Thanks: 2,700
using System;
might be a good start for fast development.
just kidding. learn some stuff about tcp connection and asynchronous sockets.
#moved
Yo123 is offline  
Thanks
1 User
Old 07/22/2011, 23:50   #6
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Creating a bot starts with understanding what a bot is and what it requires.

So between the Client and the server are lots of packets send and received. they all contain information about something which needs to be updated or changed in the gameworld. The bot needs be between this stream of packets so you can block certain packets and send your own.

So what you have to do is create a program which accepts a connection from the client and connects to the server. Then you send all the packets from the client to the server and from the server to the client. But at this moment you can't read a lot since the packets from the client to server are encrypted. For this you can use the SilkroadSecurityApi which drew benton made. This handles the server side and client side security. He made a few examples on how to use his api so you might want to check them out.

Once the security is all done you're all set to create the actual bot. First thing you need to do is to read the packets from the server -> client because you need to know what's going on. The format of all the silkroad packets is the following:

Code:
data size[WORD]
Opcode[WORD]
security byte[BYTE]
security byte[BYTE]
packet data[BYTE(4090)]
You use the opcode to determine what packet is being send. For example if the opcode is 0x3013 the data in the packet contains the character information. How the data is packet is still unknown but drew benton also made an awesome tool called edxSilkroadLoader which allows you to log the parsed packets. So basicly you know the format of the packets but you still need to figure out what the values mean. Ofcourse some packets can have different formats but for some packets it just takes a lot of time.

So once you've read all you need to know you can start sending packets to select monsters or walk arround in the gameworld.

That's basicly it you can made it as simple as you want or super advanced.
kevin_owner is offline  
Thanks
4 Users
Old 07/23/2011, 00:10   #7
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
well i wouldn't start with a bot for sro...
ZeraPain is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[ESRO]Start client, login, select character, click start and stop...
06/23/2011 - SRO Private Server - 1 Replies
Okay, so whats up with that new thing when you get to select character screen, when you click start it does nothing? DONT JUST SAY SAME, I know you have the same problem... You can thank me if you have the same problem tho... :P
[START]Warrock Start Fehler
12/18/2010 - WarRock - 7 Replies
Joar. Moin Com, hab mir nach langer Zeit nochmal Warrock geholt und der Download+Installation hat einwandfrei geklappt. Nur dann beim GameStart Fenster wo der die ganzen Dateien nochmal hochläd hat GameStart geklappt nur warrock hat nicht gestartet. Dann hab ich es nochmal gemacht und dann hat er die Dateien erst gar nicht geladen und ich konnte nicht Game Start drücken. Plzz helft mir :) Mfg,
PC-Start = Programm Start?
08/10/2010 - AutoIt - 5 Replies
Hi! Kann man ein AutoIt Program gleich wie den Begrüßungscenter wenn der PC hochfährt starten? Oder wie ICQ, das es einfach kommt? Brauche dringend hilfe :)
Start Npc(also start Equiqment)und wie connectet man(Navicat)
05/02/2010 - WoW Private Server - 1 Replies
Hallo Elitepvpers, ich hoffe ich bin hier im richtigen Forum. Wie macht man einen Npc für start Equiqment? und wie connectet man in Navicat(for MySQL)? danke im vorraus:handsdown::handsdown:
start problem by start (win7)
02/13/2010 - Silkroad Online - 4 Replies
when i start sro than is the connection picture small and i cant see the connection window .... pls help ^^ sry for my bad english



All times are GMT +1. The time now is 06:48.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.