Register for your free account! | Forgot your password?

You last visited: Today at 22:13

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

Advertisement



How to get packets

Discussion on How to get packets within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
How to get packets

Hey ,guys now I need to.get packets iam working in c# program how to get packet what tools should I use... can any one explain me with steps...thanks..
Mr.Awesome1337 is offline  
Old 06/10/2016, 19:15   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
First:
You should enable your c# program to receive and send packets by using as you can ignore packet encryption to a certain degree.. It contains examples for a server_stats viewer add a simple_proxy ( is also interesting)

Second:
Because you get the packets in your C# application in a flat byte-array you need to know how the structure of packet data looks like and which opcode serves a specific purpose. Sending invalid data to client mostly results in a client crash while sending one to the server will only disconnect you.

Unstructured (flat):
Code:
[C -> S][2001][12 bytes][Enc]
09 00 53 52 5F 43 6C 69 65 6E 74 00               ..SR_Client.....
Structured
Code:
[C -> S][2001][12 bytes][Enc]
09 00                                             ................    
53 52 5F 43 6C 69 65 6E 74                        SR_Client.......
00                                                ................
Third:
Once you understood how to read/write/send packets and want to give complex packets a try then you need to parse some of the textdata files (characterdata.txt, teleportbuilding.txt, itemdata.txt, skilldata.txt most importantly) first. A lot of those complex packets have dynamic data depending on their type. Take a look .

Tools:
edxSilkroadLoader5 (Packet Auto-Parser) can help you with identifying the structure but i recommend not fully relying on it because there are some edgy cases.

phConnector /phAnalyzer is something you should develop yourself for the purpose of analyzing packets because...
Quote:
phConnector is VERY old now and may have problems that will never be fixed. You should discontinue using it. The repository will be left up only as a reference.
()


For more information about packet or file structures visit my GitHub+Wiki (link in signature)
DaxterSoul is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Release] +5500 Packets structure , client/packets constants
10/07/2012 - CO2 PServer Guides & Releases - 10 Replies
edit : if u know nothing about packets go to this post first explaining what is packets , and explaining a packet with details and everything http://www.elitepvpers.com/forum/co2-pserver-disc ussions-questions/2162344-packets-packets-packets. html#post19074533 i start making my very own packet structure to use them on my new proxy but i thought of ripping them from the source so yeah the following packets is ripped of trinity base source right now im just providing the packets structure...
[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
04/14/2011 - Nostale - 2 Replies
Hey leute wie benutze ich packets??
Packets
08/12/2010 - Kal Online - 11 Replies
Any Tutorial to learn packets, for i try to make this work in kocp r11? Thank You.



All times are GMT +1. The time now is 22:14.


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