Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Problem with adding my own items (https://postpacific.loc-online.com/showthread.php?t=424)

wind- 17.04.2005 00:21

Problem with adding my own items
 
If you have seen one of my recent posts you would have seen that for some reason when people were pressing the restart button it would crash the client, and the server. Well I forgot I had recently added new items so I tried to remove them, and it fixed the error. I cant figure out what is wrong with my script for the new items..

itemdata.txt
Code:

item_begin        armor        10000        [kaze_blood_leather]        item_type=armor        slot_bit_type={onepiece}        armor_type=light        etcitem_type=none        blessed=0        weight=5400        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=508000000        item_skill=[none]        critical_attack_skill=[none]        material_type=leather        crystal_type=s        crystal_count=406        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        effective_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=90        damaged=0        physical_defense=419        magical_defense=0        mp_bonus=250        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end

item_begin        armor        10002        [kaze_blood_gloves]        item_type=armor        slot_bit_type={gloves}        armor_type=none        etcitem_type=none        blessed=0        weight=580        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=11600000        item_skill=[none]        critical_attack_skill=[none]        material_type=leather        crystal_type=s        crystal_count=92        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        effective_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=90        damaged=0        physical_defense=76        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end
item_begin        armor        10001        [kaze_blood_helmet]        item_type=armor        slot_bit_type={head}        armor_type=none        etcitem_type=none        blessed=0        weight=570        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=17400000        item_skill=[none]        critical_attack_skill=[none]        material_type=cloth        crystal_type=s        crystal_count=139        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        effective_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=90        damaged=0        physical_defense=76        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end

item_begin        armor        10003        [kaze_blood_boots]        item_type=armor        slot_bit_type={feet}        armor_type=none        etcitem_type=none        blessed=0        weight=1130        default_action=action_equip        consume_type=consume_type_normal        initial_count=1        maximum_count=1        soulshot_count=0        spiritshot_count=0        immediate_effect=1        price=0        default_price=11600000        item_skill=[none]        critical_attack_skill=[none]        material_type=blood_steel        crystal_type=s        crystal_count=92        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        effective_range=0        damage_range={}        attack_speed=0        reuse_delay=0        mp_consume=0        magical_damage=0        durability=90        damaged=0        physical_defense=76        magical_defense=0        mp_bonus=0        category={}        enchanted=0        html=[item_default.htm]        equip_pet={0}        magic_weapon=0        item_end

item_begin        weapon        10004        [kaze_orchid]        item_type=weapon        slot_bit_type={rhand}        armor_type=none        etcitem_type=none        blessed=0        weight=960        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=18300000        item_skill=[s_critical_chance_weapon1]        critical_attack_skill=[none]        material_type=blood_steel        crystal_type=s        crystal_count=1464        is_trade=0        is_drop=0        is_destruct=1        physical_damage=350        random_damage=5        weapon_type=dagger        can_penetrate=0        critical=12        hit_modify=-3.75        avoid_modify=0        dual_fhit_rate=0        shield_defense=0        shield_defense_rate=0        attack_range=40        effective_range=48        damage_range={0;0;40;120}        attack_speed=490        reuse_delay=0        mp_consume=0        magical_damage=220        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

set_begin        57        slot_chest=10000        slot_head=10001        slot_gloves=10002        slot_feet=10003        slot_additional=[none]        set_skill=[s_set_collected]        p_def_inc={0;0}        m_def_inc={100;0}        hp_inc={0;0}        mp_inc={250;0}        move_speed_inc={5;0}        breath_inc={200;0}        magic_resist_inc={0;0}        casting_speed_inc={0;0}        p_attack_inc={0.0;0.0}        m_attack_inc={0;0}        hp_regen_inc={0;0}        mp_regen_inc={2.5;0.0}        str_inc={1;0}        con_inc={2;0}        dex_inc={5;0}        int_inc={0;0}        men_inc={0;0}        wit_inc={5;0}        avoid_inc={15;0}        shield_def_prob_inc={0;0}        weight_limit_inc={0;0}        resist_poison_inc={20;0}        p_def_vs_dagger_inc={0;0}        set_end

item_pch.txt
Code:

[kaze_blood_leather]        =        10000
[kaze_blood_boots]        =        10003
[kaze_blood_helmet]        =        10001
[kaze_blood_gloves]        =        10002
[kaze_orchid]        =        10004

There are no item errors, I can summon all the items just fine, but when this code is on the server and anyone presses the 'restart' button on their client, the client and server crashes.

Osito2Dancer 17.04.2005 18:35

humm. Did you make a fix on armorgrp and itemdata for this? I know its stupid, but that could be a reason. Maybe when you add a new set, you have to replace one, rather than adding one.

More reasons? i dont know, but thats a start to fix this... i hope.

Oso

wind- 18.04.2005 01:19

I think it might be the fact that, the default_price is far greater than the limit in the l2cache.ini, i havent tried it yet but i think that could be the reason... the armorgroup and weapongrp were edited properly, and the armor and weapon works fine.. in game and all.. but as soon as someone hits restart the server = crash.

wind- 18.04.2005 01:32

well apparantly not. I dont know what to do anymore, ive tried completely remaking the items.. no good. ive tried just removing the set.. :/


All times are GMT. The time now is 15:24.