Hey guys. I would check the archives but I can't get into them. So anyways.
Here goes.
I Have a few questions. First 2 are bugs that the log shows when booting up.
And the other is a GDB error I just cannot work around.
Area:
1.) Sometimes when I copyover or reboot, the mud crashes in the boot up
process, after looking at the logs i get this sort of error (bug):
Mon Jul 15 16:55:23 2002 :: [*****] FILE: tristan.are LINE: 2050
Mon Jul 15 16:55:23 2002 :: [*****] BUG: Load_resets: 'D': exit 1 not door.
Now usually when I see this I go in and delete the line. But I guess that
will start to cause problems when I go on vacation and the mud crashes (god
curse the day that happens). So I'd rather just fix the problem all
together. I was told this happens when a bad door is made. I'm not sure the
specifics but it has something to do with the fact that when you create a
door, and then delete it. The olc doesn't delete the reset, or something to
that sort... I have no idea what or where to begin.
1.)
I also sometimes get this series of errors that pretty much locks the mud up
when it is in the 'Updating Areas' I get this after adding a new area. To
fix it I simply take that area out of area.lst. But I guess this goes back
to what if i'm not online or a builder might get pissed off for deleting
their area(s).
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Equip_char: already equipped (-1)
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Vnum(912).
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Equip_char: already equipped (-1)
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Vnum(912).
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Equip_char: already equipped (-1)
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Vnum(911).
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Equip_char: already equipped (-1)
Tue Jul 16 15:17:46 2002 :: [*****] BUG: Vnum(911).
So, I deleted the area and I still get these bugs. Atleast the mud boots up
now. Phew.
Last but not least. I have a fully automated player housing system on my
place. The people can buy their house, have it created, buy mobs, and buy
objects. However when a mortal trys to buy an object the mud crashes. I said
mortal because it works fine when I do it as an imm.
Well, I ran the mud with gdb and I got:
Program received signal SIGSEGV, Segmentation fault.
0x080cc994 in oedit_copy (ch=0x40857508, argument=0x0) at olc_act.c:5622
5622 free_string( pObj->name );
(gdb) bt
#0 0x080cc994 in oedit_copy (ch=0x40857508, argument=0x0) at olc_act.c:5622
#1 0x080d46e2 in do_objbuy (ch=0x40857508, argument=0xbfff818c "1286") at
house.c:203
#2 0x0809c62a in interpret (ch=0x40857508, argument=0xbfffd433 "table") at
interp.c:719
#3 0x080755b5 in substitute_alias (d=0x40854eb8, argument=0x408552d5 "objbuy
table") at alias.c:112
#4 0x08078b4a in game_loop_unix (control=8) at comm.c:842
#5 0x08078656 in main (argc=2, argv=0xbffffdb4) at comm.c:448
(gdb)
After I post this I will put a breakpoint in the object buy funtion and see
what I get using my imm. Tell me and I'll post that if you want also. Thank
you sooooo much.
I don't have the slightest clue where to even begin.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com