Jump to content
  • 0

Adding custom mapflag TUTORIAL


Keitenai

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   74
  • Joined:  12/04/14
  • Last Seen:  

Hello!

So instead of requesting for src mod, i'd like to request anyone who already have done adding a custom mapflag and have time to share their complete tutorial on how to add custom mapflag in clear steps.

 

Thanks!

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

no is out dated, for now mapflag has been simplified (click here for more info), if you want the same thing with the guide tutorial, now you can do it by following this

add in src/map/map.hpp

MF_YOUR_MAPFLAG,

before

MF_MAX

add in src/map/script_constant.hpp

export_constant(MF_YOUR_MAPFLAG);

after

export_constant(MF_SKILL_DURATION);


 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   7
  • Joined:  07/17/18
  • Last Seen:  

There's a tutorial on the wiki page:

https://github.com/rathena/rathena/wiki/Adding_new_mapflag

  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   74
  • Joined:  12/04/14
  • Last Seen:  

On 3/5/2019 at 1:01 AM, Tomahawk said:

There's a tutorial on the wiki page:

https://github.com/rathena/rathena/wiki/Adding_new_mapflag

LOL silly me!

Thanks!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  90
  • Reputation:   34
  • Joined:  10/01/18
  • Last Seen:  


Use the search engine.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  03/05/19
  • Last Seen:  

Is the wiki tutorial up to date? Because I followed the guide but many lines I couldn’t find as the guide points me to

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...