Re: Synchronet Custom Shells
By: Taalmahret to Digital Man on Fri Sep 20 2024 07:34 am
>
> I appologize again as i finally realized this is the correct space for
> Synchronet Support. When i try to run a basic custom shell, I get this
> error:
>
> 9/19 02:09:20p Node 1 <Taalmahret> !ERROR 2 (No such file or directory)
> (WinError 2) in main.cpp line 4346 (node_thread) opening
> "D:\Tools\sbbs\exec\loquinth.bin" access=0
>
> It is looking for a bin file. In this scenario I wrote the code in
> javascript and then saved the file named loquinth.js in the exec directory.
> The filename matches the internal code.
>
> I verified that all shells installed with the latest version of synchronet
> have a .bin file in the exec directory that when i remove them the BBS fails
> to find a suitable .bin file. Even when the shell as a matching .js file
> this error occurs.
>
> Are we supposed to compile the .js somehow or is there a step that I am
> missing in order to get the BBS to execute these .js files as a custom
> shell?
It sounds like you're not running SBBS v3.20 (still in development). JavaScript command shell support is a feature of v3.20. In v3.19 and earlier, you'd need a small "stub" (.bin) file to invoke the JavaScript shell (see Deuce's lbshell as an example). You don't need the stub in any more in v3.20.
https://wiki.synchro.net/install:dev
--
digital man (rob)
Synchronet/BBS Terminology Definition #17:
CRC = Cyclic Redunancy Check
Norco, CA WX: 73.5øF, 52.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net