Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Running the server ➜ starting rom

starting rom

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Seamer   (5 posts)  Bio
Date Wed 29 May 2002 10:32 AM (UTC)
Message
cygwin doesnt let me compile rom while rom's running...(rom's in use, of coursE) this doesnt happen under any nix i've used before, is there a way to get around having to shutdown the mud before i can compile?

is there a way to start rom.exe and have it running constantly with xp safely even over hardware reboots etc?

and the startup file...does it ever get used? it defaults to port 9000 whereas the mud is 4k

i had another question to ask but it slipped somewhere..
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 30 May 2002 04:04 AM (UTC)
Message
Well, Cygin is not exactly Unix. :)

Try making a copy, like this:

cp rom.exe rom_copy.exe
cd ../area
../src/rom_copy


To start it over reboots, you need to have XP start it up on boot - I'm not using XP so I can't say for sure how to do it. I would do something like this to put it in the background:

../src/rom_copy &


The startup file will be used if you choose to use it. Read it to see what it does. eg.

./startup

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Seamer   (5 posts)  Bio
Date Reply #2 on Sun 02 Jun 2002 08:49 AM (UTC)
Message
i made a crontab and installed it and right now its:
0 * * * * /home/ben/Rom24/area/rom.exe &

i have edited the makefile to create the new rom.exe file inside area to accomodate this change...yet i get missing area.lst errors regardless of what i try. a trial of using the startup file produces "no such file" and a csh error.

whats missing?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 02 Jun 2002 10:20 PM (UTC)
Message
I think you need to run a shell script that cd's to the area directory and then runs ROM. Startup should do it, try running it standalone until you get that to work.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,186 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.