Need some help here. I found a snippet for Banks, and I tried to install it. It didn't work right, so I took it out. Now, whenever I run the mud, right after you put in the character's password, a segment core dump occurs with these bug messages:
[*****] BUG: load_race_file: no match: ÿ
[*****] BUG: Fread_string_no_hash: EOF
Can someone please help me?
-Alexander
Sounds like the snippet corrupted the race file. I would get a backup from somewhere.
That isn't it. I just totally removed the race files and replaced them with the original stuff from the smaug download. Still got the same thing. Any other ideas?
-Alexander
I just realized that worked Nick.. sorta. The bug messages are gone, but the segment core still dumps right after the password
-Alexander
First, make sure you have a clean build. If you only recompiled the files that you replaced it is possible the object files are out of whack with each other. Try:
rm *.o
make
If that doesn't work, you will have to use gdb to find what is making it crash - or, make sure you put all the old files back.
A crash after a password generally indicates some part of the code is being used (stuff to do with the character) that isn't used until it finds a player. Things like races, classes, languages, spells etc.
yeah... so I feel like a total jackass. :)
Thanks Nick. The clean make worked wonders. The problem was simple: change a sh_int to an int. I worked on the code for 5 hours last night, and that was the fix. Guess how big i felt? :p
Thanks for all your help,
-Alexander
ok, i seem to have the same problem, however the clean make solution didnt seem to work... i added the autoquest code by aurora to a highly modified mud, and i've cleaned it up and made it compile correctly, however when i go to load a player in it crashes, through process of elimination (bugging the piss out of fread_char using bug("somethign",0); ) to make sure it runs all the way through the load and it loads it fine, if i type the wrong pass it even says "incorrect password" and kicks me then it crashes the mud, i have no idea what it could be, a few of us ha ve been trying to debug it for a few days now with no luck :\ if anyone has idea or anything that i might try i would really appreciate it,
thanks
typ.
I have a brief description of using gdb on such problems on this post:
coinduct,induct,cooutcast,outcast problem