PDA

View Full Version : Dual Creation Problem


Alexandros
07.03.2006, 00:54
Well i tried to create Dual Dragon Slayers
I added this code to itemname-e.dat

item_name_begin id=8000 name=[Dragon Slayer*Dragon Slayer] additionalname=[] popup=-1 description=[SuperDuper Duals.] item_name_end

and this coded to weapongrp.dat

item_begin object_id=8000 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];[LineageWeaponsTex.dragon_slayer_t00_wp]} drop_texture={[LineageWeapons.dragon_slayer_m00_wp];[LineageWeaponsTex.dragon_slayer_t00_wp]} icon={[icon.weapon_dual_sword_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=383 random_damage=10 weapon_type=dual critical=12 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=180 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.20 c3_attr8=1.20 c3_attr9=1.00 c3_attr10=1.00 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1.40;0.80;0.80;1.40;0.80;0.80;xx.xx;0. 00;0.00;xx.xx;0.00;0.00} c4_attr1=[icon.weapon_sword_of_damascus_i00] c4_attr2=[icon.weapon_sword_of_damascus_i00] c4_attr5=0 c4_attr6=-1 c4_attr7=0 item_end

I added also on SQL and server side.I open the server and the game withought getting any errors going into game create the ID8000 item withought getting any error but in inventory there is nothing (although it says in chat that item with ID8000 was created)

Metalmurphy
07.03.2006, 00:57
Erm, the item doesn exist on the client then how do u want to see it? You have to add it in itemname.dat and weapongrp.dat

PIMPSTA
07.03.2006, 04:19
Erm, the item doesn exist on the client then how do u want to see it? You have to add it in itemname.dat and weapongrp.dat
You kinda need to read his post a bit more careful...

jencxxl
07.03.2006, 05:22
You probobly added the name in itemname at the end of the file am i right?
put it on top just after the 1st item. Donno why but if you add the at the bottom of the file names dont work.

Metalmurphy
07.03.2006, 09:15
Erm, the item doesn exist on the client then how do u want to see it? You have to add it in itemname.dat and weapongrp.dat
You kinda need to read his post a bit more careful...

What the h...?! oO I need some sleep lol

Alexandros
07.03.2006, 09:54
Hmm..i did what u said (added them after the 1st item) but still the same....
I noticed also this.With using the L2Clientdat_en i get an error at the end of the encoding of itemname-e (i putted the new name at the end) that says Parameter Wrong.
When i use L2clientdat (not the chinese but another one dont remember where i found it),the one that has alread the txt files and u dont have to decode,change the txt and encode but it has already the txt and u change it and make Restore (yes i used l2encdec ofcourse before do this) , i dont get any error (dont know if even if it gets an error it passes it