![]() |
AUGH Parsing SkillData file failed.. WTF
So I editted my skilldata.txt to fix some skills that weren't working properly...
Vampiric Rage - Levels 1 - 4 Code:
skill_begin skill_name = [s_vampiric_rage1] /* [????] */ skill_id = 1268 level = 1 operate_type = A2 magic_level = 58 effect = {{p_damage_shield;20};{hp_recover;20;1}} is_magic = 1 mp_consume1 = 10 mp_consume2 = 17 cast_range = 400 effective_range = 1100 skill_hit_time = 4 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 12 attribute = attr_none effect_point = -360 target_type = enemy affect_scope = single skill_endCode:
skill_begin skill_name = [s_dance_of_vampire] /* [????] */ skill_id = 310 level = 1 operate_type = A2 magic_level = 46 effect = {{p_damage_shield;50};{hp_recover;50;1}} is_magic = 0 mp_consume2 = 60 cast_range = -1 effective_range = -1 skill_hit_time = 2.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 10 activate_rate = -1 lv_bonus_rate = 0 basic_property = none abnormal_time = 120 abnormal_lv = 1 abnormal_type = song_of_earth attribute = attr_none effect_point = 523 target_type = self affect_scope = party affect_range = 1000 affect_object = friend next_action = none skill_endCode:
skill_begin skill_name = [s_fly] /* [???] */ skill_id = 1084 level = 1 operate_type = T magic_level = 52 effect = {} is_magic = 1 mp_consume1 = 5 mp_consume2 = 10 cast_range = 200 effective_range = 250 skill_hit_time = 3.1 skill_cool_time = 0.2 skill_hit_cancel_time = 0.5 reuse_delay = 10 activate_rate = 90 lv_bonus_rate = 2 basic_property = men abnormal_time = 300 abnormal_lv = 1 abnormal_type = gara attribute = attr_none effect_point = 1 target_type = target affect_scope = single next_action = none skill_endCode:
08/26/2005 17:52:xx.xx6, [Skill.cpp][537] Parsing SkillData file failedCode:
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[2] : Undefined skill(s_lucky)Code:
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = /*sigh* I role back my files to where vampiric rage and dance of the vampire don't work properly and its fine... Sorry to throw a whole bunch of code at you guys I am just not seeing the problem. Too many hours in front of the screen I guess. Help is appreciated |
Can noone give a look and try to guess what the cause is?
|
i would say change it back and edit it one by one
edit one, test it, if it works, next one, if not, try to fix (typing errors? wrong ids?) |
Went back and checked my syntax, seems fine..
ran the default skilldata.txt through the SkillDataChecker and it gave me this.. Quote:
Code:
skill_begin skill_name = [s_summon_blackcat1] /* [?? ? ? ?] */ skill_id = 1111 level = 1 operate_type = A1 magic_level = 20 effect = {{i_summon;[cat_the_cat_a];70}} operate_cond = {{can_summon}} is_magic = 1 mp_consume1 = 8 mp_consume2 = 31 item_consume = {[crystal_d];3} cast_range = -1 effective_range = -1 skill_hit_time = 6 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 21600 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_endQuote:
This is frustrating... my ability to fix anything on the server has been taken out by "syntax errors" |
if you try to "comment the blackcat skills out" ?
/* skill_begin blackcat1 blabla blackkat18 skill_end */ but i dont see any errors in your skilldata heres mine: Quote:
|
Quote:
and your skill data is the same as mine, I dont see any difference there either. Hmm I just had a thought, could it be the editor I am using? I am using TextPad for my editing... |
Did you check to make sure you don't have an extra } or ; or anything at the bottom or top of the skilldata?
And make sure your file is saved as Unicode. Sometimes if you open it and then save it, it sets it as a different default. Just making some suggestions seeing how I don't see anything wrong with your data. I could be just tired though. :P |
I didn't touch any skills at the top or bottom, just vampiric_rage, dance_of_vampire and s_fly. thats it, just edited the effect and the operate_type.
Yes I save as Unicode all the time, hmm I am wondering if I should convert them to ANSI first, edit them, then save them as Unicode, or would that not make a difference? |
Might want to try it. I know that some of the files get lost in translation (no pun intended). There are some characters that do get screwed up when you resave the files no matter which encoding you use.
|
Yeah, I just tried it and ran it through the skilldatachecker, gave me ALOT of [LEXER_ERROR] Invalid char
This is becoming very frustrating. |
the only way is to follow immon2k's advise, i don't see any other way :-(
just begin with original working *.txt and edit step by step, if eror comes on first stap, it means, that your syntax may me right, but smth with txt files' coding :-( |
Indeed, what editors do you guys use? just plain ole notepad or what?
|
Ur problem is {{p_damage_shield;50};{hp_recover;50;1}}
This is skill that can not be parsed. Try with p_hp_regen |
hehe skilldata checker sux :-)
and lexer error = "char" = you have 1 "char" on place where is missing OR is as unwanted bonus ;-D (like {sb_something;1} instead of {[sb_something1];1}you get lexer error [ ..etc I get lexer error = - .. when I have line like --------------- that is not commented ;] |
Quote:
Quote:
Hmm same thing on both accounts... I take the original *.txt, run it through the skilldatachecker, "Parsing Line [1309] Failed" go in, edit it out.. run it through the skil checker.. "Parsing Line [1] Failed"... ok.... reedit it so 100% exactly what it was in the original, run it through skill checker... "Parsing Line [1]" Failed" WTF I think I need a new editor EDIT: Alright, I downloaded EditPlus and I can edit and run the *.txt through skillchecker without getting the Parse Line 1 failed bullshit... |
| All times are GMT. The time now is 22:41. |