Jump to content
  • 0

{L2Off-Interlude} Multiple Initial Equipment?


Question

Posted (edited)

Hi, 

Im willing to add multiple initial items to newly created characters, can someone point out the syntax to be used?

 

Lets say, I want each char to have 5 Scroll of Escape to Giran, how do i do that given this settings i already have active (see below)?

 

Thanks

//When the player starts initially, having, the equipment list which it starts
initial_equipment_begin
	human_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[sword_breaker];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	human_magician={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	elf_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[sword_breaker];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	elf_magician={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	darkelf_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[sword_breaker];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	darkelf_magician={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	orc_fighter={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[iron_hammer];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	orc_shaman={[bone_shield];[bracer];[leather_helmet];[tunic_of_devotion];[hose_of_devotion];[boots];[voodoo_doll];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
	dwarf_apprentice={[hard_leather_helmet];[bone_gaiters];[bone_shield];[bone_breastplate];[bracer];[boots];[iron_hammer];[blue_diamond_necklace];[coral_earing];[coral_earing];[blue_coral_ring];[blue_coral_ring];[escape_scroll_giran];[tutorial_guide]}
initial_equipment_end
Edited by eKoIce

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

Solved like this:

 

Itemdata

item_begin etcitem 20003 [eko_box_bonus_all] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=10 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=0 price=0 default_price=0 item_skill=[s_eko_box_bonus_all] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=1 is_drop=1 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=0 damaged=0 physical_defense=0 magical_defense=0 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

Skilldata

skill_begin skill_name=[s_eko_box_bonus_all] /* * */ skill_id=10053 level=1 operate_type=A1 magic_level=1 effect={{i_give_item;8916;1};{i_give_item;8753;2};{i_give_item;6408;1};{i_give_item;7126;10};{i_give_item;57;5000000};{i_give_item;728;50};{i_give_item;1539;50}} is_magic=2 operate_cond={{op_can_get_item;20}} mp_consume2=0 item_consume={[eko_box_bonus_all];1} cast_range=-1 effective_range=-1 skill_hit_time=0 skill_cool_time=0 skill_hit_cancel_time=0 reuse_delay=0 attribute=attr_none effect_point=0 target_type=self affect_scope=single affect_limit={0;0} next_action=none ride_state={@ride_none} skill_end

skill_pch

[s_eko_box_bonus_all] = 2572003

skill_pch2

2572003 -1 0 0 0 0 34 -1 0 1 0 0 -12345

Then the client part on itemname and etcgroup.

 

Leaving it here for reference for other people who might need it.

 

Cheers.

Edited by eKoIce
  • 0
Posted (edited)

In leaked GF you would write {[escape_scroll_giran];5} but I'm not sure whether C4 can parse this correctly. What if you put it there 5 times as [escape_scroll_giran]?

Edited by eressea
  • 0
Posted

tried this {[escape_scroll_giran];5} and isnt working.

doing 5 times the same, is working. might find a better solution, maybe a doubleclick package to open and give 5 scrolls...

 

thanks!

  • 0
Posted

tried this {[escape_scroll_giran];5} and isnt working.

doing 5 times the same, is working. might find a better solution, maybe a doubleclick package to open and give 5 scrolls...

 

thanks!

omfg make a fucking code and parse an xml

  • 0
Posted (edited)

omfg make a fucking code and parse an xml

 

 

This is so entertaining.

 

Access the retard will pop up and say something irrelevant and stupid.

 

Mxc 2017

 

xD

Edited by SevenGuards
Guest
This topic is now closed to further replies.


  • Posts

    • What’s DatForge? Well… it’s a website I built initially to edit .dat files for Lineage 2… but not only that. Now it also handles: .dat, .ini, .htm, and .l2r files basically most Lineage 2 client data file types across 33+ chronicles. https://datforge.pages.dev/   Support / Reports / Anything Discord: https://discord.gg/5YwhBr5Dhx (use it for support, bug reports, or anything related to the project) Does it work for every version? No idea. I haven’t tested every single one… unless you want to volunteer. Do I plan to support every version? Yes. That’s the dream. Will that dream become reality? idk man, can’t promise shit. What’s coming next? (aka things I plan to do before I disappear) xdat editor .u editor / compiler / decompiler Let me sell you a dream real quick I will maintain this forever… probably… maybe… don’t quote me on that. Before you even start First requirement to use anything I build: you gotta be able to think. I won’t spend time drawing. Also… whoever said “there’s no such thing as a stupid question” was lying to make stupid people feel better. If you ask a stupid question, I will ignore it. PERIOD. Extra FAQ (since people will ask anyway) Am I looking for other pseudo AI coders/devs to join? Not really… unless you can actually add real value. Am I looking for people to manage a Discord server? Probably yes. I hate that crap. Will we be friends if you sign up? Not really. Will I do any changes on your L2J server if you sign up? No. Will I teach you how to code? No. How do you know if I’m legit? You don’t. FAQ (before you ask) What makes us different? There is no us. It’s just me. What makes me different? idk, you tell me. Why should you buy it? You probably shouldn’t. But if you want to… go ahead. How do I try it? Click the link. That’s it. Will the free account have everything? Read the pricing page. Don’t ask questions you can answer yourself. What if I find issues? I’m not your father, I won’t teach you how to use it. But if something is actually broken, post it and I’ll fix it. Why is it taking so long? Because you’re buying a tool, not hiring an employee. I work on it when I have time. If you want to pay my salary… we can talk (no promises). Am I an asshole like I sound? Not really. But people seem to like it, so I’m leaning into it. Will you share the source? Yes. Wait and see. If you're still here Congrats. Feel free to ask questions or suggest features. Just don’t come with crazy ideas, and remember: suggestions ≠ implementation. Bug reports If you report issues, they’ll most likely be fixed within a few hours… worst case a few days. Security issues / bypasses If you find something interesting, send me a PM with steps to reproduce. If it’s legit, you might get rewarded. “But if I don’t report it I can exploit it forever” …until I fix it myself and now you got nothing. Your call. Release dates When is xdat editor coming out? Soon. What day? Soon. What about .u files? Soon. Why no dates? Because this is not my full-time job. Pricing Do I need to pay to try it? No. There’s a free tier. If you want more, you can pay and unlock everything. Final note (before the “ooh but…” starts) This tool was built for me. I just decided to share it. I’m not a company. I’m not trying to live off this. But if you want a tool and don’t want to build it yourself… well… I already did 
    • report: scammer @nickathan he was a customer of me and this time i trusted him to send the files before i get paid .. he said in 1 hour he will give the money, i gave him space for 2 weeks , but he vanished! Proofs can be transmitted to @Celestine 
    • If they ask you to write something, you should ask for the full context. We had a private chat between the administrators of mxc and gx ext. He was allowed back on the forum on the condition that he did not spam unnecessary posts. As far as I'm concerned, it shouldn't be allowed because it involves multiple scams. We want and aim for a stronger community. He's not only doing this with this account, but with several, since this user has multiple accounts. As for what one user or another contributes, that's irrelevant; I often provide support to the community and I don't need to make it public. But I repeat, if they ask you to write a comment, just ask for the full context, nothing more than that. Or if you want a direct answer from me, feel free to message me privately so we can avoid spamming a post about an extender. That's the problem with second chances 
    • I currently have a working custom quest, but the problem is that I can't see it in the game's quest log. I've added it to questname-e.dat, but I still don't see it. I think there's another file where I need to add it, but I can't find it. For the items and skills I've added, I've always put it in the name and grp fields, but there's nothing related to questgrp.dat in the quest log. Could you tell me where I can add it?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..