emumu 0 Posted August 23, 2013 hi all, i need your help. i am trying to create custom instanced map. firstly, i made sure that my script is coded well. script did well with "1@tower" grf map. i could warp to instanced "1@tower". there is no problem. the code is below: set .@instance, instance_create("custom instance", getcharid(1)); if (.@instance < 0) { mes @name$; mes "miss"; close2; end; } // インスタンスマップ生成 if (instance_attachmap("1@tower", .@instance) == "") { mes @name$; mes "miss@attachmap"; close2; end; } instance_attach(.@instance); instance_set_timeout(3600, 300, .@instance); instance_init(.@instance); next; warp "1@tower", 90, 168; secondly, i installed a new custom map "1@payon_mem" (old payon map) into server & client. and i turned to be able to go to "1@payon_mem" surely. yes, it's time to make a custom instance. i changed above code to something like "1@payon_mem" instead of "1@tower". (2 places, you see) though instance had created successfully, the client claimed an error when i warp to a new custom map! the message is same with one that there is no map data in grf files;( but i surely have the map files in grf. coz i could go there without instancing. does it hit you why the error occurs? Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted August 23, 2013 try warp has_instance( "map" ), x,y; Quote Share this post Link to post Share on other sites
0 emumu 0 Posted August 24, 2013 to Angelmelody. thx for reply! i tried your script, but same error has occured. but i solved this problem. i found that i did a critical mistake.OTL "the length of the instanced map name is less than 7 characters". "and need edit resnametable.txt". need a concentration at reeding wiki. i am so sorry for the noisy post. Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted August 24, 2013 Already done in our wiki . http://herc.ws/wiki/Instancing For emulated instance maps you cannot use maps, whose names are longerthan 7 characters, because the instance map name is composed of 3digits, followed by # and the original map name Quote Share this post Link to post Share on other sites
hi all, i need your help.
i am trying to create custom instanced map.
firstly, i made sure that my script is coded well.
script did well with "1@tower" grf map.
i could warp to instanced "1@tower". there is no problem.
the code is below:
secondly, i installed a new custom map "1@payon_mem" (old payon map) into server & client.
and i turned to be able to go to "1@payon_mem" surely.
yes, it's time to make a custom instance.
i changed above code to something like "1@payon_mem" instead of "1@tower". (2 places, you see)
though instance had created successfully,
the client claimed an error when i warp to a new custom map!
the message is same with one that there is no map data in grf files;(
but i surely have the map files in grf.
coz i could go there without instancing.
does it hit you why the error occurs?
Share this post
Link to post
Share on other sites