Everything posted by Vilius
-
Tyskie's intro
Welcome, Reffering to the statement you made about looking on how to create a bot, you need very good java knowledge and especially the reflection aspect of it. Its much more easier to make scripts and contribute to an already made community :p
-
[Guide] Simple guide about navigating through the API's documentation
Then you refer to this: http://osbot.org/forum/topic/93981-guidetypes-of-entities-and-how-to-use-them-correctly/
-
Can someyone help wit an script..
I dont get it, you are making multiple threads asking for help, being really undescriptive of what you want. Basically, providing no information whatsoever and expecting people to help you? Nuuh, that is not how it works. Plus helping you with a script would mean you have made some coding work, but what Im seeing is that you want someone to make you a script. Sorry if Im being a bit harsh, but honestly you wont get far if you are doing things like this.
-
Hi
It would be more useful if you told us what kind of help you need, are you having trouble figuring out a logical issue? Or you just have no idea how to make one from scratch? Plus you could just look in the tutorial section, there are plenty of tutorials and mine are really detailed if you want to try and make one yourself.
- .
-
Training Agility for 30 hours straight
He definitely has no sleep
- [Snippet] Autocast API
-
[Snippet] Extract integers from a message
nice regex snippet
-
[AIO RuneScape] Build a Script Workshop
nice release
-
[Chart] Picking the appropriate Collection interface
tyvm
-
Confused about how to use correct methods for proxies or vps's?
Socks5
-
Sleep
Yep, you do need to do that, or just create your own interaction.
-
Sleep
I suppose it does, but I have no idea why would you want to check that, just do: if(!script.getBank().isOpen()){ //if closed open bank script.getBank().open(); }else{ //if open do banking, take stuff, deposit stuff. script.getBank().depositAll("Logs"); }
- zulrah
-
Sleep
Check if the player is animating or not if(!script.myPlayer().isAnimating()){ //chop }
-
[HELP] Looking for someone who will help me out ! [Will PAY]
Sure
-
Undefined i need help
I just think his main class isnt extending Script.
- Hi I'm bored.
- Modelling Video
-
:doge: uppcases
Hero, please follow the simple code conventions given here, it will make our life easier: http://www.oracle.com/technetwork/java/codeconventions-135099.html
-
need help opening osbot
Make sure you have Java 8installed, http://java.com/download
-
How do i make my script STOP and not just stop moving
Right I guess you dont want that, in that case do this: getBot().getScriptExecutor().setRunningScript(false);
-
How do i make my script STOP and not just stop moving
It is: stop();
-
Please give me some constructive criticism on my first script!
Its actually that that the cooking animation ends -> interp (-1) -> new cooking animation. Using a Timer allows it to skip that interp and if the idle is longer than say 1000ms then you would try to cook again/bank or what not.
-
Please give me some constructive criticism on my first script!
Instead of: isCooking = myPlayer().getAnimation() != -1 ? true : isCooking; if(emeraldBenedict != null){ if(!bank.isOpen()){ emeraldBenedict.interact("Bank"); sleep(1500); if(bank.isOpen()){ bank.depositAll(); bank.withdraw("Raw trout", 28); bank.close(); sleep(random(300,400)); } } } you could do: isCooking = myPlayer().isAnimating(); if(emeraldBenedict != null){ if(!getBank().isOpen()){ emeraldBenedict.interact("Bank"); sleep(1500); }else{ getBank().depositAll(); getBank().withdraw("Raw trout", 28); getBank().close(); sleep(random(300,400)); } } Plus you shouldn't nest your if statements so often. And don't return null in your getState(), if something goes wrong you will get npe's just add a waiting state