• Doing wrong?

    From HusTler@1:103/705 to All on Fri Jun 14 14:28:08 2019
    So I'm trying to get this new avatar message default working. Here's what I did I ran this jscript line:

    jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0

    This is the results I got:

    JSexec v3.17c-Linux (rev 1.203) Debug - Execute Synchronet JavaScript Module Compiled Apr 30 2019 15:26:36 with GCC 7.3.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from /sbbs/exec/avatars.js
    /sbbs/exec/avatars.js compiled in 0.01 seconds
    /sbbs/exec/avatars.js executed in 0.04 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime


    Here is the AVATAR section of the Modopts.ini

    [sbbslist]
    export_freq = 7
    add_ars = not guest

    [avatars]
    export_freq = 7

    ; echicken's web interface v4
    [web]
    guest=Guest
    timeout=43200
    inactivity=900
    user_registration=true
    minimum_password_length=6
    maximum_telegram_length=800
    web_directory=../webv4
    ftelnet=true
    ftelnet_splash=../text/synch.ans

    Nothing has changed. There is no msg_default key. and no avatars

    What am I doing wrong Boss? :-)


    HusTler
    *Havens BBS havens.synchro.net:23 (1:267/160)*

    ---
    þ Synchronet þ Sent from Havens BBS havens.synchro.net:23 (1:267/160)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to HusTler on Fri Jun 14 13:38:50 2019
    Re: Doing wrong?
    By: HusTler to All on Fri Jun 14 2019 02:28 pm

    So I'm trying to get this new avatar message default working. Here's what did I ran this jscript line:

    jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0

    This is the results I got:

    JSexec v3.17c-Linux (rev 1.203) Debug - Execute Synchronet JavaScript
    Module
    Compiled Apr 30 2019 15:26:36 with GCC 7.3.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from /sbbs/exec/avatars.js
    /sbbs/exec/avatars.js compiled in 0.01 seconds
    /sbbs/exec/avatars.js executed in 0.04 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    What revision of avatars.js is that? Using the current/latest revision of avatars.js and the command-line you provided, I see this:

    e$ jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0

    JSexec v3.17c-Linux (rev 1.203) Debug - Execute Synchronet JavaScript Module Compiled May 11 2019 01:25:27 with GCC 6.3.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from /sbbs/exec/avatars.js
    /sbbs/exec/avatars.js compiled in 0.01 seconds
    Importing /sbbs/text/avatars/silhouettes.bin sub-board default avatar Successful
    /sbbs/exec/avatars.js executed in 0.08 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    What am I doing wrong Boss? :-)

    Looks like you're using an old revision of avatars.js.

    digital man

    This Is Spinal Tap quote #42:
    What day the Lord created Spinal Tap and couldn't he have rested on that day? Norco, CA WX: 72.2øF, 59.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Digital Man on Fri Jun 14 18:19:08 2019
    Re: Doing wrong?
    By: Digital Man to HusTler on Fri Jun 14 2019 01:38 pm

    Ok I replaced avatars.js with the latest version. Now I got :

    jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0

    JSexec v3.17c-Linux (rev 1.203) Debug - Execute Synchronet JavaScript Module Compiled Apr 30 2019 15:26:36 with GCC 7.3.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from /sbbs/exec/avatars.js
    /sbbs/exec/avatars.js compiled in 0.00 seconds
    Importing /sbbs/text/avatars/silhouettes.bin sub-board default avatar Successful
    /sbbs/exec/avatars.js executed in 0.05 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    But no changes were made in modopts.ini I am not seeing a "default Avatar Header" What else do I need to do boss?

    HusTler
    *Havens BBS havens.synchro.net:23 (1:267/160)*

    ---
    þ Synchronet þ Sent from Havens BBS havens.synchro.net:23 (1:267/160)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to HusTler on Fri Jun 14 16:49:22 2019
    Re: Doing wrong?
    By: HusTler to Digital Man on Fri Jun 14 2019 06:19 pm

    Re: Doing wrong?
    By: Digital Man to HusTler on Fri Jun 14 2019 01:38 pm

    Ok I replaced avatars.js with the latest version. Now I got :

    jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0

    JSexec v3.17c-Linux (rev 1.203) Debug - Execute Synchronet JavaScript
    Module
    Compiled Apr 30 2019 15:26:36 with GCC 7.3.0

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from /sbbs/exec/avatars.js
    /sbbs/exec/avatars.js compiled in 0.00 seconds
    Importing /sbbs/text/avatars/silhouettes.bin sub-board default avatar Successful
    /sbbs/exec/avatars.js executed in 0.05 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    But no changes were made in modopts.ini

    Are you sure about that?

    I am not seeing a "default Avatar
    Header" What else do I need to do boss?

    What revision of exec/showmsgavatar.js are you using?

    digital man

    This Is Spinal Tap quote #11:
    Nigel Tufnel: No. no. That's it, you've seen enough of that one.
    Norco, CA WX: 75.3øF, 58.0% humidity, 6 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Digital Man on Fri Jun 14 20:38:35 2019
    Re: Doing wrong?
    By: Digital Man to HusTler on Fri Jun 14 2019 04:49 pm

    Ok. I just to a good look at the cvs/exec and I see a bunch of files are newer then what I have. But anyway this is the avatar.js I have.

    / $Id: avatars.js,v 1.38 2019/06/04 09:02:10 rswindell Exp $

    I just noticed a line change in modopts.ini:

    ; echicken's web interface v4 msg_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf91/IH8gfyB/IH/ef9t/23/ $
    [web]
    This is the version of showmgavatar I have:
    // $Id: showmsgavatar.js,v 1.2 2018/04/05 02:22:01 rswindell Exp $

    Please let me know what other files have to be updated for this to work? It's not gonna crash my BBS is it? I've updated some other files from cvs and the BBS didn't like them.

    Looks like showavatar.js, showmsgavatar.js, showansi.js, showfileavatar.js, showmsgavatar.js, showmsghdr.js are all new. Should I just update them all?

    HusTler
    *Havens BBS havens.synchro.net:23 (1:267/160)*

    ---
    þ Synchronet þ Sent from Havens BBS havens.synchro.net:23 (1:267/160)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to HusTler on Fri Jun 14 18:19:48 2019
    Re: Doing wrong?
    By: HusTler to Digital Man on Fri Jun 14 2019 08:38 pm

    Re: Doing wrong?
    By: Digital Man to HusTler on Fri Jun 14 2019 04:49 pm

    Ok. I just to a good look at the cvs/exec and I see a bunch of files are newer then what I have.

    You should fix that.

    This is the version of showmgavatar I have:
    // $Id: showmsgavatar.js,v 1.2 2018/04/05 02:22:01 rswindell Exp $

    That's too old. http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/showmsgavatar.js?view=log

    Please let me know what other files have to be updated for this to work?

    The only required file to be updated was showmsgavatar.js

    It's not gonna crash my BBS is it?

    Is that a serious question?

    I've updated some other files from cvs and the BBS didn't like them.

    You should report the details of that problem.

    Looks like showavatar.js, showmsgavatar.js, showansi.js, showfileavatar.js, showmsgavatar.js, showmsghdr.js are all new. Should I just update them all?

    Not necessary, but generally a good idea.

    digital man

    Synchronet "Real Fact" #39:
    Synchronet first supported Windows NT v6.x (a.k.a. Vista/Win7) w/v3.14a (2006).
    Norco, CA WX: 72.9øF, 63.0% humidity, 12 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Digital Man on Sat Jun 15 09:19:08 2019
    Re: Doing wrong?
    By: Digital Man to HusTler on Fri Jun 14 2019 06:19 pm


    Could you please give me a working example of this?

    Once imported into the modopts.ini file, you can rename or copy the msg_default
    key to <sub-code>_default or <group-name>_default as desired. The <sub-code> and <group-name> must be lower-case.




    HusTler
    *Havens BBS havens.synchro.net:23 (1:267/160)*

    ---
    þ Synchronet þ Sent from Havens BBS havens.synchro.net:23 (1:267/160)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to HusTler on Sat Jun 15 14:09:29 2019
    Re: Doing wrong?
    By: HusTler to Digital Man on Sat Jun 15 2019 09:19 am

    Re: Doing wrong?
    By: Digital Man to HusTler on Fri Jun 14 2019 06:19 pm


    Could you please give me a working example of this?

    Once imported into the modopts.ini file, you can rename or copy the msg_default key to <sub-code>_default or <group-name>_default as desired. The <sub-code> and <group-name> must be lower-case.

    Let's say you have a group named "FidoNet" in SCFG->Message Areas. You could copy or rename the msg_default key ("msg_default=<value>") to fidonet_default to make it the default avatar for the fidonet group. You could remove/delete the msg_default key if you don't want a default avatar for other groups at that point.

    digital man

    This Is Spinal Tap quote #28:
    We've got Armadillos in our trousers. It's really quite frightening.
    Norco, CA WX: 75.5øF, 62.0% humidity, 4 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Digital Man on Sat Jun 15 22:07:30 2019
    Re: Doing wrong?
    By: Digital Man to HusTler on Sat Jun 15 2019 02:09 pm

    What name do I use from my scfg? "Long Name" "Short name" or "Internal Code Prefix"? My scfg is Long Name: Fidonet Echomail
    Short name: FidoNet
    External Code Prefix: ECHOMAIL

    msg_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf9??????????????
    I would change the above line to

    fidonet_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf9??????????????
    or echomail_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf9?????????????? not fidonet echomail?

    Should I keep the msg_default if I want to chose an avatar for each message area? or leave it in if I just want to have random avatars in my fidonet area?

    HusTler
    *Havens BBS havens.synchro.net:23 (1:267/160)*

    ---
    þ Synchronet þ Sent from Havens BBS havens.synchro.net:23 (1:267/160)
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to HusTler on Sun Jun 16 00:37:05 2019
    Re: Doing wrong?
    By: HusTler to Digital Man on Sat Jun 15 2019 10:07 pm

    Re: Doing wrong?
    By: Digital Man to HusTler on Sat Jun 15 2019 02:09 pm

    What name do I use from my scfg? "Long Name" "Short name" or "Internal Code Prefix"? My scfg is Long Name: Fidonet Echomail
    Short name: FidoNet
    External Code Prefix: ECHOMAIL

    msg_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf9??????????????
    I would change the above line to


    fidonet_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf9??????????????

    Correct.

    or
    echomail_default=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf9??????????

    No.

    ???? not fidonet echomail?

    No.

    Should I keep the msg_default if I want to chose an avatar for each message area?

    If it's the same avatar, then having both msg_default and fidonet_default would make no sense.

    or leave it in if I just want to have random avatars in my fidonet
    area?

    There's no facility for an avatar to be picked at random for each message.


    digital man

    This Is Spinal Tap quote #44:
    It really, it does disturb me, but i'll rise above it; I'm a professional. Norco, CA WX: 60.9øF, 91.0% humidity, 2 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)