ConfigServer Module

A configuration file for the server.

You can edit it to fit your favorite configuration.

List of all parameters

ConfigServer.profile_name = 'Server, version of mer. 20/02/2013 at 19h:04m:31s .'

The name of the profile.

ConfigServer.CLOCK_FREQUENCY = 40.0

Number of loop each seconds.

Warning

If too slow the game is not playable. If too quick, PyGame might complain about it.

ConfigServer.USE_NOTIFY = True

If notifications (with notify-send) will be used.

ConfigServer.SERVEUR_INIT = '0.0.0.0'

The default server.

Warning

This one is on local mode.

See also

You might set a real server, like bomberman.crans.org.
Of course, this also work perfectly : the game was designed for a network programming lesson :).
ConfigServer.PORT_INIT = 12882

The port of the listening connection for the server.

ConfigServer.NB_BOMB_MAX_ALLOW = 1

If true, use a pickling file to save current game state for the server

Warning

This is still experimental and quite limited.

USE_PICKLING = False To be very verbous with all outputed messages (i.e. send to the network), produced with ParseMessageOut PRINT_ALL_PARSEOUT = True To be very verbous with all parsed messages, produced with ParseMessageIn PRINT_ALL_PARSEIN = True Max number of bombs allowed to be droped by one player.

Can be changed if you want to try with this. To fit our protocole, and to have the same behaviour that other server, the default value is 1.

Table Of Contents

Previous topic

BombermanServer Module

Next topic

Others stuff

This Page