Gammon Forum
Entire forum
SMAUG
SMAUG coding
Using startup
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Firedraconian
USA (32 posts) bio
|
Date
| Thu 29 Jul 2004 09:53 PM (UTC) |
Message
| |
Posted by
| Nick Gammon
Australia (22,982 posts) bio
Forum Administrator |
Date
| Reply #1 on Fri 30 Jul 2004 02:52 AM (UTC) |
Message
| Maybe "limit" isn't installed. Try commenting out those lines, I don't think they are critical. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Firedraconian
USA (32 posts) bio
|
Date
| Reply #2 on Fri 30 Jul 2004 04:03 AM (UTC) |
Message
| Probably a stupid question, but how exactly do I do that? |
X. D. Caeruleus
Draconian Industries | top |
|
Posted by
| Nick Gammon
Australia (22,982 posts) bio
Forum Administrator |
Date
| Reply #3 on Fri 30 Jul 2004 06:26 AM (UTC) |
Message
| Edit the file "startup" with a text editor. The start will look something like this:
#! /bin/csh -f
# Set the port number.
set port = 9500
if ( "$1" != "" ) set port="$1"
# Change to area directory.
cd ../area
# Set limits.
nohup
limit stacksize 1024k
limit coredumpsize unlimited
if ( -e shutdown.txt ) rm -f shutdown.txt
The lines beginning with "#" are comments. So, put "#" in front of the "limit" lines. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Buck
USA (23 posts) bio
|
Date
| Reply #4 on Fri 30 Jul 2004 01:47 PM (UTC) Amended on Fri 30 Jul 2004 01:50 PM (UTC) by Buck
|
Message
| Also, it may be running normally but in the background so you don't see it in the Cygwin shell. The reason I say that is because when I enter ../src/startup from the area file, I get the limit error too, but a few seconds later, my firewall tells me the server is going active and I can log into the game. Personally, I prefer to use the command ../src/smaug to start the game manually so I can see what processes are taking place in the shell. The only time I use startup is if I need to use grep or something while the game is running. Just my two cents worth. |
-Buck.
tbgamecock@yahoo.com
"I am Homer of Borg. Prepare to be assim... ooooo, Doughnuts!" | top |
|
Posted by
| Firedraconian
USA (32 posts) bio
|
Date
| Reply #5 on Fri 30 Jul 2004 02:46 PM (UTC) |
Message
| Thanks for the help, it works fine now. :) |
X. D. Caeruleus
Draconian Industries | 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.
16,588 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.