-
Posts
129 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by dokato
-
-
change
window.frame.setVisible(true);
to
window.setVisible(true);
nope still doesnt work,
i also tried some additional thing as well but nothing works
-
still doesnt work
-
Ok so i've made this unfinished gui using window builder and now I want it to just pop up when i start my script, nothing more.
I've tried to make an object of it in my main script class and also experimented and tried a bunch of diffrent things but nothing works (the script wont even start up).
my gui class:
-
How can u determine if the player is interacting with a specific object?
And i mean something else than isAnimating().
Is there another method for that? cuz i tried to search in api but found nothing.
-
What is the best code to use if i'd like to interact with my amulet of glory in my house?
Because if i try this:
objects.closest("Amulet of Glory").interact("Karamja");
it will fail to click on it and it takes like a minute or more till it finaly clicks right.
-
I use this:
public void onMessage(Message message) throws java.lang.InterruptedException { String txt = message.getMessage().toLowerCase(); if (txt.contains("the fire catches")) { firesMade++; } }
Good luck!
works fine for me
THX alot bro
-
If i'd like to capture when i recieve for example willog logs, is this the correct code to use?
public void onMessage(String message) throws InterruptedException{if(message.contains("logs")){amountOfLogs++;}}i saw it this way in some other guides but it doesnt work -
Thx guys
- 1
-
How can i let the bot do something in my house (from construction).
if(/*I'm in the house (what code?)*/){
...
}
what should i write there?
because i noticed the Area coördinates change or are my eyes malfunctioning?
-
same here lol
-
I noticed the mouse moves around the screen randomly when u let it do something, it doesnt go straight the fastest way or am i wrong? If not, is the mouse speed random as well?
-
I'd like to know whats the default mouse speed (if there is any) or a mouse speed that is considerd "human". like:
setSpeed(/*what number?*/);
Or any tips to make it move more human?
-
-
-
thx alot
-
could u guys pls give an example on how to use the PositionFilter?
-
for example,
there are multiple objects with the same id in a certain location. But I only want to interact with the object that has a specific position x,y,z. What code could i use for this?
Because it will automatically interact with all he objects... something i dont want
implementing GUI in main class
in Scripting Help
Posted · Edited by dokato
no error at all
the script doesnt start when i click start, even the paint doesnt show up
unless i undo what ive added