Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 26.08.2005, 22:57   #1
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default 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_end
skill_begin	skill_name = [s_vampiric_rage2]	/* [??? ??] */	skill_id = 1268	level = 2	operate_type = A2	magic_level = 60	effect = {{p_damage_shield;30};{hp_recover;30;1}}	is_magic = 1	mp_consume1 = 20	mp_consume2 = 19	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_end
skill_begin	skill_name = [s_vampiric_rage3]	/* [??? ??] */	skill_id = 1268	level = 3	operate_type = A2	magic_level = 62	effect = {{p_damage_shield;40};{hp_recover;40;1}}	is_magic = 1	mp_consume1 = 25	mp_consume2 = 29	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_end
skill_begin   	skill_name = [s_vampiric_rage4] /* [???? ??]*/  skill_id = 1268	level = 4   	operate_type = A2   	magic_level = 64   	effect = {{p_damage_shield;50};{hp_recover;50;1}}   is_magic = 1   mp_consume1 = 30   mp_consume2 = 37   cast_range = 400   effective_range = 600   skill_hit_time = 1   skill_cool_time = 0   skill_hit_cancel_time = 0.5   reuse_delay = 6      activate_rate = -1   lv_bonus_rate = 0   basic_property = none   abnormal_time = 1200   abnormal_lv = 4   abnormal_type = dmg_shield   attribute = attr_none   effect_point = 532   target_type = target   affect_scope = single   next_action = none   skill_end
After that I edited Dance of the Vampire
Code:
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_end
and finally because I was screwing around because my friend wants the s_fly ability..
Code:
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_end
After editting all these and restarting my server I get this for the Skilldala.txt
Code:
08/26/2005 17:52:xx.xx6, [Skill.cpp][537] Parsing SkillData file failed
08/26/2005 17:52:xx.xx0, [Skill.cpp][472] Unregistered skill (s_sword_focus)
08/26/2005 17:52:xx.xx0, [Skill.cpp][472] Unregistered skill (s_critical_damage)
08/26/2005 17:52:xx.xx0, [Skill.cpp][472] Unregistered skill (s_sword_focus)
08/26/2005 17:52:xx.xx0, [Skill.cpp][472] Unregistered skill (s_critical_damage)
08/26/2005 17:52:xx.xx0, [Skill.cpp][472] Unregistered skill (s_sword_guidence)
08/26/2005 17:52:xx.xx0, [Skill.cpp][472] Unregistered skill (s_sword_focus)

ETC

08/26/2005 17:52:xx.xx6, [Skill.cpp][472] Unregistered skill (s_soul_shot)
08/26/2005 17:52:xx.xx6, [Skill.cpp][472] Unregistered skill (s_soul_shot)
08/26/2005 17:52:xx.xx6, [Skill.cpp][472] Unregistered skill (s_scroll_of_escape_to_agit)
08/26/2005 17:52:xx.xx6, [Skill.cpp][472] Unregistered skill (s_scroll_of_escape_to_castle)
08/26/2005 17:52:xx.xx3, [Skill.cpp][472] Unregistered skill (s_food_for_wyvern)
08/26/2005 17:52:xx.xx3, [Skill.cpp][472] Unregistered skill (s_increase_mp)
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_lucky)
The skills continue then I get these errors for skillaquire.txt
Code:
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[2] : Undefined skill(s_lucky)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_weight_limit1)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[3] : Undefined skill(s_weight_limit1)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_weight_limit2)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[4] : Undefined skill(s_weight_limit2)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_expertise_d)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[5] : Undefined skill(s_expertise_d)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_expertise_c)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[6] : Undefined skill(s_expertise_c)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_expertise_b)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[7] : Undefined skill(s_expertise_b)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_expertise_a)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[8] : Undefined skill(s_expertise_a)
08/26/2005 17:52:xx.xx9, invalid skill
08/26/2005 17:52:xx.xx9, [Skill.cpp][472] Unregistered skill (s_expertise_s)
08/26/2005 17:52:xx.xx9, SkillAcquire.txt[9] : Undefined skill(s_expertise_s)
then I get 08/26/2005 17:56:xx.xx1, AreaData.txt[3] : Undefined skill(s_area_a_speed_down) followed by
Code:
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = /
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
08/26/2005 17:56:xx.xx9, [LEXER_ERROR] Invalid char = -
and then 08/26/2005 17:56:xx.xx5, [Setting.cpp][52] Parsing Setting file failed

*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
Robzilla is offline  
Old 27.08.2005, 10:55   #2
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

Can noone give a look and try to guess what the cause is?
Robzilla is offline  
Old 27.08.2005, 11:10   #3
immo2k
Архивный участник
 
Join Date: Aug 2005
Posts: 7
Default

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?)
immo2k is offline  
Old 27.08.2005, 12:21   #4
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

Went back and checked my syntax, seems fine..

ran the default skilldata.txt through the SkillDataChecker and it gave me this..

Quote:
Originally Posted by SkillDataChecker
skilldatachecker
syntax error
parsing line[1297] failed.
--- Skill Data checking finished ---
I checked line 1297 which is
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_end
I fine it funny when I edited vampiric rage and ran it through the skilldatacheck it gave me

Quote:
Originally Posted by SkillDataChecker
skilldatachecker
syntax error
parsing line[1] failed.
--- Skill Data checking finished ---
and yet s_vampiric_rage is not line 1... not even close... if I try to edit anything it gives me that, when I run L2Server it gives me that shitload of errors, and makes ALL of the skills not work and dissapear from the skil list active and passive.

This is frustrating...

my ability to fix anything on the server has been taken out by "syntax errors"
Robzilla is offline  
Old 27.08.2005, 12:35   #5
immo2k
Архивный участник
 
Join Date: Aug 2005
Posts: 7
Default

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:
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_end
immo2k is offline  
Old 27.08.2005, 12:45   #6
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

Quote:
Originally Posted by immo2k
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:
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_end
After commenting black cat our it gives me the "parsing line[1] failed" bit..

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...
Robzilla is offline  
Old 27.08.2005, 16:22   #7
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

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
flakka is offline  
Old 27.08.2005, 16:42   #8
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

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?
Robzilla is offline  
Old 27.08.2005, 16:49   #9
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

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.
flakka is offline  
Old 27.08.2005, 17:36   #10
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

Yeah, I just tried it and ran it through the skilldatachecker, gave me ALOT of [LEXER_ERROR] Invalid char

This is becoming very frustrating.
Robzilla is offline  
Old 27.08.2005, 22:46   #11
Professor F
Архивный участник
 
Join Date: Jul 2005
Posts: 136
Default

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 :-(
Professor F is offline  
Old 27.08.2005, 23:47   #12
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

Indeed, what editors do you guys use? just plain ole notepad or what?
Robzilla is offline  
Old 28.08.2005, 00:33   #13
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

Ur problem is {{p_damage_shield;50};{hp_recover;50;1}}
This is skill that can not be parsed. Try with p_hp_regen
BiGBoY is offline  
Old 28.08.2005, 08:31   #14
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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 ;]
rodier is offline  
Old 28.08.2005, 11:17   #15
Robzilla
Архивный участник
 
Join Date: Aug 2005
Posts: 18
Default

Quote:
Originally Posted by BiGBoY
Ur problem is {{p_damage_shield;50};{hp_recover;50;1}}
This is skill that can not be parsed. Try with p_hp_regen
I'll give it a try

Quote:
Originally Posted by rodier
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 ;]
Yeah I gathered that, always good to know as a solid fact though.

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...
Robzilla is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:44.