I dont understand why you cant just check every 5 seconds if a client has disconnected, its not like its going to hurt the server...
I dont understand why you cant just check every 5 seconds if a client has disconnected, its not like its going to hurt the server...
lol
lol how is this still an issue
I dont understand why you cant just check every 5 seconds if a client has disconnected, its not like its going to hurt the server...
When is successTask() and failureTask() executed? Doesn't say anywhere in the code
Edit: nvm read the api docs, makes sense, but this isn't really much different than the node framework with parent / child relationships.
I dont understand why you'd need to do all that? Runemate has quickstart parameters that allows you to run a script when runemate is fully loaded...
And once script is running, have it connect to ur server, BAM now u know the client is loaded.
I'll give it a shot, I wasn't aware that system.exit was a safe way to do it. Thought maybe the instance was only terminated by an onClick or something on the exit button. Thanks.
The app I have destroys RuneMate running by calling System.exit, there isn't really a way that I can manually click the X button, and no real way to programmatically do it afaik, unless it is apart of the runemate API?
You are missing the point, the IP's are not relevant to the situation. Even if I forcefully shut down and instances on the same IP, it still would have the same result.
The IP's aren't the issue I'm having, it doesn't have anything to do with the runemate instances, my system is setup perfectly for how I need it, just one issue of the instances not letting me run a bot :(
They are being rebuilt because I need fresh IPs.
I remove the vps's (closing all the clients), then wait 15 mins to rebuild, so it gives about a 20 minute window before it tries to re-open runemate, but still doesn't seem to let me.
All the java processes are being destroyed because my VPS's are being rebuilt every 30 minutes, the clients are being unsafely closed, but there aren't any java processes open. I can't manually close them due to them being on a remote server. It seems that all yesterday, for over 6 hours it said...
I have 12 instances, and it won't let me run any clients at the moment because it says I have reached my limit of 12, even though not a single client has been running for over an hour.
Why does the instance stick for so long? What can I do about this?
@Cloud @Arbiter
You can't make one? You have the tag "Bot Author", so i would assume you'd be more the capable of it if needed so bad. Its really easy if the GrandExchangeOffers are hooked in the client (idk if they are). You can get alot of data from that array. Also you can use settings to get the current...
public class ModuleWrapper {
private LinkedHashMap<Condition, ArrayList<Module>> arrayListMap = new LinkedHashMap<>();
public ArrayList addModuleList(Condition condition) {
return arrayListMap.put(condition, new ArrayList<>());
}
private ArrayList<Module> getMapKey(int...