Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   ≈ l2 .dat files decoder error (https://postpacific.mmorpg-game.online/showthread.php?t=1567)

siminica_mihai 25.08.2005 15:44

My problem was that I modified some weapons and my itemname-e.txt got messed up but when i used L2ClientDat.exe to encode I didn't get any errors. Now i'm trying to modify it again but with more care.

flakka 25.08.2005 15:50

May be a long shot, but have you tried switching your whole OS to Chinese? Reason why is even though have installed foreign language support, the OS still can't understand some programs and data.

Try this.

Control Panel > Regional and Language Options > Regional Options Tab. Change it to Chinese (remember this). Apply, OK.

Then click the Languages tab at the top. Click Detals... Click the Advanced tab. Then check "Extend support of advanced text services to all programs." Apply, OK.

Then on the last Advanced tab, under "Language for non-Unicode programs", use the same Chinese selection from the first step. Apply, OK, reboot.

It should work now. I use asian language support a lot for programs and this is the way to basically make your OS whatever language you want.

mar_tin 25.08.2005 16:52

flakka i'll try this...i hope i'll remember how to get it back :D

Robzilla 27.08.2005 16:40

When it rains it pours.....

I have to decode weapongrp.dat with L2ClientDat.exe (CN) and itemname-e.dat with L2ClientDat-EN.exe...

They decode fine.. however when I edit them and save them (as Unicode) and go to reencode them, I end up with 1 kb files....

Robzilla 28.08.2005 13:46

Hmm now when I edit them, and encode them I get teh same zie files, however after reencoding them I get the error "The parameter is incorrect" on both the itemname-e.dat and weapongrp.dat

mar_tin 28.08.2005 14:44

how do u edit them...post the lines u edit, maybe u do sth wrong

Robzilla 28.08.2005 17:40

Well, I put this in the following..

itemname-e.dat
Code:

item_name_begin id=6353 name=[Dragon Slayer*Dragon Slayer] additionalname=[] popup=-1 description=[] item_name_end
weapongrp.dat
Code:

item_begin object_id=6353 object_name=[] body_part={lrhand} animation=3 drop_type=1 drop_anim_type=1 drop_radius=6 drop_height=1 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]} drop_texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} icon={[icon.weapon_dual_sword_i00];[icon.weapon_dragon_slayer_i00];[icon.weapon_dragon_slayer_i00]} mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]} texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} crystallizable=1 item_sound={[ItemSound.public_sword_shing_8];[ItemSound.sword_great_4];[ItemSound.sword_mid_2];[ItemSound.public_sword_shing_4]} drop_sound=[ItemSound.itemdrop_sword] equip_sound=[ItemSound.itemequip_sword] weight=2080 soulshot_count=1 spiritshot_count=1 material_type=fine_steel crystal_type=a physical_damage=259 random_damage=10 weapon_type=dual critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=107 durability=95 effect_c={[LineageEffect.c_u004]} effect_c_s={[LineageEffect.c_u004]} c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=0.00 c3_attr5=0.00 range_s={[]} c3_attr6=0.00 c3_attr7=1.00 c3_attr8=1.00 c3_attr9=1.00 c3_attr10=1.00 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1.45;0.80;0.80;1.45;0.80;0.80;xx.xx;0.00;0.00;xx.xx;0.00;0.00} item_end

flakka 29.08.2005 02:30

Shouldn't it be dragon_slayer*dragon_slayer ? I think you need to keep the ids the same as if you were summoning the old version of it so it can pull it from the database.

SoaPy 29.08.2005 03:05

Quote:

Originally Posted by flakka
Shouldn't it be dragon_slayer*dragon_slayer ? I think you need to keep the ids the same as if you were summoning the old version of it so it can pull it from the database.

yes ^^, is like he miss "_" :P

Robzilla 29.08.2005 14:16

Actually, I looked at itemname-e.dat and I disagree with you.

itemname-e.dat
Code:

item_name_begin        id=5704        name=[Keshanberk*Keshanberk]        additionalname=[]        popup=-1        description=[]        item_name_end

item_name_begin        id=5705        name=[Keshanberk*Damascus]        additionalname=[]        popup=-1        description=[When a dualsword is enchanted along with a two-handed sword, a two-handed blunt weapon, and/or a fist-fighting weapon, its P. Atk will increase more than a one-handed sword enchanted with these weapons. When enchanted by 4 or more, maximum HP will increase by 25% as well. Enhances damage to target during PvP.]        item_name_end

