Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Tutorials & Guides (https://postpacific.mmorpg-game.online/forumdisplay.php?f=44)
-   -   [tool] [share] Lineage II Script maker v4.0.26.0 (17 Jule 07) (https://postpacific.mmorpg-game.online/showthread.php?t=1733)

vopros 08.10.2006 00:28

Dont work!
Не работает!


[IMG]http://img86.imageshack.us/img86/2940/123zt1.th.jpg[/IMG]

CashedScript no generated...

Скрипт для кешеда не генерируется....

HF 08.10.2006 09:08

Quote:

Originally Posted by vopros (Post 69620)
Dont work!
Не работает!


[IMG]http://img86.imageshack.us/img86/2940/123zt1.th.jpg[/IMG]

CashedScript no generated...

Скрипт для кешеда не генерируется....

Work!
Работает!


CashedScript generated...

Скрипт для кешеда генерируется....
:D

-----
"Index was outside the bounds ..."

Tool dont support non retail scripts. Maybe one your skill_id have very big value. Example >50000.
You can send me your skilldata.txt for debug.

cesarius 23.10.2006 04:54

Code:

Error define of item_type for item: 709 = [sek_temp_upper001]
Here is the code frome itemdata:
Code:

item_begin        questitem        709        [sek_temp_upper001]        item_type=armor        slot_bit_type={chest}        armor_type=none        etcitem_type=none        recipe_id=0        blessed=0        weight=400        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        reduced_soulshot={}        reduced_spiritshot={}        reduced_mp_consume={}        immediate_effect=1        price=0        default_price=0        item_skill=[none]        critical_attack_skill=[none]        attack_skill=[none]        magic_skill=[none]        item_skill_enchanted_four=[none]        material_type=leather        crystal_type=none        crystal_count=0        is_trade=0        is_drop=0        is_destruct=1        physical_damage=0        random_damage=0        weapon_type=none        can_penetrate=0        critical=0        hit_modify=0        avoid_modify=0        dual_fhit_rate=0        shield_defense=0        shield_defense_rate=0        attack_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=100        damaged=0        physical_defense=75        magical_defense=50        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        enchant_enable=0        can_equip_sex=-1        can_equip_race={}        can_equip_change_class=-1        can_equip_class={}        can_equip_agit=-1        can_equip_castle=-1        can_equip_castle_num={}        can_equip_clan_leader=-1        can_equip_clan_level=-1        can_equip_hero=-1        can_equip_nobless=-1        can_equip_chaotic=-1        item_end
[rus] это происходит когда я пытаюсь сгенерить Item_pch.txt ... я еще нуб в этом деле и пока тока разбираюсь с кодом, поэтому помоги плз-поясни в чем проблема, т.к. это не единственная строка оттуда...там оч. много подобных.... тока плз не нада просто давать"правильный вариант" ткни лучше носом в ошибку... скажи допустим вот здесь так а нада так потому что... буду очень благодарен=)[/rus]

HF 25.10.2006 11:42

Quote:

Originally Posted by cesarius (Post 70567)
Code:

Error define of item_type for item: 709 = [sek_temp_upper001]
Here is the code frome itemdata:
Code:

item_begin        questitem        709        [sek_temp_upper001]        item_type=armor        slot_bit_type={chest}        armor_type=none        etcitem_type=none        recipe_id=0        blessed=0        weight=400        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        reduced_soulshot={}        reduced_spiritshot={}        reduced_mp_consume={}        immediate_effect=1        price=0        default_price=0        item_skill=[none]        critical_attack_skill=[none]        attack_skill=[none]        magic_skill=[none]        item_skill_enchanted_four=[none]        material_type=leather        crystal_type=none        crystal_count=0        is_trade=0        is_drop=0        is_destruct=1        physical_damage=0        random_damage=0        weapon_type=none        can_penetrate=0        critical=0        hit_modify=0        avoid_modify=0        dual_fhit_rate=0        shield_defense=0        shield_defense_rate=0        attack_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=100        damaged=0        physical_defense=75        magical_defense=50        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        enchant_enable=0        can_equip_sex=-1        can_equip_race={}        can_equip_change_class=-1        can_equip_class={}        can_equip_agit=-1        can_equip_castle=-1        can_equip_castle_num={}        can_equip_clan_leader=-1        can_equip_clan_level=-1        can_equip_hero=-1        can_equip_nobless=-1        can_equip_chaotic=-1        item_end
[rus] это происходит когда я пытаюсь сгенерить Item_pch.txt ... я еще нуб в этом деле и пока тока разбираюсь с кодом, поэтому помоги плз-поясни в чем проблема, т.к. это не единственная строка оттуда...там оч. много подобных.... тока плз не нада просто давать"правильный вариант" ткни лучше носом в ошибку... скажи допустим вот здесь так а нада так потому что... буду очень благодарен=)[/rus]

check "Ignore error" to generate full file. But error there:

Code:

item_begin        questitem        709        [sek_temp_upper001]        item_type=armor
Understund?

HF 30.10.2006 06:16

* 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.

HF 30.10.2006 08:27

x.x.7.2 *- Script Checkers: 'Ai.obj Fixer':

