Please check out Act of War !

Member Discussions

terms



[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. Need some serious help Mon Jul 6, 2009 [5:52 AM]
JBE1987
x0xStrickenx0x@hotmail.com
member since: Oct 4, 2007
Reply
Hey, I am looking to start my own mud again with my old code. I had int errors but got them all fixed and now it compiles cleanly, but the mud still wont boot up. I was told I have to do debugging in order to fix the problem, but I havent coded in years so Im pretty much unable to code anymore, have to relearn it all. I would greatly, GREATLY appreciate it if someone could help me out here, as I really do want this mud to get back up and running. It would probably best to contact me over MSN or AIM, since it would probably be easier that way to talk, but replying here is ok too I guess.

MSN: x0xStrickenx0x@hotmail.com
AIM: iiihazefazeiii

All help is very appreciated.


2. RE: Need some serious help Mon Jul 6, 2009 [10:19 AM]
nosty
Email not supplied
member since: Dec 12, 2000
In Reply To
Reply
Most likely what you're looking for is how to use GDB.

Look up how to add the gdb tags to your Makefile and do so. For G++ its adding -ggdb to the arguments. Clean compile.

To run your mud with gdb watching it go to the folder you normally run the mud from then:
gdb <path to the mud's executable>
run <arguments like port number you normally use>

Examples of my own commands:
gdb ../src/xaos
run 5000

The mud will now run but with GDB watching it and GDB will stop at the point where its crashing and give you at least an idea of where in your code its having the issues.
Xaos MUD, http://www.xaosmud.com or just skip the site and telnet://mud.xaosmud.com:5000




[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]