I messed something up at the last update, when I get a Yes/No prompt, I'll press Enter or Y or N to make a choice, and my BBS will erase the Yes / No bit at the end of the question and sit there until I press Enter and usually the r esult will be wrong.
I'm sure I accidentally borked something on an update and can't quite figure out where to resolve this issue.
I messed something up at the last update, when I get a Yes/No prompt, I'll press Enter or Y or N to make a choice, and my BBS will erase the Yes / No bit at the end of the question and sit there until I press Enter and usually the r esult will be wrong.
I'm sure I accidentally borked something on an update and can't quite figure out where to resolve this issue.
Any help? Can someone walk me through where to look for the problem?
I messed something up at the last update, when I get a Yes/No
prompt, I'll press Enter or Y or N to make a choice, and my BBS will
erase the Yes / No bit at the end of the question and sit there
until I press Enter and usually the r esult will be wrong.
I believe these are provided by the yesnobar & noyesbar Baja modules, which haven't changed in three years (and haven't really changed in much longer). If the modules aren't built, a built-in prompt is likely invoked instead (unsure).
Do you rebuild all Baja modules when updating every time, just sometimes, or never?
I messed something up at the last update, when I get a Yes/No prompt,
I'll press Enter or Y or N to make a choice, and my BBS will erase the
Yes / No bit at the end of the question and sit there until I press
Enter and usually the r esult will be wrong.
Do you have a customized ctrl/text.dat file? If so, how is it different from the stock one that matches the version of sbbs you are running?
I messed something up at the last update, when I get a Yes/No prompt,
I'll press Enter or Y or N to make a choice, and my BBS will erase
the Yes / No bit at the end of the question and sit there until I
press Enter and usually the r esult will be wrong.
Do you have a customized ctrl/text.dat file? If so, how is it
different from the stock one that matches the version of sbbs you
are running?
Thought about that, when that file gets updated I run a compare and add missing lines, maybe I put in a LF somewhere that messed u p something. the yesnoquestion lines seem normal, they just call the @exec:yesnobar@ thing...
Just found an extra " in text.dat... /sigh
Re: Yes/No Prompt
By: Android8675 to Digital Man on Mon Dec 10 2018 07:45 am
I messed something up at the last update, when I get a Yes/No prompt,
I'll press Enter or Y or N to make a choice, and my BBS will erase
the Yes / No bit at the end of the question and sit there until I
press Enter and usually the r esult will be wrong.
Do you have a customized ctrl/text.dat file? If so, how is it
different from the stock one that matches the version of sbbs you
are running?
Thought about that, when that file gets updated I run a compare and add missing lines, maybe I put in a LF somewhere that messed u p something. the yesnoquestion lines seem normal, they just call the @exec:yesnobar@ thing...
Just found an extra " in text.dat... /sigh
OK, still an issue... Some other things I've noticed, my avatar's don't appear when reading messages...
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄúúúú
³ Subj: Yes/No Prompt
³ To : Digital Man
³ From: Android8675 #1
³ Date: Mon Dec 10 2018 07:45 am PST (from now) ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄúúúúúúMIME-decoded plain-text:
That MIME-decoded message is where the avatars should appear I think.
Finally when I get a pause prompt, pressing Q won't abort text output it just keeps going.
Any help appreciated, what did I bork up?
Re: Yes/No Prompt
Just found an extra " in text.dat... /sigh
--
I usually do stuff like this instead of edit text.dat:
bbs.replace_text(176, "[17CSY: "); // Line 176 SystemPassword
Then I dont have to worry about a customized text.dat being overwritten.
bbs.replace_text(176, "[17CSY: "); // Line 176
ohhh... that's nice! where do you do this replacement? in login.js or logon.js or somewhere else earlier? i'm wanting to change the login prompt
On 2018 Dec 13 08:27:04, you wrote to Android8675:
I usually do stuff like this instead of edit text.dat:
bbs.replace_text(176, "[17CSY: "); // Line 176 SystemPassword
Then I dont have to worry about a customized text.dat being overwritten.
ohhh... that's nice! where do you do this replacement? in login.js or logon.js or somewhere else earlier? i'm wanting to change the login prompt stuff but really don't care to try to hexedit text.dat...
Re: Yes/No Prompt
By: Android8675 to Digital Man on Wed Dec 12 2018 07:46 am
It sounds like your text.dat is out of whack. You can just replace it with a 0-byte file and the hard-coded default values will be used automatically. Or download (from vert) the text.dat which corresponds with the executable (sbbs) version you're running to get a fresh unmodified version.
digital man
On 2018 Dec 13 08:27:04, you wrote to Android8675:
I usually do stuff like this instead of edit text.dat:
bbs.replace_text(176, "[17CSY: "); // Line 176 SystemPassword
Then I dont have to worry about a customized text.dat being overwritten.
ohhh... that's nice! where do you do this replacement? in login.js or logon.js or somewhere else earlier? i'm wanting to change the login prompt stuff but really don't care to try to hexedit text.dat...
bbs.replace_text(176, "[17CSY: "); // Line 176
ohhh... that's nice! where do you do this replacement? in login.js or
logon.js or somewhere else earlier? i'm wanting to change the login
prompt
Haven't used this in a while, but I imagine it only applies for the duration of the script that's being executed. (It might apply for the duration of the user's session.)
ohhh... that's nice! where do you do this replacement? in login.js or
logon.js or somewhere else earlier? i'm wanting to change the login
prompt stuff but really don't care to try to hexedit text.dat...
Most of the login prompt stuff isn't in the text.dat to begin with. Have you taken a look at exec/login.js?
(tip: copy to your mods directory before modifying).
Also: I just use good text editors for my text.dat changes, never
touched it with a hex editor.
ohhh... that's nice! where do you do this replacement? in login.js or
logon.js or somewhere else earlier? i'm wanting to change the login
prompt stuff but really don't care to try to hexedit text.dat...
I use notepad++ to change text.dat, really isn't that big a deal.
Notepad++ has a nice compare plug-in that lets me compare text.dat to
any changes that come in from CVS.
In this case I guess I messed "something" up. Ah well. I don't really
get the bbs.replace_text thing, but...
On 2018 Dec 19 07:47:02, you wrote to me:
ohhh... that's nice! where do you do this replacement? in login.js or
logon.js or somewhere else earlier? i'm wanting to change the login
prompt stuff but really don't care to try to hexedit text.dat...
I use notepad++ to change text.dat, really isn't that big a deal.
i've used notepad++ on winwhatever for years... until our last winwhatever box quit, anyway... i might be interested if there's a linux version of it... for now i mostly use mcedit because i'm in mc all the time...
Notepad++ has a nice compare plug-in that lets me compare text.dat to any changes that come in from CVS.
yep... i've used it when working with some realllllly large files... have been using meld on *nix but it can have problems on large files, too...
In this case I guess I messed "something" up. Ah well. I don't really get the bbs.replace_text thing, but...
just from seeing it that one time, it looks simple... in a .js file, you use it
to replace the line# specified with the provided text instead of editing the file...
eg: bbs.replace_text(175, "furby furby furby!");
would replace, in memory only, whatever text.dat line 175 has with "furby furby
furby!"...
Sysop: | r00t |
---|---|
Location: | Newport Beach, CA |
Users: | 12 |
Nodes: | 6 (0 / 6) |
Uptime: | 203:47:19 |
Calls: | 144 |
Files: | 238 |
Messages: | 33,772 |