Jump to content

Bellion_Epica

Members
  • Posts

    3
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About Bellion_Epica

Contact Methods

  • Telegram
    l2bellion.epica@gmail.com
  • Website URL
    https://discord.gg/esXFa8gS

Profile Information

  • Current Mood
    Dumb
  • Gender
    Not Telling
  • Country
    Argentina

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bellion_Epica's Achievements

Rookie

Rookie (2/16)

  • Reacting Well Rare
  • One Month Later Rare
  • Conversation Starter Rare
  • First Post Rare
  • Week One Done Rare

Recent Badges

0

Reputation

  1. I strongly recommend you to build around dynamic arrays, even a Set<> will be using quite less memory (even if that may already be insignificant), and might be excesivelly efficient on cpu-consuming tasks. A primitive ArrayOf[Object()] will be really faster and more convenient using the ClassID as the key for the value. This kind of evaluations are sortta unnecessary int val = (int) calcStat(Stats.MAGIC_ATTACK_SPEED, base, null, null); for (String className : Config.LIMIT_CASTING_SPEED.keySet()) { if (Config.LIMIT_CASTING_SPEED.containsKey(_actor.getClassId().toString()) && val > Config.LIMIT_CASTING_SPEED.get(className)) val = Config.LIMIT_CASTING_SPEED.get(className); } Have in mind that, FOR EACH String inside your Config, the loop will be doing X function in order to find the requested value, repeating this for every Class that is requested to acquire the desired value. Meanwhile, a simple Array[Int[]] will be faster and much more efficient: Int[][] class_castSpd_value; int val = class_castSpd_value[classId];
  2. Have you found any help, solution or suggestion yet so far?
  3. Hey Mr Dreigons, may i can quickly help you out, you can dm me via DC. By the way, there is no way to do such thing othet than modifying the client dats, not a hard task, but quite booring. GL.
×
×
  • Create New...