Jump to content

Recommended Posts

Posted (edited)

LINEAGE 2 QUEST DROP RATE CHANGER

Cvu4hH8.jpg

 

FOR WHAT DO YOU NEED THIS ? :
If you want increase quest item drop rate automatically , this program will be usefull ,
since to edit quest item drop rate you need edit ai.obj , find target random function ,
and taking in account that Lineage II (c4) have :
-305 quests.
-967 random functions related to quest item drop chance. (aprox value)
-650 npcs that gives one or more quest items. (aprox value)

Can be really weird task to adjust all quest drop rates of your server ,  and users just will ignore quets since usually them do not match with server rates , they probably level up 2 or 3 times before end quests of their level , and even if you increase quest reward probably doing a quest do not worth so L2 at least old chronicles ,  became just farm game .

---------------------------------------------------------


WHAT THIS PROGRAM DOES :
This program is able to scan all AI.obj NPC classes and determine the exact random function where each NPC decide to drop a quest item once he die.
Then it find the random function and replace constant numbers for a variable that user can understand and edit example :


class 1 medusa : warrior_agresive{

int 2_1_testimony_of_fate_medusa_ichor = 2;  //==
                       

int 100_50_test_of_the_war_spirit_hermodts_rib_bone = 50;  //>


EventHandler MY_DYING         

              i0 = gg::Rand( 100 );
              

          if( i0 > 100_50_test_of_the_war_spirit_hermodts_rib_bone)
              
          {
             
                  if( myself::OwnItemCount( c1, @hermodts_rib_bone ) == 0 )
                
              {

                  
              myself::GiveItem1( c1, @hermodts_rib_bone, 1 );
              }
              }

}


EXAPLANATION :

int 100_50_test_of_the_war_spirit_hermodts_rib_bone = 50;  //>   //This is the parameter , a variable number that can be easily edited

-int = integer value .
-100_50 represent the original values of the random function example : "i0 = gg::Rand( 100 );"  and "if( i0 > 100_50_test_of_the_war_spirit_hermodts_rib_bone)"  , originally was : "i0 = gg::Rand( 100 );"  ,  "if( i0 > 50)" .
-"//>" means the kind of condition in this case > that means MAJOR THAN so : if number between 1-100 , is major than 50 it will drop quest item.
-If we want increase rate we should lower the parameter and change 50 for 40  result will be 60% instead of 50% , math  formula : 100-(40/100)*100) = chance , be sure of undersand the kind of condition before edit a parameter , the parameter value do not represent its percent ...

 

i0 = gg::Rand( 100 );      // variable i0 = random number between 0 and 100

if( i0 > 100_50_test_of_the_war_spirit_hermodts_rib_bone)        // if 0-100 variable number  Major than 50 , user will receive item : @hermodts_rib_bone,

--------------------------------------------------------

CHRONICLE COMPATIBILITY:

C4 : Working and tested

INTERLUDE : AI (vanganth) : Working . But need decompile with decompiler modified for c6 (inside vanganth pack)

INTERLUDE : AI (depmax)  : The same than IL vanganth and if you compiled with depmax compiler , need setup it as compiler/decompiler on program

GF : AI vanganth : would need setup vanganth GF decompiler

GF : AI (depmax) : would need setup depmax H5/GF decompiler

H5 : AI (depmax) : would need setup depmax H5/GF decompiler
 

-----------------------------------------------------------------------------------------------

TO WORK WITH  GF / HF  of vanganth/depmax:

At GUI interface just setup COMPILER / DECOMPILER path for ones thats work with the chronicle and extender that you need.
But probably if you use other compiler/decompiler than default (c4) , the predefined commands that the program uses will not works if the compiler is different , so you need to replace default compiler parameters on config file of the program (there is not graphic interface for this)

This is advanced config parameters that you can change at config.ini

compile_parameter$NASC.exe -file    //For vanganth compiler it may "NC.exe -target "   *Important add the space too

decompile_parameter$denasc.exe -f   //For depmax compiler it may "DECOMPILE.bat -file "

nasc_rand$gg::Rand                  //For depmax compiler is "Rand"

nasc_dot$::                         //For depmax compiler is "."  //single dot


