Page 1 of 1

TimeLimit plugin 1.0.3

Posted: Tue Aug 01, 2006 10:33 pm
by catay
The TimeLimit plugin makes it possible to change live the
match duration on a match server.

Installation :

* bzflag 2.0.8

If you use the 2.0.8 version or a not really recent
2.0.9 cvs version it is possible that certain bz api
methods are not available. Therefore you should patch
your bzflag source code first.

-> TimeLimitPlugin-0.1.patch.txt

If the patch is applied succesfully you should be able
to compile the plugin.

-> TimeLimit-1.0.3.tar.gz

* latest cvs version (v2_0branch only)

You don't need the patch. You just need to compile the
plugin.

-> TimeLimit-1.0.3.tar.gz

How to use the plugin is explained in the README.

Constructive critisism is always welcome. ;)

Posted: Sun Oct 08, 2006 6:48 am
by SilverFox
Is it possible to extend this plugin to the time limit on the server (not the match?) for servers who are set up with a time limit (using the -time switch)

Posted: Sun Oct 08, 2006 1:08 pm
by catay
It shouldn't be hard to do that I think. The plugin actually changes the -time value, but it
also requires you have put -timemanual in your config. If you remove that specific part
in the code it should work. Well, that's if I understand your question. :)

I think in the end the -time value should be put in bzdb , that way the plugin won't mess
with cmdline options and it would be possible to change the timelimit with /set .
I have a working prototype implementation of that but only for the HEAD branch.