hello I recently upgraded my bbs to version 3.19b and my a coupleDid you try just rebuilding the module?
shells i installed are no longer working they were written in baja i
believe one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected. i have looked around and have not found any fix, can
someone please point me in a direction of what to do or if i need to
edit a file somewhere. thanks for all your help and if you need any
more information that i forgot to add here please let me know thanks
again shawn
---
â– Synchronet â– DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
hello I recently upgraded my bbs to version 3.19b and my a couple shells i installed are no longer working they were written in baja i believe
one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected.
i have looked around and have not found any fix, can someone please
point me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more information that i forgot to add here please let me know thanks again shawn
On Sat, 6 Jul 2024 12:33:43 -0400let me see what i have where could i send the files to
"Diskhopper" (VERT/DISKHOPP)
<VERT/DISKHOPP!Diskhopper@endofthelinebbs.com> wrote:
hello I recently upgraded my bbs to version 3.19b and my a couple
shells i installed are no longer working they were written in baja i believe one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected. i have looked around and have not found any fix, can
someone please point me in a direction of what to do or if i need to
edit a file somewhere. thanks for all your help and if you need any
more information that i forgot to add here please let me know thanks
again shawn
---Did you try just rebuilding the module?
Synchronet DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
If you can make the source available then I could take a look or
possibly rewrite it in JS.
hello I recently upgraded my bbs to version 3.19b and my a couple shells i installed are no longer working they were written in baja i believe
one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected.
i have looked around and have not found any fix, can someone please
point me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more information that i forgot to add here please let me know thanks again shawn
Re: good afternoon asking about baja and menu shells
By: Diskhopper to All on Sat Jul 06 2024 12:33 pm
hello I recently upgraded my bbs to version 3.19b and my a couple shells i installed are no longer working they were written in baja i believe
one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected.
i have looked around and have not found any fix, can someone please
point me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more information that i forgot to add here please let me know thanks again shawn
Do you have the Baja .src file? Can you try recompiling to .bin using Baja? If so, and it still doesn't seem to work right, you could add print or log statements to help debug if/how-far the script is actually running.
Re: good afternoon asking about baja and menu shells
By: Digital Man to Diskhopper on Sun Jul 07 2024 02:52 am
Re: good afternoon asking about baja and menu shells
By: Diskhopper to All on Sat Jul 06 2024 12:33 pm
hello I recently upgraded my bbs to version 3.19b and my a couple she i installed are no longer working they were written in baja i believe one is the halloween shell called ween and the other one is a christma shell and they are not working, they show blank screen when selected. i have looked around and have not found any fix, can someone please point me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more informati that i forgot to add here please let me know thanks again shawn
Do you have the Baja .src file? Can you try recompiling to .bin using Baj If so, and it still doesn't seem to work right, you could add print or lo statements to help debug if/how-far the script is actually running.
So, I extracted ween.src from hallween.zip here on Vertrauen, and it doesn't compile with current versions of Baja:
baja ween.src
BAJA v2.34-Win32 (rev 1.52) - Synchronet Shell/Module Compiler
Compiling ween.src...
!SYNTAX ERROR (expecting integer constant):
ween.src 31: main
So you can either:
1. Just use the .bin file that comes in the archive, unmodified, or
2. Update the .src file per instructions in this video: https://www.youtube.com/watch?v=HlwQ0uX4S04
.. and then recompile the updated .src file (to .bin) using Baja
let me see what i have where could i send the files to
thanks again and what would you charge to rewrite it if you could
Re: good afternoon asking about baja and menu shellsMight still be good to convert to JS. I bet baja is going away sooner
By: Digital Man to Diskhopper on Sun Jul 07 2024 02:57 am
Re: good afternoon asking about baja and menu shells
By: Digital Man to Diskhopper on Sun Jul 07 2024 02:52 am
Re: good afternoon asking about baja and menu shells
By: Diskhopper to All on Sat Jul 06 2024 12:33 pm
hello I recently upgraded my bbs to version 3.19b and my a
couple she i installed are no longer working they were
written in baja i believe one is the halloween shell called
ween and the other one is a christma shell and they are not
working, they show blank screen when selected. i have looked
around and have not found any fix, can someone please point
me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more informati that i forgot to add here please let me know
thanks again shawn
Do you have the Baja .src file? Can you try recompiling to .bin
using Baj If so, and it still doesn't seem to work right, you
could add print or lo statements to help debug if/how-far the
script is actually running.
So, I extracted ween.src from hallween.zip here on Vertrauen, and
it doesn't compile with current versions of Baja:
baja ween.src
BAJA v2.34-Win32 (rev 1.52) - Synchronet Shell/Module Compiler
Compiling ween.src...
!SYNTAX ERROR (expecting integer constant):
ween.src 31: main
So you can either:
1. Just use the .bin file that comes in the archive, unmodified, or
2. Update the .src file per instructions in this video: https://www.youtube.com/watch?v=HlwQ0uX4S04
.. and then recompile the updated .src file (to .bin) using Baja
thanks i will try that sorry was at work
going to watch the video now
and i got the same error so going to watch the video now
---
â– Synchronet â– DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
Might still be good to convert to JS. I bet baja is going away sooner or later. Doesn't make sense to keep it around with modern JS shells and very little, if anything, really uses it these days.
Might still be good to convert to JS. I bet baja is going away soonerSo, I extracted ween.src from hallween.zip here on Vertrauen, and
it doesn't compile with current versions of Baja:
baja ween.src
or later. Doesn't make sense to keep it around with modern JS shells
and very little, if anything, really uses it these days.
Nightfox wrote to nelgin <=-
Re: Re: good afternoon asking about baja and menu shells
By: nelgin to All on Mon Jul 08 2024 12:01 pm
Might still be good to convert to JS. I bet baja is going away sooner or later. Doesn't make sense to keep it around with modern JS shells and very little, if anything, really uses it these days.
Yeah, I converted my shell to JS years ago and haven't looked back.
There are things that I think you can do more easily in JS, and some things I doubt you can do at all in Baja.
Yeah, I converted my shell to JS years ago and haven't looked back. There
are things that I think you can do more easily in JS, and some things I
doubt you can do at all in Baja.
How does a non-JS-programmer accomplish this?
Nightfox wrote to nelgin <=-
Re: Re: good afternoon asking about baja and menu shells
By: nelgin to All on Mon Jul 08 2024 12:01 pm
Might still be good to convert to JS. I bet baja is going away
sooner or later. Doesn't make sense to keep it around with
modern JS shells and very little, if anything, really uses it
these days.
Yeah, I converted my shell to JS years ago and haven't looked
back. There are things that I think you can do more easily in
JS, and some things I doubt you can do at all in Baja.
How does a non-JS-programmer accomplish this?
Nightfox wrote to Gamgee <=-
Yeah, I converted my shell to JS years ago and haven't looked back. There
are things that I think you can do more easily in JS, and some things I
doubt you can do at all in Baja.
How does a non-JS-programmer accomplish this?
When you say "non-JS-programmer", are you already familiar with programming in other languages?
If so, IMO learning JavaScript is not
that difficult, since syntatically it's not very different from C, C++, C#, and similar languages. I'm not a big JS developer myself and got
used to developing in JS, and there is fairly good documentation on Synchronet's JS object model.
nelgin wrote to All <=-
Might still be good to convert to JS. I bet baja is going away
sooner or later. Doesn't make sense to keep it around with
modern JS shells and very little, if anything, really uses it
these days.
Yeah, I converted my shell to JS years ago and haven't looked
back. There are things that I think you can do more easily in
JS, and some things I doubt you can do at all in Baja.
How does a non-JS-programmer accomplish this?
Learn JS.
JS, and some things I doubt you can do at all in Baja.
How does a non-JS-programmer accomplish this?
Learn JS.
Oh! That's all I have to do? Why didn't I think of that?
Why are you replying to "All" instead of to me?Because I was probably using claws-mail which has a usenet reader but it's a bit dumb.
When you say "non-JS-programmer", are you already familiar with
programming in other languages?
Effectively, no. I dabbled with Turbo Pascal many years ago, and have brushed my fingers across C more recently, but not remotely close to being proficient.
So, my question remains... :-)
Learn JS.
see, that's what chases off a lot of people that end up running mystic. there's this false idea that you need to be a programmer to run synchronet.
Nightfox wrote to Gamgee <=-
When you say "non-JS-programmer", are you already familiar with
programming in other languages?
Effectively, no. I dabbled with Turbo Pascal many years ago, and have brushed my fingers across C more recently, but not remotely close to being proficient.
So, my question remains... :-)
I suppose it would be good to find a JavaScript tutorial that explains things like general syntax, control flow structures & syntax, etc. And the thing with JavaScript is that a lot of the tutorials will probably
be oriented toward web programming, since JavaScript is often used in a web context, so be aware that anything referring to the DOM or other interactions with a web page won't work with Synchronet's JS. For anything outputting a string, you can use console.write() if your
script is to be used while logged onto telnet, or just write() if
you're running your script with jsexec on the command line.
This is an older Synchronet documentation page about JavaScript: https://www.synchro.net/docs/js.html
There's a link there to this core JavaScript reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
Once you're familiar with JavaScript a bit, this is the documentation
for Synchronet's JavaScript object model, which exposes the Synchronet functionality via JavaScript: https://www.synchro.net/docs/jsobjs.html
That's great info, and thanks Nightfox for taking the time to post that. Saved for future reference, and greatly appreciated.
That's great info, and thanks Nightfox for taking the time to post that.
Saved for future reference, and greatly appreciated.
Now to answer your original question, if you're currently using default.src, I do believe there's a default.js that you can just switch to
Accession wrote to Gamgee <=-
That's great info, and thanks Nightfox for taking the time to post that. Saved for future reference, and greatly appreciated.
Now to answer your original question, if you're currently using default.src, I do believe there's a default.js that you can just switch
to now. Should be in the repo:
// Default/Classic Synchronet Command Shell
// replaces default.src/bin
Then, rather than trying to completely learn javascript in order to do anything with Synchronet like some say to do, just look at some of the stock .js files, and if interested, copy one to your mods directory.
Then, slowly tinker with it with easy things like bbs.menu("ansi_name_here"); to display an ansi or console.pause(); to
add a pause prompt, etc. The Synchronet Javascript Object Reference
page will tell you just about anything and everything you can use.
If you mess anything up, you can simply remove the one from your mods directory, or copy the original from the exec directory to your mods directory again (overwriting whatever you broke) and start over.
I'm still not even close to being mediocre at javascript by any means,
but I can do what I need to do to make the BBS look the way I want it
to.
That's true, but did my reply not answer his question?
I had mentioned that I converted my Baja shell to JS, and GamgeeEven if he did write or modify his own baja shell, the answer to "How does a non-JS-programmer accomplish this (switching from baja to js shells)" is simply to replace default.src/bin with default.js. Done deal.
asked "How does a non-JS-programmer accomplish this?" I don't know if
he's using default.src (he didn't say he was), but the way he asked
that, I answered thinking that he may have written his own custom
Baja shell.
I'm using a somewhat customized shell, where I edited the default.src to change/remove a few things.
Great idea, yes. I of course didn't know "baja source" either, but was able to adjust things just based on exactly what you're describing here.
Perfect, and thanks for the boot to wake me up. Not sure why I didn't think of that myself, as it's exactly what I did with the default baja. Appreciate it!
Accession wrote to Gamgee <=-
I'm using a somewhat customized shell, where I edited the default.src to change/remove a few things.
You can do the exact same thing with JS. The only difference is that you'll forget to put ()'s and ";" characters where they're needed. But
no worries, it will tell you the first time you run it that your code
is bad. :)
I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.
Digital Man wrote to Gamgee <=-
Re: Re: good afternoon asking about baja and menu shells
By: Gamgee to Accession on Wed Jul 10 2024 07:43 pm
I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.
I think/hope it's easier than modifying default.src! :-)
That's true, but did my reply not answer his question?
I'm fairly certain his question was simply how to switch from a baja shell to a .js one. It seemed like he was unaware that there was a 'default.js' available to switch to. So not really.
I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.
Accession wrote to Gamgee <=-
I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.
Sometimes you just gotta dive right in, scratch your head for awhile.. then bang it on your desk a few times. Eventually, you'll get it
working. :)
Sysop: | Bryan |
---|---|
Location: | Mesa, Az |
Users: | 10 |
Nodes: | 4 (0 / 4) |
Uptime: | 36:31:44 |
Calls: | 206 |
Calls today: | 2 |
Files: | 11 |
Messages: | 10,561 |