Originally posted by [b]Saithis[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3522
this check at instance_init prevents instances to get reinitialized:
CODE
if( instance[instance_id].state != INSTANCE_IDLE )
{
ShowError("instance_init: instance already initialited.\n");
return;
}
so the state must be set to INSTANCE_IDLE before calling the function at npc.c(3262):
CODE
for( i = 0; i < ARRAYLENGTH(instance); ++i )
if( instance[i].instance_id ) {
instance[i].state = INSTANCE_IDLE;
instance_init(instance[i].instance_id);
}