I notice that when displaying the system stats from the web browser, some of the @ codes in my MSG/ASC files are not interpreted/replaced.
the screens look correct when connecting via telnet, but when viewing via web interface I'll see the @ codes instead of the data.
The files in question would be ./text/system.msg and ./text/menu/logon.asc
I figured out that it is because the ./web/root/members/sysinfo.ssjs file is not written to translate on the @ tags I am using.
Is there a reference for all the system.stats.XXXX.toString entities ? It looks like I just need to add the ones I'm interested in to be able to map the data correctly.
Re: sysinfo.ssjssome
By: Hemo to All on Mon May 16 2016 01:57 pm
I notice that when displaying the system stats from the web browser,
viaof the @ codes in my MSG/ASC files are not interpreted/replaced.
the screens look correct when connecting via telnet, but when viewing
fileweb interface I'll see the @ codes instead of the data.
The files in question would be ./text/system.msg and ./text/menu/logon.asc
I figured out that it is because the ./web/root/members/sysinfo.ssjs
?is not written to translate on the @ tags I am using.
Is there a reference for all the system.stats.XXXX.toString entities
able toIt looks like I just need to add the ones I'm interested in to be
map the data correctly.
system.stats is documented here: http://synchro.net/docs/jsobjs.html#system.stats
@-codes are documented here:
http://wiki.synchro.net/custom:atcodes
If you make fixes to the stock .ssjs file(s), it'd be nice if you share those fixes with others and maybe we can merge them into CVS.
digital man
Sysop: | Clippy |
---|---|
Location: | Houston, TX |
Users: | 4 |
Nodes: | 4 (0 / 4) |
Uptime: | 214:41:51 |
Calls: | 1 |
Files: | 11 |
Messages: | 38,209 |