x
  • IP Copied!
    Click to Copy IP
    0 Players Online
  • Join our Discord!
    0 Users Online
  • Fix for /baltop

    Discussion in 'Suggestions' started by Paskov123, Jul 24, 2015.

    1. Paskov123
      Offline

      Paskov123 Experienced Member

      Joined:
      Nov 30, 2013
      Messages:
      363
      Likes Received:
      31
      So ive noticed that baltop takes a ridiculous amount of time to load, obviously just because of the sheer size of it. I looked more into how it works and i see that ur using an array to store the values. In order to make it MUCH more efficient, i would suggest using a hashtable or just not displaying/storing someone who is below a certain amount, for example on prison 25k or even less, into the array. Either of those would make it SOOO much more efficient. Just a suggestion...
       
    2. thorraks
      Offline

      thorraks Guest

      Tbh prison should be 100k
       
    3. Paskov123
      Offline

      Paskov123 Experienced Member

      Joined:
      Nov 30, 2013
      Messages:
      363
      Likes Received:
      31
      ^^AGREE^^
      Also another suggestion (if you are wondering, i know comp sci very well which is why i know these suggestions will work) is to just let the user set their custom limit, so it would be like /baltop 500000 , which would only display the all ppl above 500k. That would be very easy to implement, especially in java, prob like 5-10 min of coding lol. I feel like that would be the best solution cause if someone wants to wait for them all they still could
       
    4. ShovelMcYT
      Offline

      ShovelMcYT Active Member

      Joined:
      Oct 28, 2014
      Messages:
      239
      Likes Received:
      22
      I could have that sh*t coded in 4 minutes.
       
    5. Paskov123
      Offline

      Paskov123 Experienced Member

      Joined:
      Nov 30, 2013
      Messages:
      363
      Likes Received:
      31
      I could have that done in < 3 min :pomp:. Lol
       

    Share This Page