Jump to content
  • 0

Npcdata Questions


Question

Posted (edited)

Hello,

 

I have some pretty newbie questions and info to confirm about  the npcdata script that I plan on modifying. If anyone could help =)

 

I will put a line as an example:

npc_begin    warrior    21342    [ketra_orc_overseer]    category={}    level=78    exp=1511275834    ex_crt_effect=0    unique=0    s_npc_prop_hp_rate=2    race=humanoid    sex=male    skill_list={@s_npc_prop_race_humanoid;@s_npc_prop_hp_lv_m2;@s_npc_prop_mp_lv_p0;@s_npc_prop_pa_lv_p0;@s_npc_prop_ma_lv_p0;@s_npc_prop_pd_lv_p0;@s_npc_prop_md_lv_p0;@s_npc_prop_armor_type_n;@s_npc_prop_weapon_type_blunt;@s_npc_high_level_9}    slot_chest=[]    slot_rhand=[worldtree's_branch]    slot_lhand=[]    collision_radius={10;10}    collision_height={23;23}    hit_time_factor=0.34    hit_time_factor_skill=-1    ground_high={160;0;0}    ground_low={10;0;0}    str=40    int=21    dex=30    wit=20    con=43    men=20    org_hp=3107.6436594    org_hp_regen=8.925    org_mp=1883.736    org_mp_regen=3.1518    base_attack_type=blunt    base_attack_range=40    base_damage_range={0;0;80;120}    base_rand_dam=50    base_physical_attack=1033.1240034    base_critical=1    physical_hit_modify=16    base_attack_speed=253    base_reuse_delay=0    base_magic_attack=740.577283506    base_defend=380.23713    base_magic_defend=268.304676    base_attribute_attack={none;0}    base_attribute_defend={20;20;20;20;20;20;0}    physical_avoid_modify=7    shield_defense_rate=0    shield_defense=0    safe_height=100    soulshot_count=0    spiritshot_count=0    clan={@ketra_orc_clan}    ignore_clan_list={}    clan_help_range=300    undying=0    can_be_attacked=1    corpse_time=7    no_sleep_mode=0    agro_range=300    passable_door=0    can_move=1    flying=0    has_summoner=0    targetable=1    show_name_tag=1    npc_ai={[ketra_orc_overseer];{[MoveAroundSocial]=90};{[MoveAroundSocial1]=75};{[MoveAroundSocial2]=90};{[FriendShip1]=@q_ketra_friendship_1};{[FriendShip2]=@q_ketra_friendship_2};{[FriendShip3]=@q_ketra_friendship_3};{[FriendShip4]=@q_ketra_friendship_4};{[FriendShip5]=@q_ketra_friendship_5};{[SpiritShot]=100};{[SpeedBonus]=40};{[HealBonus]=1};{[SpiritShotRate]=50};{[W_LongRangeDDMagic]=@s_npc_prominence_magic_only9};{[W_ShortRangeDDMagic]=@s_npc_fire_burn_magic_only9};{[RangeDD]=@s_npc_blazing_circle9};{[Buff1]=@s_clan_haste2};{[Buff2]=@s_clan_shield3};{[DeBuff]=@s_single_poison9};{[DeBuff1]=@s_b_k_stone}}    event_flag={1}    unsowing=0    acquire_exp_rate=4.752176    acquire_sp=3441    acquire_rp=0    corpse_make_list={{[sealed_draconic_leather_armor_part];1;1;4.1193};{[sealed_draconic_leather_gloves_fabric];1;1;11.8371};{[sealed_draconic_leather_boots_design];1;1;11.8371}}    additional_make_list={}    additional_make_multi_list={{{{[adena];4098;8367;100}};70};{{{[elysian_low];1;1;1.5221};{[elysian_head];1;1;23.4849};{[worldtree's_branch_low];1;1;1.5221};{[worldtree's_branch_head];1;1;23.4617};{[dragon_flame_head_low];1;1;1.5221};{[dragon_flame_head_piece];1;1;23.4849};{[doom_crusher_low];1;1;1.5221};{[doom_crusher_head];1;1;23.4801}};0.4482};{{{[charcoal];1;3;27.6689};{[suede];2;6;13.8345};{[admantite_nugget];1;1;3.3203};{[mold_hardener];1;1;0.7218};{[mold_lubricant];1;1;1.6601};{[scrl_of_ench_am_s];1;1;0.0332};{[general_75_s];1;1;0.6917};{[special_75_s];1;1;0.1729};{[rare_75_s];1;1;0.0173};{[mithril_arrow];20;60;51.8793}};36.9813}}    ex_item_drop_list={{{{[herb_of_hp_a];1;1;20};{[greater_herb_of_hp_a];1;1;45};{[full_herb_of_hp_a];1;1;35}};42};{{{[herb_of_mp_a];1;1;10};{[greater_herb_of_mp_a];1;1;54};{[full_herb_of_mp_a];1;1;36}};11};{{{[herb_of_pa];1;1;20};{[herb_of_pa_speed];1;1;20};{[herb_of_crt_rate];1;1;20};{[vampiric_rage_herb];1;1;20};{[death_whisper_herb];1;1;20}};25};{{{[herb_of_ma];1;1;50};{[herb_of_ma_speed];1;1;50}};10};{{{[figher_herb];1;1;33};{[magician_herb];1;1;33};{[recovery_herb];1;1;34}};1};{{{[herb_of_move_speed];1;1;94};{[big_head_herb];1;1;3};{[vitality_herb1];1;1;3}};11}}    npc_end
1. What is additional_make_list={}  ? Any reference to the quest items on the AI file?

 

2. corpse_make_list={{[sealed_draconic_leather_armor_part];1;1;4.1193}

 

I think it refers to items that can drop only once. First number is quanity, second is? Third is the chance. Are they mutually exclusive, so only one item can drop at once?

 

 

3 .ex_item_drop_list={{{{[herb_of_hp_a];1;1;20};

 

The ex_item_drop_list refers to herbs only, that they have added for easier control? So the drops are nto mutually exclusive, the % chances of one item dropping doesnt affect the chance of others. The first number refers to the quanity, the second number refers to? The third number is the drop rate.

 

4. additional_make_multi_list={{{{[adena];4098;8367;100}};70}

 

Can anyone explain what the ;100 refers too? 4098-8367 is the quanity, and 70% is the chance of it dropping, 100 would be the chance of that value happening? Seems illogical.

 

This one isnt mutually exclusive. Does the chance of one item dropping lower the chance of another? I think that if I wanted to modify a table, this should be the chosen one.

 

 

Thank you.

 

 

 

Edited by ericvini

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

You are very wrong.

I love how even certain experienced people still fail to grasp the basics of l2off (not attacking you xel, just in general :))

 

 

 

corpse_make_list  - represents SPOIL and is controlled on a per item basis. Each item listed has it's own drop\spoil chance, once a mob is spoiled\blue.

Simple list.

 

 

ex list for easier control of herbs, but works the same way as additional_make_multilist.

 

Everything is grouped.

 

ex_item_drop_list={
{{{[herb_of_hp_a];1;1;20};{[greater_herb_of_hp_a];1;1;45};{[full_herb_of_hp_a];1;1;35}};42};
{{{[herb_of_mp_a];1;1;10};{[greater_herb_of_mp_a];1;1;54};{[full_herb_of_mp_a];1;1;36}};11};
{{{[herb_of_pa];1;1;20};{[herb_of_pa_speed];1;1;20};{[herb_of_crt_rate];1;1;20};{[vampiric_rage_herb];1;1;20};{[death_whisper_herb];1;1;20}};25};
{{{[herb_of_ma];1;1;50};{[herb_of_ma_speed];1;1;50}};10};{{{[figher_herb];1;1;33};{[magician_herb];1;1;33};{[recovery_herb];1;1;34}};1};
{{{[herb_of_move_speed];1;1;94};{[big_head_herb];1;1;3};{[vitality_herb1];1;1;3}};11}}

 

Here' we have 4 groups - where only 1 item from each group can drop at any given npc death.

The number after the min\max is the % of 100 that the item has of chance to drop, when a group chance is success.

 

In the first line you have group 1 - which as 42% chance to drop, on every death of that monster.

Imagine, if the 42% chance is succesful - another 100 sided dice rolls and if the dice is between 1 to 20 - item 1 drops, and if 20 to 65, item 2 drops.

The combined value of the third parameter\chance should never ever exceed 100 - and neither should the overal group chance.

 

This ensures greater balance in how drops work by ncsoft internal design.

(And also why L2J since day 1 has been completely uncorrect and not retail alike).

 

both additional_make_multilist & ex_item_drop_list work this way.

 

The reason for herbs having they're own drop container is probably to make it easier for them to mass change when balance testing.

Edited by mcbigmac
  • 0
Posted

4. additional_make_multi_list={{{{[adena];4098;8367;100}};70}

 

100 is drop rate , that is 1x

 

100= 1x

200= 2x

 

Some one corect me if I'm wrong.

  • 0
Posted (edited)

fuck damn it. modyfing the npc data isnt as easy as I thought. Every { seem to matter and all, I cant find a "box" to add the info and not screw everything up >.<. It loads with 93219319 errors and no npcs show up.

 

I tried adding before the adena - fails. I tried adding before the end npc - fail. I m trying to figure out what each number means and how to best add stuff in the middle of em.

 

I want to make different files because I m bad with the eventdata files (one npc data for each event) - things drop only in sequence and all, and I d like to have fixed %, not depending on server pop/kill speed and all that

 

edit:

{{{[coal];1;1;48.227};{[varnish];1;1;48.227};{[rp_short_spear];1;1;3.546}};9.1008}}

These 3 items are related. This makes me thing only one of thsoe can drop at once or something like it. Whatever it is, it makes adding anything - while not breaking the file - freaking hard

 

Anyone knows of some kind of software to add stuff to the npcdata not having to mess with the text directly w notepad++?

Edited by ericvini
  • 0
Posted

You are very wrong.

I love how even certain experienced people still fail to grasp the basics of l2off (not attacking you xel, just in general :))

 

 

 

corpse_make_list  - represents SPOIL and is controlled on a per item basis. Each item listed has it's own drop\spoil chance, once a mob is spoiled\blue.

Simple list.

 

 

ex list for easier control of herbs, but works the same way as additional_make_multilist.

 

Everything is grouped.

 

ex_item_drop_list={
{{{[herb_of_hp_a];1;1;20};{[greater_herb_of_hp_a];1;1;45};{[full_herb_of_hp_a];1;1;35}};42};
{{{[herb_of_mp_a];1;1;10};{[greater_herb_of_mp_a];1;1;54};{[full_herb_of_mp_a];1;1;36}};11};
{{{[herb_of_pa];1;1;20};{[herb_of_pa_speed];1;1;20};{[herb_of_crt_rate];1;1;20};{[vampiric_rage_herb];1;1;20};{[death_whisper_herb];1;1;20}};25};
{{{[herb_of_ma];1;1;50};{[herb_of_ma_speed];1;1;50}};10};{{{[figher_herb];1;1;33};{[magician_herb];1;1;33};{[recovery_herb];1;1;34}};1};
{{{[herb_of_move_speed];1;1;94};{[big_head_herb];1;1;3};{[vitality_herb1];1;1;3}};11}}

 

Here' we have 4 groups - where only 1 item from each group can drop at any given npc death.

The number after the min\max is the % of 100 that the item has of chance to drop, when a group chance is success.

 

In the first line you have group 1 - which as 42% chance to drop, on every death of that monster.

Imagine, if the 42% chance is succesful - another 100 sided dice rolls and if the dice is between 1 to 20 - item 1 drops, and if 20 to 65, item 2 drops.

The combined value of the third parameter\chance should never ever exceed 100 - and neither should the overal group chance.

 

This ensures greater balance in how drops work by ncsoft internal design.

(And also why L2J since day 1 has been completely uncorrect and not retail alike).

 

both additional_make_multilist & ex_item_drop_list work this way.

 

The reason for herbs having they're own drop container is probably to make it easier for them to mass change when balance testing.

 

No problem even it was to me :). I admit is some good years since now that I touched that section. Last time was on old L2Paranoid in 2008 or 2009 :). But with time I forgot alot :).

  • 0
Posted (edited)

Thank you for the explanation, makes it 10000% clearer. And yes I m terribad =p

 

Now to figure out how I ll add crap to every monster while not breaking it up - trying to find one item in common on every line that could be altered at once and NOT break everything >.<

 

I

Edited by ericvini
  • 0
Posted

find: }} ex_item_drop_list={

 

replace with: };{{{[event_medal];1;1;100}};100}} ex_item_drop_list={

 

So it adds stuff at the end of the list. Worked on a mass scale (whole file)

 

Now I just gotta make the files for each event

 

yay

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • If the problem is that the target is lost, the action of aiming at another character, upon losing collision, does not allow aiming.   This one works as it should, allowing you to target characters
    • MICROTEXT AND WATERMARKS BREAK MOST RENDERINGS Microtext and watermarks aren’t just small decorative details. They are one of the most common reasons a document fails verification, even when it looks decent at first glance. The issue is that these elements are almost impossible to reproduce “by eye.” Microtext requires precise geometry and legibility at a very small size, while a watermark needs the correct density, transparency, and accurate placement relative to other security features. Any deviation becomes obvious during detailed inspection. ▪ What’s most often done wrong: - microtext is drawn too thick or blurry - the watermark is made either too visible or almost invisible - the positioning between microtext and watermark is ignored - the original printing technology isn’t taken into account when choosing density and shape - The stronger the document’s security features, the less room there is for approximation. What matters here isn’t visual similarity, but accurate reproduction of the original technical characteristics. If your document contains microtext and watermarks, this is always an area that requires extra attention. Write to us in DMs. We’ll review your case and point out exactly which details need the highest precision during rendering. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #microtext #photoshop #editing #watermarks
    • GoldRush launches tomorrow! July 18 16:00 GMT+3 Europe / International Register your account in the website, connect wallet and be ready to dominate!
    • 🏰 L2EXALTA LEGACY — Interlude x45 📅 Grand Opening: 31/07/2026 — 21:30 (GMT+3) 🌐 Website: https://l2exalta.org/ 💬 Discord: https://discord.gg/zNTCZD4AcT 📌 Wiki: https://l2exalta.org/en/wiki.html#progression   ⚙️ MAIN INFO Chronicle : Interlude Rates : x45 Adena : x50 Spoil : x1 Drop : x5 Safe Enchant : +3 Files : L2OFF   💰 ECONOMY EX Coin : dynamic market currency, mined from monsters, Raid Bosses and Grand Bosses value fluctuates over time Exalta Vouchers : premium currency used for store, donations and EX Coin exchange Exchange : convert EX Coin into Exalta Vouchers Investment options : choose safer or riskier market strategies with EX Coin   ⚔️ PROGRESSION & GEAR Exalta Armors : signature top-tier gear line Forge System : upgrade weapons, armor and jewels with risk/reward mechanics Raid Boss progression tied to materials and prestige   🤖 AUTOFARM Access : Auto Hunting button, bottom-right UI Duration : controlled via tickets or in-game currency Route Mode : record custom farm routes Support Mode : healer/support builds auto-follow, heal and assist party Smart targeting logic with class-specific behavior (mage/archer/melee/support) Captcha designed not to interrupt legitimate AutoFarm sessions   🧪 BUFFER Exalta Buffer NPC/interface Scheme Buffer : save multiple buff loadouts Class presets for mage, fighter, support, PvP   🛠️ SMART GADGETS / QOL Autoloot filter Drop value tracker Boss timer tools Farm stats tracker Auto-consume system In-game server assistant   🗺️ DUNGEON FINDER / PVE Party matching with roles (Tank / Healer / DPS) Ready-check before teleport Monastery of Silence custom PvE zone Party-based reward structure   🎟️ DAILY PROGRESS / EXALTA PASS Daily and weekly tasks (farm, PvP, boss, check-in) Premium Pass track with extra rewards Monastery Daily Quest Reward boards for claiming progress   🏠 HOUSING & EXPEDITIONS Player residences with service NPCs Exalta Spirit Expeditions to themed territories Rewards vary by territory Owner-only access   🏆 PVP / TOURNAMENT Scheduled Tournament system Ranking points from wins/participation Spectator Mode for watching live matches PvP Statues for top-ranked players Anti-feed protections   🛡️ CLAN CONTENT Clan Civil War battlefield event Clan Dungeon Raid content DPS Meter for contribution tracking Support Credit system Classic siege/clan politics preserved   🏪 AUCTION / SHOPS Auction House with seller fee Black Market Dealer (limited-time special offers) Custom shops and multisells Confirmation prompts on purchases/sales   💳 DONATIONS / VIP Donation rewards linked to Exalta Vouchers VIP tiers with comfort/cosmetic bonuses Premium store Gift/promo codes for events   🎥 STREAMER / COMMUNITY Streamer Panel with visible stream links Viewer rewards system Streamer Points for cosmetics/vouchers In-game voice chat (global/party/clan/alliance/command)   🔒 FAIR PLAY Strong Anti-Bot protection Reward protection tied to valid client state Captcha on suspicious activity Staff investigation tools No bots, packet tools or modified clients allowed   👑 GRANDBOSS SPAWNS Orfen : 1 day + 1h random Core : 1 day + 1h random Queen Ant : 1 day 6h + 1h random Zaken : 2 days 12h + 1h random Baium : 5 days + 1h random Antharas : 8 days + 1h random Valakas : 11 days + 1h random   🏅 OLYMPIAD Runs Thursday, Friday, Saturday Heroes change monthly Balanced and fair matchmaking
  • 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..