Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.07.2005, 21:11   #1
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default [TOOL] Skilldata.txt Parser (soon with you)

Well the story goes like this:
Since there is not a single decent skilldata "set" out there that works properly I decided to make my own tool to make my life easier...
Since there are only a few days that I started writting this tool the features are still limited and in need of debugging :P
First of all is written in java.
The current features are:
- Parsing the skilldata.txt (pch & pch2 not needed).
- Reformats the file contents in a way that most syntax errors can be detected and NO STUPID exception errors when loading the file. (like other programs, "onomata den leme" <- that's greek :P).
- Checks for the following syntax errors: spaces in variables, spaces in values, if { & } brackets count are equal in a line, skill_end existence, comment /* and */ existence and checks for unknown variables (or misspelled ones).
- Parses the text and loads it to a table for ease of viewing (sorting and editing is available but still buggy) (also if it finds a duplicate variable definition, it takes the first one and ignores the rest)
After all that and after you have fixed the syntax errors that may occur you can reload the file and save CORRECTLY GENERATED skill_pch.txt and skill_pch2.txt based on skilldata.txt file and thanks to this post: https://postpacific.loc-online.com/f...opic.php?t=208

Future thinks to implement:
- More specific syntax and error checking, for instance effect values, operate_cond values. Check also if variables like operate_type, abnormal_effect etc use correct values
- Filtering of skills and search
- Easy addition of new skills.

I include only a screenshot cause its not ready to be released yet, i have to fix some things first :P

I would like you to make suggestions about anything you would like to include as a feature.

Thank you
MoSs is offline  
Old 23.07.2005, 21:28   #2
M-@-t-R-i-X
Архивный участник
 
Join Date: May 2005
Posts: 30
Default

Nice one

Well maybe if adding a new skill it would be possible to write down an option with all possible effects ?
M-@-t-R-i-X is offline  
Old 23.07.2005, 21:37   #3
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default

well if you can give me or find for me a complete list (you have to be sure that it is complete) of effects i can add them
also this would be usefull for error checking the effect variable for misspelled/unknown effect types
actually same goes for operate_cond too
MoSs is offline  
Old 23.07.2005, 22:07   #4
M-@-t-R-i-X
Архивный участник
 
Join Date: May 2005
Posts: 30
Default

digital posted the info

https://postpacific.loc-online.com/f...opic.php?t=208

i think this is complete list
M-@-t-R-i-X is offline  
Old 23.07.2005, 22:46   #5
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default

omg you're right, i feel so stupid :S i did not notice that part
the chinese give me headacke....
MoSs is offline  
 


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 20:05.