More than one mastery crash

02/23/2021 12:50 *Deadly#1
I've been on this field for quite long time, I'm not very expert but I know how to do shit, I've been trying to add a new mastery but client crashes whenever I try, I could add the first mastery no issues, i did that on like 6 servers without a single crash but when i try to add the 2nd, it crashes no matter what i do, what i change, i tried keeping the length by deleting shit of nosense like chinese letters and comments inside the skillmasterydata.txt but it didn't, i tried not to touch it. my skillgroup.txt and skillmasterydata.txt are on the attachments, hopefully someone can give me a hint or an answer

[Only registered and activated users can see links. Click Here To Register...]
02/23/2021 19:14 Devsome#2
#moved
03/04/2021 16:03 *Deadly#3
bump :kappa:
03/04/2021 16:48 Isoline*#4
Quote:
Originally Posted by *Deadly View Post
I've been on this field for quite long time, I'm not very expert but I know how to do shit, I've been trying to add a new mastery but client crashes whenever I try, I could add the first mastery no issues, i did that on like 6 servers without a single crash but when i try to add the 2nd, it crashes no matter what i do, what i change, i tried keeping the length by deleting shit of nosense like chinese letters and comments inside the skillmasterydata.txt but it didn't, i tried not to touch it. my skillgroup.txt and skillmasterydata.txt are on the attachments, hopefully someone can give me a hint or an answer

[Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by *Deadly View Post
bump :kappa:
Hello,
Can you add the Mastery or skills to an existing character on _CharSkillMastery and _CharSkill tables
manually ?
03/04/2021 17:10 *Deadly#5
Quote:
Originally Posted by Isoline* View Post
Hello,
Can you add the Mastery or skills to an existing character on _CharSkillMastery and _CharSkill tables
manually ?
i can always add the 1st mastery as shown on the screenshot and it won't do any kind of crashes but when i try to add the 2nd, here comes a permanent client crash no matter what
03/04/2021 17:23 Isoline*#6
Quote:
Originally Posted by *Deadly View Post
i can always add the 1st mastery as shown on the screenshot and it won't do any kind of crashes but when i try to add the 2nd, here comes a permanent client crash no matter what
If you added the Mastery the right way and it works on manually on a character the only thing left is this:

You need to let the server know that this mastery exist for a certain race.
Take a look on the store procedure _AddNewChar @ ShardDB:
[Only registered and activated users can see links. Click Here To Register...]

The stored procedure tells us that it gets the default available masteries for a character given it's race from a table that acts as a pool.

I can only assume the the server files (GS or Shard it's most like the SM since its responsible for Character Creation logic) loads this table on its first initialization process.

The server has no knowledge of this and the client won't expect it, hence the crash.
I'm not sure if there is an equivalent .txt file in the Media.pk2 for this table, there shouldn't be, but I'd use my DB2Media tool just for good measure.

So, all you need to do is add the your newly created mastery to this table:
_RefCharDefault_SkillMastery @ ShardDB

Let us know if it works
Regards,
Iso
03/04/2021 17:41 *Deadly#7
I'm sorry but this is not my case here, my issue here is that the client crashes upon adding a new line on skillmasterydata.txt which absolutely has nothing to do db side and for the procedure you mentioned, i'm not trying to add it to all players, its just like that GM one which i manually add to gm characters
03/04/2021 17:48 Isoline*#8
Quote:
Originally Posted by *Deadly View Post
I'm sorry but this is not my case here, my issue here is that the client crashes upon adding a new line on skillmasterydata.txt which absolutely has nothing to do db side and for the procedure you mentioned, i'm not trying to add it to all players, its just like that GM one which i manually add to gm characters
There should still be a mention of any mastery on that table.
If you think this is a Media issue, Use my DB2Media it covers all important table-.txt file relations.

If you think that this is a specific file, Upload it here. There could be a formatting issue.
03/04/2021 18:49 *Deadly#9
it does not include skillmasterydata.txt and can not do cause its has nothing that link to db tables except for skills that linked to the masteryid
12/06/2023 18:49 kotsh23#10
Quote:
Originally Posted by *Deadly View Post
it does not include skillmasterydata.txt and can not do cause its has nothing that link to db tables except for skills that linked to the masteryid
Hello <3
I have same issue did you find any fix ?
07/19/2024 02:01 ezio44#11
I have same issue did you find any fix ?
09/05/2025 23:13 pokemon__100#12
hello,I have same issue did you find any fix ?
10/16/2025 03:44 McQueen.95#13
same
10/28/2025 13:34 HerosJourney#14
idk bro, im have GM mastery and new emoji mastery and work good, maybe you have bug in text or maybe bug because cap 120+