Issue information

Issue ID
#3466
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 3, 2009 17:13
Last Post
Hercules Elf Bot
Apr 5, 2012 10:22
Confirmation
N/A

Hercules Elf Bot - Aug 3, 2009 17:13

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

Hercules Elf Bot - Dec 20, 2011 5:29

Originally posted by [b]Ind[/b]
was fixed in a previous eA revision