V1.0.0 - Beta 16.1 Bug Reports

Discussion in 'Client & Site Support' started by Cloud, Apr 30, 2014.

  1. Please post any bugs you encounter here
     
  2. Code (Text):
    1. An exception has occurred in Lost and found while checking for active rs-events
    2. java.lang.NullPointerException

    The error is not fixed :(
    Also bot and game are lagging a lot since this update
     
    #2 Viewer, Apr 30, 2014
    Last edited: Apr 30, 2014
  3. Under which conditions does it lag? Only when a bot is running?
     
  4. I don't experience any lag at all... buttttt:
    The camera focus is the location of the flax I'm picking, it's floating in the air, what's up with that? :p
    [​IMG]
     
    #4 Salvation, May 1, 2014
    Last edited: May 1, 2014
  5. area.getCoordinates() returns an empty list (tested with a square area)
     
  6. I dont know it starts lagging at some point when Im running my script bot
     
  7. I don't see a problem
    Code (Text):
    1.  
    2.   public List<Coordinate> getCoordinates() {
    3.         final List<Coordinate> coordinates = new ArrayList<>();
    4.         if (Type.CIRCLE.equals(type)) {
    5.             for (double x = center.getX() - radius; x <= center.getX() + radius; ++x) {
    6.                 for (double y = bottomLeft.getY() - radius; y <= center.getY() + radius; ++y) {
    7.                     final Coordinate coordinate = new Coordinate((int) x, (int) y, center.getPlane());
    8.                     if (contains(coordinate)) {
    9.                         coordinates.add(coordinate);
    10.                     }
    11.                 }
    12.             }
    13.         } else if (Type.RECTANGLE.equals(type)) {
    14.             for (int plane = bottomLeft.getPlane(); plane <= topRight.getPlane(); ++plane) {
    15.                 for (int x = bottomLeft.getX(); x <= topRight.getX(); ++x) {
    16.                     for (int y = bottomLeft.getY(); y <= topRight.getY(); ++y) {
    17.                         coordinates.add(new Coordinate(x, y, plane));
    18.                     }
    19.                 }
    20.             }
    21.         }
    22.         return coordinates;
    23.     }
    24.  
     
  8. Well what if Type.RECTANGLE doesn't equal type? :p
    Edit; okay nvm i accidentally typod my area rofl
     
    #8 Salvation, May 1, 2014
    Last edited: May 1, 2014
  9. java.lang.NullPointerExceptionAn exception has occurred in Evil Twin while checking for active rs-events
     
  10. -_-
    I'll check it out, thanks for the report. How often does it happen?
     
  11. About once every 15 minutes, and as a result the script bot goes unresponsive. It doesn't actually stop the script bot, it just refuses to do anything
     
  12. Ah ok, I'll get it fixed soon, thanks for the report :) A magic API is probably incoming in the next release too :)
     

Share This Page

Loading...