Improvement in work with functions. Modules of work with functions support both 'push_event value' and 'handler name' values. Attention: 'push_event value' has a priority above, than a 'handler name'. If any value is not found, search on ' default ' is made. If nothing is found, the show error.

4.0.7.3 +- Script Checkers: 'Ai.obj Fixer': Add "Handler" fix module

testdude 30.10.2006 16:32

i'd give u a really big cookie if u could do 1 of 2 things for me
1. make it so u can extract teleport lists from ai.obj
2. make the split function write the super class of the ai class in the file name also

btw, an easy way to make the merge function work would be to have a variable increment for each class, so default_npc = 1, next class = 2, next class = 3, then write that at the start of the filename, or at the top of the file inside, and then have it read and write them in order (in the filename would be easyer, then just arange by name and the classes should be in order by default xP )

HF 31.10.2006 04:29

Quote:

Originally Posted by testdude (Post 71036)
i'd give u a really big cookie if u could do 1 of 2 things for me
1. make it so u can extract teleport lists from ai.obj
2. make the split function write the super class of the ai class in the file name also

btw, an easy way to make the merge function work would be to have a variable increment for each class, so default_npc = 1, next class = 2, next class = 3, then write that at the start of the filename, or at the top of the file inside, and then have it read and write them in order (in the filename would be easyer, then just arange by name and the classes should be in order by default xP )

i want realy BIIIGG COOCIE :)

1. are you want it same as Sxxxx message importer?
2. It is my old old oldest idea for AI split/merge module. Idea 1in1 with your. ;) But I did not begin to make, because have solved, that it is not necessary to anybody. Ok. I can do it, it very easy.

And.. i do it no only for you. I can do it only for all. Are you confirm? :)

testdude 31.10.2006 08:40

Quote:

Originally Posted by HF (Post 71095)
i want realy BIIIGG COOCIE :)

1. are you want it same as Sxxxx message importer?
2. It is my old old oldest idea for AI split/merge module. Idea 1in1 with your. ;) But I did not begin to make, because have solved, that it is not necessary to anybody. Ok. I can do it, it very easy.

And.. i do it no only for you. I can do it only for all. Are you confirm? :)

1. if you could make it like that, but instead of the Sxxxx make it the property define's or the telposlist_begin, that would be so cool because im trying to fix up some teleports to c5, and with a 140mb ai file its not easy o.O and splitting it isnt easy either because finding all the gk classes is hard xD
2. same reason for above, maybe put a check box to enable/disable super-class in filename? would help alot with what im trying to do, could find all the teleporter superclass's :p

and i meant for everyone xP just sounded weird o.O

HF 03.11.2006 08:56

x.x.7.5 - Script Checkers: 'Ai.obj Fixer':
- Fix in 'fetch_i' engine N2: check on last push_event AND with last fetch_i too. (Bug with master.sm)
* add protect tag for fix files (in fetch file have [fetch_i] and etc - same as in tool menu)
* search tag (second column) change from digital number to string name (from 704 to myself and etc)
example:
Code:

200|default|name
104|pledge0|name

4.0.7.4 - Script Checkers: 'Ai.obj Fixer': Fix in 'fetch_i' engine (incorrect checking for last push_event)


'Ai.obj Fixer' module finished. 100% garanty. All worked.

hel 14.11.2006 21:36

HF:
My I ask one thing?
Is there script checkers (item-skill-npcdata)? Looked in scriptmaker, but not found that, i was searched.
I have killed my own PVP itemdata. In there is many thing, I have changed by hands (quest marks prices, every grade rate of pricing).
Yesterday I have launched a server and many-many red lines appeared. Then I'm was opened itemdata, and see lines (not large amount, but...) with invalid letters and abrakadabra... But mainly itemdata looks nice... If I'll fix itemdata by hands - it consumes a lot of time... :(
Would be nice if you will create a module, that checking main scripts with a non-break checking and returning full list of errors (not one item and breaking, but all wrong items).

I think it's not useless modules for most admins.

Drag 14.11.2006 21:55

hel it might cause by notepad which u use...
When i used notepad++ i had weird letters while saving... Now im using another one - no problems... Check it

hel 14.11.2006 22:31

Quote:

Originally Posted by Drag (Post 72330)
hel it might cause by notepad which u use...
When i used notepad++ i had weird letters while saving... Now im using another one - no problems... Check it

I'm using notepad++ too, but don't see that problem before...
I can't restore my itemdata... So this is reason, why I'm asking HF for new usefull modules.

P.S: Drag, pm me which text-editor you're using. :)

ZacK 15.11.2006 13:21

I would be interested in new script checkers aswell :< , like those that were in tools1.6 package but now these arent compatible anymore to the new effect of c4 skills.

Hope anyone can release new checkers I really need them to do skills.

HF 16.11.2006 07:41

Quote:

Originally Posted by ZacK (Post 72364)
I would be interested in new script checkers aswell :< , like those that were in tools1.6 package but now these arent compatible anymore to the new effect of c4 skills.

Hope anyone can release new checkers I really need them to do skills.

maybe, but not in near time. I'm waiting c5 server.

Quote:

Originally Posted by hel (Post 72329)
HF:
My I ask one thing?
Is there script checkers (item-skill-npcdata)? Looked in scriptmaker, but not found that, i was searched.
I have killed my own PVP itemdata. In there is many thing, I have changed by hands (quest marks prices, every grade rate of pricing).
Yesterday I have launched a server and many-many red lines appeared. Then I'm was opened itemdata, and see lines (not large amount, but...) with invalid letters and abrakadabra... But mainly itemdata looks nice... If I'll fix itemdata by hands - it consumes a lot of time... :(
Would be nice if you will create a module, that checking main scripts with a non-break checking and returning full list of errors (not one item and breaking, but all wrong items).

I think it's not useless modules for most admins.

on russian, please :) I dont understood your wishes.
Or, for example, tell me what you want to see in my tool.

hel 16.11.2006 08:44

Quote:

Originally Posted by HF (Post 72416)
on russian, please :) I dont understood your wishes.
Or, for example, tell me what you want to see in my tool.

