Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Client laggs and crashes after 2-3 minutes

Joined
Apr 2, 2015
Messages
13
Hey,

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

Code:
package com.test.first;

import com.runemate.game.api.client.paint.PaintListener;
import com.runemate.game.api.hybrid.local.hud.interfaces.Bank;
import com.runemate.game.api.script.framework.LoopingScript;
import com.runemate.game.api.client.paint.PaintListener;
import com.runemate.game.api.hybrid.input.Mouse;
import com.runemate.game.api.hybrid.location.Area;
import com.runemate.game.api.hybrid.location.Coordinate;
import com.runemate.game.api.hybrid.net.GrandExchange;
import com.runemate.game.api.hybrid.util.StopWatch;
import com.runemate.game.api.script.framework.task.TaskScript;

import java.awt.*;

/**
* Created by domen on 19.02.2016.
*/
public class mainClass extends LoopingScript{
private String aSetting;

@Override
public void onStart(String... args) {
//Sets the length of time in milliseconds to wait before calling onLoop again
setLoopDelay(400, 800);
//Load script configuration
aSetting = getSettings().getProperty("setting");
}

@Override
public void onLoop() {
//logic goes here
System.out.println("Round");
}
}

When i start the script my mouse laggs and after some minutes the bot crashes and nothing worked.

here the error code :
Code:
(03:08:52) Interface closer has been activated!
(03:08:58) java.lang.StringIndexOutOfBoundsException: String index out of range: -1
(03:08:58)    at java.lang.String.charAt(String.java:658)
(03:08:58)    at nul.iIIiIIiIIiii.spoof_startup_error(Unknown Source)
(03:08:58)    at pj.v(pj.java:42)
(03:08:58)    at rw.run(rw.java:508)
(03:08:58)    at java.lang.Thread.run(Thread.java:745)
(03:08:58) error_game_crash
(03:08:58) The game attempted to load http://world10.runescape.com/k=3/error_game_crash.ws.

Process finished with exit code 0
Please help me

Thanks!!!
 
Last edited:
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
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.
 
Joined
Apr 2, 2015
Messages
13
Ok i will start my whole pc new maybe it will help ... Thank you
 
It doesnt help... its very laggy

Then I havve to wait for spectre

Thank you !!
 
Top