• Shared avatar issues - corrupted JSON data in SYNCDATA sub?

    From Nightfox@1:103/705 to Digital Man on Thu Oct 23 07:22:05 2025
    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? 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.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nightfox on Thu Oct 23 10:10:09 2025
    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
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Digital Man on Thu Oct 23 10:40:16 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Digital Man to Nightfox on Thu Oct 23 2025 10:10 am

    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.

    Ah, I was pretty sure there's no console object when run with jsexec.. Is there a console object when run as a timed event?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nightfox on Thu Oct 23 11:55:42 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Nightfox to Digital Man on Thu Oct 23 2025 10:40 am

    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Digital Man to Nightfox on Thu Oct 23 2025 10:10 am

    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.

    Ah, I was pretty sure there's no console object when run with jsexec.. Is there a console object when run as a timed event?

    There is a console and bbs object instatiated when a .js file is invoked within sbbs (timed event or otherwise), yes.
    --
    digital man (rob)

    Rush quote #85:
    All at once the clouds are parted; light streams down in bright unbroken beams Norco, CA WX: 65.9øF, 70.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hm Derdoc@1:103/705 to Digital Man on Sat Oct 25 01:58:09 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Digital Man to Hm Derdoc on Wed Oct 22 2025 09:47 pm

    Yeah, I think I misunderstood it a bit when I posted this, probably still do, but on another level. In a nutshell it lookslike your text/avatars/ isn't really much more "saturated" than mine, I may be missing the zeus_ii one. Maybe the sharing
    level isn't too high and those .ini files are mostly 'private' avatars if you will not designed to be imported. At least
    t my current understanding. On the plus side, I did make a buttload of avatars and I think I shared them, I have more
    ...

    ---
    þ Synchronet þ \1g telnet://\1n\1!Gfutureland.today \1c https://\1n\1!Cblockbra.in\1n
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hm Derdoc on Sat Oct 25 14:34:11 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Hm Derdoc to Digital Man on Sat Oct 25 2025 01:58 am

    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Digital Man to Hm Derdoc on Wed Oct 22 2025 09:47 pm

    Yeah, I think I misunderstood it a bit when I posted this, probably still do, but on another level. In a nutshell it lookslike your text/avatars/ isn't really much more "saturated" than mine, I may be missing the zeus_ii one.

    Maybe there's something wrong with your SYMCDATA message base. All those JS/JSON errors you posted indicate you have an issue. Did you resolve that issue?

    Maybe the sharing
    level isn't too high and those .ini files are mostly 'private' avatars if you will not designed to be imported. At least
    t my current understanding. On the plus side, I did make a buttload of avatars and I think I shared them, I have more

    Cool.

    You probably want to fix your QWKnet tagline too:
    þ Synchronet þ \1g telnet://\1n\1!Gfutureland.today \1c https://\1n\1!Cblockbra.in\1n
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #73:
    SIGHUP = Hangup signal sent to a process when its controlling terminal is closed
    Norco, CA WX: 71.3øF, 70.0% humidity, 3 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hm Derdoc@1:103/705 to Digital Man on Sun Oct 26 18:21:43 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Digital Man to Hm Derdoc on Sat Oct 25 2025 02:34 pm

    You probably want to fix your QWKnet tagline too:

    Ok, I think I did now. Somehow somewhere I set a qwknet_tagline= property in my msgs.ini file that was set to that string, so no matter what I did in SCFG, those overrides were there for each sub. Kinda cool that you can do that actually. But hopefully I just have a non-wonky tagline with color now :)

    Can I see my tagline on my own BBS? I never do..

    ---
    þ Synchronet þ telnet/ssh://futureland.today https://blockbra.in
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hm Derdoc on Mon Oct 27 10:20:18 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Hm Derdoc to Digital Man on Sun Oct 26 2025 06:21 pm

    Can I see my tagline on my own BBS? I never do..

    Yes, with the "I" command from the reading messages prompt.

    Your tagline is leaving a background color set, which is not ideal.
    --
    digital man (rob)

    Sling Blade quote #25:
    Karl: they seen fit to put me in here and here I've been a great long while. Norco, CA WX: 57.5øF, 95.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Hm Derdoc on Tue Oct 28 01:19:16 2025
    Re: Shared avatar issues - corrupted JSON data in SYNCDATA sub?
    By: Hm Derdoc to Digital Man on Sun Oct 26 2025 06:21 pm

    Ok, I think I did now. Somehow somewhere I set a qwknet_tagline=
    property in my msgs.ini file that was set to that string, so no
    matter what I did in SCFG, those overrides were there for each sub.
    Kinda cool that you can do that actually. But hopefully I just have
    a non-wonky tagline with color now :)


    oh i didnt even know about that file.

    too much stuff going on with synchronet now.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

Novedades:

Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!