* Script Checker and Fixer Modules *
New- Ai.obj Fixer: Check of a file on correct values in func_call, fetch_i, push_event and correction. Support log.
New- Ai.obj Handler Line checker: Check of a file on quantity of lines in Handler.. Support log.
4.0.7.1 + Script Checkers: 'Ai.obj Fixer' remove to "Scripts file checker"
* Script Checkers: 'Ai.obj Fixer' Files from Sauron C4Decompiler knowledge base are used. But with corrections and changes
in a format of files for work with this program.
4.0.7.0 + Start new project - "Scripts file checker". Checking on correct numbers, formats and etc.
+ Script Checkers: 'AI Handler Line checker'. Calculate defined and real line numbers in handler.
4.0.6.0 - AiInjector: 'Split' and 'Inject' compatible with C4 AI.obj now.
File structure for "Ai.obj Fixer'
-
fetch_i (use from C4Decompiler)
Code:
8|default|x
16|default|y
24|default|z
68|ON_DB_NPC_INFO|x
72|ON_DB_NPC_INFO|y
76|ON_DB_NPC_INFO|z
16|default|creature
-
func_call (from C4Decompiler + structure update to this)
Code:
184745993|default|func[AddAttackDesire]
184811530|default|func[AddAttackDesireEx]
184680487|704|func[AddTimerEx]
167903236|656|func[AddTimerEx]
-
push_event (use from C4Decompiler)
Code:
40|default|talker
48|default|attacker
56|default|victim
656|ON_START|myself
656|ON_NPC_DELETED|myself
-
handler (from C4Decompiler + structure update to this)
Code:
0|default|NO_DESIRE
0|default|ON_START
1|default|ATTACKED
1|default|ON_NPC_DELETED
2|default|SPELLED
First colums - is valid ID for fixing target (func_call and push_const (for push_event and fetch_i)
Second column - is marker.
It is used for check in case value variously under different conditions.
The note. If digital value the program will verify value on last line "push_const" is used. Values in the form of names Handler are unique only in such Handler's.
The note2. fetch_i support two metod: 'handler name' and 'push_const value' metods
The third column - worked name of fixing target (func_call and push_const (for push_event and fetch_i)
I cannot share out full files for this module for the several reasons yet.
First, it is my development and while they will be accessible only privately.
Secondly, I have found many the interesting moments at studying tables and at creation of the utility. Many values do not coincide with mine. Therefore I should find all over again true values for corrected.