TimeLimit plugin 1.0.3

Expand and mod your server.
Post Reply
catay
Private First Class
Private First Class
Posts: 62
Joined: Sat May 28, 2005 2:41 pm

TimeLimit plugin 1.0.3

Post by catay » Tue Aug 01, 2006 10:33 pm

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

User avatar
SilverFox
Private First Class
Private First Class
Posts: 163
Joined: Wed Oct 06, 2004 6:51 pm
Contact:

Post by SilverFox » Sun Oct 08, 2006 6:48 am

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)

catay
Private First Class
Private First Class
Posts: 62
Joined: Sat May 28, 2005 2:41 pm

Post by catay » Sun Oct 08, 2006 1:08 pm

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.

Post Reply