Hey, I'm having HUGE problems with PennMUSH. First off, My mush was running perfect with no problem until I had to reformat my computer. I made backups of my data files assuming I could use them with a new compile of Pennmush and man was I wrong. :P A WIZ on my mush made a new compile of pennMUSH and it ran fine on his computer (even with our db) but when I tried it on my computer it doesn't want to work. I ran a pennmush /install then pennmush /start and it seemed okay. After I did those I tried to connect and got nothing. I did a status check and it says the service isn't running but I have a pennmush_run.exe running in the background. Recently I tried a precompiled Win32 version with my DB and it lets me connect but doesn't allow other outside connections and still says it isn't running according to pennmush /status. We believe the problem is a version conflict but I'd like to hear what any body thinks. We were running off a 1.4.x version which I can't seem to find anymore. I tried all the 1.7.x. Any suggestions or is this 4 year old db file useless now? ...I hope not.. :)
Oh yeah, here are my system specs if it's any help
p4 2.2 gig
512 ddr ram
XP home edition
adsl server line
Don't use /install and /start just yet, just use /run which runs it in a terminal window.
Then check the log file to see what messages you are getting. Did you save and restore the mush.cnf file? Sounds like a configuration issue.
You certainly should be able to get the db working. The fact that your friend can proves that. It might be something like a missing directory, or something similar.
Okay, I only did the pennmush /run and it sends the output to game.log and lets me connect only my character name and passwords won't work. Only the Guest connect seems to be functional and the connection is refused according to connectivity tests. Here is what the log file produced, sorry 'bout the length of this post. :) *This was from a precompiled version. I'm having trouble compiling my own since I get 56 errors and 0 warnings. :P
[09/10 17:32:25] Reading mush.cnf
[09/10 17:32:25] Reading alias.cnf
[09/10 17:32:25] Reading restrict.cnf
[09/10 17:32:25] Creating file: txt\help.txt
[09/10 17:32:25] Copying file: index.hlp, 34590 bytes
[09/10 17:32:25] Copying file: pennchat.hlp, 9499 bytes
[09/10 17:32:25] Copying file: penncmd.hlp, 144129 bytes
[09/10 17:32:25] Copying file: penncode.hlp, 6320 bytes
[09/10 17:32:25] Copying file: pennconf.hlp, 9727 bytes
[09/10 17:32:25] Copying file: pennflag.hlp, 26978 bytes
[09/10 17:32:25] Copying file: pennfunc.hlp, 131980 bytes
[09/10 17:32:25] Copying file: pennmail.hlp, 8845 bytes
[09/10 17:32:25] Copying file: pennpueb.hlp, 4213 bytes
[09/10 17:32:25] Copying file: penntop.hlp, 78128 bytes
[09/10 17:32:25] Copying file: pennvers.hlp, 262479 bytes
[09/10 17:32:25] Copied 11 files, 716888 bytes
[09/10 17:32:25] Creating file: txt\news.txt
[09/10 17:32:25] Copying file: index.nws, 338 bytes
[09/10 17:32:25] Copying file: pennmush.nws, 58 bytes
[09/10 17:32:25] Copied 2 files, 396 bytes
[09/10 17:32:25] Creating file: txt\events.txt
[09/10 17:32:25] Copying file: index.evt, 258 bytes
[09/10 17:32:25] Copying file: pennmush.evt, 345 bytes
[09/10 17:32:25] Copied 2 files, 603 bytes
[09/10 17:32:25] Creating file: txt\rules.txt
[09/10 17:32:25] **** No files matching: "txt\rul\*.rul" found.
[09/10 17:32:25] Creating file: txt\index.txt
[09/10 17:32:25] **** No files matching: "txt\idx\*.idx" found.
[09/10 17:32:25] File "data/indb" found, size 1909946 bytes, modified on 10 Sep 2002 22:30:08
[09/10 17:32:25] File "data/outdb" found, size 1905324 bytes, modified on 10 Sep 2002 22:06:32
[09/10 17:32:25] File "data/PANIC.db" found, size 1909946 bytes, modified on 10 Sep 2002 22:32:08
[09/10 17:32:25] Creating file: data/indb
[09/10 17:32:25] Copying file: PANIC.db, 1909946 bytes
[09/10 17:32:25] Copied 1 file, 1909946 bytes
[09/10 17:32:25] Verifying selected database.
[09/10 17:32:25] File "data/indb" found, size 1909946 bytes, modified on 10 Sep 2002 22:32:26
[09/10 17:32:25] Input database verified. Proceeding to analysis.
[09/10 17:32:25] ANALYZING: data/indb
[09/10 17:32:25] ANALYZING: data/indb (done)
[09/10 17:32:25] LOADING: data/indb
[09/10 17:32:25] Bad attribute name +HELPCOMBATSTATCHECK() on object #70
[09/10 17:32:25] READING: done
[09/10 17:32:25] LOADING: data/indb (done)
[09/10 17:32:25] LOADING: Trying to get mail from data/indb
[09/10 17:32:25] LOADING: Trying to get chat from data/indb
[09/10 17:32:25] Reading access.cnf
[09/10 17:32:25] Listening (NT-style) on port 2020
[09/10 17:32:25] 236 file descriptors available.
[09/10 17:32:25] RESTART FINISHED.
You tried compiling under Cygwin? Or MS VC++? Try posting at least some of the errors, you should be able to compile it OK.
If passwords don't work sounds like a password hashing problem. The way passwords are stored is an option, I can't remember if it is in the configuration file or a compilation directive.
Okay, I opened the project file that came with the latest precompiled version (I'm using MS VC++ by the way) and edited the options.h so it doesn't use shs for the password encryption. I compiled it no with no errors or warnings. I did a /run and it accepted my password just fine but I did the connectivity check at the mush werehouse and it says it was refused. The strange thing is that when I used the shs encryption the connectivity check was able to connect to my machine. Any thoughts? Sorry if I'm being a pain. :)
Are you using the word "connect" in the sense "accepts my name and password"? This is different from the server accepting the TCP/IP connection.
If so, changing the SHS options will definitely have an effect, because of the way passwords are stored. There is also a "reverse_shs" option which works around some problems in the SHS code in different endian machines in the past.
I believe the tool I used at www.moosh.net/mush makes a connection to the pennMUSH server on the IP and Port you type in so it didn't try to actually log in as a player. I'll play around with some of the shs options I think I can get it from here. Thanks, you've been a big help. :)
Woo Hoo! I found out the problem. For some reason my computer didn't like pennMUSH useing port 2020 so I went to 4201 and that seemed to fix everything! I disabled shs so my player database is good to go also. Thanks again! :)