Register for your free account! | Forgot your password?

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

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

Advertisement



[Help][C#]Regarding packets.

Discussion on [Help][C#]Regarding packets. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 9
Received Thanks: 0
[Help][C#]Regarding packets.

Hello!

I recently started playing on vsro servers and thought that a I need a clientless tool, so I started searching around. I found the guides which Drew Benton made (lot of thanks for that), so I believe that I understand the basics of the way silkroad handles the packets.

After this, I started experimenting. I found the AutoIT solution, but truth to be told, I don't like AutoIT at all, so I moved on.

Finally, I found
video, which showed me some possibilities in C# (I know the language), but I got stuck.

I wanted to make the program make my char sit down/stand up, so I changed the code in the Main[] section to this: ,

Code:
PacketWriter writer = new PacketWriter(0x704F, 1); // OpCode 0x3026, Security (2 -> to server, 1 -> to client) for SrProxy
writer.AppendByte(2);
Socket.Send(writer.GetPacket());
I use SrProxy - vsro (this is the name of the executable, don't know wether it matters, or not).

But after starting to debug, I get disconnected from the server, instead of sitting down / standing up. I'm sure that the opcode is correct (sniffed it multiple times using edxloader).

Yes, the client is redirected to use SrProxy. Yes, the IP is set correctly in the source to connect to srProxy. I believe that I'm handling the packet in a wrong way, yet I can't figure out what I am doing wrong.

My current source looks like this: (credits go to author, ZeraPain)


Best regards,

Levela
levela is offline  
Old 08/18/2012, 02:37   #2

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
Forget about everything you've done...
Start from scratch with this:
sarkoplata is offline  
Thanks
1 User
Old 08/18/2012, 15:45   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 120
Received Thanks: 17
PacketWriter writer = new PacketWriter(0x704F, 1);
writer.AppendByte(4);
Socket.Send(writer.GetPacket());
supermando is offline  
Thanks
2 Users
Old 08/19/2012, 22:02   #4
 
elite*gold: 130
Join Date: Mar 2008
Posts: 2,485
Received Thanks: 934
And not to mention, you'll have more luck in the coding section.


#Request move
intercsaki is offline  
Old 08/19/2012, 22:28   #5
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
Arrow Private SRO Ask the Experts -> SRO Coding Corner

#moved to correct section
PortalDark is offline  
Old 02/25/2014, 18:57   #6
 
elite*gold: 0
Join Date: Aug 2009
Posts: 152
Received Thanks: 11
I think u get DC from security bytes u should get them from Handshake packet and some calculation u ll get them , u know sro packet consist of
packet lenght
packet opcode
packet security
packet data
tarek1500 is offline  
Reply

Tags
disconnect, packet, send, silkroad


Similar Threads Similar Threads
[REQUEST] packets send list , or anyway to sniff send packets
08/10/2012 - Kal Online - 16 Replies
hey everyone , as mentioned , i wanna know if anyone got a complete send packets lists or anyway i can sniff send packets , thanks in advance
[Packets] Wie änder ich flyff packets?
07/16/2011 - Flyff Private Server - 19 Replies
HeyHo, Ich würde sehr gerne wissen wie man die Flyff Packets ändert... ich denke mal Zahlen ändern werden nicht ausreichen oder?
Packets
05/18/2009 - CO2 Private Server - 2 Replies
How can I get the correct packets from the client?
how get co packets?
01/07/2009 - CO2 Programming - 5 Replies
Hi, what tool using for get game packets?
VPN odd packets!!!
01/07/2009 - Lineage 2 - 4 Replies
Hi all, i have just tried the crack from vpnbot.com, i wanted to make sure it does not send my username and password to anything else but the l2 server. To do it i sniffed the packets with wireshark and found a number of them going to an IP that does not belong to my authentication server (i play on SEA) and is not a walker server either. The IP is 219.153.45.42, this address is located in Beijing (China), vpnbot.com is also in china but located in shanghai (61.129.64.174) so what is...



All times are GMT +2. The time now is 01:42.


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.