1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question Client laggs and crashes after 2-3 minutes

Discussion in 'Developer Support' started by klopfie, Feb 20, 2016.

  1. klopfie

    Joined:
    Apr 2, 2015
    Messages:
    13
    Likes Received:
    0
    Hey,

    I searched through the tutorials on this website and try the following code :

    Code (Text):
    1.  
    2. package com.test.first;
    3.  
    4. import com.runemate.game.api.client.paint.PaintListener;
    5. import com.runemate.game.api.hybrid.local.hud.interfaces.Bank;
    6. import com.runemate.game.api.script.framework.LoopingScript;
    7. import com.runemate.game.api.client.paint.PaintListener;
    8. import com.runemate.game.api.hybrid.input.Mouse;
    9. import com.runemate.game.api.hybrid.location.Area;
    10. import com.runemate.game.api.hybrid.location.Coordinate;
    11. import com.runemate.game.api.hybrid.net.GrandExchange;
    12. import com.runemate.game.api.hybrid.util.StopWatch;
    13. import com.runemate.game.api.script.framework.task.TaskScript;
    14.  
    15. import java.awt.*;
    16.  
    17. /**
    18. * Created by domen on 19.02.2016.
    19. */
    20. public class mainClass extends LoopingScript{
    21. private String aSetting;
    22.  
    23. @Override
    24. public void onStart(String... args) {
    25. //Sets the length of time in milliseconds to wait before calling onLoop again
    26. setLoopDelay(400, 800);
    27. //Load script configuration
    28. aSetting = getSettings().getProperty("setting");
    29. }
    30.  
    31. @Override
    32. public void onLoop() {
    33. //logic goes here
    34. System.out.println("Round");
    35. }
    36. }
    37.  
    When i start the script bot my mouse laggs and after some minutes the bot crashes and nothing worked.

    here the error code :
    Code (Text):
    1.  
    2. (03:08:52) Interface closer has been activated!
    3. (03:08:58) java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    4. (03:08:58)    at java.lang.String.charAt(String.java:658)
    5. (03:08:58)    at nul.iIIiIIiIIiii.spoof_startup_error(Unknown Source)
    6. (03:08:58)    at pj.v(pj.java:42)
    7. (03:08:58)    at rw.run(rw.java:508)
    8. (03:08:58)    at java.lang.Thread.run(Thread.java:745)
    9. (03:08:58) error_game_crash
    10. (03:08:58) The game attempted to load http://world10.runescape.com/k=3/error_game_crash.ws.
    11.  
    12. Process finished with exit code 0
    13.  
    Please help me

    Thanks!!!
     
    #1 klopfie, Feb 20, 2016
    Last edited: Feb 20, 2016
  2. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Restart everythin, make sure you have the newest version of Java 8 installed.
    If that doesn't fix it, it seems like a client error to me. In this case, just wait for spectre, as the current client won't be updated anymore.
     
  3. klopfie

    Joined:
    Apr 2, 2015
    Messages:
    13
    Likes Received:
    0
    Ok i will start my whole pc new maybe it will help ... Thank you
    --- Double Post Merged, Feb 20, 2016, Original Post Date: Feb 20, 2016 ---
    It doesnt help... its very laggy

    Then I havve to wait for spectre

    Thank you !!
     

Share This Page

Loading...