GNet?

Blitz3D Forums/Blitz3D Programming/GNet?

Mustang(Posted 2005) [#1]
Allrighty... happened to come across Jeremy's excellent FPS MP codelet in the archives, but can someone enlighten me and explain what exactly is this GNet - is BR provoded service or what?


jfk EO-11110(Posted 2005) [#2]
It's a PHP script that is using a MySQL database table. It allows players to join games that are online, or to start a game host and add it as an entry to the games list.

You need a server with PHP and MySQL, plus a little knowledge about this stuff, that is BTW pretty trivial, if you one read a beginners tutorial on PHP or MySQL.

(Basicly you need to create a table of a certain name in your database, plus some fields of a certain field type. We have discussed this not so long ago when halo asked the same question: http://www.blitzbasic.com/Community/posts.php?topic=43639 )

As far as I see you could also use the Gnet that is hosted by this server, but you couldn't customize the server script and you would need to follow strictly the conventions given by the Gnet client protocol.
The php scripts and bb examples are in the toolbox:

http://www.blitzbasic.com/toolbox/toolbox.php?tool=61


Mustang(Posted 2005) [#3]
Ah, thanks! Pretty good explanation, got it.