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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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