So I'm trying to get this new avatar message default working. Here's what did I ran this jscript line:Module
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
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 am I doing wrong Boss? :-)
Re: Doing wrong?Module
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
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?
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.
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?
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.
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
orechomail_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?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 292 |
Nodes: | 16 (2 / 14) |
Uptime: | 207:21:50 |
Calls: | 6,618 |
Files: | 12,168 |
Messages: | 5,317,001 |