item_name_begin        id=5706        name=[Damascus*Damascus]        additionalname=[]        popup=-1        description=[When a dualsword is enchanted along with a two-handed sword, a two-handed blunt weapon, and/or a fist-fighting weapon, its P. Atk will increase more than a one-handed sword enchanted with these weapons. When enchanted by 4 or more, Accuracy will increase by 6. Enhances damage to target during PvP.]        item_name_end

just to name a few examples.

flakka 29.08.2005 15:54

The Dragon Slayers in my itemdata is dragon_slayer. Note the underscore. If you look at your weapongrp.dat, your Dragon Slayer is the same. You might need to keep the item description the same as your weapongrp.
This is my original
Code:

item_begin        weapon        81        [dragon_slayer]        item_type=weapon        slot_bit_type={lrhand}        armor_type=none        etcitem_type=none        blessed=0        weight=1840        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=1        spiritshot_count=1        immediate_effect=1        price=0        default_price=27000000        item_skill=[none]        critical_attack_skill=[none]        material_type=bone        crystal_type=a        crystal_count=2160        is_trade=1        is_drop=1        is_destruct=1        physical_damage=282        random_damage=10        weapon_type=sword        can_penetrate=1        critical=8        hit_modify=0        avoid_modify=0        dual_fhit_rate=0        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;46;120}        attack_speed=325        reuse_delay=0        mp_consume=0        magical_damage=114        durability=100        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end
And
Code:

item_begin        weapon        5704        [_kshanberk*kshanberk]        item_type=weapon        slot_bit_type={lrhand}        armor_type=none        etcitem_type=none        blessed=0        weight=2080        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=1        spiritshot_count=1        immediate_effect=1        price=0        default_price=99999        item_skill=[none]        critical_attack_skill=[none]        material_type=fine_steel        crystal_type=a        crystal_count=754        is_trade=1        is_drop=1        is_destruct=1        physical_damage=259        random_damage=10        weapon_type=dual        can_penetrate=1        critical=8        hit_modify=0        avoid_modify=0        dual_fhit_rate=50        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;44;120}        attack_speed=325        reuse_delay=0        mp_consume=0        magical_damage=107        durability=95        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end

item_begin        weapon        5705        [kshanberk*sword_of_damascus]        item_type=weapon        slot_bit_type={lrhand}        armor_type=none        etcitem_type=none        blessed=0        weight=2080        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=1        spiritshot_count=1        immediate_effect=1        price=0        default_price=113100000        item_skill=[none]        critical_attack_skill=[none]        material_type=fine_steel        crystal_type=a        crystal_count=846        is_trade=1        is_drop=1        is_destruct=1        physical_damage=296        random_damage=10        weapon_type=dual        can_penetrate=1        critical=8        hit_modify=0        avoid_modify=0        dual_fhit_rate=50        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;44;120}        attack_speed=325        reuse_delay=0        mp_consume=0        magical_damage=99        durability=95        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end

item_begin        weapon        5706        [sword_of_damascus*sword_of_damascus]        item_type=weapon        slot_bit_type={lrhand}        armor_type=none        etcitem_type=none        blessed=0        weight=2080        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=1        spiritshot_count=1        immediate_effect=1        price=0        default_price=113100000        item_skill=[none]        critical_attack_skill=[none]        material_type=fine_steel        crystal_type=a        crystal_count=1046        is_trade=1        is_drop=1        is_destruct=1        physical_damage=282        random_damage=10        weapon_type=dual        can_penetrate=1        critical=8        hit_modify=0        avoid_modify=0        dual_fhit_rate=50        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;44;120}        attack_speed=325        reuse_delay=0        mp_consume=0        magical_damage=99        durability=95        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end


Robzilla 29.08.2005 18:20

hmm well I'll give it a try, the least I could do. =)

mar_tin 30.08.2005 18:07

well actually the _ in itemname-e.dat doesn't count...this is itemname, here you define the display name of this item in game...you can write almost anything you want here (with spaces)

and in weapongrp.dat he left the object_name empty, which is not an error, u can leave it empty, only the id's have to be the same as in itemdata.txt...and none of u has written dragon_slayer*dragon_slayer in itemname...u don't want that it looks like this ingame do u?

take a look next time which files he posts...he never posted his itemdata...and yes in itemdata it should be dragon_slayer*dragon_slayer...if u want the whole name I have it dds

itemdata.txt
Code:

item_begin        weapon        9000        [dds]        item_type=weapon        slot_bit_type={lrhand}        armor_type=none        etcitem_type=none        blessed=0        weight=2080        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=1        spiritshot_count=1        immediate_effect=1        price=0        default_price=0        item_skill=[none]        critical_attack_skill=[none]        material_type=bone        crystal_type=s        crystal_count=3846        is_trade=0        is_drop=0        is_destruct=1        physical_damage=499        random_damage=10        weapon_type=dual        can_penetrate=1        critical=10        hit_modify=0        avoid_modify=0        dual_fhit_rate=50        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;44;120}        attack_speed=433        reuse_delay=0        mp_consume=0        magical_damage=249        durability=100        damaged=0        physical_defense=0        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end
weapongrp.dat
Code:

item_begin        object_id=9000        object_name=[]        body_part={lrhand}        animation=3        drop_type=1        drop_anim_type=1        drop_radius=7        drop_height=1        projectile=[none]        curvature=1000        drop_mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]}        drop_texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]}        icon={[icon.weapon_dual_sword_i00];[icon.weapon_dragon_slayer_i01];[icon.weapon_dragon_slayer_i01]}        mesh={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeapons.dragon_slayer_m00_wp]}        texture={[LineageWeaponsTex.dragon_slayer_t00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]}        crystallizable=1        item_sound={[ItemSound.hammer_2];[ItemSound.sword_great_3];[ItemSound.sword_mid_2];[ItemSound.public_sword_shing_10]}        drop_sound=[ItemSound.itemdrop_sword]        equip_sound=[ItemSound.itemequip_sword]        weight=2080        soulshot_count=1        spiritshot_count=1        material_type=bone        crystal_type=s        physical_damage=499        random_damage=10        weapon_type=dual        critical=10        hit_modify=0        avoid_modify=0        shield_defense=0        shield_defense_rate=0        attack_speed=433        mp_consume=0        magical_damage=249        durability=100        effect_c={[LineageEffect.c_u000]}        effect_c_s={[LineageEffect.c_u000]}        c3_attr1=0        c3_attr2=0.00        c3_attr3=0.00        c3_attr4=0.00        c3_attr5=0.00        range_s={[]}        c3_attr6=0.00        c3_attr7=1.35        c3_attr8=1.35        c3_attr9=1.30        c3_attr10=1.30        range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]}        range2_arg={1.75;0.90;0.90;1.75;0.90;0.90;xx.xx;-0.50;0.00;xx.xx;-0.50;0.00}        item_end
itemname-e.dat
Code:

item_name_begin        id=9000        name=[Dragon Slayer*Dragon Slayer]        additionalname=[]        popup=-1        description=[]        item_name_end
add this in those files and it should work

Kenster 14.09.2005 08:00

Quote:

Originally Posted by flakka
weapongrp.dat worked just fine for me right now.

I used: l2encdec -s weapongrp.dat

Then moved dec-weapongrp.dat into the folder with L2ClientDat.exe. Note: I didn't use the _en version because it doesn't have it. You can use the Chinese version just fine for files with no -en on the end. If you need to decode something that you can't in the _en version, just delete the -e and add the -cn at the end. Works perfectly fine.

You need to try different command lines -d, -g, etc. if one doesn't work.

Amen to the bold. Thank you so much!

edge17 27.09.2005 06:36

i get a
Stream error detected during decompression.
There was an error during inner processing.
when i use -s and -d when i use -g it goes right but then when i go to decode the file with L2ClientDat or L2ClientDat_en http://img.photobucket.com/albums/v209/AJ1717/1.jpg http://img.photobucket.com/albums/v209/AJ1717/2.jpg http://img.photobucket.com/albums/v209/AJ1717/3.jpg i get these errors on every file i try to decode im using the newest version of l2encdec doing everything like i always did this only happened recently that i started getting these errors can anyone help me with this :evil:

toolpunk 27.09.2005 11:52

r u usin a 413 system folder?
l2 was updated on 15/09 or sth like that i think

edge17 27.09.2005 20:58

no im using the 412 c3 folder and i keep getting this

.. i think the new 413 decrypt update's got a bug in it cuz i went back to the older version and it worked just fine either that or my computer dont like the new update on that l2encdec file lol :roll:


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