Rob,
I went in and copied sbbsexec.* to c:\windows\system32 -- no dice; although I had to logon from a command prompt to do it under Windows
10, as it would said "access denied" otherwise. I tried running these
doors without a fossil...that didn't work, either.
I tried to enter the command SET NO87=ON in the AUTOEXEC.BAT file
for a DOORFRAME ERROR 6 (Overflow) -- no dice (although I thought it
would be in AUTOEXEC.NT under Windows 10 32-bit).
There was no change to the batchfiles in the doorgame directories,
which is what I ran the doors from (some need a TSR to bypass the
RTE 200 error).
And, I can not get an external event to run. I set it to run on
node 1 like you told me to do in SCFG, and it exits immediately
with error level 255.
I need that to run daily at 12:01am, as a batchfile, to do stuff
on the doors, without users logging on...and with having to be up
before 7am to do my vital signs, I can't be staying up to before
and after midnight, to shut down the BBS, and run the file manually.
If a user is in, or enters these doors while these utilities are
running, the doors will crash and be corrupted where they won't run
anymore.
"it"? Without more information on this "external event", I can't
possibly guess what you did wrong.
Rob,
"it"? Without more information on this "external event", I can't possibly guess what you did wrong.
For the timed event, I want it to run a batchfile at 00:01 daily.
I want the users to be offline for the event, and I want it to run
on node 1 (the other nodes then are to note "waiting for node 1 to
finish external event"). Originally, I had the event with the internal
code of NGTMAINT as ANY for the nodes...but it generated error 255,
and quit. I was told to put the desired node number for it (i.e. 1),
and while that originally worked...that option doesn't work either.
A node number of ANY works fine too. That has nothing to do with your problem and who ever suggested changing that was just guessing.
When you "doesn't work", you mean it's not executing your batch file?
Try putting a "pause" in your batch file and forcing the timed event.
Is it not running and pausing (waiting for a key press) in that case?
Rob,
A node number of ANY works fine too. That has nothing to do with your problem and who ever suggested changing that was just guessing.
Originally, you told me that I had to put the number of the desired node there instead of ANY.
In either case, it starts the file, reports an error
level of 255, and exits.
This is what I have in SCFG:^^ Try setting this to "Yes"
NGTMAINT Timed Event
Internal Code NGTMAINT
Start-up Directory C:\SBBS\BATCH
Command Line ngtmaint.bat
Enabled Yes
Execution Node Any (also tried it with 1)
Execution Months Any
Execution Days Of Week All
Execution Time 23:55
Requires Exclusive Execution No
Force Users Off-Line For Event Yes
Native/Executable Script No
Use Shell or New Context No^^ Also set this to "Yes"
Background Execution No
Always Run After Init/Re-Init No
Error Log Level Error
When you "doesn't work", you mean it's not executing your batch file?
Try putting a "pause" in your batch file and forcing the timed event. Is it not running and pausing (waiting for a key press) in that case?
That didn't do any good, either. When I hit a key for it to run, it still gave the errorlevel 255, and quit.
Okay, so the "pause" did work (i.e. it did prompt for a key press)? If yes, that proves that Synchronet executed your batch file. If your
batch file is exiting with an error level after that, then it's a
problem with your batch file or the program it runs, not Synchronet. --
Rob,
Okay, so the "pause" did work (i.e. it did prompt for a key press)? If yes, that proves that Synchronet executed your batch file. If your batch file is exiting with an error level after that, then it's a problem with your batch file or the program it runs, not Synchronet. --
No, the pause did not work.
The batch file would start
SBBSCTRL notes
this, whether on a forced run (which I did) or at the regular time.
4/25 06:04:38p BBS Events Semaphore signaled for Timed Event: NGTMAINT
4/25 06:04:38p NGTMAINT Running timed event: NGTMAINT
4/25 06:04:38p NGTMAINT Timed event: NGTMAINT returned 255
Then, it exits and returns to the BBS without running at all.
I have put ANY and 1 in the node position...neither one works.
And, here are other errors I've gotten lately, after running the jsexec install-xtrn script (these are happening every day).
Mon Apr 25 08:03:34 2022 master/dfe589e30
srvc 0000 JSON Failed to load module: boggle, SyntaxError: JSON.parse
So what did you mean when you said "When I hit a key for it to run"?
Did you change those other 2 settings in SCFG I asked you to?
Double check your ctrl/json-service.ini file. A working one will look something like this (for Bubble Boggle):
[boggle]
dir=../xtrn/bublbogl/
But this has nothing to do with your nightly batch file problem.
Okay, so the "pause" did work (i.e. it did prompt for a key press)?
If yes, that proves that Synchronet executed your batch file. If
your batch file is exiting with an error level after that, then it's
a problem with your batch file or the program it runs, not
Synchronet. --
No, the pause did not work. The batch file would start, SBBSCTRL notes this, whether on a forced run (which I did) or at the regular time.
Rob,
So what did you mean when you said "When I hit a key for it to run"?
At the pause prompt, it says "press any key to continue".
Normally, when I
do that, it will do just that. But, in this case, nothing works...the batch file starts, generates error level 255 (as noted previously), then quits.
Did you change those other 2 settings in SCFG I asked you to?
Which ones were those??
Native/Executable Script No^^ Try setting this to "Yes"
Use Shell or New Context No^^ Also set this to "Yes"
Right now, I'm more concerned with the nightly batchfile than the other doors...those can wait.
Daryl, what happens if you take sbbs out of the equation, and run the batch file in a dos window. Will it exicute or not. I'm not saying it won't have errors, as you will be running out of the sbbs environment,
I'm just interested if it works or doesn't work when run as a stand
alone batch file.
You couldn't just go back and read the message yourself?
Right now, I'm more concerned with the nightly batchfile than the other doors...those can wait.
Then why'd you bring it up?
Daryl, what happens if you take sbbs out of the equation, and run
the batch file in a dos window. Will it exicute or not. I'm not
saying it won't have errors, as you will be running out of the sbbs
environment, I'm just interested if it works or doesn't work when
run as a stand alone batch file.
It does run. I got a screenshot from Jas Hud in a recent QWK packet, and
I had set all the Y/N questions, except for Background Execution and
Run when Reinitalize, to YES. Then, it worked properly.
Rob,
You couldn't just go back and read the message yourself?
I've got it set to delete messages after being read.
I got a screnshot from Jas Hud, that showed the settings for the event needed to be set to YES, except for the last 2 Y/N questions...then, it worked.
Right now, I'm more concerned with the nightly batchfile than the other doors...those can wait.
Then why'd you bring it up?
Because I have more of the non-Synchronbet doors than the Synchronet
doors (from the jsexec install-xtrn script).
I've had severe weather in the region today, with reports of a few tornadoes, and at least ping pong ball sized hail...and with having
to watch the front door for a delivery earlier today, I didn't get
to the QWK packet until now. Thunderstorms...some severe...are in the forecast here much of the upcoming week...so, it may be several days
before I can get back on the BBS, to do mail or otherwise.
Re: Re: No Luck
By: Daryl Stout to DesotoFireflite on Sat Apr 30 2022 07:36 pm
Daryl, what happens if you take sbbs out of the equation, and run
the batch file in a dos window. Will it exicute or not. I'm not
saying it won't have errors, as you will be running out of the sbbs
environment, I'm just interested if it works or doesn't work when
run as a stand alone batch file.
It does run. I got a screenshot from Jas Hud in a recent QWK packet, and
I had set all the Y/N questions, except for Background Execution and Run when Reinitalize, to YES. Then, it worked properly.
OK, great. As long as you got it going, that's all that counts.
Re: Re: No Luck
By: DesotoFireflite to Daryl Stout on Sun May 01 2022 01:22 pm
Re: Re: No Luck
By: Daryl Stout to DesotoFireflite on Sat Apr 30 2022 07:36 pm
Daryl, what happens if you take sbbs out of the equation, and run De>>> the batch file in a dos window. Will it exicute or not. I'm not
saying it won't have errors, as you will be running out of the
sbbs environment, I'm just interested if it works or doesn't work De>>> when run as a stand alone batch file.
It does run. I got a screenshot from Jas Hud in a recent QWK
packet, and
I had set all the Y/N questions, except for Background Execution
and Run when Reinitalize, to YES. Then, it worked properly.
OK, great. As long as you got it going, that's all that counts.
Unfortunately, I disagree. Accurate communication about what wasn't working, what the symptoms were, and what was changed to make it work is useful to me and other devs to find and resolve problems (e.g. fix bugs or update documentation). In this instance, a different sysop provided accurate information (via email) about what was tried and how it failed and they answered my follow-up questions accurately and completely. As a result, the issue (offline 16-bit DOS program execution via DOSXTRN on Windows) was fixed in a git-update to sbbs. I appreciate a sysop that can communicate about issues and lead to real resolutions and not just vague work-arounds.
For the timed event, I want it to run a batchfile at 00:01 daily.
I want the users to be offline for the event, and I want it to run
on node 1 (the other nodes then are to note "waiting for node 1 to
finish external event"). Originally, I had the event with the internal
code of NGTMAINT as ANY for the nodes...but it generated error 255,
and quit. I was told to put the desired node number for it (i.e. 1),
and while that originally worked...that option doesn't work either.
OK, great. As long as you got it going, that's all that counts.
Daryl Stout wrote to DesotoFireflite <=-
OK, great. As long as you got it going, that's all that counts.
I have discovered if I logon via the website, and use the
Connect Via Telnet option, the doors aren't delayed in loading,
as they are looking to see whether the door supports RIP
graphics.
I have discovered if I logon via the website, and use the Connect
Via Telnet option, the doors aren't delayed in loading, as they are looking to see whether the door supports RIP graphics.
Hmmm... Not sure how many doors actually are "RIP-aware" and would be checking. The few that I know of have a command line switch that tells the door not to bother checking.
Daryl Stout wrote to Gamgee <=-
Hmmm... Not sure how many doors actually are "RIP-aware" and would be checking. The few that I know of have a command line switch that tells the door not to bother checking.
The doors by Dennis Maidon (Parole Software), Super Slots, and
L.O.R.D. (the ones I think of offhand) had RIP support.
I only use LORD out of that list, and my command line for it is:
START.BAT %# NORIP
The "NORIP" on that command line tells the game not to bother with RIP.
I have discovered if I logon via the website, and use the Connect
Via Telnet option, the doors aren't delayed in loading, as they are
looking to see whether the door supports RIP graphics.
TeleGraphix, who pioneered RIP Graphics, is long since out of business...and a former area Sysop thought that "RIP was what you
did to a fart". <G>
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 409 |
Nodes: | 16 (2 / 14) |
Uptime: | 63:24:46 |
Calls: | 8,575 |
Calls today: | 5 |
Files: | 13,225 |
Messages: | 5,930,465 |