View Single Post
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Dec 18, 2006, 11:55 PM
Cpp is offline
Reply With Quote
The first thing we should know is what IDs are already being used by jj2. I was working on a JJ2TCP documentation a while ago and I'll quote a part of it here.
Quote:
The packet ID byte allows up to 256 different numbers, but only a very narrow range is actually used – 0x0D to 0x1B (13 to 27 decimal) to be precise, the rest are unused.

IDFunctionTraffic
0x0D Error messageC<==S
0x0EClient detailsC==>S
0x0FJoin requestC==>S
0x10Server detailsC<==S
0x11Client join notifyC<==S
0x12Server player listC<==S
0x13Join process completeC<==S
0x14Data transmissionC<==S
0x15Download requestC==>S
0x16Level cycleC<==S
0x17Game overC<==S
0x18Status updateC<==S
0x19Server stoppedC<==S
0x1AStatus update requestC==>S
0x1BChatC<=>S
We have a lot of free packet ID's to use. JJ2 itself will currently ignore the unused so that's a good thing. Now the task is to assign a "use" (purpose) to each unused ID and make standard of it... sort of like the table shown above. I suggest we first make a list of features and possibilities. However, this is where my imagination ends. Neobeo might want to share some ideas for his dedicated server extended functionality.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>