Jump to content
  • 0
Sign in to follow this  
karazu

What to update about this problem?

Question

Hello I have a Problem with some usable items, I think its because of the new settings in commands.
Related Topic:
http://herc.ws/board/topic/2776-pc-skill-error/
http://herc.ws/board/topic/2779-fly-wing-and-butterfly-wing-issue/

in my item_db.txt all the items like fly wing has this script:

 

601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ itemskill AL_TELEPORT,1; },{},{} 

and I cannot use them in game.

while if I will use the old script like this:
 

 

{ itemskill "AL_TELEPORT",1; },{},{} 

its working fine.

so If I will use the new item_db.txt what should I update to if I want to make them work?

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

The problem is that your  Hercules server is not updated.

 

your Item DB use the NEW Format for itemskills , but your server want the old format.

 

 

just update your server to latest rev and compile him and all should work fine

 

 

here you can see what files have changed in the commit

 

https://github.com/HerculesWS/Hercules/commit/e3d71d9455de45d5a9417dbebd74aa49a0e7ae6a

Share this post


Link to post
Share on other sites
  • 0

 

is it ok that I will just update my skill.c?

 

or add this manually?

 

 

script->set_constant2(skill->db[idx].name,(int)skill_id,0); 

 

you can try it ,  but i allways would update the whole server .

Share this post


Link to post
Share on other sites
  • 0

 

 

is it ok that I will just update my skill.c?

 

or add this manually?

 

 

script->set_constant2(skill->db[idx].name,(int)skill_id,0); 

 

you can try it ,  but i allways would update the whole server .

Thank you! now FIX hehehe

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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