Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Packet Name
#1
Would there be a big difference changing all the packet names ex:
Code:
"playerlogin"

to something like this:

Code:
"3"

So instead of having names, you can use numbers for them. and for easy use, you can make a .txt file numbered from 1 to max packets. Like

1. addPlayer
2. playerlogin
etc..

So you keep track of which packets are which number. Cause i believe 5 characters in the packet name, equals to 5 bytes? and if you use numbers, you would probably not get over than 100. so that would improve the speed some, correct?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)