Jump to content

Bellion_Epica

Members
  • Posts

    3
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Bellion_Epica

  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...

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