Subj : Re: First-time scan point To : Mauro Veiga From : Digital Man Date : Sat Aug 13 2016 04:00 pm Re: Re: First-time scan point By: Mauro Veiga to DIGITAL MAN on Sat Aug 13 2016 06:28 pm > -=> Quoting Digital Man to Nightfox at 08-06-16 12:19 <=- > > Hello, Rob! > > DM> 1. If you have SCFG->System->New User Values->Days of New Messages set > DM> to 0. 2. And a new user logs on for the first time > > DM> I think the default for "Days of New Messages" is not 0. Did you > DM> change it? 0 is valid, but it means that a new user would see *no* new > DM> messages when they first scan for new messages upon logging as as > DM> "new". I just want to make sure you knew how that worked. > > >I have a message reader > > mod I wrote in JavaScript, and it has had trouble accessing messages for > > new users, seemingly due to that value of scan_ptr. I found that I can > > check for that value and work around it, but I still wanted to let you > > know in case that value is not by design. > > DM> Yes, it's by design. It was added in Nov-2015 with this commit: > DM> http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/userdat.c?r1=1.160 > DM> &r2=1.16 1 > > DM> ~0 (of a 32-bit integer) is short-hand for 0xffffffff. > > I'm using Sync 3.16c and not have Days of News Messages field > on New User Values. How can i upgrade this? You can upgrade to the daily development builds (sbbs_dev.zip for Windows). digital man Synchronet/BBS Terminology Definition #15: DOVE = Domain/Vertrauen Norco, CA WX: 92.1øF, 37.0% humidity, 8 mph SSE wind, 0.00 inches rain/24hrs .