Originally posted by [b]Saithis[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3466
This is how you can reproduce it:
1. create an instance with player A
2. create an instance with player B
3. destroy the instance of player A
4. create an instance with player A
5. has_instance() will return the same mapname for both of them
tested it with this little script:
CODE
gm_vila,16,48,4 script Tester 81,{
if(select("infos:create") == 1){
mes " "+instance_id(1);
mes " "+has_instance("1@tower");
close;
}
set .@instance_id,instance_create("Endless Tower",getcharid(1),5);
if(.@instance_id < 0){
mes "Error";
close;
}
instance_attachmap(.@instance_id,"1@tower");
instance_init .@instance_id;
mes " "+instance_id(1);
mes " "+has_instance("1@tower");
close;
}
This post has been edited by Saithis: Aug 3 2009, 10:13 AM