Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 parse description bug
Yesterday, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Sogou

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWR FUSS » New to SWR FUSS
Forum Rules | Mark all | Recent Posts

New to SWR FUSS
< Newer Topic :: Older Topic >

Pages:<< prev 1, 2 next >>
Post is unread #1 Nov 12, 2009, 6:51 am
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

Greetings all. So I feel like an uber noob here...I DLed the SWR FUSS cdoebase and got it to compile with the 'make all' command but I can't seem to get it to run or connect to it. I am running Ubuntu. I know it's probably going to be something easy or simple that I am missing.
       
Post is unread #2 Nov 12, 2009, 7:16 am
Go to the top of the page
Go to the bottom of the page

Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007

Welcome to Smaug Muds.

Perhaps it would be easier if you explained exactly what you're doing to get it to run and the errors you encounter. The more details you can provide the quicker it can be resolved.

Also, have you changed the port# in the startup file?
       
Post is unread #3 Nov 12, 2009, 7:44 am
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

Thank you Hanaisse.

Alright, I type 'make all' in the /src folder. It compiles just fine. From there, I am lost as to how to run the MUD or to connect to it if it is running for some reason. The port# in the file that I saw was 4020. I'm not sure if it is the startup file, and I can't check at the moment because I am at school and my laptop isn't with me. But there are no errors at the moment.
       
Post is unread #4 Nov 12, 2009, 8:00 am
Go to the top of the page
Go to the bottom of the page

Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007

Ok, port 4020 is the default port in the startup file.

If you're running the mud locally on your laptop I believe port 4000 is the typical one to use, so you could edit the startup file to change that first then run the mud using (well, this is what I use) the command: nohup ./startup &
Then connect from your client by using IP address: 127.0.0.1, port 4000

If you're running the mud from a host service they should provide you with the port # to use. Follow the same steps then connect from your client by using (Host IP address), port (whatever).

I noticed this in one of the documents "Added a default Admin player for initial startup. Has no password. DELETE WHEN DONE USING IT." so try logging in as Admin, enter over the password and see if that gets you in.
       
Post is unread #5 Nov 12, 2009, 8:05 am
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

I will try that when I get home tonight after school and update the forum afterwords.
       
Post is unread #6 Nov 12, 2009, 10:57 am
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

Alright. Hoped on my laptop and I went to the /src folder and typed "nohup ./startup &" and this is what I got:

[1] 6977
nohup: ignoring input and appending output to `nohup.out'
nohup: cannot run command `./startup': No such file or directory
[1]+ Exit 127 nohup ./startup
       
Post is unread #7 Nov 12, 2009, 11:44 am
Go to the top of the page
Go to the bottom of the page

Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007

Try just using ./startup &
       
Post is unread #8 Nov 12, 2009, 12:27 pm
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Verify that you have a file in the src folder called startup.

From the looks of the quoted output, you don't appear to have one.
       
Post is unread #9 Nov 12, 2009, 5:23 pm
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

The file is there.

I have also tried ./startup & and just ./startup.

After I 'make all' a new file pops up. swreality I think is the name. I would check but I can't get to my files at the moment again.
       
Post is unread #10 Nov 12, 2009, 7:47 pm   Last edited Nov 12, 2009, 7:48 pm by Hanaisse
Go to the top of the page
Go to the bottom of the page

Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007

I dl'd the SWR1.3Fuss from here and was able to compile, run and connect to it. I had no issue using the nohup ./startup & command.

Are you running on a local machine? If so, what compiler are you using? Perhaps something is missing in it.

To Kayle: Not sure if it was you that added the default Admin user claiming it has no password, but it does require a password, therefore it cannot be used.
       
Post is unread #11 Nov 12, 2009, 7:57 pm
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

I am using Ubuntu with the latest updates. I recently DLed and installed the g++ package and some libraries for it. The MUD compiles just fine, but I can't seem to get much going after that.
       
Post is unread #12 Nov 13, 2009, 6:50 am
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006


Hanaisse said:

To Kayle: Not sure if it was you that added the default Admin user claiming it has no password, but it does require a password, therefore it cannot be used.


Admin
password: admin

I don't know of anywhere that claimed it didn't have a password...

Muddledde:
Try chmod -f 775 * in the /src folder. and then run nohup ./startup &
       
Post is unread #13 Nov 13, 2009, 7:02 am
Go to the top of the page
Go to the bottom of the page

Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007

Kayle said:

I don't know of anywhere that claimed it didn't have a password...


No biggie. It's always easy enough to change in pfiles. However, in bugfixes.txt;
Added a default Admin player for initial startup. Has no password. DELETE WHEN DONE USING IT.

Maybe a better place to put this info would be the readme.txt
       
Post is unread #14 Nov 13, 2009, 10:31 am
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

There's a bugfixes.txt in SWRFUSS?
       
Post is unread #15 Nov 13, 2009, 10:59 am
Go to the top of the page
Go to the bottom of the page

