This is a problem with overland I just found... Seems to be crashing my mud, though I hadn't used minvoke till now. Appreciate any help you can give me.
The GDB Backtrace:
#0 0x081b4dcd in fix_maps (ch=0x87cadf8, victim=0x40190001) at overland.c:630
630 xSET_BIT( victim->act, ACT_ONMAP );
(gdb) bt
#0 0x081b4dcd in fix_maps (ch=0x87cadf8, victim=0x40190001) at overland.c:630
#1 0x080cadc7 in do_minvoke (ch=0x87cadf8, argument=0xbfb1c6f5 "1200"
at act_wiz.c:3160
#2 0x0816de98 in interpret (ch=0x87cadf8, argument=0xbfb1c6f5 "1200"
at interp.c:548
#3 0x0812193e in game_loop () at comm.c:864
#4 0x081237b1 in main (argc=5, argv=0xbfb1cbe4) at comm.c:533
The piece of code at line 630 overland.c (As you can see, I've been trying some stuff.)
if( IS_NPC( victim ) && xIS_SET( victim->act, ACT_ONMAP) )
xSET_BIT( victim->act, ACT_ONMAP );
/* REMOVE_ACT_FLAG( victim, ACT_ONMAP ); */
else if( !IS_NPC( victim ) && xIS_SET( victim->act, PLR_ONMAP ) )
REMOVE_ACT_FLAG( victim, PLR_ONMAP );
So, my understanding is that this is supposed to check if the victim is being loaded on the map then it needs to ACT/PLR flags as such.
I am getting crashes when loading a mobile into a non-map room.