Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: LaZeRs on December 01, 2013, 04:15:51 PM

Title: [Bug] Negative Time Limit
Post by: LaZeRs on December 01, 2013, 04:15:51 PM
Me, DooCi and EPICFACE were playing a jump map on my server and after the time was over it went to negative times.
When I looked over at the time on the bottom right corner of the screen as soon as zero hit, it said N/A. (This applies to all of the negative times too)

[13:07:24] 0:01 left in match.
[13:07:25] 0.00 left in match.
[13:07:26] 0:-1 left in match.
Title: Re: [Bug] Negative Time Limit
Post by: FusSioN on December 01, 2013, 11:51:39 PM
What command did you use before time reaches zero??
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 01, 2013, 11:57:34 PM
I changed the timelimit on the map (after about 45 minutes) so the ending result was about 1 minute left instead of 10ish minutes.
Then that happened.
But the rest of the maps after that didn't have this bug.
I still think it's kinda strange though.
Title: Re: [Bug] Negative Time Limit
Post by: jitspoe on December 02, 2013, 10:58:59 PM
What game mode was it in?  Did it go into overtime?  What was your "overtime" cvar set to?  Did the match ever end, or did it just keep going into negative numbers?
Title: Re: [Bug] Negative Time Limit
Post by: FusSioN on December 02, 2013, 11:02:00 PM
I think its dm or tdm or koth
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 02, 2013, 11:33:22 PM
What game mode was it in?  Did it go into overtime?  What was your "overtime" cvar set to?  Did the match ever end, or did it just keep going into negative numbers?
DM, no, not sure (never messed with it), match never ended until I changed map.
Title: Re: [Bug] Negative Time Limit
Post by: FusSioN on December 02, 2013, 11:53:19 PM
Jump maps are always im dm though. btw, what mode is the map you played before that map? If it is ctf, it stays in ctf until you mess with it.....
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 03, 2013, 12:00:43 AM
No it doesn't. If you put "newmap arm" in the console, the map will load to DM. The mode usually will depend on the gamemode the map supports unless you put in your settings "g_forcedgamemode ____", which I didn't.
Title: Re: [Bug] Negative Time Limit
Post by: not_payl_obviously on December 03, 2013, 08:05:00 AM
Hasn't jitspoe actually changed time counting system because it was "poorly written"? Was this updated in b40 already?
Jitspoe: you should probably make command to add/remove time or set it to any value (I assume there is none that actually works fine now?). And just when it hits 0 call changemap...

No it doesn't. If you put "newmap arm" in the console, the map will load to DM. The mode usually will depend on the gamemode the map supports unless you put in your settings "g_forcedgamemode ____", which I didn't.
I think gamemode is randomized from allowed values unless g_forcedgamemode or 2nd parameter in newmap which is mode.
From screenshot looks like it isn't DM (you dont get team counter then nor team score).
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 03, 2013, 07:28:24 PM
From screenshot looks like it isn't DM (you dont get team counter then nor team score).
Scroll to the right on the screenshot :P
Thanks for the clarification.
Title: Re: [Bug] Negative Time Limit
Post by: jitspoe on December 04, 2013, 01:43:23 AM
What version was the server running?
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 04, 2013, 09:49:50 AM
Build 40.
Title: Re: [Bug] Negative Time Limit
Post by: jitspoe on December 04, 2013, 12:04:00 PM
Really strange.  Are you able to reproduce it?  The match should end or attempt to go into overtime if the time left is less than or equal to 0.  The only thing I can think of is that the overtime value was set to a small or negative number, causing it to repeatedly try to go into overtime, but I would think that would spam overtime messages.
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 04, 2013, 09:03:33 PM
It didn't go into overtime.
I never changed the overtime settings, though. :-\
Title: Re: [Bug] Negative Time Limit
Post by: DooCi on December 05, 2013, 12:06:56 AM
Hey! I was there!:D
Title: Re: [Bug] Negative Time Limit
Post by: FusSioN on December 05, 2013, 02:04:26 AM
Hey! I was there!:D
What's so special?
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 05, 2013, 09:59:11 AM
Hey! I was there!:D
You were there raging about the time going into negative when you finally thought the map was over... ;D
Title: Re: [Bug] Negative Time Limit
Post by: LaZeRs on December 09, 2013, 09:36:20 PM
Will this be fixed in the next build (as a setting or something)?
Title: Re: [Bug] Negative Time Limit
Post by: ic3y on December 10, 2013, 08:36:42 AM
There is nothing to fix. Or another serveradmins have this problem ?
Title: Re: [Bug] Negative Time Limit
Post by: not_payl_obviously on December 10, 2013, 08:56:50 AM
Will this be fixed in the next build (as a setting or something)?
Make steps to reproduce or it didn't happen.
Title: Re: [Bug] Negative Time Limit
Post by: jitspoe on December 10, 2013, 11:48:41 AM
I added some more checks, but the only scenario I could see this happening on is if overtime was set to some weird value.  I don't know how to reproduce it, so I can't tell if it's actually fixed or not.