Re: Help, It's my fault this time
By: DesotoFireflite to All on Thu Jul 14 2022 09:23 am
I've been sucessfully using the below method for about 6 to 8 years to
let the user choose which bbs of mine thay want to log into. No
problems what so ever up till about 3 to 4 weeks ago. I changed around
some security levels, and other things, and now when a user picks
2,3,4 in the SELECT.BUN, all they get is a simple message on the
screen in the top left saying "Time's up." (Found It in Text.dat, 549
TimesUp)
Bare in mind, selection "1" still works where you continue on to
synchronet, and the "D" still works for disconnect.
I'm thinking it's a security level issue, but for the like of
me, I can't figure it out. Whatever is causing this started
about 3 to 4 weeks ago. I'm assuming security level issues, but
I can't figure, because at this point a user is not assigned,
unless there is a default security in play till the actual user
is assigned and logged in fully.
Check SCFG->System->Security Level Values->Level 0->Timer Per Day and Time Per Call. What are they set to?
# Log On To GAP BBS
COMPARE_KEY 2
IF_TRUE
PAUSE_RESET
CLS
EXEC ?TELGATE valhalla.synchro.net:24
PAUSE_RESET
CLS
COMPARE_USER_MISC UM_UPAUSE
IF_FALSE
TOGGLE_USER_MISC UM_UPAUSE
HANGUP
END_IF
END_IF
END_CMD
# Hang Up For Now, Called By Mistake
COMPARE_KEY D
IF_TRUE
HANGUP
END_IF
END_IF
END_CMD
On 7/16/22 03:29, DesotoFireflite wrote:
I've put baja aside for now, and started working in js, as it seems
to be the more prudent thing to do these days...
100% on that.. JavaScript is a more complex language, but also much more capable than BAJA. I find my biggest hurdles is the language has
advanced a lot since the version used in SynchroNet and the style has changed even more so.
There's a few points of JS code in the SynchroNet repository that make
even configuring code linting and formatting is the experimental syntax
for for-of expressions and getter/setter (iirc) were standardized differently.
So would love to replace some of the for-of expressions with maybe
I love VS Code, but I've found out that it does alter the code
sometimes if you use Ctrl-A codes in it, so you have to watch it.
Notepad ++ doesn't change the contents of the file automaticly the way
VS Code has done on occasion to me.
Keeping the JS Object model docs open is also really helpful.
Yes, it my stage of learning, the JS Object Model is my bible.
One caveat that I've found though is that if you're using background
codes (which are numeric), I ended up splitting the string; otherwise
it would interpret the nex number wrong.
For instance, if you want to output a blue background (Ctrl-A + 4),
then I'd do this in JavaScript:
"\x01" + "4";
Otherwise, if you have "\x014", then that would be interpreted as hex
number 14, which would be interpreted as a different character.
Have you tried using the octal escape? "\001" instead? Not sure, but I don't think I've seen an issue with it.
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 21:58:18 |
Calls: | 93 |
Files: | 4,554 |
Messages: | 215,561 |