Re: [newbie] installing dg-scripts & deleting zones

From: Gennady Gurov (gurov@FRII.COM)
Date: 07/26/98


> .....
> .....
> Jul 27 10:37:12 :: Booting mail system.
> Jul 27 10:37:12 ::    0 bytes read.
> Jul 27 10:37:12 ::    Mail file read -- 0 messages.
> Jul 27 10:37:12 :: Reading banned site and invalid-name list.
> Jul 27 10:37:12 :: Ban file 'etc/badsites' doesn't exist.
> Jul 27 10:37:12 :: Booting houses.
> Jul 27 10:37:12 :: Resetting Limbo - Internal (rooms 0-99).
>
> this was the end of it..
> it also created core..
> i tried to use gdb eventhough have no idea what it does..
>
> Core was generated by `bin/circle -q 6301'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libc.so.5.3.12...done.
> Reading symbols from /lib/ld-linux.so.1...done.
> #0  0x80a0dd3 in reset_wtrigger (room=0x80da5d0) at dg_triggers.c:691
> 691       if (!SCRIPT_CHECK(room, WTRIG_RESET))
> (gdb) list
> 686
> 687     void reset_wtrigger(struct room_data *room)
> 688     {
> 689       trig_data *t;
> 690
> 691       if (!SCRIPT_CHECK(room, WTRIG_RESET))
> 692         return;
> 693
> 694       for (t = TRIGGERS(SCRIPT(room)); t; t = t->next) {
> 695         if (TRIGGER_CHECK(t, WTRIG_RESET) &&
> (gdb)
>
> this is what i got..
>
> so what i'm thinking is that after patching dg-scripts, i cannot delete zones, otherwise mud would not run..
> am i right? if i am how do i fix this problem?
> if i'm wrong, can someone figure out the problem?
>
> thank you
>
> sorry for the grammar errors..
I had the same problem, i semi corrected it with a function that checks if
any variables in world_data *room are out of range, so far it hasn't
crashed, i can post the function if any of you want.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST