Connection Made, But Mud Hangs after?
Posted by Felix Ilka
on Tue 16 Mar 2004 04:44 AM
— 11 posts, 29,113 views.
Hello everyone,
I know this isn't a SMAUG codebase, but I figured sence I'm running a GodWars codebase and it's under cygwin someone could help me ( sence the codebases aren't THAT different ).
I got everything running with my godwars codebase, got it compiling without any errors, ect. but when I do ./startup & it shows it starting and I can open up zmud to connect, and I get a connection but after that it just sits there, doesn't display my greeting or anything.
When I go into the area directory and try ../src/merc it hangs as well but again, I can connect so I think it's starting but it's not displaying anything. I have all the packages installed in CYGWIN and I'm running on Windows XP Pro with 2.08 GHZ processor and 1 gig of ram.
Any help would be GREATLY appreciated!
Felix
If you enter anything, does it still hang? If so, you might try running it in GDB. There is a guide on this site by Nick on how to use it. If it doesn't hang after you enter something, then you probably have an empty greeting help file.
Yeah, it hangs no matter what I press
ok, load it in gdb, and see what happens. Basically, go into your area directory. From there, type "gdb ../src/merc". This should boot and give you a little different prompt. Type "run <port>", whatever your using, and then you should see your boot script. Afer thats done, try to log in, and make it hang. When your there, go back to gdb, and hit "ctrl - c". This will pause the program externally. Then, you can type into gdb "bt". This SHOULD show you were its getting hung up. If you don't know what it means or how to deal with it, copy the entire backtrace(bt) out of your shell and paste it here, and we will see what we can do.
Felix@juggernautx12 ~/g2k
$ cd area
Felix@juggernautx12 ~/g2k/area
$ gdb ../src/merc
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run 6969
Starting program: /home/Felix/g2k/src/merc.exe 6969
Program received signal SIGINT, Interrupt.
[Switching to thread 2952.0xbf8]
0x77ea31c7 in KERNEL32!GetAtomNameA ()
from /cygdrive/c/WINDOWS/system32/kernel32.dll
(gdb) gdb "bt"
Undefined command: "gdb". Try "help".
(gdb) bt
#0 0x77ea31c7 in KERNEL32!GetAtomNameA ()
from /cygdrive/c/WINDOWS/system32/kernel32.dll
(gdb)
No idea what this means at all....
Very strange. I can only guess that maybe you don't have sufficient privleges? Have you tried running the .exe on another machine (eg. Win98?).
No, but I've had it running once a long time ago in windows xp, I'm administrator so I should have all privledges... I was running it from a different drive than C, but I made a copy and switched it over to C drive and it still hung with the same message.
Hard so say. Maybe put a breakpoint (in gdb) in the nanny function, to see if that gets called. (ie. type: "break nanny" in gdb, before typing "run 6969").
It was kinda wierd, I wanted to see if I could get just a base godwars deluxe code running and I compiled it and it ran just fine, so I switched the area folders out and bam, my mud went up without a hitch, so I'm slowly trying to figure out what area was the problem. Thanks for all the help everyone!
Usually, if you see a list of the areas being read in, it will be the area in area.lst that is AFTER the last one to be displayed.
right, but it wouldn't show even anything loading when i tried to start it up before. it just locked up, so I'm not sure what's up with that, it's not my help.are file because I moved that over without a problem... kinda odd...