Jump to content
  • 0

Npcdata Questions


ericvini

Question

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
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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 :).

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Posts

    • Chapter III is now LIVE!   -Max level is increased to 85 -Max level on subclass increased to 85 -Maximum attribute allowed in weapons is increased to 150 -Maximum attribute allowed in armors is increased to 60 -Ant Queen, Core, Orfen increased to level 83, same chance on Epic Jewel, addition of Eas/Ews/Beas/Bews drop. -Addition of Base Tower, Advance Pedestal & Tower of Naia Elpy teleport into Deltuva.   https://remastered.playinera.com/ https://discord.com/invite/WD8fWf5
    • Auto macro is already in the files. It's more important to focus on fixing the critical issues, like melee range critical skills on hero weapons.. These are the most important things for the server at the moment. You'll need more than 3 months and 2300 server restarts to address them all. ps I can sell you the fixes for a good price 🙂 Remember like before?   
    • Hello, could anyone correct the problem?
    • DISCORD : utchiha_market telegram  https://t.me/utchiha_market SELLIX STORE : https://utchiha-market.mysellix.io/ Join our server for more products : https://discord.gg/hoodservices
    • Grand Opening May 17th   Rates EXP/SP x50 Adena x50 Spoil x5 Seal Stones x5 Quest x5   Augmentation Skill and Glow chance are retail. Active and passive skills has the same status. Active skills increased time to 20 minutes.   Buffs Time 120 minutes. 24 slots, +4 divine inspiration. (need learn) Pets does not lose buffs with noblesse.   Clan & Alliance Clan penalties disabled. Alliance only 1 clan - for large crest. Max. 18 members in Raidboss and Siege zones.   Castle Sieges Sieges every 2 weeks. Siege duration 60 minutes. Only 1 castle available for sieges.   Enchant Weapons from +0 to +3: 100% from +3 to +16: 70% (decreasing 4% each level) Armors from +0 to +3: 100% from +3 to +10: 50% (decreasing 4% each level) Blessed enchant on failure returns the item +3.   Events Capture the Flag - Every day at 12:30 and 18:30. Crazy Rates - On weekends, full time. Death Match - Every day at 14:30 and 20:30. Kill the Boss - Every day at 21:30. Party Farm - On weekends at 16:00. Team vs Team - Every day at 16:30 and 22:30. Treasure Hunt - On Sundays, from 14:00 to 14:30.   Olympiads Ends on Mondays. Battle period: 20:00-00:00. Start battles: 5 registered players. No class-based battles. Tie does not lose points. Hero skills are retail.   Special NPCS Buffer: All buffs, including schemes. Class Master: 1st, 2nd and 3rd class free. Exchange Manager: Exclusive exchange system. General Manager: Shop, donation, services, functions, server infos... Global Gatekeeper: Teleport to all kingdoms and areas, free. Siege Manager: Contains info for all castles. Wedding Manager: Formal wear and adena required to get married.   Soul Crystals Stages from 7 to 12 selling at luxury shop by cristals. (retail) Stage 13 Anakazel and Ember: chance 15%. Antharas, Frintezza and Valakas: chance 100%.     Subclass & Noblesse Subclass free. (no quest) Add subclass at all Village Master. Max. 5 subclasses. Noblesse quest. (retail)   Voice Commands .menu - main features including auto farm & potion. .help - contains all available commands.     Additional Features Auto loot. Auto learn skills. Inventory slots 150. Seven Signs open 24/7. Shout/Trade chat delay 10s. Hero chat delay 30s. Chat filter - for illegal words. Offline shop. Shift + click on monsters to see the droplist. Spawn protection by 30 seconds. Max. 3 sessions per pc. Automatic restart at 07:00.   Raid Bosses Common Raids: 18h + 6h random. Barakiel: 6h. (no random) Tyrannosaurus: 5 minutes. Raids listed on the site/npc have improved stats and drops.   Sailren: Monday at 21:00. (individual teleport and locked after boss spawn) Queen Ant: Monday at 22:00.   Core: Tuesday at 21:00. Orfen: Tuesday at 22:00.   Dr. Chaos: Wednesday at 21:00. Zaken: Wednesday at 22:00. (door opens 00:00 game time and when boss is spawned)   Andreas van Halter: Thursday at 21:00. Frintezza: Thursday at 21:00. (random +/- 15 minutes. Need CC, min.2/max.5 parties)   Anais: Friday at 21:00. Baium: Friday at 22:00. (random +/- 15 minutes)   Antharas: Saturday at 21:00.   Valakas: Sunday at 21:00. All Epics are in PvP area and will be dead at server launch.   Changes Bishop level 40 has Noblesse Blessing skill. All debuffs with time greater than 30s have been reduced to 30s. All cancel skills remove buffs for 10 seconds. Cancellation increased reuse time x5 and chance to 100. Deflect Arrow increased power from 40 to 60. Mirage reduced time from 60s to 30s. Dodge increased the time from 5s to 15s, reuse time x2. Counterattack increased the time from 5s to 15s, reuse time x2. Touch of Death increased chance from 80 to 100. Arrest range increased from 150 to 600. (like shackle) Stun/Shock effect time reduced to 5 seconds. FOI works like in GF. (removed on any action except movement) Major Arcana Set 15% cast speed, 2% m.atk. instead of 17% m.atk. Imperial Staff adds Acumen instead of Empower. Removed fear skills from Antharas and Valakas. Removed teleport skills from Zaken.
  • Topics

×
×
  • Create New...