SilabGarza - RS Private Server  
Home Forum Play Register Store Market Highscores Mark Forums Read
Go Back   SilabGarza - RS Private Server > SilGar Media > Computers > Programming
Reload this Page Best Packet Handling


Best Packet Handling
Old
  (#1 (permalink))
I R Maggot is Offline
Member
image
 
I R Maggot's Avatar
 
Posts: 64
Cookies Given: 0
Cookies Received: 0
Time Online: 3 h 28 m
   
Default Best Packet Handling - 07-15-2010, 03:28 PM

Current Features:
Uses an array, so most likely anyone can implement this system.
The fastest and most efficient form of packet management.

Worldwide packet manager class: http://pastebin.com/edQrHhv1
Packet model: http://pastebin.com/jcSdmL6Y
Packet examples: Idle logout - http://pastebin.com/gA131AmL Object clicking - http://pastebin.com/LDG1U1vj

Intended use:

Code:
World.getThisWorld().getPacketManager().parseSinglePacket(opcode, this);


Yes, I am better than you.

Last edited by I R Maggot; 07-15-2010 at 04:04 PM.
  
Old
  (#2 (permalink))
Evolution is Offline
Also known as Anthony`
image
 
Evolution's Avatar
 
Posts: 43
Cookies Given: 0
Cookies Received: 0
Time Online: 2 h 50 m
   
Default 08-11-2010, 07:07 AM

Quote:
Yes, I am better than you.
gj you can use arrays.
  
Old
  (#3 (permalink))
Evolution is Offline
Also known as Anthony`
image
 
Evolution's Avatar
 
Posts: 43
Cookies Given: 0
Cookies Received: 0
Time Online: 2 h 50 m
   
Default 08-12-2010, 10:06 PM

Quote:
public PacketManager() {
packets = new Packet[255];
packets[132] = new ClickedOnObject();
packets[202] = new IdleLogout();
}
ps, this is why you shouldnt be fp'ing me
  
adsense code2.3
Closed Thread

Bookmarks

Best Packet Handling

Programming




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
adsense2.6
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:34 PM.





Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.