Introduction      Documentation      Tutorials      Libraries      Forum

Libraries made with Etna

Gnet (master server)

Gnet is a very simple system to track 'games in progress'. Servers add themselves to Gnet via GNET_AddServer(), while clients can locate servers using GNET_ListServers().
Gnet was written by Mark Sibly, so 100% of the credits go to him! The Etna version allows to avoid the freezing of the game while doing a request on the remote database.
Gnet was designed for Blitz users, who can use the master server on for free. For other language users, this is very simple to add a master server on your own web page, just install gnet.php and the mysql table gnet.mysql.

The documentation for Gnet is available in the Gnet/ folder of Etna. There is also one simple example in BlitzBasic and BlitzMax. Check on while running them!

You can start from these examples and the php file to add functionnalities like player counting, score, status of the game and more! (to be installed on your own web site of course)

Security issue / Encryption

Built-in encryption
ETNA is using a very reliable encryption algorithm: RC4. Analysis shows that the period of the cipher is overwhelmingly likely to be greater than 10^100. Eight to sixteen machine operations are required per output byte, and the cipher can be expected to run very quickly in software. Independent analysts have scrutinized the algorithm and it is considered secure.

If you use encryption with ETNA, you will need the counter-part on the script/server side. The functions you need to encrypt/decrypt in php are available in php/ETNA_encryption.php in the ETNA package. Just do an include of this file in your php file: include 'ETNA_encryption.php';
See the tutorials on encryption to see how encryption is working (and how easy it is).

For improved security:

MD5 encryption
In certain situation, you could also use md5 encryption. There is no way to decrypt a string which was encrypted with md5, but md5 encryption is useful in certain cases like sending password over internet, etc. Here are some references:

Documentation generated by Cod2Doc on 27 Nov 2006.