Jump to content
Returning Members: Password Reset Required ×

Recommended Posts

Posted
For some reason I've change some skills name on MagicType and Companions, I encounter skills exp bug. I'm not sure if I need to replace the name on the source files too or not. literally, all skills won't level up, it stops at a certain exps or it will repeatly increase and decrease. I tried to look into the debug but wouldn't find anything. I might be wrong on the thought, but if anyone know or got an idea of what's wrong or what I did wrong. Please do let me know, Thanks. I may not be clear on what I said, but please do let me know so that I can clarify.
Posted

If I remember correctly, the interact packet sent has the skill ID, so the server should not need the skill name you set in your client.

The decreasing and increasing behaviour of the exp may be because when the server tries to send a packet to the client to update the skill status it does not find a previous record for the skill exp to increase, consequently overwriting the exp you see in the client. This may indeed be a consequence of depending on skill names in the source.

Does your source have a MagicType file to resolve IDs to names (or maybe even hardcoded)?

Posted

If I remember correctly, the interact packet sent has the skill ID, so the server should not need the skill name you set in your client.

The decreasing and increasing behaviour of the exp may be because when the server tries to send a packet to the client to update the skill status it does not find a previous record for the skill exp to increase, consequently overwriting the exp you see in the client. This may indeed be a consequence of depending on skill names in the source.

Does your source have a MagicType file to resolve IDs to names (or maybe even hardcoded)?

Yes I changed both client magictype and server magictype, matched it but then I didn't change anything on source code. So not sure why its bug on the exps.

Posted

Yes I changed both client magictype and server magictype, matched it but then I didn't change anything on source code. So not sure why its bug on the exps.

If the source uses names mainly then the source MagicType skill names must match the database names for the skills. Did you try changing a skill name in the database as a test and check if its exp behaves as expected?

Posted

If the source uses names mainly then the source MagicType skill names must match the database names for the skills. Did you try changing a skill name in the database as a test and check if its exp behaves as expected?

Yes, I did match everything up. I might think its because I touched the numbers on the skill ID.

ex: 4010 23 SummonBat 0 0 0 2 0 0 9005 0 100 60 0 10 0 0 30 40 1 0 0 0 0 0 0 0 0 0 0 0 0 1 903 Upgrade~after~lvl~40 Summon~bat~to~protect~yourself NULL NULL NULL NULL 0 getxp2 sound\Health.wav NULL NULL 0 1 0

and I change it to 4010 23 SummonBat 0 0 0 2 0 0 9005 0 100 60 0 10 0 0 30 100 1 0 0 0 0 0 0 0 0 0 0 0 0 1 903 Upgrade~after~lvl~100 Summon~bat~to~protect~yourself NULL NULL NULL NULL 0 getxp2 sound\Health.wav NULL NULL 0 1 0

Posted
The number you changed is the needed level to learn or upgrade the skill. You increased the needed level for all the skill levels (0 to fixed), right? Right now I have no idea why changing the level would cause this trouble :dead:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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...