Register for your free account! | Forgot your password?

You last visited: Today at 10:00

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


Simple packet structure

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
Simple packet structure

Hey ,
i was so bored so i made my own packet structure



i know that it's very bad , but i think it's a good start

Example :
Code:
 public class ClassName : PacketStructure
    {
        public ClassName()
            : base(PacketID, PacketLength + 8)
        {
            
        }
    }



sala7mostafa is offline  
Old 12/07/2013, 21:15   #2
 
elite*gold: 0
Join Date: Apr 2013
Posts: 3
Received Thanks: 1
Nice .. It'll be a Developing Start Point for You Bro

Keep it up ^_^


Xor190 is offline  
Thanks
1 User
Old 12/07/2013, 21:35   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 231
Received Thanks: 145
this is slow
teroareboss1 is offline  
Old 12/07/2013, 22:16   #4
 
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
How ? -_-


sala7mostafa is offline  
Old 12/07/2013, 22:34   #5
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,011
Received Thanks: 3,367
Quote:
Originally Posted by sala7mostafa View Post
How ? -_-
It uses a few managed classes to do copies and such. I think I wrote one a while ago... the faster way to go about this is to use pointers. Edit: Found it. It's not terribly fast, but it should be a more efficient approach than yours was. Like yours, mine also uses inheritance.
Spirited is offline  
Old 12/07/2013, 23:00   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 411
Quote:
Originally Posted by Fang View Post
It uses a few managed classes to do copies and such. I think I wrote one a while ago... the faster way to go about this is to use pointers. Edit: Found it. It's not terribly fast, but it should be a more efficient approach than yours was. Like yours, mine also uses inheritance.
Cant wait for the unbalanced stack :3
Y u k i is offline  
Old 12/07/2013, 23:05   #7
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 913
Quote:
Originally Posted by Y u k i View Post
Cant wait for the unbalanced stack :3
Unbalanced stack? Shouldn't happen with that implementation. The correct calling convention for those imports is indeed cdecl.
Lateralus is offline  
Thanks
1 User
Old 12/07/2013, 23:14   #8
 
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
Quote:
Originally Posted by Fang View Post
It uses a few managed classes to do copies and such. I think I wrote one a while ago... the faster way to go about this is to use pointers. Edit: Found it. It's not terribly fast, but it should be a more efficient approach than yours was. Like yours, mine also uses inheritance.
I haven't learned pointers yet , i will do another one by pointers when i learn it.
I released it to know the mistakes i did , how to improve my skills on programming.


sala7mostafa is offline  
Reply



« 5165 source | [Release]Extremely Basic 5017 Source »

Similar Threads
Packet Structure
02/24/2013 - SRO Coding Corner - 5 Replies
Hi all :) , i need help to get the good structure for any packet from SRO_Client.exe with ollydbg , i don't know how to use it , and thxs
little help with packet structure and inspiration
09/11/2012 - CO2 Programming - 9 Replies
edit : okay now forget what i've said been hrs looking for this stuff but still at some point so damn confused now i got a working proxy , i got packet structure for entity spawn and for attacking packet and i can simply do something like ummm...
[Request] Packet Structure for CharData Packet
05/16/2011 - SRO Ask the Experts - 4 Replies
can someone tell me which structure the CharData packet has? i would really appreciate this, since im still noob in such things. its just too high for me/ too much information for my head. :handsdown: S->C(3013)...
packet structure
03/09/2008 - CO2 Main - Discussions / Questions - 16 Replies
For what I'd like to do, I think packets are the place to start. After that, probably java then C and VB. This is a question for the people here who are self-taught... what resources would you recommend for... 1. understanding packet structure...



All times are GMT +2. The time now is 10:00.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.