RakNet Replacement

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

RakNet Replacement

Post by Commando »

Vearie has come up with a replacement server for RakNet. He has reverse engineered the RakNet server. It appears to be down at the moment, but it was up a few minutes ago and it was working when Vearie hosted it on his server.



The contents of my LocalPrefs_bzone.cfg
// The following are settable by the user. They are assigned to the
// default values, as if this file was empty. Comments above them
// should indicate what possible settings are available.

// Note that only things that cannot affect game synchronization are
// in here (views, etc).

// This file is used only when running bzone.exe, the multiplayer-enabled
// exe

// User's changes should be placed in this file, below the
// [UserPrefs] line below.

[UserPrefs]
// RakNet master server address and NatNeg server/port. Don't change
// these unless you're very sure you know what you're doing.
MasterServerAddress = "gamelist.kebbz.com"
//NatNegServerAddress = "natpunch.jenkinssoftware.com"
//NatNegServerPort = 61111

// Whether a server behind a NAT (and UPNP failed) starts up some
// RakNet plugins for NAT punchthru. Try various combinations.
//ServerConnectToPunchthruServer = false
//ServerConnectToPunchthruClient = true
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: RakNet Replacement

Post by Ded10c »

Congratulations and thanks to both, this is a great achievement.
battlezone.wikia.com needs your help!
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: RakNet Replacement

Post by Zero Angel »

New master server. Awesome. BZ2Maps' game listing service is now using the new master server hosted by Kebbz.

BZ2 lives!
Regulators
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: RakNet Replacement

Post by Commando »

Have the issues from last night been resolved? Session list intermittently failed to load.
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: RakNet Replacement

Post by Ded10c »

{bac}Zero Angel - Sun Jan 18, 2015 9:11 pm wrote:Bit of a malfunction at the junction. Looks like the raknet replacement server will be offline for a little while.
May be related to the 403s I was getting.
battlezone.wikia.com needs your help!
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: RakNet Replacement

Post by Commando »

I believe Kebbz server is being worked on. I've been fighting with Apache and Vearie's script to get a backup server up and running. I can browse to it via bz2lobby.ddns.net/testServer.php?__GameID=BZ2, which redirects to http://72.222.116.187:8081/testServer.php?__GameID=bz2. Unfortunately bz2 doesn't recognize the server is running on my server despite it being viewable from my cell, which is off of my network.

No idea what I'm missing, at this point, as apache and noip.com appear to be functioning as desired.
User avatar
Huib-Bloodstone
Rattler
Posts: 92
Joined: Fri Feb 18, 2011 10:36 pm

Re: RakNet Replacement

Post by Huib-Bloodstone »

atm raknet works again....
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: RakNet Replacement

Post by Commando »

It's back up, but for how long.
kebbz
Scrap
Posts: 1
Joined: Thu Feb 12, 2015 9:35 am

Re: RakNet Replacement

Post by kebbz »

Raknet replacement is still working and will be working in the future. That day when we first launched it we shut it down a few times cause we were working on it. At first it used filesystem for storing data, now it uses database system. So you guys decide if you gonna use it in next patch. While i'm typing this message Raknet is being down, our replacement masterserver is located on http://gamelist.kebbz.com.
User avatar
Huib-Bloodstone
Rattler
Posts: 92
Joined: Fri Feb 18, 2011 10:36 pm

Re: RakNet Replacement

Post by Huib-Bloodstone »

GSH needs to decide this, raknet is finished.

Let him take a look at it, perhaps share it so he can implement it better.
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: RakNet Replacement

Post by Commando »

With Kebbz server, we may not have NATNeg, but at least we have simple match making. It puts us at where the old gamespy was, minus it providing server info when ports aren't forward.

Does anyone have storage for uploading an unofficial patch that just replaces raknet's URL with that of Kebbz server?
User avatar
Juggernaut
Thunderbolt
Posts: 189
Joined: Sun Mar 13, 2011 8:12 pm

Re: RakNet Replacement

Post by Juggernaut »

@Commando, I have storage and can host.

NATneg works fine on kebbznet, confirmed working and stable. Not to mention Kebbz is a great trustworthy good guy who often contributes to the BZ2 community and offers matchmaking off his server(s). Vearie did a great job on the script, recently updated to SQLi as per Neilk1's suggestion for better security. Give her a go:
edit " @BZ2ROOT/addon/config/localprefs.ini"
Under [UserPrefs] in notepad, add this text:
MasterServerAddress="gamelist.kebbz.com"
I'm sure kebbz and vearie would be more than willing to share the script with GSH to help save BZ2 ... our lack of matchmaking in 1.3B6.5 is killing the future online BZ2 MP experience. :cry: Only those who visit bz2maps.us know about this backup solution, so many newcomers and oldies alike were coming back yet Raknet fails us again.
Specs:
Win 10 Pro 64bit OS
i5 3570K @4.5Ghz CPU
16GB DDR31600 Corsair RAM
MSI Z77A-G41 MOBO
Crucial 256GB SSD | 500GB WD HDD
EVGA REF GTX-970 4GB ACX 2.1 GPU
27" LG D2743 Cinema 3D IPS LED @1920x1080 60Hz
ASUS Xonar DGX APU
Cable Internet - 35Mb/6Mb
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: RakNet Replacement

Post by Ded10c »

I've been talking with Robin Scott about the possibility of using Nexusmods as a file host and thus far that's been agreeable.
battlezone.wikia.com needs your help!
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: RakNet Replacement

Post by Commando »

I'd host a backup server, but my ISP blocks ports 80 and 25. That is their way of preventing customers from hosting webservers and e-mail servers. This in addition to the matchmaking being hard-coded to port 80 prevents me from hosting.

I tried using no-ip and setting up an External Port 80 query to internal port 8080 redirect, but bz2 does not like the redirect. I could type in the address, into IE with :8080 and the list would load. Being able to customize the listening port for bz2's matchmaking would be helpful, but at this point, I don't see any changes being made.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: RakNet Replacement

Post by Nielk1 »

I still need to get a better host before I can host it, since I want to host one but my current host doesn't have working DELETE protocol requests. I might just pay for a micro AWS instance to get it working.
Post Reply