Jump to content
  • 0

Please help me while making a new skill





Now I am creating a skill by following the Adding new skills guide at this address.

All staps were followed, and the skill was created in the game.



However, when I try to use it, the warning indicator appears in map-server.bat and it is not used.




Also, when running run-server.bat, this error appears in map-server.bat.

I think I need to adjust the max skill db, but how can I fix this error?

Please help me ㅠㅠ


Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

the documentation has not been updated yet but you must define the constant CUSTOM_SKILL_RANGES at compile time, with the syntax being:

{from, to},
{from, to},

In your case since you are only adding one skill you would define it as:

{8443, 8443},


this means you would pass a -D compiler option like this:



...which will insert it in skill_idx_ranges[]

Share this post

Link to post
Share on other sites
  • 0


Thanks for the advice.



I have skill.h's skill_idx_ranges[] format a little different from your link.

I put mg_EARTBOLT like the image.

The error message disappeared,

but I still tried to shoot the skill in the game, but the skill point is not used.

Share this post

Link to post
Share on other sites
  • 0
Posted (edited)

How do you define CUSTOM_SKILL_RANGES? Can't work it out. No documentation available still.


Whenever I make changes to skill_idx_ranges[] it causes everything from { GD_APPROVAL, GD_DEVELOPMENT }, to break.


Edit: It seems that the skill id must be listed in order. I was using skill id below 10000, but listed after. This means all custom skill must be of more than GD_DEVELOPMENT, otherwise CUSTOM_SKILL_RANGES will cause issues.

Edited by bWolfie

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.

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.


  • Create New...

Important Information

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