14 Nov, 2006, Syphon wrote in the 1st comment:
Votes: 0
Hello, I got a few servers I can run a MuD on now, And I been wanting to it forever. I have experience with coding Talkers years ago, But My C is a bit shaky, So I'm looking for some advice on tutorials and a pretty basic codebase. I have tons of idea's , Just need a bit of help. I never compiled my own MuD before, Just played them for years. So if anyone is willing to help out Id appreciate it.

You can check out my Talker at Telnet://presidium.org:5555
Or e-mail Syphon101@gmail.com.
15 Nov, 2006, Cratylus wrote in the 2nd comment:
Votes: 0
Something I usually mention when someone asks this question:

http://dead-souls.net/articles/why_ds.ht...


-Crat
15 Nov, 2006, Syphon wrote in the 3rd comment:
Votes: 0
Thanks, I'll start with that, But I still think I'll eventualy bend towards C, I always enjoyed and do want to learn quite well. I just wish I didn't loose all my books… Damn books weren't cheap
15 Nov, 2006, Syphon wrote in the 4th comment:
Votes: 0
Im not sure what Im doing wrong, but first off I tried to ./configure and make install, on a friends linux box. That didn't work, So next I tried manually, Now I followed the instructions for that, Not to sure what they ment about copying the "driver" file into $MUDHOME/bin/ cause I don't even know what file is the driver file, If that's what they mean. But I followed the Instructions, changed the two lines in mudos.cfg, mudlib directory and binary directory. Then I edited startmud, Then when I went to type ./startmud, I got nothing. Id be greatful If sombody would help me out with this considering how much I just read on this codebase.
15 Nov, 2006, Conner wrote in the 5th comment:
Votes: 0
Syphon said:
Thanks, I'll start with that, But I still think I'll eventualy bend towards C, I always enjoyed and do want to learn quite well. I just wish I didn't loose all my books… Damn books weren't cheap


If you do decide to stick with C, you might check out SmaugFUSS at http://www.smaugmuds.org/ , it's a pretty good codebase with a great support group. :wink:

(Actually, you can download SmaugFUSS from here too, but that's the forums for its support that you'll really want to be a part of.)

17 Nov, 2006, Syphon wrote in the 6th comment:
Votes: 0
I can telnet in but when I ./startmud it keeps repeating this
socket_connect: requested on: 149.152.218.102 23
socket_connect: socket already bound to address/port: 24.0.0.0/0
socket_connect: requested on: 149.152.218.102 23
socket_connect: socket already bound to address/port: 24.0.0.0/0

when I run ./startmud I get this

DeadSoulsNew (MudOS v22.2b14) starting up on Linux - Thu Nov 16 23:54:19 2006


Connection to address server (localhost 9999) refused.

Loading preloaded files …
]Preloading: /lib/sentient…](0.0)
]Preloading: /lib/std/table…](0.0)
]Preloading: /lib/std/room…](0.0)
]Preloading: /daemon/soul…](0.0)
]Preloading: /lib/player…](0.0)
]Preloading: /secure/daemon/localpost…](0.0)
]Preloading: /secure/daemon/letters…](0.0)
]Preloading: /secure/daemon/folders…](0.0)
]Preloading: /secure/daemon/events…](0.0)
]Preloading: /daemon/seasons…](0.0)
]Preloading: /daemon/intermud…](0.0)
]Preloading: /secure/daemon/economy…](0.0)
]Preloading: /secure/daemon/chat…](0.0)
]Preloading: /daemon/verbs…](0.0)
]Preloading: /daemon/command…](0.0)
]Preloading: /daemon/preload_check…](0.0)
]Preloading: /daemon/decay…](0.0)
]Preloading: /daemon/reaper…](0.0)
]Preloading: /secure/daemon/ping…](0.0)
]Preloading: /secure/daemon/update…](0.0)
]Preloading: /secure/room/arch…](0.0)
]Preloading: /secure/daemon/snoop…](0.0)
]Preloading: /secure/daemon/log…](0.0)
Initializations complete.

Accepting connections on port 5000.
socket_connect: socket already bound to address/port: 24.0.0.0/0
socket_connect: requested on: 149.152.218.102 23


[1]+ Stopped ./startmud

Then When I point addr_server to 9999 and ./startmud I get this

DeadSoulsNew (MudOS v22.2b14) starting up on Linux - Fri Nov 17 00:02:07 2006


