Everything posted by Joseph
- Perfect Quester
-
Adding In A Mouse Listener
ofc but i thought this would be easier for the newbies. i mean newbies don't know much about oop (or so i think). But thanks for the input question whats better having you main script implement the Bot mouse listener. Or creating your own listener that implements the bot mouse listener?
-
Adding In A Mouse Listener
Before in OSBot 1 they had mouse listener already implemented but in OSBot 2 you have to initialize it yourself. How do you go about doing that. Please be aware that within the bot class there's a method called addMouseListener. Which allows you to add in your moue listener. The methods constructor supports (java MouseListener) but since osbot has a class called BotMouseListener that extends the (java MouseListener). if you know anything about OOP, youll know that you allowed to use java Mouse Listener or OSBot listener. I highly suggest using the OBSot Mouse Listener. Just because it contains an extra method. java.awt.event.MouseListener Step one: Within the onstart you would have @Override public void onStart() throws InterruptedException { this.bot.addMouseListener(new BotMouseListener() { @Override public void mouseClicked(MouseEvent e) {} @Override public void mouseEntered(MouseEvent e) {} @Override public void mouseExited(MouseEvent e) {} @Override public void mousePressed(MouseEvent e) {} @Override public void mouseReleased(MouseEvent e) {} @Override public boolean blockInput(Point arg0) { return false; } }); } pretty much your done ^^^^ What could you do with this? you could do many thing its up to you. But mainly people use it to hide/show their paints. Code example: PS. Someone PMed me asking me how to do it. I Explained to him/her how it was done. Decided to release it to the community for the one that are still learning
-
Osbot 2.2.39 - Advertisements Part 2
because he likes to make us happy, shit hes doing a good job at it. And i really appreciate it. Plus he working with 07, im sure the others are dealing with rs3 -.-. Alek a quick idea that poped into my head. why not create some sort of timer. With an algro, the longer you bot (and maybe the less time you close the adver). The more time you get for how long you get to hide the adver. <~~~ doesnt need to be done, just a suggestion.
-
Drinking Prayer Potion
There a method that allows us to put an array of string or ids in the constructor. Which mean the first available item found first will be interacted with the string of action. Look into the inventory class it's there. Best suggestion create the array from lowest to biggest because if you say you do it my way but biggest to lowest. The method looks through out the whole inventory. Look for the first available with the same name. So if you do potion number 4 it drinks all 4's before heading to the 3's.
-
Osbot 2.2.37 - World Hopper And Lunar Spellbook
Thank you for the debug tab it's way better then before. I can't wait for the next update
-
Need Help With First Script
Naw chill we still can, they innovated it. They created an interaction event class that allows us to interact with almost anything entity, interfaces, and others
-
Free 24+ hours script trial
Finished have fun.
-
Gui & Area..
You could separate both the gui class and script class. Create your gui then in the script class you would create a gui instance. With in the class you could create public methods they will help you return your data.
-
Free 24+ hours script trial
done
-
Gui & Area..
Make sure your facing north. The area is bottom left corner. Then to right corner. So it's (min x, min y, max x, max y) Please ha the right import
-
How Do I Compile A Script
Us your IDE and export it using Java which should compile your script. If you don't have an IDE there's website that do it for you
-
Free 24+ hours script trial
Done
-
Alek's Java Game - Rpg/quest - Updated October 27th
how do you still have time to update this lol
-
Free 7 Days Vip For An Rs Account With Lunar Spells
Hope you get it soon, my account doesn't have this so I can't help you out this time
- Selling pure!
-
Free 24+ hours script trial
Done, have fun botting
-
Free 24+ hours script trial
I'll look into this I think I know where I missed up at lol. I might be able to add in that suggestion
-
I Didnt See This Coming
could anybody supply me with a download link. Which one the newest one?
-
I Didnt See This Coming
lol i want to experiment with other IDE, but eclipse the bae.
-
APA Script Trials
I never asked anybody for more auths but i think everybody get at least 10. I had more then 5 at a time. For the timer i dont know, it says it's allowed but i never knew how to do it. Finally you should move this thread into the community discussion just how i have mine.
-
I Didnt See This Coming
ive been computer-less for the last three days. One of the hinges were loose so i took it to the shop, they gave me a newer computer (the same type) with all my data in one folder. Long story short im back on the grind again. Currently i have to download all my apps. Except an update on my crafter script, some snippets, and more of me on the forum lol. For scriptwriters: Give me an idea of a good IDE. Ive used to use eclipse i like it, but i would like some change. If you could provided me with a download link too would be great.
-
Free 24+ hours script trial
Some have fun
-
OSBot 2.2.35 - Debugging and API
I love api updates, I get to work with new things.
-
Free 24+ hours script trial
Yes I can kind sir