Those are the output text strings that the compiler gives after some error , or on sucess compile , if you using other compiler than default , run compiler manually , and check what output it gives when sucess and when error , and edit config.ini

compiler_error_message$ID Error

compiler_ok_message$Done in


---------------------------------------------------------

INSTRUCTIONS :

SETUP:
-OPEN SELECT AI FILE : click here to select the target ai.obj file  , it can be ai.obj (but in ASCII format , you can change format with notepad ) , or directly with already decompiled ai.nasc file
-DECOMPILER : Select decompiler program path
-Compiler : select compiler program path

BUILD AI MODES:
-MERGE RESULT WITH CURRENT AI : This method will process ai file , modify the ai classes that meets the conditions , compile them  , and finally will ask you to select ai.obj file (not decompiled) to replace original classes for modified ones. If some nasc class have compiler error , program will not merge it.
-BUILD NEW FULL AI.OBJ : This method will process ai file , modify the ai classes that meets the conditions , compile them , and build new ai.obj file from 0  (this method is not recommended because many of AI files can give errors during compile even if program do not modify them like : queen_ant , valakas , etc... and it would need to check all compiler errors and a lot of manual work , before have full working ai

PARAMETER MODES:
-PARAMETER PER CLASS : This mode will add drop item parameters on each npc class that have quest example :
class 1 medusa{
int 100_3 quest_medusa_1 = 33;
}
-DEFAULT NPC PARAMETERS : This mode will store all parameters on a file , then you must copy all parameters on default npc ,it may overload a npc.exe since quest parameters amount can be like 600-800 , and setup 600-800 parameters on all npc that descent from default npc ... , but it would be easier to edit manually when needed since all parameters are on a single class
-REPLACE PARAMETERS : This method will not setup parameters , just will replace old values for new ones acording to the multiplier , and conditions you setup. (I recomend run this mode , if you want to parse ai.obj more than one time , since once you add parameters on ai.obj you couldn't not parse again with this program)

QUEST DROP ITM RATES:
-RATE MULTIPLIER : On this field you setup the multiplier , default x3 so : int 100_3 quest_medusa_1 = 3;  ----> (3/100 * 100 = 3%)   We multiply the rate -------> (3*multiplier / 100 *100 = 9%)   -----> parameter value int 100_3 quest_medusa_1 = 30;
-RATE PERCENT TRIGGER : Here you must setup the minimum rate percent where program should apply multiplier , by default 15% so program will only multiply rates below 15% chance.
-MAX RATE PERCENT : Is needed because program may multiply rate value , if new chance value more than MAX RATE PERCENT , new chance will be adjusted to MAX RATE PERCENT.

MISC OPTIONS :
-SHOW CONSOLE : Check this , if you want see all compiler output (it will slow down the program)
-QUICK TEST : This is very interesting feature , check this if you dont want to compile , just generate a parsed ai file without compile it , so you can see all changes that the program does to ai , on nasc format that is readable for humans :)

 

 

 

Edited by madocter
  • Like 1
  • Upvote 3
  • 6 months later...
  • 3 weeks later...
Posted

Very nice tool, altho you can't really automate this procedure if you want a good result, you still have to manually tweak a lot of the quests to achieve balanced rewards in regards to quest time/difficulty. But gj nonetheless.

 

Since this is not shared, you mean you are selling it then?

  • Upvote 1
  • 4 months later...
Posted
On 6/23/2018 at 12:58 AM, sepultribe said:

Very nice tool, altho you can't really automate this procedure if you want a good result, you still have to manually tweak a lot of the quests to achieve balanced rewards in regards to quest time/difficulty. But gj nonetheless.

 

Since this is not shared, you mean you are selling it then?


Yes because it cost me weeks of work, well this program can create parameters for all quests it found and then you can put all parameters on default npc , and eventually change parameters from there by just edit ai.obj on txt without need of compile/decompile.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market
    • as you said expose connections in the server and create a communication with your AI, ironically an AI can help you do excactly that, all you need is your time i dont think you can get any help on discovering something that dont exist out of the box, thats the history with emulating l2->j in general thats what people, here you can find only positive and sometimes toxic responses, just go ahead and do stuff
    • 高质量 LinkedIn 账号新品到货,助力自信推广与影响力提升 新增商品: LinkedIn 自注册账号,带真实好友 (50/100/250/500/1000 可选) | 地区:美国/欧洲 (可选) | 完善资料 | 实机注册 | 价格起步 $10 LinkedIn 自注册账号,带真实好友 + 高级订阅 (Career/Business/Sales Navigator/Recruiter 任意选择) | 地区:美国 | 完善资料 | 实机注册 | 价格起步 $15 我们的在线商店全品类: 账号:Telegram、Facebook、Reddit、Twitter (X)、Instagram、YouTube、TikTok、Discord、VK、LinkedIn、GitHub、Snapchat、Gmail、邮箱账号 (Outlook、Firstmail、Rambler、Onet、Gazeta、GMX、Yahoo、Proton、Web.de)、Google Voice、Google Ads 高级订阅:Telegram Premium、Twitter Premium X、YouTube Premium、Spotify Premium、Netflix Premium、Discord Nitro、ChatGPT Plus/PRO、XBOX Game Pass 附加服务:Telegram Stars、代理 (IPv4、IPv6、ISP、移动)、VPN (Outline、WireGuard、其他)、VDS/RDP 服务器 优惠码:AUGUST2025 (立减 10%) 支付方式:银行卡 · 加密货币 · 其他常用方式 如何购买: 在线商店: Click Telegram 机器人: Click 其他服务: SMM 面板: Click – 推广您的社交媒体账号 使用我们的 SMM 面板可提升:Facebook、Instagram、Telegram、Spotify、Soundcloud、YouTube、Reddit、Threads、Kick、Discord、LinkedIn、Likee、VK、Twitch、Kwai、Reddit、网站流量、TikTok、Trust Pilot、Apple Music、Tripadvisor、Snapchat 等数字产品。 首次试用 SMM 面板可获得 $1 奖励:只需在我们的网站 (Support) 提交工单,主题填写 “Get Trial Bonus”。 LinkedIn 账号种类: LINKEDIN.COM 账号 | 自带邮箱 @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL,男女皆有,部分资料已填,注册自美国 IP | 起价 $2.5 LINKEDIN.COM 账号 | 自带邮箱 @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL,男女皆有,部分资料已填,注册自欧洲 IP | 起价 $2.5 LINKEDIN.COM 账号 | 自带邮箱 @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL.COM,男女皆有,部分资料已填,注册自混合 IP | 起价 $2.5 LinkedIn 老号 (Brute) 带真实好友 (0 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $10 LinkedIn 自注册账号,带真实好友 (50/100/250/500/1000 可选) | 地区:美国/欧洲 (可选) | 完善资料 | 实机注册 | 起价 $10 LinkedIn 自注册账号,带真实好友 + 高级订阅 (Career/Business/Sales Navigator/Recruiter 任意选择) | 地区:美国 | 完善资料 | 实机注册 | 起价 $15 LinkedIn 高级老号 (Brute) (Premium) 带 1 个月有效高级订阅 | 地区:混合 | 实机注册 | 完整访问 | 起价 $20 LinkedIn 老号 (Brute) 带真实好友 (50 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $20 LinkedIn 老号 (Brute) 带真实好友 (100+ 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $39 LinkedIn 老号 (Brute) 带真实好友 (500+ 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $69 LinkedIn 已验证老号 (Brute) 带实名验证文件 | 混合地区 | 实机注册 | 完整访问 | 起价 $89 老客户专享 — 额外折扣与优惠码! 享受 10% – 20% 折扣 或 注册即送 $1 奖励 如果您想领取注册奖励 $1 或首次购买立减 10% – 20%,您可以留言: “SEND ME BONUS, MY USERNAME IS...” 您也可以在首次购买时使用优惠码:SOCNET (15% 折扣!) 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 您还可以通过以上联系方式: — 咨询批发采购 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet – 数字商品与高级订阅商店 
    • Thanks a lot for the very interesting responses! To clarify, this is only for personal learning and use, I don't plan on earning any money!
    • 高质量 LinkedIn 账号新品到货,助力自信推广与影响力提升 新增商品: LinkedIn 自注册账号,带真实好友 (50/100/250/500/1000 可选) | 地区:美国/欧洲 (可选) | 完善资料 | 实机注册 | 价格起步 $10 LinkedIn 自注册账号,带真实好友 + 高级订阅 (Career/Business/Sales Navigator/Recruiter 任意选择) | 地区:美国 | 完善资料 | 实机注册 | 价格起步 $15 我们的在线商店全品类: 账号:Telegram、Facebook、Reddit、Twitter (X)、Instagram、YouTube、TikTok、Discord、VK、LinkedIn、GitHub、Snapchat、Gmail、邮箱账号 (Outlook、Firstmail、Rambler、Onet、Gazeta、GMX、Yahoo、Proton、Web.de)、Google Voice、Google Ads 高级订阅:Telegram Premium、Twitter Premium X、YouTube Premium、Spotify Premium、Netflix Premium、Discord Nitro、ChatGPT Plus/PRO、XBOX Game Pass 附加服务:Telegram Stars、代理 (IPv4、IPv6、ISP、移动)、VPN (Outline、WireGuard、其他)、VDS/RDP 服务器 优惠码:AUGUST2025 (立减 10%) 支付方式:银行卡 · 加密货币 · 其他常用方式 如何购买: 在线商店: Click Telegram 机器人: Click 其他服务: SMM 面板: Click – 推广您的社交媒体账号 使用我们的 SMM 面板可提升:Facebook、Instagram、Telegram、Spotify、Soundcloud、YouTube、Reddit、Threads、Kick、Discord、LinkedIn、Likee、VK、Twitch、Kwai、Reddit、网站流量、TikTok、Trust Pilot、Apple Music、Tripadvisor、Snapchat 等数字产品。 首次试用 SMM 面板可获得 $1 奖励:只需在我们的网站 (Support) 提交工单,主题填写 “Get Trial Bonus”。 LinkedIn 账号种类: LINKEDIN.COM 账号 | 自带邮箱 @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL,男女皆有,部分资料已填,注册自美国 IP | 起价 $2.5 LINKEDIN.COM 账号 | 自带邮箱 @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL,男女皆有,部分资料已填,注册自欧洲 IP | 起价 $2.5 LINKEDIN.COM 账号 | 自带邮箱 @OUTLOOK.COM / HOTMAIL.COM / @FIRSTMAIL.COM,男女皆有,部分资料已填,注册自混合 IP | 起价 $2.5 LinkedIn 老号 (Brute) 带真实好友 (0 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $10 LinkedIn 自注册账号,带真实好友 (50/100/250/500/1000 可选) | 地区:美国/欧洲 (可选) | 完善资料 | 实机注册 | 起价 $10 LinkedIn 自注册账号,带真实好友 + 高级订阅 (Career/Business/Sales Navigator/Recruiter 任意选择) | 地区:美国 | 完善资料 | 实机注册 | 起价 $15 LinkedIn 高级老号 (Brute) (Premium) 带 1 个月有效高级订阅 | 地区:混合 | 实机注册 | 完整访问 | 起价 $20 LinkedIn 老号 (Brute) 带真实好友 (50 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $20 LinkedIn 老号 (Brute) 带真实好友 (100+ 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $39 LinkedIn 老号 (Brute) 带真实好友 (500+ 好友) | 混合地区 | 完善资料 | 实机注册 | 起价 $69 LinkedIn 已验证老号 (Brute) 带实名验证文件 | 混合地区 | 实机注册 | 完整访问 | 起价 $89 老客户专享 — 额外折扣与优惠码! 享受 10% – 20% 折扣 或 注册即送 $1 奖励 如果您想领取注册奖励 $1 或首次购买立减 10% – 20%,您可以留言: “SEND ME BONUS, MY USERNAME IS...” 您也可以在首次购买时使用优惠码:SOCNET (15% 折扣!) 联系方式与支持: Telegram: https://t.me/socnet_support Telegram 频道: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp 频道: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord: socnet_support Discord 服务器: https://discord.gg/y9AStFFsrh 邮箱: solomonbog@socnet.store 您还可以通过以上联系方式: — 咨询批发采购 — 建立合作伙伴关系 (现有合作伙伴: https://socnet.bgng.io/partners ) — 成为我们的供应商 SocNet – 数字商品与高级订阅商店   
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock