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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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