The Bot - How to start?

10/18/2011 21:15 M4n1ak#1
Hello...

Im new in coding, and heres question -> how to start coding bot ?
I know i must have a simple bot and proxy to connect with it..

But how start ? ^^
What i must know, about packets etc.

I know there is a lot of tutorials, but i need all in one ^^

Thanks
10/18/2011 21:38 Schickl#2
I've never developed a bot, but if I were you I'd just start with the proxy(obviously) or use some existing ones
Then I'd start writing the bot by trying to login with it, then choose a char, then simple botting and after that all the other features
10/24/2011 18:49 Little Hole#3
Firstly you have to know the silkroad Packets form
which is
2bytes (data Length)+2 bytes(opcode)+2 bytes(security)+byte[](data)

idk if u know that or not btw the opcode(operation code )is define an action
such as
character data Opcode
Movement Opcode ...etc
then choose a proxy and connect your program with it and run the game
and start receive the packets from the proxy then start study them with opcodes
by this u will know how to send packets to client to walk ,attack ,pick or anything else
this just a small hint i'll continue after i come :D g2g
10/27/2011 15:51 M4n1ak#4
Yes, yes i know ^^
I captured a simple opcode (char sit, down)
I writed a simple tool to send packet [opcode] [destination] etc..

And it works !!! xD

But i got dc in 5 mins...
I guess it's a hackshield packet...
S->C then C->S or something and dc ;d

It's that blowfish key and handshake, etc ?

I used this code (autoit):


But in Drew TuT i dont understand anything ;d

Who can send me a done C# code?
10/27/2011 16:09 kevin_owner#5
I assume you're using a proxy and connect with that proxy and have the original sro client still running so if you just keep hackshield enabled it'll handle the hackshield packets for you.

Btw the hackshield has nothing to do with the handshake or blowfish:) the packt is encrypted with the blowfish but a lot of client packets are encrypted that way.
10/27/2011 16:59 M4n1ak#6
I got client with disabled hackshield ;p
I used EdxLoader5 and SrProxy...

@up

So handshake or blowfish is needed for what ?
I saw it in most bots ;p

@btw

How to start coding bot?
I got _Kbot coded in VB and Sentinel_Dev coded in VB6..
But i dont work ;p
What i must change to works it with vsro ?

Here is the download:
[Only registered and activated users can see links. Click Here To Register...]

I preffer coding in C# ^^

And who example me a Drew Silkroad Security ?
I guess it's for a parsing packets, sending packets [?]
10/27/2011 17:33 kevin_owner#7
the handshake are 2 packets from the client and 2 packets from the server which is used for the client and server to identify themself and too generate the final blowfish key which is used too encrypt and decrypt the packets well SrProxy handles this for you but if you use the SilkroadSecurityApi you can build it inside your own bot. Drew has made 2 examples for a proxy there is a really small one which is the obsolute minimum to get it working and a proxy which is almost done. You can find them somewhere in this section:)

Ok so how to start coding the bot you first need to read the chardata packet so you know which character you're dealing with. After that I should parse the spawn packets. that is a hell lot of work if you start from scratch and the packets are different so you can't use the isro packets since they will have something different.

So my advice too write the bot is to start reading the incoming packets so you know what's going on around you. Don't send any packets till you know everything which is required for your bot since this will make things messy and can create bugs.

so once you have all the packets correctly parsed you have to create a bot loop which can do anything you want like auto invite players or attack monsters.

Most of the packets too interact with stuff use UniqueId's a lot of these UniqueId's can be read from the spawn packets so that why they are quite important.

About the 5 min dc. There isn't a hackshield emulator (at least not that i'm aware of) so you'll keep getting the dc.
10/27/2011 17:48 M4n1ak#8
It will help me i guess:

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

There are full descriptions for most of opcodes...

But how to start?
What i have to do?
Absolute minimum, only connect to proxy with this SilkroadSecurity...