Ну хорошо, по-русски - значит по-русски.
В двух словах... Убил свою итемдату кривым текст-эдитором (он в некоторых местах порубал правильные символы на непонятные, но редко). И нету бэкапов... Понимаю, что просить помочь нагло. Но всё-же.
Прошу сделать модуль проверки синтаксиса итемдаты... У тебя это получится лучше чем у меня... Как-никак у тебя опыт имеется.
Модуль должен парсить сразу весь скрипт и возвращать сразу все глючные строки (номер строки, или ИД и имя итема), где найдены ошибки.
Думаю этот модуль будет не бесполезен многим...

HF 16.11.2006 09:55

Quote:

Originally Posted by hel (Post 72421)
Ну хорошо, по-русски - значит по-русски.
В двух словах... Убил свою итемдату кривым текст-эдитором (он в некоторых местах порубал правильные символы на непонятные, но редко). И нету бэкапов... Понимаю, что просить помочь нагло. Но всё-же.
Прошу сделать модуль проверки синтаксиса итемдаты... У тебя это получится лучше чем у меня... Как-никак у тебя опыт имеется.
Модуль должен парсить сразу весь скрипт и возвращать сразу все глючные строки (номер строки, или ИД и имя итема), где найдены ошибки.
Думаю этот модуль будет не бесполезен многим...

ah... Same ZacK told above.
I know, i want, i do.. later ;)

HF 18.11.2006 17:44

Quote:

Originally Posted by testdude (Post 71109)
1. if you could make it like that, but instead of the Sxxxx make it the property define's or the telposlist_begin, that would be so cool because im trying to fix up some teleports to c5, and with a 140mb ai file its not easy o.O and splitting it isnt easy either because finding all the gk classes is hard xD

;)


4.0.8.0
* AiInjector: remake 'Inject' engine. Support fix folder now. Select folder with fixes and waiting.
+ AIMessageTeleportImporter: add new module (same as AIMessageImporter) for teleport list. (i) Teleport coordinates not imported. Only messages.

URANUS 19.11.2006 01:32

Quote:

Originally Posted by vopros (Post 69620)
Dont work!
Не работает!


[IMG]http://img86.imageshack.us/img86/2940/123zt1.th.jpg[/IMG]

CashedScript no generated...

Скрипт для кешеда не генерируется....

Нужная skillname-e.txt весит 12мб и лежит тут: ..\L2Admin(0329)_Rel(0425)\L2Admin_Script(0412)\sc ript\

HF 19.11.2006 10:24

Quote:

Originally Posted by URANUS (Post 72694)
Нужная skillname-e.txt весит 12мб и лежит тут: ..\L2Admin(0329)_Rel(0425)\L2Admin_Script(0412)\sc ript\

what is it "Needed file" !?? Your file must be generated from Real ..-e files. Dont use unknown files! Use only original fiiles! and you will not have problem.

HF 22.11.2006 09:57

sorry. two big bugs

4.0.8.1 - AiInjector: last line in ai.obj dont saved after AiInjection
- Ai.obj Fixer: func_call not fixed! Log file correct, finish ai.obj leave without changes.

ZeniMax 22.11.2006 20:16

Nice program

HF 01.12.2006 13:09

x.x.9.0 + EventData.ini Generator: start project. Leeched from "AHTUKULLEP" idea. Thanks you, "AHTUKULLEP" ;)

Little guide.
- Select need date and do double click to need cell. Date paste automaticaly from date/time box.
- Paste start time first, before end time.

m4rk 01.12.2006 13:21

Thanks HF for keeping this project alive and available. Your tool is already a must for any lineage 2 developer :D

HF 01.12.2006 13:40

Quote:

Originally Posted by m4rk (Post 73431)
Thanks HF for keeping this project alive and available. Your tool is already a must for any lineage 2 developer :D

For any? NCSoft developers use it? :rolleyes:

Maybe it be bad news, but i want close project and make it as subscribe update. Free tool but for subscribers. I want know who use it and how use it. Subscribers must write reports.
Now i think what it use no more peoples and no use all functions. If yes... better i'll do it for myself and who need it realy.


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