Subj : door game that changes online time To : acn From : Digital Man Date : Sun Jan 16 2022 12:52:53 Re: door game that changes online time By: acn to All on Sun Jan 16 2022 01:36 pm > Hi, > > I've installed BigWins Lotto which takes online time per try and also gives > time as a prize. > > But I have the impression that Synchronet doesn't read back the changed > values from DOOR.SYS after the door game returns to the BBS. > > I've looked at the DOOR.SYS before and after the game ran and eg. before, I > had 546 mins left and after I won 30 mins, I had 572 mins left. > BWLOTTO did change the DOOR.SYS file in the nodeX directory. > But when running BWLOTTO again, I still only have 546 mins left? > > In SCFG, I've set the following options for the door: > - BBS Drop File Type: GAP DOOR.SYS > - Place Drop File In: Node Directory > - Modify User Data: Yes > - Time Options / Monitor Time Left: Yes > (although I don't know what exactly this does) > > I thought that by "Modify User Data", the DOOR.SYS should be re-read after > the door exits and the changed time should be taken into account? > > Or is it just that 546 is some kind of max. value? 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) 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. -- digital man (rob) Rush quote #34: We go out in the world take our chances fate's just the weight of circumstances Norco, CA WX: 71.8øF, 24.0% humidity, 3 mph NW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .