Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Share] C4 to C1 Conversion Tools (https://postpacific.loc-online.com/showthread.php?t=5205)

HF 19.07.2006 19:05

[Share] C4 to C1 Conversion Tools
 
Project "The hobbit there and back"

L2ScriptExecutioner
// -------------------------------------------------
// Lineage II Script Tool
// Make by HellFire, Russia, Ekaterinburg, 2005-2006
// project start at Jule 2006
// -------------------------------------------------

The utility do rewrite new retail C4 script configs to old c1 format.
- New params ignored.
- Old non-existed params create with default value.
- Old params with new format fixed (fixed list see next)

Support npcdata, itemdata, skilldata (debug mode), areadata, petdata, .
Make for C4 retail server. (For C1 its no requered :) )


L2ScriptLeecher
// -------------------------------------------------
// Lineage II Script Tool
// Make by HellFire, Russia, Ekaterinburg, 2005-2006
// project start at Jule 2006
// -------------------------------------------------

The utility do imports from any script configs and apply this to you any (same type) config.
Support only npcdata and itemdata.
Compatibility params include in full pack. Import this before leeching.
Dynamic list for imports. Only in main tool! Buy my tool! My tool better. hehe... Next step - rename all names to your real scripts names. Use L2ScriptMaker for it.

Make for C1~C4~ server modification. Work with all version release.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
l2scriptleecher1.0.2_619.rar — 23837 байт

hel 19.07.2006 19:16

Thank you, HF! Good work!

Sunrise 19.07.2006 19:44

thank you.. perfect as always!

wton 19.07.2006 22:30

thaaaaaaaaaaaaaaanks HF ^^

TheOrder 19.07.2006 22:56

Tnx again you old fart !!! Always making miracles :lol: . Can't wait for your complete tool .

[leech on] I want to leeeeeeeeeeeeech :) [/leech off]

HF 20.07.2006 06:04

Miracle!

( see name of theme, see new attach, think and goto work )

RealHunter 20.07.2006 08:58

Thank HF ;)

2Rain 20.07.2006 09:05

Anybody tested that?

How tool work with special parameters in string "npc_ai={...}" ?
Just crop it? Or more smart?

/rus Скачал, почитал. Понятно. Я автозаменой всё делал и перетасовкой в экселе. Эффект тот же. Вот только с параметрами АИ мобов встрял. /

PS: Make anybody tool for create default strings for new npcs (in NPCdata), who absent in current C1 AI.obj.

I want this string:
Code:

////--------self define default new NPC class:

class inadaptation2C1 : warrior_passive_physicalspecial
class end

////-------- parsed NPC (with special class for developers):

parsed_from_NPCdata_new_npc_AI : inadaptation2C1
class_end

.
.
.
.
.


midnight 20.07.2006 09:47

When creating the itemdata, two forward edge the line is item_begin item_begin and needs effective_range.

lamnh 20.07.2006 10:23

thank you HF

lamnh 20.07.2006 11:30

I just have this in Itemdata.txt_parsed after convert itemdata :
Quote:

item_begin item_begin weapon 1 [small_sword] item_end
item_begin item_begin weapon 2 [long_sword] item_end
item_begin item_begin weapon 3 [broad_sword] item_end

HF 20.07.2006 11:55

Quote:

Originally Posted by midnight
When creating the itemdata, two forward edge the line is item_begin item_begin and needs effective_range.

Thanks for test. Sorry for bug 'Repeated first data_type in all files'.

Give fixed version (in first post) of L2ScriptExecutioner 1.0.1 tool.

And what about "and needs effective_range."? I check in my files - all good. Explain about your problem.

Quote:

Originally Posted by lamnh
I just have this in Itemdata.txt_parsed after convert itemdata :
Quote:

item_begin item_begin weapon 1 [small_sword] item_end
item_begin item_begin weapon 2 [long_sword] item_end
item_begin item_begin weapon 3 [broad_sword] item_end

dont know why you have short itemdata.

Quote:

Originally Posted by 2Rain
Anybody tested that?

How tool work with special parameters in string "npc_ai={...}" ?
Just crop it? Or more smart?

/rus Скачал, почитал. Понятно. Я автозаменой всё делал и перетасовкой в экселе. Эффект тот же. Вот только с параметрами АИ мобов встрял. /

PS: Make anybody tool for create default strings for new npcs (in NPCdata), who absent in current C1 AI.obj.

I want this string:
Code:

////--------self define default new NPC class:

class inadaptation2C1 : warrior_passive_physicalspecial
class end

////-------- parsed NPC (with special class for developers):

parsed_from_NPCdata_new_npc_AI : inadaptation2C1
class_end
.


I cant undestund what you need? I do it for npc,item,skill-data files. Tell what you try use? What you mean 'crap' and 'smart'? Tool do copy 1:1 from one to another file (if it checked).

sparcode 20.07.2006 12:04

Thank you, for your nice tools.

HF 20.07.2006 12:12

Quote:

Originally Posted by sparcode
Thank you, for your nice tools.

I dont required never in "Thanks". I want must know only - "My Work work work, work good and work correct". If you has tested this, only add to your message "Work good" or "Work as shit". Its better answer what i need for my work.
;)
* this message no for you personaly. but for all 100 leechers who taked this and no writed nothing about problems with my tools *

