New Gnet (master server) - no slowdown

Community Forums/Showcase/New Gnet (master server) - no slowdown

RepeatUntil(Posted 2006) [#1]
A couple of years ago, Mark Sibly wrote gnet, a very nice tool to publish a game on a web server (see here). For a network game, this allows to the clients to directly list the available servers, and select a server without having to type the IP address.

The problem with gnet was that the game was freezing for ~1 sec when gnet was refreshing the server. This discouraged many people to use it for actual games.

Progi and me just wrote a new library which allows to access any network database using threads. This library will be soon available for all versions of Blitz (including Blitz3D and BlitzMax).

The first application of this library was to rewrite gnet: now the new gnet do not freeze any more during the game. Everything is done in the background! This makes gnet usable for any net game, and for any version of Blitz!

Please download the executable here: the new gnet. When testing, check out the gnet section on the site.

Please test this. I would like to know your feedback.

Complete library will be release soon!


Beaker(Posted 2006) [#2]
It works! Can this be setup on your own server like gnet can? Does it have the same server requirements?

Very interesting. Keep it up.


Progi1984(Posted 2006) [#3]
This tool uses our library which is again in developpment. When it will be finished, you can use this library to create you new GNet.

Requirements : Apache Server (uses PHP)
Windows Client (our library is a DLL)


RepeatUntil(Posted 2006) [#4]
Yes, Beaker, I rewrote gnet in a couple of minutes using this new library. This was just an example to show what this library can do! Right now it's using the php files on this site, but you can use this on any site.
And this new gnet is just an example of a use of this library, but you will be able to do thousands more thing with it!


RepeatUntil(Posted 2006) [#5]
For those who are curious, here is how is the code of the executable (see first post). Of course, I just put the part related to gnet. This is just an example of this new library coming up soon.