Leecher 1 Posted April 20, 2014 Hi, I am wondering why sometimes fly wing brings you off-map. Is that a bug? I use the GM @jump instead for the item script. But I am not sure if this gonna fix the issue. Thanks! Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted April 21, 2014 Maybe it warps you in the warp portal..... Quote Share this post Link to post Share on other sites
0 Jguy 215 Posted April 21, 2014 Yes, as far as I can remember, using a fly wing ports you to any available map space as defined by the grid layout. One of those possible map spaces is within the SOI of a portal, therefore bringing you over to the map that the portal would send you to. Quote Share this post Link to post Share on other sites
0 Trojal 37 Posted June 25, 2015 (edited) Years ago I used to use something like this in pc_setpos, but I don't know if it still works. The function of the code is supposed to be "when positioning a pc at a random map location, don't land on top of an NPC warp" - } while(map_getcell(m,x,y,CELL_CHKNOPASS));+ } while((map_getcell(m,x,y,CELL_CHKNOPASS) || npc_check_areanpc(1,m,x,y,1))); There's also a closed pull request addressing this issue in more detail: https://github.com/HerculesWS/Hercules/pull/266 Edited June 25, 2015 by Trojal Quote Share this post Link to post Share on other sites
Hi,
I am wondering why sometimes fly wing brings you off-map. Is that a bug? I use the GM @jump instead for the item script. But I am not sure if this gonna fix the issue.
Thanks!
Share this post
Link to post
Share on other sites