Issue information

Issue ID
#4004
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jan 11, 2010 0:25
Last Post
Hercules Elf Bot
Aug 3, 2012 3:52
Confirmation
N/A

Hercules Elf Bot - Jan 11, 2010 0:25

Originally posted by [b]akd[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4004

<tested with higher rev but the bug is on every version supporting instance system I suppose>
Client is 2009-12-23b RagexeRe


Seing after further research I still have the bug, here is a bug report, as complete as I can make it.

I tried to create home made instance based on maps differents than the ones used for memorial dungeons and so on.

It seems the client is interpreting a specific way the sending of official instance maps and other maps.

Here is the bunch of code using to create instance (server side scripting):
CODE
    set .@instance_id, instance_create("Third_Class",getcharid(1));
        if(.@instance_id < 0){
            mes "Impossible de créer l'instance.";
            mes "^FF0000Le nombre d'instances simultanées est trop élevé.^000000";
            mes "Merci d'en informer les GMs.";
            close;
        }
        instance_attachmap("prt_dugn00",.@instance_id);
        instance_attachmap("prt_dugn01",.@instance_id);
        instance_attachmap("moc_dugn01",.@instance_id);
        instance_attachmap("moc_dugn02",.@instance_id);
        instance_attachmap("prt_intr02",.@instance_id);
        instance_set_timeout 3600,300,.@instance_id;
        instance_init .@instance_id;
        instance_attach .@instance_id;
        set 'ThirdC_Floor,0;
        set 'ThirdC_Leader,getcharid(0);
        set 'instance_id, .@instance_id;
        donpcevent instance_npcname("thirdManager")+"::OnInstanceInit";
        warp has_instance("prt_dugn00"),147,138;


In the current case, the client ask for 001prt_dugn.rsw (instead of prt_dugn00)
With 1@Third (same map, renamed with "instances syntax"), it asks for [email protected]
And if I replace by 1@tower (know instancied map client side), it finds the map.

I think we need some tweaking server side to differenciate standard instances and home made ones and change the way the information is send to client.
(I hope several people are interrested to make instances, this bug is cutting my wish to make a bunch of them (IMG:style_emoticons/default/laughinghard.gif) )

This post has been edited by akd: Jan 10 2010, 04:33 PM

Hercules Elf Bot - Aug 2, 2012 19:46

Originally posted by [b]Vianna[/b]
I think this was already fixed.

Setting the third parameter of instance_attachmap to 1 makes the server send the original map name rather than the "XXXmapname" thing.

Hercules Elf Bot - Aug 3, 2012 3:52

Originally posted by [b]Ind[/b]
indeed. thank you vianna