MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: Re: Need help getting my own Moo up!!!!
-
Date: Wed, 4 Sep 1996 02:52:27 PDT
-
From: jacknife@radware.net (Brian K. Farris)
-
Content-Type: text/plain; charset="us-ascii"
------------------------------ ORIGINAL MESSAGE -------------------------------
Hello
I am making my own moo, and having troubles starting. For some reason nobody
can telnet into my site. I am running Win95. Can you please help. I need the
help very badly.
Thanks
LordMike
-------------------------------------------------------------------------------
At 07:53 AM 9/3/96 PDT, Andrew wrote:
>>Below is a sample of a batch file to submit to your ISP (Obvious changes will
>>need to be made...)
>>
>>--- TOP MyMOO.bat ---
>>@ECHO OFF
>>SET TZ=CST-6CST
>>:START
>>IF EXIST MyMOO.db.PANIC REN MyMOO.db.PANIC MyMOO.db>NUL
>
>I'm not all that familar with WinMOO, so I don't know the crash frequency,
>but it is a bad idea to just blindly use the database produced from a PANIC
>in place of a known useable database (ie, the one that you originially
>started with).
I originally started running WinMOO from version 0.1.0beta3, which had a nasty
bug in the pass() function that would cause the server to crash... This means
that a verb as simple as a: '#<obj>:look_self tnt rx' verb could cause the MOO
server to Panic, and crash. Hence the automated backup of the .PANIC file was
made. I agree that an automatic copy of the .PANIC DB is not a good idea. But
it seemed a good solution at the time. Especially when the MOO server crashed
every few hours from a pass() function... WinMOO's author: Christopher Unkel,
has done a great job fixing various bugs with WinMOO's server, and posting the
updates on the net as quickly as possible... Thanx Chris! :)
>>winmoo -log MyMOO.log -o MyMOO.db MyMOO.db 2000
>
>I would suggest writing the db to a different file, but that's personal
>preference.
As quoted from my orginal text: "(Obvious changes will need to be made...)"
I know that argument variables could well be used as *SHOULD* the name of the
database files be changed to meet the personal preferences of the individual.
However, since this batch file was designed for an NT server, wich would most
likely be executed from within the SysAdmin's startup directory, I decided to
not use the argument variables. [%1..%9] ...From reading LordMike's message,
I understood him stating that he was starting a single MOO, not several.
>>IF EXIST WAIT GOTO WAIT
>>GOTO START
>>:WAIT
>>ECHO Waiting for remote maintenance to be completed...
>>:LOOP
>>IF EXIST WAIT GOTO LOOP
>>GOTO START
>
>Does having to use this loop mean that WinMOO does crash often?
As stated previously in this response, the version of WinMOO that I was running
at the time, (have upgraded to WinMOO Version 0.1.0beta4) did have a severe bug
in the code that would crash the MOO server when "pass(@args);" was executed on
various bits of verbcode... Another reason for having the batchfile containing
two sets of loops was again because it was written for an NT server which would
not allow executables to be ran via remote. The secondary loop 'WAIT' was added
so that a flag-file (WAIT) could be added to the directory prior to shutdown, &
the batch file would go into standby mode for upgrades and other modifications.
--- TOP MyMOO.bat ---
@ECHO OFF
SET TZ=CST-6CST
:START
IF EXIST MyMOO.db.PANIC REN MyMOO.db.PANIC MyMOO.db>NUL
winmoo -log MyMOO.log -o MyMOO.db MyMOO.db 2000
IF EXIST WAIT GOTO WAIT
GOTO START
:WAIT
ECHO Waiting for remote maintenance to be completed...
:LOOP
IF EXIST WAIT GOTO LOOP
GOTO START
--- END MyMOO.bat ---
This response is not a flame, it was merely written as added information on the
batch file I submitted to assist LordMike in his search for help... Again, this
batchfile was written as an example of a possible script in case his ISP didn't
allow static IP's on dialup & it was necessary to run the MOO on server-side...
Later,
Jacknife
Home |
Subject Index |
Thread Index