Everything posted by danieljvdm
-
AutoFletcher
Is it still not working? I never actually tested it, since I'm a high level fletching, so I made something theoretical. Should work though. Also, I just came home and it had fletched 7000 for me without logging out! 95k xp/hr. I'm out of logs now, so I'll code the stringing method tonight. I have no money left, so if people want to donate logs to me that would be awesome too
- AutoFletcher
-
AutoFletcher
OSFletcher - by Daniel Current Version: 3.0 (06/21) - Supports OSBOT 1.7.X Price: FREE Status: Running perfectly Feel free to donate to me if you love this script. Welcome to OS Fletcher! This script supports all type of bow fletching, from regular shortbows, to magic longbows. This script will run for hours on end with no glitches or problems. To use, simply add OSFletcher to your scripts on the store and run it from your remote free scripts on OSBot 1.6.x. If not running on 1.6.x, download the jar file at the end of the post, add it to your script folder (no unzipping or copying/pasting necessary) and run the bot from any bank in Runescape! - I would suggest running it in the Pest Control bank, however, since there are no randoms. Have fun and enjoy the script! Remember to leave an progress report! IF FLETCHING START WITH KNIFE IN INVENTORY. MAKE SURE YOU'RE ON THE LATEST OSBOT VERSION (1.4.2) Report any problems and I'll get on them ASAP. I can't stress this enough. I can't improve this script unless people explain errors with as much detail as possible. Update Log: V1.0: Release - Known issue with banking, bot failsafes and it works anyway though - just slows it down a bit. Will fix next release. V1.1: Fixed banking issues V1.2: Added a method to deal with leveling up V1.3: Stringing is now supported. V1.31 Theoretical fix for leveling up problem. Also switched from zip to jar. V1.32 Some bug fixes, stringing should be flawless now (with double clicks). V1.40 Fixed xp/hr on the paint and now continues on level up. V1.41 Fixed magic bows not fletching. V1.42 Really fixed magic bows. Also added a lot of speed improvements. V2.0 Support for OSBOT 1.4.1 added. Massive amounts more of xp/hr. Support for every bank booth added. Updated paint slightly too. V2.01 Fixed withdrawing bowstring issue. V2.02 Fixed level up on last log/bow. V2.10 Massive speed improvements on stringing. V2.20 Updated to support fletching regular shortbows and longbows. V2.21 Addressed banking issues. V2.30 Addressed more banking issues. V3.00 Completely re-coded, fixing banking and knife issues. (Bot currently says 2.0 not 3.0). Current problems: None To do: Add more anti-ban More sophisticated paint (will do on next bot update)
-
[JAVA] Beginners Guide To Java by RSBP
Good, wholesome tutorial, but I don't see why everyone keeps making tutorials when there already are amazing ones out there... youtube.com/user/thenewboston is EXCELLENT... I supplemented my high school AP computer science course with his videos and it was perfect.
-
Code to get experience per level and experience to each level
No probs.
-
Code to get experience per level and experience to each level
Here's a method I wrote: public int experienceForLevel(int level) { double total = 0; for (int i = 1; i < level; i++) { total += Math.floor(i + 300 * Math.pow(2, i / 7.0)); } return (int) Math.floor(total / 4); } You can then use this to get the xp to level: int currentAttLevel = client.getSkills().getCurrentLevel(Skill.ATTACK); int currentAttLevelXp = client.getSkills().getExperience(Skill.ATTACK); int nextAttLevel = currentAttLevel + 1; int nextAttLevelXp = experienceForLevel(nextAttLevel); int xpToLevel = nextAttLevelXp - currentAttLevelXp; And then just a simple xp/hr if you need it. int attExpHour = (int) ((3600000.0 / runTime) * attExp); int defExpHour = (int) ((3600000.0 / runTime) * defExp); int strExpHour = (int) ((3600000.0 / runTime) * strExp);
-
Interfaces
Find the color that most represents what child you want, then record the p (parent) and c (child).
-
Method to detect if in combat
Would you guys say that this is the best way to do it?while(client.getMyPlayer().isFacing(theNPC) && client.getMyPlayer().isUnderAttack())?Cause it only seems to start working after a few seconds of combat.
-
Aren't free users supposed to be able to open two tabs?
This. I have the income to easily afford it, but I make it a point to not just buy things... and subscriptions really are the worst. I'm just saying that a subscription to OSBOT doesn't really rank near the other subscriptions that I'm paying for, and it's hard to justify. I'm not gonna spend $10 a month just because I have the money.
-
Aren't free users supposed to be able to open two tabs?
Well obviously and I'm sure they do, but what I'm saying is not every developer is an official one. The only way to become an official one is to produce high quality scripts, and when you don't have access to more than one tab, that's extremely hard to do... catch 22...
-
Aren't free users supposed to be able to open two tabs?
I think that everyone should get 2 tabs, and then have paid tiers that allow you to get more. Most people have two accounts, and should be allowed to bot with these, imo. If people want to gold farm, or level up a massive amount of bots, they need to pay. To be honest, though, my main qualm is scripting. The official script writers are fine, but for someone like me, it's a massive pain to have to stop another script I might have running to test another one of my scripts, especially when the other script I'm running is usually another instance of one of my scripts that I'm trying to test over a period of time. It really hinders third party developers' ability to develop for the community (all my scripts are free to use).
-
PeterFightCaves
Are the xp/hr still those longs? I'd recommend just converting to int (put (int) in front of the variable) and that'll automatically cut off the decimals.
-
Aren't free users supposed to be able to open two tabs?
Gonna edit this post into a petition then, let me know if you wanna sign your name.
-
Aren't free users supposed to be able to open two tabs?
I did remember reading that free would have 2. But regardless, if we have, say, a pure and main, we're already paying Jagex ~$16 a month on accounts, and then OSbot expects us to pay $10 more on that. That's about $25 a month for an online game... I have plenty of money to be able to pay for it, but it's just extremely hard to justify. I don't care about all the other benefits, I'd just like another tab. Perhaps a $20 one time fee or a smaller, perhaps $2/mo, fee is a better idea. I want to pay back the developers for the work they've done, and I will, but not through a $10/mo fee... That's more than my Spotify or Hulu subscriptions, which I'd rank as far more important than Runescape...
-
Aren't free users supposed to be able to open two tabs?
Title really says it. I'd love to have two tabs for scripting reasons, but paying $10 a month is simply ridiculous for 2 tabs... also I read somewhere that free users get max 2. Turning this into a petition to allow active, free users to have a maximum of two tabs. Say in the forum if you want to sign your name. Ultimately, we cannot force any owners into doing this, but we can at least convey the community support for it. Thanks. Petition: danieljvdm Runescaper
-
Dat AIO Fighter
Trust you 100%, but could a mod verify everything? Also, I believe that a combat bot is the #1 most needed bot on this website. I'd be very willing to help you develop this bot to take to to a high standard. I didn't have the time to start anything from scratch, but I'd be more than happy to work with to you to expand it quickly, if you're interested. Drop me a PM! Also, thanks for this!
-
Depositing Items to Bank
Wait what? I don't know how to explain the simplest form of code... depositAll() is in the Bank class in the API... you should know where the API is... in order to access the bank class, you have to "get" it through the getBank method, which is in the client class. Everything you need is in the API, no fancy coding going on here...
-
PeterFightCaves
Think of groovy as a simpler, lighter form of Java. The == operator compares based on memory reference, so it is usually used for primitive types. Although you can compare strings in java with ==, they'd have to have exactly the same memory references, whereas the Equals method compares two objects based on some variable. By default, what you initialize string as is that variable, which is why Equals is a much better method of comparison. With that said, groovy aims to make programming slightly simpler and more "understandable" and they basically allowed comparison of strings with '==', which is 100% fine. Obviously, if Peter hopes to port this to Java, he'd change the method.
-
Buy Item From Shop
private Rectangle getShopItemBounds(int itemId) { int slot = -1; for (int i = 0; i < client.getInterface(300).getChild(75).getInv().length; i++) { if (client.getInterface(300).getChild(75).getInv()[i] - 2 == itemId) { slot = i + 1; break; } } if (slot == -1) { return null; } int row = (int) Math.ceil((slot / 8.0) - 1); int column = slot > 8 ? slot - (row * 8) : slot; column--; int x = 80 + (column * 16) + (column * 31); int y = 69 + (row * 16) + (row * 31); return new Rectangle(x, y, 31, 31); } /** * Buys an item from the shop. * @param Item the item. * @throws InterruptedException if another thread has interrupted the current thread. */ private void buyShopItem(Item item) throws InterruptedException { Rectangle itemBounds = getShopItemBounds(item.getId()); RectangleDestination destination = new RectangleDestination(itemBounds); selectOption(null, destination, "Buy 10", false); sleep(100); selectOption(null, destination, "Buy 10", false); sleep(100); selectOption(null, destination, "Buy 10", false); }
-
Food Support
It's not currently in the API...
-
Will Osbot Have Any Fights Against Jagex?
Just interested in how OSBot is "legal" when some other clients weren't.
-
Buy Item From Shop
^ This. I feel like it's missing in the API, but I couldn't find the method to move mouse to coordinates either... ideas?
-
XenoFightCaves - You look like you could use some sleep(:
Since no one actually posted what this does, what does it do? Does it just do the fight cape mini game? Do I just start it near by with no food?
-
Checking To See If A Tab Is Open...
Well that seems simpler haha. Still trying to figure my way around this API... I'll test this thanks.
-
Checking To See If A Tab Is Open...
I know it's this: if(!Tab.MAGIC.isOpen(RS2InterfaceChild child)) But what do I put in for child? I found the child interface id# but it doesnt work (54) and says it's an int. Do I have to make an interface object or something? Also, I tried using openTab(Tab.MAGIC); and it didn't work even though eclipse shows no errors... any ideas?