[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Using startup

Using startup

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


Posted by Firedraconian   USA  (32 posts)  [Biography] bio
Date Thu 29 Jul 2004 09:53 PM (UTC)
Message
I'm on Number 14 under

http://www.gammon.com.au/smaug/howtocompile.htm#example

and it's not working for some reason.

$ tcsh startup &
[1] 3496

$ limit: Command not found.

X. D. Caeruleus
Draconian Industries
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] 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
[Go to top] top

Posted by Firedraconian   USA  (32 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] 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
[Go to top] top

Posted by Buck   USA  (23 posts)  [Biography] 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!"
[Go to top] top

Posted by Firedraconian   USA  (32 posts)  [Biography] 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
[Go to top] 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] Refresh page

Go to topic:           Search the forum


[Go to top] 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.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]