Creating bot.. Asking for help

03/14/2011 02:56 ighor10#1
Hi guys,

I'm starting to create a new bot for private server.
I have a lot of experience with JAVA and Sockets, but not with Silkroad Bot's. this is my first atempt.
I know JAVA dont look like the best language to do it. but to what i want to do, its good.

I will do my own Tunnel later, but at the beginning i am using SrProxy.

At this moment, my program connect to SrProxy and when i open silkroad, and receive my first packet, the silkroad close.. If i check log packets in SrProxy, it works perfect, i can login, choose character and play, and my program receive all data.
why it happens?

Can anyone help me with the packets struct.


i am starting now, and like i sad, this is my first atempt. so, can i feel free to come here and ask for help to you guys?

thx a lot.

BTW, this will be a free bot, i just want to start a projecto to create a good bot to private servers like the bots to official.
03/14/2011 03:07 860021200#2
i won't help... i won't share my experience with you,because that won't be fair for all of us,who want share experience if you gonna earn all money.
03/14/2011 03:11 ighor10#3
?
860021200,
i dont understand you.
i wont earn money, i just want to create a bot, for free.
and i am doing this alone, but if anyone want to join the project, feel free to contact me.
i just want to create a good bot.
03/14/2011 03:19 Murgen#4
Java is a really good language to do it in because Network programming seems very simple in Java compared to the others ^^ since you can buy a book to teach you, or download it.
03/14/2011 03:26 ighor10#5
I know JAVA. i have a lot of experience with JAVA because i work with this.
I just want help with silkroad protocol.

sorry guys, i dont think u r understanding me.
sorry for my english too.

if anyone can help, just let me know.

thx.
03/14/2011 07:11 lesderid#6
Basically, you are being too lazy.
Just download an emulator and see how the protocol works.
03/14/2011 08:52 vorosmihaly#7
just check out Drew's tutorials,and you'll understand them..
03/14/2011 09:09 kevin_owner#8
Oke so you have knowledge about sockets an java sooo what's the problem exactly?:S

create a little proxy with packet de/encryption drew has some tutorials about the security and also his project have great code in it which you can translate to java. and after that it's just packet handling/ filtering.
03/14/2011 09:42 Keyeight#9
yeh i think you can use drew tutorials it`s verry good and you will understand it fast
03/14/2011 19:24 ighor10#10
Ok.
I was reading something about the protocol last night and i'm reading drew tutorials now.


BTW, anyone know the answer to my question?

"At this moment, my program connect to SrProxy and when i open silkroad, and receive my first packet, the silkroad close.. If i check log packets in SrProxy, it works perfect, i can login, choose character and play, and my program receive all data.
why it happens?"


I just found that the server sends a packet with the game server IP to the client, So if i want to keep client connected to 127.0.0.1, i think i need to block this packet before it go to client and sent another one with 127.0.0.1.

Am I right?


Thanks.
03/14/2011 20:20 Haxor#11
here a link about packet sniffing
[Only registered and activated users can see links. Click Here To Register...]
It give you like first idea about it but you need to use edxloader to get the packets

Here are silkroad security tutorial site by drew benton
[Only registered and activated users can see links. Click Here To Register...]
03/14/2011 23:19 860021200#12
Quote:
Originally Posted by ighor10 View Post
?
860021200,
i dont understand you.
i wont earn money, i just want to create a bot, for free.
and i am doing this alone, but if anyone want to join the project, feel free to contact me.
i just want to create a good bot.
you just edited your post :)
03/15/2011 00:57 ighor10#13
Quote:
Originally Posted by 860021200 View Post
you just edited your post :)
You can see the last edited time, and no, i didnt edit it.
Please, if u can help, i will thank u, if not, please dont come to post things like that.


saif1999
Thank u man.
i will just read it.
03/15/2011 07:26 lesderid#14
Quote:
Originally Posted by ighor10 View Post
Please, if u can help, i will thank u, if not, please dont come to post things like that.
Too bad you can't say what people should and shouldn't do, huh?
03/17/2011 00:48 ighor10#15
Ok guys, i have readed somethings,
and now i will start to write the program.

but my first problem is here xD :

i found somewhere, that SrProxy just enc/dec all packets, so i dont need to do it. and i found that SrProxy do the secure code too.

so, how can i make a simple application to send a simple packet to sit down the character.

Packet[0] = 0x01;
Packet[1] = 0x00;

Packet[2] = 0x70;
Packet[3] = 0x4f; // i dont know if it's the right code.

Packet[4] = 0x00;
Packet[5] = 0x00;
// Packet data
Packet[6] = 0x04;
write(Packet, 0, 7);


is that right?
i just sent a byte array to the socket connection on the 9000 port of SrProxy that i have connected.

i dont know if its ok, because its didnt work, and i cant find some tutorial of how to use SrProxy.

Thx u.