Failed to learn the skill

Results 1 to 2 of 2
  1. #1
    Member fido67 is offline
    MemberRank
    Sep 2014 Join Date
    FranceLocation
    80Posts

    Failed to learn the skill

    Hello I 've made a new production recipe. So I add it in produce.shn.When I went in game , i couldnt craft my item because I havent got learn my recipe. So search in activeSkill.Shn and I copy the elrue recipe and modify things with my requirements. So I modified ActiveSkill.shn and ActiveSkillInfoServer.shn to add my new spell.

    But when i go in game and i want to learn my spell to have my reciepe unlocked , it write to me : failed to learn spell.

    What did I wrong ?

    thanks you for reading :)
    Last edited by fido67; 29-06-22 at 12:20 PM.


  2. #2
    Member fido67 is offline
    MemberRank
    Sep 2014 Join Date
    FranceLocation
    80Posts

    Re: Failed to learn the skill

    Fix : I made a dream during night and a problem was here : how are skills keep in memory ? In databases of course. So I open it and search a table with tSkill and I see all skill that are learned by chars. I never saw my spell ID so I modify like a barbarian a skill from a char by puting my spell ID to test it annddd Surprise ! Too large or smaller for Uint16. So I reduced my id of my spells :) Now a new problem appear , the craft item crash the client and whipe inventory !



Advertisement