• Time Bank and Disable Time

    From Björn Wiberg@2:201/137 to g00r00 on Sat Dec 11 11:22:27 2021
    Hello g00r00!

    Just wanted to let you know that if "Disable Time" is selected in the configuration, it appears that one can deposit an infinite amount of time (9999 - 5 = 9994 minutes at a time) in the time bank.

    Similarly, this large amount of time can be withdrawn (and the process repeated infinitely) to get really large/strange values for the remaining time (time left).

    Perhaps all time bank operations should be disabled if "Disable Time" is selected?

    Just thought I'd mention this. Not sure if it could cause problems if the time left counter wraps etc. =)

    Best regards
    Björn

    --- Mystic BBS v1.12 A47 2021/12/10 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
  • From Björn Wiberg@2:201/137 to g00r00 on Sat Dec 11 11:38:15 2021
    Hello again, g00r00!

    On 11 Dec 2021, Björn Wiberg said the following...
    Similarly, this large amount of time can be withdrawn (and the process repeated infinitely) to get really large/strange values for the
    remaining time (time left).

    Correction: The "time left" value is not affected by time bank withdrawals
    when "Disable Time" is used. It remains at 9999 minutes as it should. But the "Amount in Bank" value can get very large (and then wraps to a negative value and so on).

    Best regards
    Björn

    --- Mystic BBS v1.12 A47 2021/12/10 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
  • From g00r00@1:129/215 to Björn Wiberg on Mon Dec 13 11:14:52 2021
    Just wanted to let you know that if "Disable Time" is selected in the configuration, it appears that one can deposit an infinite amount of
    time (9999 - 5 = 9994 minutes at a time) in the time bank.

    Good catch. I am not sure how I should handle this. Probably just put a message in "Time bank features are disabled when user has no time limit" or something to that effect, and then have the time bank functions exit.

    ... Honk if you love peace and quiet!

    --- Mystic BBS v1.12 A47 2021/12/10 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Björn Wiberg@2:201/137 to g00r00 on Mon Dec 13 20:48:14 2021
    Hello g00r00!

    Thank you for your reply!

    On 13 Dec 2021, g00r00 said the following...
    Good catch. I am not sure how I should handle this. Probably just put a message in "Time bank features are disabled when user has no time limit" or something to that effect, and then have the time bank functions exit.

    Yep!

    (I have disabled the Time Bank menu here as I probably won't be using the time limits.)

    Best regards
    Björn

    --- Mystic BBS v1.12 A47 2021/12/10 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)