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

    • English you belarus retard ) Seems you so desperate and angry cant even speak back in EN, well guys you see how its easy to destroy scammer xD
    • Чувак) мне на него насрать давно, ты не мне сделал подлянку а людям которые купили и используют. Я его удалил год назад) когда закрыл продажи.   мне вообще похер кто ты и что ты.    Можешь сесть и попрыгать на тот же член на котором ты прыгаешь все это время) и этой версии более 3х лет) ты откопал залупу мамонта , поздравляю)) кто скачает это дерьмо используйте на свой страх и риск)) кто знает что там наворочено)))  удачи в шаринге обиженный жизнью неандерталец.   Можешь лизнуть мое очко на прощание.
    • 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 )    Whats happen rosyk lost speach  xD Your pack was downloded  29 times bussines  not going as plan xD?
  • 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