Bugged Masteries

03/22/2014 21:51 joel2309#1
Hello guys. I am helping a friend with our own a3 server and we ran into a few problems. Some skill masteries do not give damage.

Example: martial arts mastery supposedly gives 30% dmg and 20% defence, so in the skillfile its DAMAGE_PHYSICAL_MUL 30 and DEFENSE_MUL 20. However it only reads the defense portion and somehow doesnt read the DAMAGE_PHYSICAL_MUL 30, so leveling the skill only gives defense.

For half bagis, katar mastery gives flat 40% damage in the form of DAMAGE_PHYSICAL_MUL 40, but since it does not read damage portions, leveling the skill grants no bonuses at all. I have tried swapping ice and lightning res from Fury mastery with the damage portion, but it only seems to read that line if it has its original option (like ice or light res) and does not read the damage portion again.

The last time I checked, the server reads ..\Share\Skill\Halfbagi\B2_2_2_katarMastery.csv. Therefore I am unable to see what's the problem. Any help will be greatly appreciated :)
03/22/2014 22:17 joshyb123#2
Martial Arts Mastery: Make sure the Max option is set to two and the option index's go 0 then 1. If they are, make sure both the csv on the server-side and the client-side show it. May just be a "visual bug" on the client.

As for Katar/Fury mastery I'm not sure why they are not reading. Make sure it is set out correctly and if you have to, make them a buff and give it your own status.
03/22/2014 22:49 joel2309#3
Yes they are, I made sure of it after you mentioned it. But it still does not read certain portions of the skill which is weird :/ Both the csv on the server-side and client-side match as well.

Martial Arts mastery goes like this:

MaxOption
0
-
-
-
-
-
2

where 2 is the max option and the indexes are 0 and 1.
03/23/2014 05:54 .Genome.#4
1,1,4,2,0,DAMAGE_PHYSICAL_MUL,X,0,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,1,DEFENSE_MUL,X,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
2,1,16,2,0,DAMAGE_PHYSICAL_MUL,X,0,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,1,DEFENSE_MUL,X,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,
-,-,-,-,-,-,-,-,-,-,-,0,0,0,0,0,0,0,0,,


That's just a raw copy/paste cause im too tired right now to format it and explain everything but the concept is there, you see the option index 0 and 1 and the way the raw format is. Take it from there to fix your file.

Note that the order of the status effects doesnt matter, meaning it could be done with defense first or defense second, or attack first / second.

Also note that the X represents your value.




@ HB file, if it IS correctly formatted then make sure the effects are actually valid effects that the server can read.
03/23/2014 13:33 joel2309#5
Thanks. I've made sure my files were exactly what you said but it still refuses to read the damage portion, only the defense portion. HB fury mastery reads everything like it should properly but katar mastery refuses to read the damage column again, so I changed one of the resistance columns to damage columns in fury mastery. It seems to only want to read the resistance column and still does not give damage which is very weird. As for the validity of the effects, I took DAMAGE_PHYSICAL_MUL from twinmastery, which is a fully working mastery.
03/23/2014 18:08 kurmiz#6
If skill csv is correct, make sure you do not have two same options (DAMAGE_PHYSICAL_MUL) set as mastery on other bagi masteries.
Option can be used only 1 time for character as mastery (atleast it was when i was playing)
03/23/2014 21:18 joel2309#7
Quote:
Originally Posted by kurmiz View Post
If skill csv is correct, make sure you do not have two same options (DAMAGE_PHYSICAL_MUL) set as mastery on other bagi masteries.
Option can be used only 1 time for character as mastery (atleast it was when i was playing)
Yes I did make sure that. For example bagi has 2 masteries, spirit mastery and martial arts mastery. Dmg from martial arts mastery did not work, so I made it 0 and changed the crit rate from spirit mastery to dmg and it worked. This fixes the problem temporarily and I can afford to sacrifice 4% crit rate anyway.

The main problem I have right now is with HB. Her katar mastery refuses to give me any dmg, and when I use the damage line in fury mastery (swapping the magic resistance out) it also refuses to give me dmg, but it will read the magic resistance. I also tested to see if its a visual bug but apparently it isnt. I crit 5k barehanded and then about 5030 with level 1 claws.
03/23/2014 23:06 .Genome.#8
Well, @ bagi ghetto fix, you could always add a second/third effect to the mastery so that you don't have to get rid of the crit rate.

In both cases do you mind posting the skill file? It might be easier for people to see whats wrong if they can look at the file o.o
03/24/2014 00:31 joel2309#9
Katar Mastery:

LevelIndex SPCostLevelUp PCLevel MaxOption OptionIndex OptionCode OptionValue MaxRequire ReqIndex Index Level
0 - - 0 - - - 0 - - -
- - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - -
1 0 16 1 0 DAMAGE_PHYSICAL_MUL 3 1 0 2081 1


Martial Arts Mastery:

LevelIndex SPCostLevelUp PCLevel MaxOption OptionIndex OptionCode OptionValue MaxRequire ReqIndex Index Level
0 - - 0 - - - 0 - - -
- - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - -
1 1 4 2 0 DAMAGE_PHYSICAL_MUL 3 0 - - -
- - - - 1 DEFENSE_MUL 1 - - - -