View Single Post
Old 04-12-2006, 12:12 AM   #5
Davairus
Member
 
Join Date: Jun 2002
Posts: 159
Davairus is an unknown quantity at this point
1) crypt problem



I'd suggest start there.. make sure you have the latest and greatest version of smaug of course, there are versions out with all the bugs fixed. Also search that forum for crypt as its been done to death there. I found a lot of answers.

2) setting port

Here is a startup script I found for rom a long time ago, smaug is a diku derivative so it should work for you. You'll probably recognise the author.

The name of the file is 'startup' and you put it in the area directory. Then to start the mud just nagivate there and type startup.

[code]
#!/bin/csh
# Written by Furey.
# With additions from Tony and Alander.

# Set the port number.
set port = 9000
if ( "$1" != "" ) set port="$1"

# Change to area directory.
cd ../area

# Set limits.
if ( -e shutdown.txt ) rm -f shutdown.txt

while ( 1 )
# If you want to have logs in a different directory,
# change the 'set logfile' line to reflect the directory name.
set index = 1000
while ( 1 )
set logfile = ../log/$index.log
if ( ! -e $logfile ) break
@ index++
end

# Run rom.
../src/rom $port >&! $logfile


# Restart, giving old connections a chance to die.
if ( -e shutdown.txt ) then
rm -f shutdown.txt
exit 0
endif
sleep 15
end
[/quote]

dont forget to change 'rom' to whatever the program is. Hope that helps...
Davairus is offline   Reply With Quote