Welcome!

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

Sign up now!

Tutorial An Introduction to the State-based Script

Status
Not open for further replies.
Joined
Jan 25, 2015
Messages
121
Thank you for this masterpiece! Now I'm studying this to start another simple bots. Anyways, have you some hints to learn the Runemate API?
 
Joined
Nov 19, 2016
Messages
9
When I try to load my script on runemate's developer mode, it keeps telling me that it can't locate my script's main class. Do you perhaps know what the issue might be? (I don't think there's anything wrong with my manifest :O) Are some aspects of this tutorial outdated?

Actually, forget about that. It seems like my script can't even compile... I get the error "Unused import statement" for several of my imports eg.

Code:
import com.runemate.game.api.script.framework.LoopingScript;
 
Last edited:
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
When I try to load my script on runemate's developer mode, it keeps telling me that it can't locate my script's main class. Do you perhaps know what the issue might be? (I don't think there's anything wrong with my manifest :O) Are some aspects of this tutorial outdated?

Actually, forget about that. It seems like my script can't even compile... I get the error "Unused import statement" for several of my imports eg.
import com.runemate.game.api.script.framework.LoopingScript;
Rofl, you use LoopingScript btw, LoopingBot is depricated... But that error doesnt seem like one that should interfere with compling.
 
Joined
Nov 19, 2016
Messages
9
Do you mean that I should use LoopingBot instead of LoopingScript? I realised what my mistake was with my manifest... I tried to 'reverse engineer' a open-source script and naming my main class file with .java extension....... (smh)

Just curious, are any of these deprecated as well?

Code:
import com.runemate.game.api.hybrid.location.Area;
import com.runemate.game.api.hybrid.location.Coordinate;
import com.runemate.game.api.hybrid.entities.Npc;
import com.runemate.game.api.hybrid.local.hud.interfaces.ChatDialog;
import com.runemate.game.api.hybrid.region.Npcs;
import com.runemate.game.api.script.Execution;
import com.runemate.game.api.hybrid.entities.GameObject;
import com.runemate.game.api.hybrid.region.GameObjects;
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
Do you mean that I should use LoopingBot instead of LoopingScript? I realised what my mistake was with my manifest... I tried to 'reverse engineer' a open-source script and naming my main class file with .java extension....... (smh)

Just curious, are any of these deprecated as well?

Code:
import com.runemate.game.api.hybrid.location.Area;
import com.runemate.game.api.hybrid.location.Coordinate;
import com.runemate.game.api.hybrid.entities.Npc;
import com.runemate.game.api.hybrid.local.hud.interfaces.ChatDialog;
import com.runemate.game.api.hybrid.region.Npcs;
import com.runemate.game.api.script.Execution;
import com.runemate.game.api.hybrid.entities.GameObject;
import com.runemate.game.api.hybrid.region.GameObjects;
no...
 
Status
Not open for further replies.
Top