From Newsgroup: alt.bbs.synchronet
To: Nightfox
Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
By: Nightfox to Digital Man on Thu Oct 23 2025 07:22 am
Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
By: Digital Man to Hm Derdoc on Wed Oct 22 2025 09:22 pm
I don't recall avatars.js being designed to run via jsexec. Although it might, that's not really the intention - you run it as a timed event.
Does jsexec run js scripts differently than how they're run as a timed event?
Yes - there's no console or bbs object and many of the global I/O functions behave somewhat differently when run in jsexec.
Sometimes I've written js scripts that I intend to run as a timed
event, and to test them, I'd run them with jsexec.
I do too and usually that works, but its easy to make a script that doesn't work (or look) the same when run in JSexec.
--
digital man (rob)
Synchronet "Real Fact" #46:
Synchronet External X/Y/ZMODEM protocol driver (SEXYZ) was introduced in 2005 Norco, CA WX: 61.2øF, 78.0% humidity, 3 mph SW wind, 0.00 inches rain/24hrs
--- Synchronet 3.21a-Linux NewsLink 1.2
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.21b-Linux NewsLink 1.2