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.
TimeLimit plugin 1.0.3
TimeLimit plugin 1.0.3
- Attachments
-
- TimeLimitPlugin-0.1.patch.txt
- bzapi patch
- (1.35 KiB) Downloaded 497 times
-
- TimeLimit-1.0.3.tar.gz
- TimeLimit plugin
- (11.43 KiB) Downloaded 440 times
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.
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.