-
Posts
240 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by BravoTaco
-
Help: Walk from any location to a predefined mob area
BravoTaco replied to Hussain1e's topic in Scripting Help
I think the import is: org.osbot.rs07.api.Walking Should be the same import as the standard walker uses. -
Help: Walk from any location to a predefined mob area
BravoTaco replied to Hussain1e's topic in Scripting Help
If the position is to far from the player position you will have to use the WebWalker it is a heavier method to call so try to use the local walker when you can. Example getWalking.webWalk(location); -
What kind of other tasks are you trying to run while running the main task? You could multi-thread: More Info Here Class Usage
- 1 reply
-
- 1
-
-
Very interesting. Does the script dip in fps when this happens? Also could we get some source code, maybe just a part where you might think could be the problem. If you don't want to share it here you can pm me.
-
private List<Player> getPlayersAttackingPlayer(String playerName, int tileDistanceFromPlayer, ArrayList<String> friendNames){ Filter<Player> playerFilter = new Filter<Player>() { @Override public boolean match(Player player) { return !player.getName().equals(playerName) && myPlayer().getArea(tileDistanceFromPlayer).contains(player) && !friendNames.contains(player.getName()) && (player.getInteracting() != null) && player.getInteracting().getName().equals(playerName); } }; return getPlayers().filter(playerFilter); } If you are just trying to get one player, use Malcoms method instead, this one will be more performant heavy. Example Usage ArrayList<String> friendsNames = new ArrayList<>(); friendsNames.add("Bill"); List<Player> players; if((players = getPlayersAttackingPlayer(myPlayer().getName(), 20, friendsNames)) != null){ for(Player player : players){ log(player.getName()); } }
-
Np. If you have any other questions feel free to pm me.
-
Uuuum weeeeell you see I used it once, back when I was starting out and didn't like the layout so I switched to intellij lol.
-
For sure. I just found that using Intellij was easier for me when I was getting started
-
Hmmm not to sure. Try deleting the jar from the folder and recompile without compressing the file. Also if that doesn't work you could try and use Intellij instead. Explv made a great tutorial for it here: Edit: Quick note, I think you have to use java 8, it looks like you are using java 12 try to download this and setup your project to use it: Link To JDK 8
-
What IDE are you using? Don't recognize that one. Also are you able to show your project structure? Like the settings on your compile.
-
Stronghold Of Security Completer Thanks To @sheeper22 For the Logo. Features: How To Use: Pictures: Bug Report Form: Changelog:
-
Attempt at answering some of your questions. Feel free to pm me if you have any other questions 1. I'd like to put something that enables run when energy goes beyond a certain value, can someone point me in the right direction for this? 2. My axe check needs to contain all of the axes not just bronze axe. How would I do this? I've tried doing a string array but EquipmentSlot doesn't seem to like this 3. Something probably a bit too advanced for me right now - How do I create a little pop up before the script kicks in so the user can choose a different tree type?
-
For this you could loop through the inventory and add the ids to a list while checking if the list already contains that id: Here is an example. Haven't Tested this, but should work Also just in case you want to get an id from a certain slot: Any questions feel free to pm me or reply here.
-
The runescape servers could be down atm. Cant test, currently at work. But try to see if the normal osrs client connects. You could also try this.
-
Let me know if anything needs added or fixed
-
What is your FPS and your Ping to the world you are connected to? The perfect miner script may use a custom dropping method instead of the API's drop method, could be why it's quicker.
-
Try setting the reaction time to 50ms by clicking shift+F4 multiple times until in the top left corner it says Reaction: 50ms. Also which scripts are you running? The scripts could just have long sleeps in them.
-
Thanks! Let me know how it goes.
-
This will paint a progress bar going left-right or right-left. It has one class and two callable methods: drawProgressBar() || drawReversedProgressBar() Example Usage In onPaint() with the Graphics2D named g: Code:
-
Thanks! If you find any problems or have any suggestions with it, let me know.
-
Thanks for the feedback. For the GE Location I will change the location to the south of the GE, and while doing that I will rewrite how the pathing is calculated by using a random position in the area that is defined as the starting area. Might take a few days though, been pretty busy with work lately. For the background on the paint I can add an opacity button or hotkey to switch between different levels of opacity. In intervals of 25% maybe? Should be pretty easy to add. Probably have it done by tomorrow. Edit: Finished the toggle for the opacity amount. HotKey is Control The script should be updated soon.
-
This will paint all the loot that is on the screen and will condense same items together if the items are in the same loot pile. To Use, simply call Painter.paintGroundItems() in your onPaint() Method. It takes 4 parameters: Graphics2D Color - This will be the color of Tile Outline Color - This will be the color of the Loot Text Script Example Usage: Picture: Code:
-
Thanks, currently working on the new GUI, should be done soon, it will also add some stopping points as well.
-
-
Elemental Binder [Open Source Runecrafter]
BravoTaco replied to BravoTaco's topic in Resource Crafting
Thanks, the muling system is almost done just got a few bugs to work out. Probably will be done later today. Edit: Muling System has been added.- 48 replies
-
- open source
- runecrafting
-
(and 1 more)
Tagged with: