• door game that changes online time

    From Digital Man@1:103/705 to acn on Mon Jan 17 12:17:24 2022
    Re: door game that changes online time
    By: acn to Digital Man on Mon Jan 17 2022 11:23 am

    Hi,

    Synchronet doesn't read back/apply *all* the changes in the door.sys file. It'll read back and apply changes to lines:
    15: security level
    23: security flags (set 1)
    25: expiration date
    29: downloaded files
    30: kbytes downloaded today
    42: time credits (in minutes)

    As I see it, the game reads line 19 upon start and alters that value after exiting.

    Which lines is your door changing to reflect the "won" time? If it was line 42, I would expect that to work, but you couldn't have a reduction in time left (lost time) other than the time spent running/playing the door.

    Oh, so 'betting' with online time where you can also loose time isn't possible right now.
    Hmm, then the game is kinda pointless at the moment...

    Do you consider a change here?

    Time is a strange thing as its dynamic and relative. A users "minute bank" can be toyed with (line 49) to add and subtract additional time (beyond what their security level would allow), but there's no other line that really makes sense to read back in and use to control time. After all, normally a user would have less time when the exit a door than when the first ran it (but behavior is also configurable in SCFG).

    "credits" is probably a better thing to let users bet/play with. Credits can be use to "buy" more time too if that's how the user would like to spend them.
    --
    digital man (rob)

    Rush quote #14:
    Living in a fish eye lens, caught in the camera eye, I have no heart to lie Norco, CA WX: 58.2øF, 78.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)