Hi Rob
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.
as you see, the login.js runs the select.bin, and if the user
selects to keep on with synchronet, they select "1" which will
send them back to the login.js file. if they select 2,3,or 4,
it send them by telgate to the other bbs, and when they hang up
it closes out everything. if they select "D", it hangs up and
closes out everything.
Whatever is causing the issue, I'm sure it was me that caused it,
just hope you know what started it screwing up after 6 years.
Anyway, I've included the log file, and the two files I use for
you to see. The log file snippet is from 7/6, but it's identicle
to the others I've captured for the same issue.
I'm using 7/14/2022's build. I decided to update in case it was
a build issue. The build I was using was 5/18/22. both under
windows 10 32 bit.
Thanks in advance. Hope you can help me.
-+- Log File ----
7/6 01:58:33p Node 1 01:58p Wed Jul 06 2022 Node 1
7/6 01:58:33p Node 1 Telnet <no name> [73.152.104.255]
7/6 01:58:33p Node 1 received telnet window size: 80x24
7/6 01:58:33p Node 1 received telnet terminal type: syncterm
7/6 01:58:34p Node 1 received terminal auto-detection response: '\e[=67;84;1
01;114;109;1;312c\e[24;80R\e[7;4R'
7/6 01:58:34p Node 1 received CTerm version report: 1.312
7/6 01:58:34p Node 1 received CTerm version report: 1.312
7/6 01:58:34p Node 1 received ANSI cursor position report [1]: 80x24
7/6 01:58:34p Node 1 received ANSI cursor position report [2]: 4x7
7/6 01:58:34p Node 1 auto-detected terminal type: 80x24 ANSI
7/6 01:58:34p Node 1 terminal type: 80x24 syncterm
7/6 01:58:34p Node 1 Executing external: *SELECT
7/6 01:58:38p Node 1 Executing external: ?TELGATE valhalla.synchro.net:5023
7/6 01:58:38p Node 1 Node 1 Telnet gate to valhalla.synchro.net port 5023 on
socket 43248
7/6 01:58:38p Node 1 Ran out of time
7/6 01:58:38p Node 1 disconnecting client
7/6 01:58:38p Node 1 passthru socket disconnected
7/6 01:58:39p Node 1 input thread terminated (received 89 bytes in 7 blocks)
7/6 01:58:39p Node 1 output thread terminated (sent 2764 bytes in 7 blocks,
394 average, 0 short)
7/6 01:58:39p Node 1 Node 1 Telnet gate to valhalla.synchro.net finished
7/6 01:58:39p Node 1 thread terminated (0 node threads remain, 10086 clients
served)
7/6 01:58:39p Node 1 JavaScript: Destroying context
7/6 01:58:39p Node 1 JavaScript: Destroying runtime
---- LOGIN.JS -----
// login.js
// Login module for Synchronet BBS v3.1
// $Id: login.js,v 1.21 2020/01/23 18:48:11 rswindell Exp $
// Let User Decide Which BBS To Use!
bbs.exec("*SELECT");
console.printfile(system.text_dir+"log-in.msg");
load("sbbsdefs.js");
----rest of login.js ----
---- Baja SELECT.BIN -----
LOGOUT
PAUSE_RESET
!Include sbbsdefs.inc
!Include nodedefs.inc
!Include userdefs.inc
COMPARE_USER_MISC UM_UPAUSE
IF_TRUE
TOGGLE_USER_MISC UM_UPAUSE
END_IF
# Set Node Status To Logging In!
NODE_STATUS NODE_LOGON
SYNC
CLEAR_ABORT
CLS
PAUSE_RESET
----- Start Snippet, Built In Menu -----
----- End Of Snippet, Back To File ----
# I took out the color codes and other codes in the print statement to simplify
# it for this email
PRINT "Please Select [1], [2], [3], [4] To Login, or [D] To Disconnect: "
GETCMD "1234D^M"
# Continue On To Synchronet
COMPARE_KEY 1
IF_TRUE
COMPARE_USER_MISC UM_UPAUSE
IF_FALSE
TOGGLE_USER_MISC UM_UPAUSE
END_IF
END_IF
END_IF
END_CMD
# 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
# Log On To RemoteAccess
COMPARE_KEY 3
IF_TRUE
PAUSE_RESET
CLS
EXEC ?TELGATE valhalla.synchro.net:5023
PAUSE_RESET
CLS
COMPARE_USER_MISC UM_UPAUSE
IF_FALSE
TOGGLE_USER_MISC UM_UPAUSE
HANGUP
END_IF
END_IF
END_CMD
# Log On To DNDBBS
COMPARE_KEY 4
IF_TRUE
PAUSE_RESET
CLS
EXEC ?TELGATE valhalla.synchro.net:26
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
SysOp: C.G. Learn, AKA: DesotoFireflite
Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com:23
A Gamers Paradise - Over 250 Registered Online Game Doors!
--- I'm so disorganized my keyboard isn't even in alphabetical order!
■ Synchronet ■ Valhalla Home Services ■ USA ■ http://valhalla.synchro.net
|