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
➜ 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 (23,173 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 (23,173 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.
23,903 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top