diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-12-02 23:53:45 +0100 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-02-24 20:44:13 +0100 |
commit | dd20c7f6148cc8b8b627028e25e817cc1cab063b (patch) | |
tree | b7c9900c8b01aa67a496cd92276a166450817761 /example | |
parent | 9860dacbb6526138ae8edf57adc42ddc3e6073fa (diff) | |
download | manaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.tar.gz manaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.tar.bz2 manaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.tar.xz manaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.zip |
Added possibility to reserve maps
If you set net_gameServerName you can now reserve maps in the maps.xml.
There you have to add the servername - property to the <map> tag.
Then the map will only be activated by that server.
Also changed the activate sequence that the account server now tells the game
server what maps to activate (previously the server requested all maps and the
account server said yes or no).
TODO: Fix general inter server map switching.
Diffstat (limited to 'example')
-rw-r--r-- | example/maps.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/maps.xml b/example/maps.xml index 94673852..8d1889f2 100644 --- a/example/maps.xml +++ b/example/maps.xml @@ -1,4 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <maps> + <!-- + id: unique id of map(> 0) + name: the name of the maps (without .tmx extension) + [optional] servername: the name of the server that should run this map + --> <map id="1" name="desert" /> </maps> |