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

    • Rosyk or rusik or whatever u blaim me that my mouth stinks but I assume you the one who stinks and your perfect pack will be now shared and you can suck a DICK )  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Server and Datapack files.rar  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Eng Client.rar Drama link    For this crap u need Lucera 2 classic license ) people paying 300 euros for this shit  lol Some Shit will come out soon mxc website need shake it a bit coz getting boring here )   
    • @Huggo Thank you for asking! When you join our Discord, on the Nexus Marketing section there is a #work-showcase channel. There you can see a little bit of what we are able to produce as a final ready-to-post product.  There is also this link in my new personal montage YouTube channel, in which I will be uploading every recent work: https://youtube.com/playlist?list=PLkzBKexKw8Wj8dC2diYndd5yOWOXUQCJW&si=-HGxlovqzvD4qqy2 Two more videos are coming up this week, and a #reviews channel has opened for our clients to let other people know about their experience working with us. Feel free to join our Hub in Discord, and for any inquries you might have don't hesitate to contact me or post your suggestion at #suggestions channel.  
    • Следи за своим вонючим языком, мудак.   Your mouth stinks, go wash your mouth, it's a dump) I don't know who you are or what you are, and I don't recommend buying anything from people outside of my network, as they may sell garbage under the guise of my work. There have been cases where my sales have been compromised. Additionally, reselling below the purchase price has been prohibited. I wish you all the best and peace. I kindly request that the moderators close this topic, as it is no longer relevant and the contact information is outdated.    
  • 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