Subj : Re: First-time scan point To : DIGITAL MAN From : Mauro Veiga Date : Sun Aug 14 2016 11:06 am -=> Quoting Digital Man to Mauro Veiga at 08-13-16 16:00 <=- DM> Re: Re: First-time scan point DM> 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? DM> You can upgrade to the daily development builds (sbbs_dev.zip for DM> Windows). DM> digital man Thanks, Rob! Works fine here. :-) []'s ³ ÄÄÄÄÄÄÄÄÄÄÄ Mauro R. Veiga Ä abutre.no-ip.org:2323 ÄÄÄÄÄÄÄÄ  ÄÄÄÄÄÄ ³ MeSSaGe SiTTeR 1.00 - Full Version Live Long and Prosper .... This is an airlock, Allow me to demonstrate - Worf ___ Blue Wave/386 v2.30 --- ž Synchronet ž Ninho do Abutre 2 BBS - Rio de Janeiro, Brazil .