Jump to content

Recommended Posts

Posted (edited)

Hello, today I want present to you: Rank PvP System

 

COMPATIBILITY

  • L2J-Server

DESCRIPTION

1. PvP System:

  • Added new method for PvP counting. It's secured by time limiter, and basic protections like same IP, clan etc. If time protecion is working then legall kills not rising. If killer kill victim and time is OK, so then I call it "Legal Kill", if killer kill victim again, PvP counter rise but not Legal Kill (Time Protection sorks). All informations are stored in DB. This "Time Protection" should reduce farming. (More: if we set min pvp lvl on 76+ so then it will be hard to farm on bots. Protection should reduce farm on low rate servers. If we set max player kills on: 1, it lock Legal Kills counter after 1 kill, it's mean killer can kill victim only once in game, option can be useful on servers with big online).
  • System works in every place, but is possible to deactivate it in specific areas like: PEACEFUL ZONE.

2. Rank System:

  • Based on PvP System, it's mean, killer can earn exp for kill player, then he rise his rank too if earn 100%. (exp is based on current Rank Points [RP]).
  • Default 42 ranks.
  • Reward for rise up the Rank can be awarded for each level of Rank Points. (List of rewards and minimum rank points for obtain reward in database).
  • Included images for ranks and exp bar (loaded from server side).

3. Reward System:

  • There is 2 reward types: for Legal Kill player, and for Legal Kill player with Rank.
  • Each kill gives special currency called RPC, the RPC can be exchanged for items.
  • Based on PvP System, killer can be rewarded for Legal Kill or not.
  • Standard PvP Rewards, Rank Level Rewards and Rank PvP Rewards are configurable and can be on/off in config.

4. Death Manager:

  • Is allowed to enable Death Manager, it's mean additional buttons in Death PvP Status Window showing details of killer like (CP, HP, MP, equipment (enchant) only for kill moment).

5. War Counter:

  • Count kills if target is in War Clan. Legal kills rules are used.

6. Combo Kill System:

  • Shout messages (local/global) about the killer who doing a combo, all these messages are configurable.
  • Combo system allows multiply Rank Points by special ratio defined in configuration file.

 

7. Configurability:

  • There is over 60 options. Possible is enable/disable system components like: Rewarding system, war counter, combo system, death manager and more.
  • Each Rank, Protections, Times, Messages can be edited by You without programming knowledge.

 

LAST UPDATE

 

v3.8.9 [09.03.2014]:
  + Added PvP Exp and PvP Exp lose options (rank level rewards are protected).
  + Added Rank Skill Reward, it is game skill added for character when he rise the Rank. Definition in rank_pvp_system_rank_skill table.
  + Now RPS Ranks base on Pvp Exp, Total Rank Points are used for information only. 
     PvP Exp = TRP, it is mean all RP are converted to Pvp Exp (Pvp Exp can decrease if enabled).
  + Added new options into configuration file.
  + Added RPC cut off option (new anti-farm protection).
  + Added/Reworked Alt+T option for count the Kills or Legal Kills.
  + Reworked SQL tables. 
     Changed name of rank_pvp_system for rank_pvp_system_pvp and added rank_pvp_system_summary table.
     Moved war fields from rank_pvp_system into summary table.
     Now only one table for Top Lists: rank_pvp_system_top, with new field****: table_id.
     Removed PRIMARY KEY from rank_pvp_system_top_table.
  + Reworked/Optimized core classes.
  + Renamed some classes.
  + Reworked/Optimized rank rewards table.
  + Fixed Rank Level Rewards.
  + Fixed RankPvpSystemEnabled option. Turn off RPS totally if FALSE.

 

MOVIE

DOWNLOAD

 

 

HOW TO CLEAR THE L2-CLIENT IMAGE-CACHE

  • Create .bat file and place it in Linage II folder.
  • Paste this code: del .\SysTextures\Crest.utx
  • Done. We removed all RPS images from L2-Client cache.
  • Or You can remove the Crest.utx file from SysTextures folder manualy.
Edited by << Masterio >>
  • Like 1
  • Thanks 1
  • Upvote 7
Posted

nice but i get warning at

 

