Creating bot.. Asking for help

03/17/2011 00:57 npcdoom#16
maybe you didnt sent the correct packet???
03/17/2011 01:01 ighor10#17
ok, but i only want to know if its the right way to send to SrProxy.

i realy dont need to generate the security code?
i can just set it to 0x00?

thx npcdoom
03/17/2011 01:04 melkorz123#18
Try using detours algorythm insitead of SrProxy, that might solve your problem.

Anyway I don't know why It is working like that, however you can sniff the procedure with the option ticket or not, so you can check the differences and guess the mistake.

If you need any help with the project I'd like to help you:).
03/17/2011 01:06 ighor10#19
do u have skype? msn? so we can write easly


my problem is not sniffing packet right now, i just want to send some packet, to see that its working.
if i got DC because its the wrong packet, ok, thats what i want, but seems that the server dosent receive any packet that i send to SrProxy :S
03/17/2011 01:44 ighor10#20
I think i figured out this.

i just need to set the security byte to 0x02, so SrProxy send it to server.

but now, i did a sniff, and the packet to sit is 704f, packet data 0x04

SitPacket[0] = 0x01;
SitPacket[1] = 0x00;
SitPacket[2] = 0x70;
SitPacket[3] = 0x4f;
SitPacket[4] = 0x02;
SitPacket[5] = 0x00;
SitPacket[6] = 0x04;
out.write(SitPacket, 0, 7);
out.flush();

i got DC after SrProxy send it.
why? i realy dont need to generate check code?
thx



-------------------------------------


i figured out this too xD, i just need to invert the bytes on array,
SitPacket[2] = 0x70; - SitPacket[2] = 0x4f;
SitPacket[3] = 0x4f; - SitPacket[3] = 0x70;


it's working.

now another problem xD
i just saw that opcode 3057 is hp/mp change.
but the data of this packet is 6266B70A200196030000
how can i parse it? how i will know what is hp / mp etc.

Thx all for helping
03/17/2011 03:18 pushedx#21
Quote:
Originally Posted by ighor10 View Post
now another problem xD
i just saw that opcode 3057 is hp/mp change.
but the data of this packet is 6266B70A200196030000
how can i parse it? how i will know what is hp / mp etc.

Thx all for helping
Grab my [Only registered and activated users can see links. Click Here To Register...] and use the "Packet Auto-Parser" option to see how AgentServer packets are parsed by the client.

From there, it's trial and error to analyze the data and identify all the fields. You can also use a Silkroad proxy to inject and analyze raw streams of data to help identify fields. For example, change some data in a packet and send it to the client to see what changes. You will end up crashing the client a lot since it is so sensitive to data, but it helps speed up identifying unknown values.

If Hackshield is getting in your way, you might want to consider using RSRO instead to work from to get comfortable with how Silkroad packets works. Then you can just port to ISRO and update as needed for the newes packets.