Jump to content
  • 0

Question

Posted

Hello how are you?. I need help please to implement this mod. What happens is when I try to ask for a skill in the npc, it throws me a critic that says to update the files that are defective.

I pass some of what I have to see if someone can help me. Thank you!.

RebirthEngineConfig
-----------------------

 

package l2r;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

import l2r.gameserver.util.Util;

import gr.sr.configsEngine.AbstractConfigs;
import gr.sr.utils.L2Properties;

/**
 * @author vGodFather
 */
public class RebirthEngineConfigs extends AbstractConfigs
{
   private static final String CONFIG_FILE = "./config/extra/rebirth.ini";
   
   public static int REBIRTH_MIN_LEVEL;
   public static int REBIRTH_MAX;
   public static int REBIRTH_RETURN_TO_LEVEL;
   public static List<Integer> REBIRTH_SKILL_IDS;
   public static int REBIRTH_SKILL_SELLER_ID;
   public static String[] REBIRTH_ITEMS;
   
   @Override
   public void loadConfigs()
   {
      // Load Server L2Properties file (if exists)
      L2Properties rebirth = new L2Properties();
      final File file = new File(CONFIG_FILE);
      try (InputStream is = new FileInputStream(file))
      {
         rebirth.load(is);
      }
      catch (Exception e)
      {
         _log.error("Error while loading rebirth system settings!", e);
      }
      
      REBIRTH_SKILL_SELLER_ID = Integer.parseInt(rebirth.getProperty("RebirthSkillSellerId", "500"));
      REBIRTH_MIN_LEVEL = Integer.parseInt(rebirth.getProperty("RebirthMinLevel", "78"));
      REBIRTH_MAX = Integer.parseInt(rebirth.getProperty("RebirthMaxAllowed", "3"));
      REBIRTH_RETURN_TO_LEVEL = Integer.parseInt(rebirth.getProperty("RebirthReturnToLevel", "1"));
      REBIRTH_ITEMS = rebirth.getProperty("RebirthItems", "").split(";");
      
      String[] ids = rebirth.getProperty("RebirthSkillIds", "90045,90046,90047,90048,90049,90050,90051,90052,90053,90054,90055,90056,90057,90058,90059,90060,90061,90062,90063,90064").split(",");
      REBIRTH_SKILL_IDS = new ArrayList<>(ids.length);
      for (String id : ids)
      {
         if (Util.isDigit(id))
         {
            REBIRTH_SKILL_IDS.add(Integer.parseInt(id));
         }
         else
         {
            _log.warn("Wrong skill id format (RebirthSkillIds) rebirth.ini");
         }
      }
   }
   
   public static RebirthEngineConfigs getInstance()
   {
      return SingletonHolder._instance;
   }
   
   private static class SingletonHolder
   {
      protected static final RebirthEngineConfigs _instance = new RebirthEngineConfigs();
   }
}

FILE SKILLGROUP.dat
-------------
90045    1    14    2    0    4294967295    0    0.00000000    0            icon2.skill1240        0    0    0    a,none\0    0    -1    -1    0    a,none\0
90045    2    14    2    0    4294967295    0    0.00000000    0            icon2.skill1240        0    0    0    a,none\0    0    -1    -1    0    a,none\0
90045    3    14    2    0    4294967295    0    0.00000000    0            icon2.skill1240        0    0    0    a,none\0    0    -1    -1    0    a,none\0

continue.....



90045    1    a,XbCustom Rebirth Skill Guidance\0    a,Increases Accuracy 5%.\0    a,none\0    a,none\0
90045    2    a,XbCustom Rebirth Skill Guidance\0    a,Increases Accuracy 10%.\0    a,none\0    a,none\0
90045    3    a,XbCustom Rebirth Skill Guidance\0    a,Increases Accuracy 15%.\0    a,none\0    a,none\0



I found what is the problem, it was a texture error. Buy  when y try to get a skill i get an message, Wrong Packet Data in Aquired Skill. Does anybody an idea how to resolve it?.

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


  • Posts

    • You talk too much go open L2Jhellas 😞 
    • 🌟 L2Avalon – Interlude Rework x20 – Grand Opening July 4! 🌟 📅 Server Launch: Open Beta: June 26, 18:00 GMT+3 Grand Opening: July 4, 2025 📦 Chronicle & Client: Reworked Interlude (based on latest High Five features) Custom launcher with up-to-date client support ⚔️ Rates & Progression: EXP/SP: Lv 1–39: x20 Lv 40–52: x15 Lv 52–60: x10 Lv 61–70: x8 Lv 71–75: x5 Lv 76–79: x4 → x3 Lv 80+: x2 Adena: x1 (subject to adjustment) Drop/Spoil/Raid Drop: x5 Quest Drop: custom Party Bonus: up to +290% EXP 🛠️ Core Features: Auto-loot (normal drops) Auto-learn skills up to level 75 High Five-style skill system with full rebalancing Passive MP regen: +1000 MP / 15s Inventory space: 150 slots Weight limit increased Auto CP/HP/MP potions Global chat from level 40 (!), offline shop (.offline), buff selling system (.sellbuff) 🔼 Class Progression: 1st & 2nd class: Free 3rd class: Kill 700 mobs → get 1 Giant Codex Subclass: Custom quest + 4 raid bosses + 1000 B-grade Crystals Noblesse: Either via Caradine's Letter (Lv 65+) or Noblesse box from raid bosses 🏪 NPC Shops & Support: GM Shop: Full D/C gear, Low B gear Luxury Shop: TOP B gear Donation Shop: Cosmetics, premium, etc. NPC Buffer: Save & load buff schemes (premium buffs for Premium Account) Mammon functions via NPC in Giran (unseal, augment, etc.) Offline Traders, Coin of Luck auction system Special blacksmiths and unique item services 💡 Why L2Avalon? Balanced seasonal x20 rates – smooth and long-term growth Quality-of-life systems for casual & hardcore players alike Custom skill system, refined raid rewards, and unique gear upgrades Active community, continuous development, and fair monetization Beta rewards & early start advantage 🔗 Useful Links: 🌐 Website: https://www.l2avalon.net 📘 Full Server Info: https://l2avalon-net.gitbook.io/info 💬 Discord: https://discord.gg/NbM2cXmAem 📝 Join the adventure this July! Prepare your characters during Beta and get rewarded at launch!  
    • You spent over a month calling a lot of people names. I get that you want to change, but it will take a lot more than this for me to believe its sincere. And honestly, for your apology to matter, I'd have to care enough to be offended in the first place.
    • we all love you very much Guytis💖 🤗
    • W/e u smoke there, i want aswell... life has been cruel all this time! Maybe it will help me
  • 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