Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

JJ2 Networking Protocol

Grovespaz! Grovespaz!'s Avatar

JCF Member

Joined: Mar 2011

Posts: 9

Grovespaz! is doing well so far

Apr 2, 2011, 03:34 AM
Grovespaz! is offline
Reply With Quote
Arrow JJ2 Networking Protocol

Hi all,

So recently I got very interested in JJ2 again. I used to play JJ2 when I was around 6 years old or something, and the nostalgia factor alone made me want to play it again.

However, in the 13-or-so years since then I've picked up a few more techy skills I began analyzing the protocol JJ2 uses to play multiplayer games over the network, with the vague and hopeless idea of eventually writing my own server.

It's been real fun so far, and although I'm not anywhere near a fully functional server, I have decoded a portion of the protocol and am working on decoding the rest.

Then, I stumbled upon this site again for the first time in years. I immediately thought of the possibility of sharing what I learned with others, in the hope of sparking an interesting discussion. Now my question to you is as follows. Do you think it's desirable to have an open discussion about the network protocol here? I can see advantages and disadvantages, since theoretically the information could probably also be used for cheating.

So yeah, that's my question to you all. Is this a place I could post what I find or should I keep it to myself?
__________________
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Apr 2, 2011, 03:43 AM
Jgke is offline
Reply With Quote
Well, you could start talking to a player called Nerd, he sounds a bit like your type
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,812

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Apr 2, 2011, 03:55 AM
cooba is offline
Reply With Quote
What Jake means: Nerd does disassembly too, not that you're a nerd.

You might want to ask Grytolle for access to the J2NSM wiki, too.
Grovespaz! Grovespaz!'s Avatar

JCF Member

Joined: Mar 2011

Posts: 9

Grovespaz! is doing well so far

Apr 2, 2011, 04:04 AM
Grovespaz! is offline
Reply With Quote
Quote:
Originally Posted by Jake View Post
Well, you could start talking to a player called Nerd, he sounds a bit like your type
Quote:
Originally Posted by cooba View Post
What Jake means: Nerd does disassembly too, not that you're a nerd.
Glad you cleared that up Thanks both!
Quote:
Originally Posted by cooba View Post
You might want to ask Grytolle for access to the J2NSM wiki, too.
Thanks! What's that stand for?
__________________
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Apr 2, 2011, 08:25 AM
Grytolle is offline
Reply With Quote
Jazz 2 No Source Modification - we had enough of ppl on this forum saying "it can't be done without the source code"

grytolle@craccoclan.com, contact me on msn
__________________
<center></center>
Sfaizst

JCF Member

Joined: Mar 2008

Posts: 99

Sfaizst is an asset to this forum

Apr 2, 2011, 11:59 AM
Sfaizst is offline
Reply With Quote
If you have more informations about the struct as written on j2nsm please contact me too, i made once a server in delphi, it was possible to connect and download levels as clients (with a time-out after connecting...,because I never made the udp part )
MSN: Daniel.BBB@online.de

Sfaizst
__________________

I'm watching you!!
Grovespaz! Grovespaz!'s Avatar

JCF Member

Joined: Mar 2011

Posts: 9

Grovespaz! is doing well so far

Apr 2, 2011, 01:20 PM
Grovespaz! is offline
Reply With Quote
Thanks both! I haven't been on MSN in ages but will definitely boot it up for this Talk to you soon!

EDIT: So far my hackish server has got the following down:
  • Responding to local net broadcast
  • Responding to pings
  • Responding to TCP join requests with server settings, list of already joined players with fur colors and names and all, etc
  • Receiving UDP game packets (1 and 8) and parsing them
  • Forcing a player to be a certain character, color or name for shits and giggles.

It's been real fun so far.
I haven't looked at the downloading yet, and the more I look at this the more it seems I have to emulate the entire game in order to emulate a server. Not that I mind though
__________________
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Apr 3, 2011, 04:32 AM
Grytolle is offline
Reply With Quote
We have pretty much the entire protocol documented, so unless you very much enjoy figuring it out by yourself, don't waste your time
__________________
<center></center>
Grovespaz! Grovespaz!'s Avatar

JCF Member

Joined: Mar 2011

Posts: 9

Grovespaz! is doing well so far

Apr 3, 2011, 06:52 AM
Grovespaz! is offline
Reply With Quote
Well, while I would enjoy doing that, having all the information available already would of course also be much appreciated and speed up my efforts by a tenfold

I'll try to get on MSN today
__________________
Reply

Thread Tools

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 On

Forum Jump

All times are GMT -8. The time now is 10:14 PM.