ldmud-3.2.9/doc/
ldmud-3.2.9/doc/efun/
ldmud-3.2.9/mud/
ldmud-3.2.9/mud/heaven7/
ldmud-3.2.9/mud/heaven7/lib/
ldmud-3.2.9/mud/lp-245/
ldmud-3.2.9/mud/lp-245/banish/
ldmud-3.2.9/mud/lp-245/doc/
ldmud-3.2.9/mud/lp-245/doc/examples/
ldmud-3.2.9/mud/lp-245/doc/sefun/
ldmud-3.2.9/mud/lp-245/log/
ldmud-3.2.9/mud/lp-245/obj/Go/
ldmud-3.2.9/mud/lp-245/players/lars/
ldmud-3.2.9/mud/lp-245/room/death/
ldmud-3.2.9/mud/lp-245/room/maze1/
ldmud-3.2.9/mud/lp-245/room/sub/
ldmud-3.2.9/mud/lp-245/secure/
ldmud-3.2.9/mud/morgengrauen/
ldmud-3.2.9/mud/morgengrauen/lib/
ldmud-3.2.9/mud/sticklib/
ldmud-3.2.9/mud/sticklib/src/
ldmud-3.2.9/mudlib/uni-crasher/
ldmud-3.2.9/pkg/
ldmud-3.2.9/pkg/debugger/
ldmud-3.2.9/pkg/diff/
ldmud-3.2.9/pkg/misc/
ldmud-3.2.9/src/autoconf/
ldmud-3.2.9/src/bugs/
ldmud-3.2.9/src/bugs/MudCompress/
ldmud-3.2.9/src/bugs/b-020916-files/
ldmud-3.2.9/src/bugs/doomdark/
ldmud-3.2.9/src/bugs/ferrycode/ferry/
ldmud-3.2.9/src/bugs/ferrycode/obj/
ldmud-3.2.9/src/bugs/psql/
ldmud-3.2.9/src/done/
ldmud-3.2.9/src/done/order_alist/
ldmud-3.2.9/src/done/order_alist/obj/
ldmud-3.2.9/src/done/order_alist/room/
ldmud-3.2.9/src/gcc/
ldmud-3.2.9/src/gcc/2.7.0/
ldmud-3.2.9/src/gcc/2.7.1/
ldmud-3.2.9/src/hosts/
ldmud-3.2.9/src/hosts/GnuWin32/
ldmud-3.2.9/src/hosts/amiga/NetIncl/
ldmud-3.2.9/src/hosts/amiga/NetIncl/netinet/
ldmud-3.2.9/src/hosts/amiga/NetIncl/sys/
ldmud-3.2.9/src/hosts/i386/
ldmud-3.2.9/src/hosts/msdos/byacc/
ldmud-3.2.9/src/hosts/msdos/doc/
ldmud-3.2.9/src/hosts/os2/
ldmud-3.2.9/src/hosts/win32/
ldmud-3.2.9/src/util/
ldmud-3.2.9/src/util/erq/
ldmud-3.2.9/src/util/indent/hosts/next/
ldmud-3.2.9/src/util/xerq/
ldmud-3.2.9/src/util/xerq/lpc/
ldmud-3.2.9/src/util/xerq/lpc/www/
Short: Player leaving game vs. call_out()
From: Tmm <tmm@gmx.de>
Date: Tue, 12 Jan 1999 11:04:30 +0100 (MET)
Type: Bug
State: Fixed

> a player enters a room which is loaded thereby.  upon loading, the room
> populates itself with a monster.  this monster starts a call_out() in its
> reset/create/configure/whatever.  before the monster starts this
> call_out, it is made a living by calling the efun enable_commands().  by
> this call it will become this_player for the rest of this call.
>
> so maybe your problem does not come from the new driver at all.  if you
> could provide a minimal example (which should of course not depend on
> your mudlib) which demonstrates the bug you encountered, i would gladly
> try again to reproduce it.

try the following, provided from parsec@uni.mud.de:

void create()
{
    enable_commands() ;   / <- Without this it works!
}


int test()
{
    raum = environment( this_player()) ;

    tell_room( raum, sprintf( "Test: TP n", this_player())) ;
    call_out( "testco", 3) ;
    return 1 ;
}


void testco()
{
    tell_room( raum, sprintf( "Test-CO: TP n", this_player())) ;
}

Clone the object in the room and call test() with a testplayer, then log
him out. The first tell_room will show you, that TP ist correctly set an
the second will show you, that it points to the Testobject, which
shouldn't. As you will see, the 'enable_commands()' causes the problem. We
use enable_commands in all our monsters and players, so we cannot just
leave 'enable_commands' out :)

I hope, you can reproduce this problem.

Greets,
         Tmm@uni.mud.de