MantisBT - Zandronum
View Issue Details
0003068Zandronum[All Projects] Bugpublic2017-04-17 13:302017-04-17 19:41
DrinkyBird 
 
normalminoralways
newopen 
Microsoft WindowsWindows 10 Pro x641703 15063.138
2.1 
 
0003068: Ban duration with multiple units of time goes awry
Managed to stumble upon this while writing my RCon client.
If you specify multiple units of time while banning someone, the ban length is incorrect, and you get banned for the first number it can find in minutes. This happens on 2.1.2 and 3.0.
1. Start a server
2. Join said server
3. Ban yourself, with a duration that has multiple units of time, such as:
 - 5year10month28day22hour4minute -> banned for 5 minutes
 - 5days2mins -> 5 minutes
 - 2mins5days -> 2 minutes
 - 180mins5days -> 3 hours
 etc.
No tags attached.
Issue History
2017-04-17 13:30DrinkyBirdNew Issue
2017-04-17 16:42Torr SamahoProduct Version3.0-beta => 2.1
2017-04-17 18:58Torr SamahoNote Added: 0017175
2017-04-17 19:41DrinkyBirdNote Added: 0017181

Notes
(0017175)
Torr Samaho   
2017-04-17 18:58   
IIRC multiple units simultaneously were never supported or even intended to be supported.
(0017181)
DrinkyBird   
2017-04-17 19:41   
Can this be turned into a feature request for them to be supported, then? It'd be pretty helpful for how my RCon client does duration stuff.