Hanaisse
Magician
GroupMembers
Posts196
JoinedNov 25, 2007

lol, yes, in the general swrfuss13 folder, not in docs where it probably should be.
       
Post is unread #16 Nov 13, 2009, 12:36 pm
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

I am going to put in exactly what my terminal shows.

muddledde@muddledde-laptop:~/swrfuss/src$ dir
act_comm.c color.c hashstr.c mccp.c player.c special.c
act_info.c color.h hotboot.c mccp.h qstart startup
act_move.c comm.c hotboot.h misc.c reset.c swreality
act_obj.c comments.c imc.c mssp.c save.c swskills.c
act_wiz.c const.c imccfg.h mssp.h sha256.c tables.c
bet.h db.c imc.h mud_comm.c sha256.h track.c
boards.c dependencies.d interp.c mud.h shops.c update.c
bounty.c fight.c magic.c mud_prog.c shutdown.txt
build.c grind Makefile nohup.out skills.c
clans.c handler.c makeobjs.c o space.c
muddledde@muddledde-laptop:~/swrfuss/src$ chmod -f 775 *
muddledde@muddledde-laptop:~/swrfuss/src$ nohup ./startup &
[1] 8885
muddledde@muddledde-laptop:~/swrfuss/src$ nohup: ignoring input and appending output to `nohup.out'
nohup: cannot run command `./startup': No such file or directory
[1]+ Exit 127 nohup ./startup

Kayle:
Did you mean to type 'run nohup -f 775 *'? Because I did and it just closes the terminal, and nothing else seems to come of it other then the teminal closing.

I did type './swreality &' and './swreality' and they both gave me
Fri Nov 13 15:32:59 2009 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fri Nov 13 15:32:59 2009 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Fri Nov 13 15:32:59 2009 :: Initializing libdl support...
Fri Nov 13 15:32:59 2009 :: Loading commands...
Fri Nov 13 15:32:59 2009 :: Loading spec_funs...
Fri Nov 13 15:32:59 2009 :: Loading sysdata configuration...
Fri Nov 13 15:32:59 2009 :: Loading socials
Fri Nov 13 15:32:59 2009 :: Loading skill table
Fri Nov 13 15:32:59 2009 :: Sorting skill table...
Fri Nov 13 15:32:59 2009 :: Loading herb table
Fri Nov 13 15:32:59 2009 :: Making wizlist
Fri Nov 13 15:32:59 2009 :: Loading MSSP Data...
Fri Nov 13 15:32:59 2009 :: Initializing random number generator
Fri Nov 13 15:32:59 2009 :: Setting time and weather
Fri Nov 13 15:32:59 2009 :: Assigning gsn's
Fri Nov 13 15:32:59 2009 :: Reading in area files...

While typing 'nohup ./swreality &' gives me
[1] 8885
muddledde@muddledde-laptop:~/swrfuss/src$ nohup: ignoring input and appending output to `nohup.out'
nohup: cannot run command `./startup': No such file or directory
[1]+ Exit 127 nohup ./startup

If './swreality' was correct, I still can't seem to connect. I am using my terminal and entering 'telnet localhost 4000' and receiving
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
       
Post is unread #17 Nov 13, 2009, 12:57 pm
Go to the top of the page
Go to the bottom of the page

Caius
Magician
GroupMembers
Posts132
JoinedJan 29, 2006

It runs on port 4020 by default, not 4000. To see if it runs or not type this: ps x

You should see a line like this (among other things):
PID TTY STAT TIME COMMAND
2363 pts/1 S 0:07 ../src/swreality

The numbers will be different, but you should see the command swreality. If you don't see such a line, then it's not running.
       
Post is unread #18 Nov 13, 2009, 1:17 pm
Go to the top of the page
Go to the bottom of the page

Muddledde
Fledgling
GroupMembers
Posts11
JoinedNov 11, 2009

I know the port is 4020 by default, but I changed it for unknown reasons, and no, I don't do that kind of thing often.

I typed 'ps x' and it is not running.
       
Post is unread #19 Nov 13, 2009, 1:22 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

Try: ps ux
To see if it's running.

Or for startup, try: touch startup
Then: ./startup &

If it still tells you it can't find startup but you can touch it, it sounds like you're using bash/csh or whatever?
       
Post is unread #20 Nov 13, 2009, 1:24 pm
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

Muddledde said:

Kayle:
Did you mean to type 'run nohup -f 775 *'? Because I did and it just closes the terminal, and nothing else seems to come of it other then the teminal closing.


No, I meant type 'chmod 775 *'
I don't know why I put the -f in there.

This doesn't make any sense. I see that startup is there in the src folder. I don't understand why Ubuntu would be telling you that the file isn't there. Maybe something that the startup script is calling is missing. Copy/paste your startup script?
       
Pages:<< prev 1, 2 next >>