Subj : Shared avatar issues - corrupted JSON data in SYNCDATA sub?
To   : Nightfox
From : Digital Man
Date : Thu Oct 23 2025 10:10 am

 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
>
>  DM> I don't recall avatars.js being designed to run via jsexec. Although it
>  DM> 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 � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net