Pentalgin 20.07.2006 12:25

I just have this in npcdata.txt_parsed after convert npcdata :

npc_begin npc_begin warrior 1 [gremlin] npc_end
npc_begin npc_begin warrior 2 [rabbit] npc_end
npc_begin npc_begin warrior 3 [goblin] npc_end

midnight 20.07.2006 12:26

[quote="HF"]
Quote:

Originally Posted by midnight
And what about "and needs effective_range."? I check in my files - all good. Explain about your problem.

In C1 it has that line, if you say that it works well without her then is not put :)

HF 20.07.2006 12:47

Quote:

Originally Posted by HF
Quote:

Originally Posted by midnight
And what about "and needs effective_range."? I check in my files - all good. Explain about your problem.

In C1 it has that line, if you say that it works well without her then is not put :)

i dont understund. effective_range have and in C1 and in C4 sure..
- i start L2ScriptExecutor
- i load skilldata_c4. example 2 string from it
Code:

skill_begin        skill_name = [s_power_strike11]        /* [파워 스트라이크] */        skill_id = 3        level = 1        operate_type = A1        magic_level = 3        effect = {{i_p_attack_over_hit;25;0}}        operate_cond = {{equip_weapon;{sword;blunt}}}        is_magic = 0        mp_consume2 = 10        cast_range = 40        effective_range = 400        skill_hit_time = 1.08        skill_cool_time = 0.72        skill_hit_cancel_time = 0.5        reuse_delay = 13        attribute = attr_none        effect_point = -52        target_type = enemy        affect_scope = single        affect_limit = {0;0}        next_action = attack        ride_state = {@ride_none}        skill_end                                               
skill_begin        skill_name = [s_power_strike12]        /* [파워 스트라이크] */        skill_id = 3        level = 2        operate_type = A1        magic_level = 4        effect = {{i_p_attack_over_hit;27;0}}        operate_cond = {{equip_weapon;{sword;blunt}}}        is_magic = 0        mp_consume2 = 10        cast_range = 40        effective_range = 400        skill_hit_time = 1.08        skill_cool_time = 0.72        skill_hit_cancel_time = 0.5        reuse_delay = 13        attribute = attr_none        effect_point = -54        target_type = enemy        affect_scope = single        affect_limit = {0;0}        next_action = attack        ride_state = {@ride_none}        skill_end

- import '_skilldata_c1_to_c4_compatible_list.txt'
- press "Execute"
- in parsed file i have
Code:

skill_begin        skill_name=[s_power_strike11]        skill_id=3        level=1        operate_type=A1        magic_level=3        effect={{i_p_attack_over_hit;25;0}}        operate_cond={{equip_weapon;{sword;blunt}}}        is_magic=0        mp_consume2=10        cast_range=40        effective_range=400        skill_hit_time=1.08        skill_cool_time=0.72        skill_hit_cancel_time=0.5        reuse_delay=13        attribute=attr_none        effect_point=-52        target_type=enemy        affect_scope=single        next_action=attack        skill_end       
skill_begin        skill_name=[s_power_strike12]        skill_id=3        level=2        operate_type=A1        magic_level=4        effect={{i_p_attack_over_hit;27;0}}        operate_cond={{equip_weapon;{sword;blunt}}}        is_magic=0        mp_consume2=10        cast_range=40        effective_range=400        skill_hit_time=1.08        skill_cool_time=0.72        skill_hit_cancel_time=0.5        reuse_delay=13        attribute=attr_none        effect_point=-54        target_type=enemy        affect_scope=single        next_action=attack        skill_end

All good

midnight 20.07.2006 13:35

The line effective_range of that I speak belongs to the itemdata of c1.

HF 20.07.2006 13:40

Quote:

Originally Posted by midnight
The line effective_range of that I speak belongs to the itemdata of c1.

Your post is example "Bad report - long fix".


oh..realy.. strange.. i lost this param.
But! Param List dinamic - only add effective_range to file and you will be have your itemdata with need "effective_range" param. All easy. I lost all night for creating universal system for my tools. Only use my ideas.

HF 20.07.2006 13:57

L2ScriptExecutioner
1.0.2 -Itemdata: added support for "effective_range". Calculate correct value.

tpuNIsher 20.07.2006 13:58

good work Hf ^^
wish u had shared it some days ago though =p
wouldnt have to spend night after nights converting alone lol

keep it up ^^

HF 20.07.2006 14:03

Quote:

Originally Posted by tpuNIsher
good work Hf ^^
wish u had shared it some days ago though =p
wouldnt have to spend night after nights converting alone lol

keep it up ^^

days ago? Because scripts has been shared some days ago + work time. No materials - no work. :)
And.. i has hope what i will be have c4retail. But not... No C4Server - have much work :lol:

tpuNIsher 20.07.2006 14:10

lol yes i understand...
dont worry 3 more exes only :}

midnight 20.07.2006 14:14

The line mp_consume= {} would have of being mp_consume=0 for example (in itemdata)

HF 20.07.2006 14:24

Quote:

Originally Posted by midnight
The line mp_consume= {} would have of being mp_consume=0 for example (in itemdata)

fixed. And for all same params (same word inside param)


All times are GMT. The time now is 16:03.