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

    • The bot video lasts 35 minutes and not everything is shown there, if everything was shown, the video could have lasted several hours. Also, the video quality is reduced so as not to take up much space.The last minutes of the video show bots attacking each other on the event. https://dropmefiles.com/1jMi2
    • We also forgot to say that the deal will be the way you want it, we are ready for almost any of your demands. And we ask the administration to review our post as soon as possible, because several hours have passed and it still hasn't passed moderation, thank you in advance!  
    • 💥Super offer GitHub Account  (5 years)💥 ⚠️ Available to order for only $20🔥
    • Good day to all! We present to your attention our source code h5, where several projects used and achieved very good results, both in terms of online and in general for the project. (Due to confidentiality, the list of projects, the test server and what the basis of the source code will be provided only to real buyers, where they can go and check them out)   The main feature is bots, which are very animated, one to one like real players. But, in addition to bots, the build has a lot of interesting and modern things. Below will be a video showing bots and a little about the server.   As we said, the build was used on several projects, so the first thing that is there is not a single backdoor on the server, all serious and critical errors have been fixed. Races and classes are closer to the official PTS platform.   And also the server can be used as a classic server, as well as a server with add-ons, because the server has added many new things, weapons, armor, jewelry, hats, cloaks, etc.   The server has a full working community board (alt+b), working locations, quests, geodata, mechanism, working ai, in general there are no problems and complaints. In alt+b, shops, various services, buffer, player statistics, clan statistics, mail, profession change, personal account, registration for events, etc. are available.   Additional services: Premium account, visual costumes, nickname change services (for yourself and your pet), nickname and title painting service, karma/PC cleaning, expand services, weapon/armor/jewelry sharpening service, level up and down service, nobles purchase service, beauty salon (new hairstyle change from higher chronicles and face change), additional window purchase service, clan reputation purchase service, weapon augmentation purchase service.   Internal services: auto potions (acp), referral system, repair services, automatic reward delivery after n. time, additional auction, and other working systems, also many available commands, such as: exact date of epic respawn, password change directly inside the game, offline buffer, auto att, registration for castle sieges directly by entering a command and other available commands.   The server has protection (both on the server side and on the client side) that protects against free software and also several other anti-bot systems that will not give the slightest chance to bot users. But if you want people to use software, you just turn it off.   Bots. As we said, one of the main features of our server is bots, they are one to one like real players, now a little about bots and below is a link to a video about how they work: Server bots are like real players, their AI is copied from the AI ??of real characters, and therefore they get what real players get and you can also do with them everything that can be done with real characters.   They write in chats, in all chats, trade, shout, pm, clan chat, general chat. They walk around the cities, level up, farm, kill each other in pvp and pc, put on weapons, armor, jewelry, sharpen weapons. According to their level, they will choose their professions, join clans, participate in different events, use alt+b services - I'm telling you, their AI is copied and adapted like a real player's AI, so they can do everything that a real player can.   Bot control: You can set a chat and words for bots, how often or rarely they will write in chats, you can control where and how the bots will level up, you can control what events they will be at, you can control what cities they will run in, you can control where they will stand, you can even call them to you and that's not all, they are completely in your hands and you can twist them as you want. The bot video lasts 35 minutes and not everything is shown there, if everything was shown, the video could have lasted several hours. Also, the video quality is reduced so as not to take up much space.   You can check the rest yourself on the test server and we will fully show you everything that bots are capable of and you will be surprised)   Now about the price and a little about our work and what is included in this price. We do not sell only the build, we sell the source code in its entirety, so that you can adapt something for yourself. The price of the source code: 15,000 euros. What is included in this price: 1. We do not have a license, you buy it once and you can use it for the rest of your life. 2. There is no online limit and there is also no limit on running bots, the server can support as much online and bots as your VDS is powerful. 3. Client-side protection. You will not pay extra for protection, the source code already has everything. 4. All builds that we have created for projects that bought the source from us (they have ready-made servers, with their own ready-made concepts, configs, different alt+b designs, for different rates x1, x10, x20, x50, x100, x1200, x5000, there are also servers for classics and servers with add-ons, they all have configured bots for their servers) all this will be included in this price. You will receive all the builds of these projects. 5. Once a year we update and improve the source, we will also improve the bots, make different paths for them, different farming places, and revive them more and more, to get them you will have to pay 20 euros to get the updates. 6. You will receive all the bot settings from our first projects to the last, the video shows little, our last configured bots are almost indistinguishable from real players and you will see this yourself on the test server or later. (Our last setup and development of bots lasted 11 months and these works and what bots can do cannot be described in words, you yourself must see them to feel this work and power) 7. We will teach you how to control both the server and training on setting up and controlling bots. 8. We will provide you with VDS for 3 months and if necessary we will help you as much as we can until the first launch of your project! 9. Our bots move, they don't stand in one place, they walk around the cities and use a teleport, after the teleport they move on to the farming place in random places. They communicate in the chat and if you hit them, they can hit you back. They are in almost every city and farming location, near many key NPCs, instance zone managers, etc. They are automatically updated and move around the cities and farming zones. They attack those who have a flag and those who is pk. These are simply unique bots that can help you in terms of your online and your project in general! 10. As we said, our latest bot development lasted 11 months and we made 92 new farm zones for bots, more than 150,000 new paths for all locations, different methods of dressing their equipment, different methods of their behavior and more than 40,000 universal words in the chat, in different languages, where no one can even doubt that these are bots! Our contact information Telegramm: https://t.me/jg_uc Discord: j.g.u.c_dev
  • Topics

×
×
  • Create New...