Problem starting MUD

Posted by Daryis on Sat 10 Feb 2007 11:29 PM — 11 posts, 37,592 views.

#0
Hey all I'm planing on starting up a new Mud but i've run into a bit of a problem.

To get it started they say to change dir to rom24 and from there to src...I did that....Then to type make & to compile..... I did that.....then to change dir to area and then type startup &.....I did that but this is where I come to a screeching halt becasue it tells me that there is no such command as startup.

Is there something i'm doing wrong? Please help!!!
USA #1
Did you do:
./startup &
#2
ok well I got it to start by copying rom.exe into the area dir and then typing ./rom 9000. But then it gets to the message that I want ROM is ready to rock on port 9000 and it stops all together. I used ps ux to see if it was working and its not. Whats up?
USA #3
Why did you copy it to the area dir? You shouldn't. Did you try what I said?
#4
Yes and I got this message :

[1]5684

and then

bash: ./startup: /bin/csh^M: bad interpreter: no such file or directory
Australia Forum Administrator #5
Perhaps read this:

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

The file "startup" is a shell script, the commands in it need to work otherwise you will have problems. It sounds like you haven't installed csh.

Anyway, you need to follow the instructions fairly precisely. The startup file is in the src directory, however the mud needs to run in the area directory.

Once you have compiled, you are in the src directory. You need to type:


cd ../area
../src/startup &


However if startup doesn't work, this should:


cd ../area
../src/rom


If it says "ready to rock" it sounds like it is ready. Did you try connecting with your client?
#6
Yeah I got the message but that was when I did the ./rom command with the rom.exe in the area dir.

But I don't know how to connect to my client.
USA #7
You shouldn't be moving the .exe to the area dir.

Simply connect using a client to localhost and the port.
#8
ok I know that I'm not suposed to move the .exe to the area dir but that was the only way that I could get it to startup. So I guess I need a solution to the ./startup bash command not found or file not found. Nick suggested that I didn't have csh installed should I get it? If so Where?
USA #9
Yes, go back to the Cygwin installer and look for the csh package, then install it. I am assuming you are running Cygwin because you are talking about .exe files.

If you're not running Cygwin and are running your own server, there are a few options.
Fedora: sudo yum install csh
Ubuntu or Debian: sudo apt-get install csh
for other distributions you will need to do whatever needs to be done to install packages.

If somebody else is administering your server (e.g. you are on a shared host) ask them to install csh on the system for you.



As for moving the .exe, you can just go to area and type ../src/smaug or ../src/smaug.exe and that will work. Really no need to move the exe around.
#10
Ok hey I finally got it up and running and now I can make the changes that I want to. Thanks anyways for the help. Now only if I could get a host.....