if(activeChar.isInsideZone(Byte.parseByte(CustomConfig.CUSTOM_PVP_DEATH_MANAGER_RESTRICTED_ZONES_IDS.get(i)))){

 

 

( The method isInsideZone(ZoneId) in the type L2Character is not applicable for the arguments (byte) )

Posted

its mean the argument must be other type than Byte, try parse to Integer, or check the method parameter type.

Try for Integer:

 

if(activeChar.isInsideZone(Byte.parseByte(CustomConfig.CUSTOM_PVP_RESTRICTED_ZONES_IDS.get(i)))){

 

change for:

 

if(activeChar.isInsideZone(Integer.parseInteger(CustomConfig.CUSTOM_PVP_RESTRICTED_ZONES_IDS.get(i)))){

 

All zones in latest revision l2j are Byte type.

Posted

its mean the argument must be other type than Byte, try parse to Integer, or check the method parameter type.

Try for Integer:

 

if(activeChar.isInsideZone(Byte.parseByte(CustomConfig.CUSTOM_PVP_RESTRICTED_ZONES_IDS.get(i)))){

 

change for:

 

if(activeChar.isInsideZone(Integer.parseInteger(CustomConfig.CUSTOM_PVP_RESTRICTED_ZONES_IDS.get(i)))){

 

All that codes are inside CustomPvpSystem class.

Lines 529 and 545.

 

All zones in latest revision l2j are Byte type.

Posted

nice but i get warning at

 

if(activeChar.isInsideZone(Byte.parseByte(CustomConfig.CUSTOM_PVP_DEATH_MANAGER_RESTRICTED_ZONES_IDS.get(i)))){

 

 

( The method isInsideZone(ZoneId) in the type L2Character is not applicable for the arguments (byte) )

 

public static FastList<String> CUSTOM_PVP_RESTRICTED_ZONES_IDS = new FastList<String>();

 

why are you waiting for a byte or integer return on a string variable? but since parsing string is not allowed in java parseinteger should have been working. otherwise you need a well coded regex to parse that var

 

or this might work:

 

 

 String splitter="[,]";
    String [] custompvprestr = CUSTOM_PVP_RESTRICTED_ZONES_IDS.split(splitter);

Posted

maybe you not imported correctly diff patch.

 

I checked all the diff but still does not work, I am using stable version hi5.Puedes check if it works in this version.thanks!

Posted

i used latest l2jServer for hi5, so its works :D try update svn to 1.7.7 version.

 

Problem classs customconfig                     

 

line config.java

 

 

+

+ CustomConfig.load();

 

Guest
This topic is now closed to further replies.

  • Posts

    • never met a programmer that doesnt know english xD and as he said his knowledge and skills are beyond our imagination xD
    • nice work, welcome back to world of lineage development @melron 😄
    • He's likely baiting you to download his source full of backdoors indeed
    • Yeah inside router i had to enable udnp services 
    • Hello cheaters, As a team of avid developers and enthusiasts of Lineage 2, we are excited to present the L2 Control Hub, a groundbreaking plugin designed by myself and my collaborator, StinkyMadness. This innovative tool equips server administrators with powerful automation capabilities directly within the game's community board. L2 Control Hub simplifies the creation and management of automations, enabling you to customize your server operations without the need to modify the source code.   Key Features of L2 Control Hub: Robust Automation Triggers: Select from a plethora of triggers currently available, with continuous additions in the works to enhance your control options. Dynamic Conditions and Actions: Tailor your server operations with an extensive range of conditions and actions, ensuring flexible and precise control over game events and player interactions. Customizable Variables: Easily integrate server-specific variables from your database to further personalize and streamline your automations. Utilize these variables across various automation scenarios to cater to your specific server requirements. JavaScript Integration: Execute custom JavaScript codes that interact seamlessly with Java classes, bringing advanced functionalities to your server's ecosystem.   Explore L2 Control Hub in Action: We've prepared a series of video tutorials to demonstrate the capabilities of L2 Control Hub: Control Hub - Create a Simple Flow with 1 Condition and 1 Action: Get started with basic automations. Control Hub - Multiple Conditions with Multiple Actions: Explore more complex automations for detailed server management. Control Hub - Using Variables: Discover how to implement and use custom variables for tailored automations. Control Hub - Using JavaScript: Experience the power of custom scripts in enhancing your server functionality.   L2 Control Hub is currently about 70% complete, and we are actively developing and refining features. We invite you to join our ➡️ Discord community ⬅️ to engage with the development process, provide feedback, and be the first to test new features. Additionally, any updates or changes to the plugin are seamlessly delivered to all customers directly from our web server, ensuring your system is always up-to-date without the need for manual downloads.   Your game, your rules, automated. Join us in redefining server management in Lineage 2 and elevate your gaming community with unmatched automation capabilities. For more details, contact us directly to get started with L2 Control Hub.   Currently, the plugin is developed using aCis sources. We will continue with these sources until we finalize all the necessary details before proceeding to integrate with the more prominent sources available.       The L2 Control Hub is designed to extend beyond mere functional additions to your server. We are in the process of implementing a suite of advanced mechanisms, such as a vote manager capable of interfacing with any Lineage 2 voting site without requiring configuration, live statistics to provide admins with real-time insights, and an event engine that can generate any desired event within seconds. All these features will be seamlessly integrated into the module, enhancing your server management experience significantly.     Please note that L2 Control Hub will be a premium tool, reflecting the extensive features and benefits it offers. While we are finalizing the pricing structure, rest assured that we aim to deliver great value for your investment. We will announce the cost details soon on our platforms to ensure everyone is well-informed and can plan accordingly. Join us to take your server management to the next level with L2 Control Hub.     
  • Topics

×
×
  • Create New...