Renegade Public Forums
C&C: Renegade -- Dead since 2012!™
Home » Renegade Discussions » Tiberian Technologies Forum » time limit and BRenBot
time limit and BRenBot [message #466294] Tue, 17 April 2012 14:50 Go to next message
iRANian  is currently offline iRANian  
Messages: 4295
Registered: April 2011
General (4 Stars)
From: *cm-5-3b.dynamic.ziggo.nl
Setting a map specific time limit doesn't work if the time limit is set to 0 in svrcfg_cnc.ini (i.e. if the server is a marathon one), because the time limit is 0. If you change the time remaining (with TIME) the time will run out but it won't gameover the map, if you use TIMEL to change the time limit to anything but 0 it will gameover.

So BRenBot needs to add some special exceptions to the map specific config stuff if the time limit is set to 0 in svrcfg_cnc.ini.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: time limit and BRenBot [message #466303] Tue, 17 April 2012 15:26 Go to previous messageGo to next message
danpaul88  is currently offline danpaul88  
Messages: 5794
Registered: June 2004
Location: England
General (5 Stars)
From: *range109-145.btcentralplus.com
Isn't the whole point of a marathon server not to have time limits? I don't tend to play in such servers because they always seem to result in a stalemate so maybe I am missing something?

Just asking because it seems an odd thing to do.


http://steamsignature.com/card/1/76561197975867233.png
Re: time limit and BRenBot [message #466306] Tue, 17 April 2012 15:52 Go to previous messageGo to next message
T0RN  is currently offline T0RN  
Messages: 293
Registered: January 2006
Location: Lunatic HQ
Recruit
From: *dyn.optonline.net
Well actually, I wanted to put a map(s) in with a time limit mixed in with the marathon maps, but I can't.
Re: time limit and BRenBot [message #466314] Wed, 18 April 2012 00:53 Go to previous messageGo to next message
danpaul88  is currently offline danpaul88  
Messages: 5794
Registered: June 2004
Location: England
General (5 Stars)
From: 195.12.16*
Well I could look into adding special case logic in the bot for that but since you say it actually starts the time in the game but doesn't end the game when the time runs out that could actually be a candidate for an improvement in the server code itself, maybe see what jonwil thinks about it.

In theory if the time remaining was >0 and becomes 0 due to counting down on it's own the game should end regardless of what the actual time limit is set to.


http://steamsignature.com/card/1/76561197975867233.png
Re: time limit and BRenBot [message #466324] Wed, 18 April 2012 05:55 Go to previous messageGo to next message
iRANian  is currently offline iRANian  
Messages: 4295
Registered: April 2011
General (4 Stars)
From: *cm-5-3b.dynamic.ziggo.nl
Yeah that's true but from the looks of it the sole thing keeping the map from gameovering with no time remaining is the time limit being set to zero.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: time limit and BRenBot [message #466333] Wed, 18 April 2012 09:38 Go to previous messageGo to next message
triattack  is currently offline triattack  
Messages: 14
Registered: May 2011
Recruit
From: *upc-c.chello.nl
what you can do instead of making it zero make it a to huge to ever end number like 999999999999999999999999999999999999999 which will also work to make it almost endless and if needed you could make something that auto sets time after a certain time (like every hour
Re: time limit and BRenBot [message #466335] Wed, 18 April 2012 10:28 Go to previous messageGo to next message
danpaul88  is currently offline danpaul88  
Messages: 5794
Registered: June 2004
Location: England
General (5 Stars)
From: *range109-145.btcentralplus.com
I wonder what happens if you set the time limit to a non zero value and then set the time remaining to 0 for the marathon maps...


http://steamsignature.com/card/1/76561197975867233.png
Re: time limit and BRenBot [message #466336] Wed, 18 April 2012 10:46 Go to previous messageGo to next message
iRANian  is currently offline iRANian  
Messages: 4295
Registered: April 2011
General (4 Stars)
From: *cm-5-3b.dynamic.ziggo.nl
it'll cause the map to gameover when the timer reaches zero.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: time limit and BRenBot [message #466338] Wed, 18 April 2012 12:15 Go to previous messageGo to next message
danpaul88  is currently offline danpaul88  
Messages: 5794
Registered: June 2004
Location: England
General (5 Stars)
From: *range109-145.btcentralplus.com
iRANian wrote on Wed, 18 April 2012 18:46

it'll cause the map to gameover when the timer reaches zero.


But it wouldn't 'reach' zero, it would be 'set' to zero... There might be a difference


http://steamsignature.com/card/1/76561197975867233.png
Re: time limit and BRenBot [message #466339] Wed, 18 April 2012 12:49 Go to previous message
iRANian  is currently offline iRANian  
Messages: 4295
Registered: April 2011
General (4 Stars)
From: *cm-5-3b.dynamic.ziggo.nl
neh i tested that if time remaining is set to zero and time limit isn't zero it'll gameover immediately.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Previous Topic:Messages missing since 4.0
Next Topic:Random TT experiences
Goto Forum:
  


Current Time: Tue Jun 25 09:05:55 MST 2019
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7RC2.
Copyright ©2001-2007 FUD Forum Bulletin Board Software