Connected to address server on localhost port 9999

Loading preloaded files …
]Preloading: /lib/sentient…](0.0)
]Preloading: /lib/std/table…](0.0)
]Preloading: /lib/std/room…](0.0)
]Preloading: /daemon/soul…](0.0)
]Preloading: /lib/player…](0.0)
]Preloading: /secure/daemon/localpost…](0.0)
]Preloading: /secure/daemon/letters…](0.0)
]Preloading: /secure/daemon/folders…](0.0)
]Preloading: /secure/daemon/events…](0.0)
]Preloading: /daemon/seasons…](0.0)
]Preloading: /daemon/intermud…](0.0)
]Preloading: /secure/daemon/economy…](0.0)
]Preloading: /secure/daemon/chat…](0.0)
]Preloading: /daemon/verbs…](0.0)
]Preloading: /daemon/command…](0.0)
]Preloading: /daemon/preload_check…](0.0)
]Preloading: /daemon/decay…](0.0)
]Preloading: /daemon/reaper…](0.0)
]Preloading: /secure/daemon/ping…](0.0)
]Preloading: /secure/daemon/update…](0.0)
]Preloading: /secure/room/arch…](0.0)
]Preloading: /secure/daemon/snoop…](0.0)
]Preloading: /secure/daemon/log…](0.0)
Initializations complete.

Accepting connections on port 5555.
socket_connect: socket already bound to address/port: 24.0.0.0/0
socket_connect: requested on: 149.152.218.102 23


[2]+ Stopped ./startmud


-Syphon
17 Nov, 2006, Conner wrote in the 7th comment:
Votes: 0
Sounds like it's trying to load the mud twice there, first time on port 9999 and the second time, because that port's already in use, it's defaulting to port 5555, but it also looks as though it's not sending it's output to a log file for you. Having never used DS before, I'm not sure what else to offer on this one, yu might just have to wait for Cratylus' input, but it is probably at least worth opening your startup script file and checking that it's not calling the mud's executable twice and that it is sending the screen output to a log file.
17 Nov, 2006, Cratylus wrote in the 8th comment:
Votes: 0
Syphon got the mud up after asking the folks at lpmuds.net.

Turned out to be a problem with running the startup script.

-Crat
http://lpmuds.net/
17 Nov, 2006, Conner wrote in the 9th comment:
Votes: 0
Thanks for the update, Crat..

So, just from curiosity, given the error he reported, was it that he was running the startup script twice or did he just use it with the wrong parameters?

I'll grant that I usually use nohup ./startup & rather than just ./startup, to start my mud, but ./startup with work too.. but then I'm running smaugfuss not deadsouls, so maybe the startup script for DS needs a command line parameter. *shrug*

Also, doesn't deadsouls spam a logfile rather than the screen like that? With smaug you have to run the executable without the startup script to get all that screen spam.
18 Nov, 2006, Cratylus wrote in the 10th comment:
Votes: 0
TBH I'm not 100% clear on it, because I didn't get everything I'd need to say for sure.

However, based on the data he posted, it looked like the startup script had not been
modified. It's necessary to add the absolute path of the mud to the script, or weird things
like looping startups can happen.

My view on console spam is that the console is sometimes a quick and effective way
to troubleshoot. I'm just used to getting a lot of startup information, because
(to me) it's a convenient way to identify problems. Once the mud is up, the console gets
mostly only network errors, and messages specifically intended by the admins to be
directed to the console. One of the pieces of advice Syphon got was to skip using the script
and call the binary from the command line, with this command:

nohup ./driver ./mudos.cfg 1>/dev/null 2>/dev/null &

Which avoids getting confusing messages and allows him to run the mud after he's logged off.

I'd suggest it's more of a design difference between ds and what you're used to, rather
than a condition that requires correcting.

-Crat
http://lpmuds.net
19 Nov, 2006, Conner wrote in the 11th comment:
Votes: 0
Was mainly just curious, so thanks for sharing what info you did know about it Crat.
I don't know that output to the console is a bad thing, and certainly not that it's broken, but as you say, not what I'm used to.
19 Nov, 2006, Syphon wrote in the 12th comment:
Votes: 0
Thanks all, I got it up and running. I don't really like the combat system, I need rewrite that, But with my skills at the moment I doubt I could, So hopfully I learn all this fast as possible.
0.0/12