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

    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • REBORN ETERNAL IL x10 WTS  1gb 8e (a lot in stock) DR set +6 180e Frintezza+6 200e Zaken+6 200e AQ+6 200e You must go first or Pufa middleman service
    • There's many reasons why it would be more NO than YES : Using NCSoft assets is a death wish, they can lawyer any LU3/Unity if they wanted, since it's a plain steal of intellectual property. It's an hobby, as you said it, and it's not specially about money. Money is a way to filter idiots/resellers, nothing more. It's really about trying to replicate old content and optimize it which I find it fun. I just align with the basic idea than an emulator emulates. When you launch Project64 and SuperMario 64, you don't expect to get something more than 120 stars and Bowser boss in the end - which should have been L2J project to begin with Even if I played a lot with TESCS from Morrowind, back in time, it's not enough to handle current engines, and I'm too lazy to learn Unity/Unreal Engine. Moreover, it would mean buying assets. While doing it alone would be a fail, coupling to L2J / L2 community would still be shitty (since the majority is RU/BR) ; people is only about fame/glory/reselling shit on back of others. Opening to others, the project would be leaked day 1, rebranded and resold. MMO genre is basically dead, and that's not a reboot of any game (l2/wow classic :D) which will turn the tide. Regarding L2 or an remastered version of it, you can obviously blatantly copy-cat it (as Propnight did for Dead by daylight).   All frenchies aren't supposed to do Expedition 33 :).
    • 190euro until last month, don't miss it.
  • 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