Jump to content
  • 0

Question

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

3 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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 by Trojal

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.