Everything posted by GaetanoH
-
[10% OFF]✮AshDesigns.net Services✮[BANNERS/SIGS/LOGOS]
Holy shit dude, very fast service, very nice dude to talk too. http://i.imgur.com/RwZprP7.gif
-
Khal Warrior Guild
The bot also keeps picking up black knifes even if I have the checkbox unchecked...
-
Khal Warrior Guild
- Normal client or Mirror client? normal - What is the issue? the bot looks for the hint arrow and the enemy is already dead and doesn't do anything - What is the script status, (can be seen in the paint) Killing animated armour/detected dead armour - Can you get a printscreen of it? Runescape just still shows the hint arrow and the enemy is already dead so therefor the bot can't find it and starts messing up
-
getWalking().webwalk() problem
As always thank you for the fast reply, I'll look into it later!
-
getWalking().webwalk() problem
Hello, so I've made a few scripts implementing the webwalking methods, the problem is, when the bot is in the Area he really always wants to click on a certain tile which makes it pretty obvious you're a bot, any suggestions on how to remove the clicking?
-
Harry's Graphic Design Shop [CHEAP ★ FAST ★ RELIABLE]
Np man, it's my problem, I'll talk to you soon tho.
-
Harry's Graphic Design Shop [CHEAP ★ FAST ★ RELIABLE]
Alright, I do have a CSGO Knife but it's 170$ so yeah I'll wait and farm some more RSGP on my main! No problem man, in some few days I'll make an order!
-
dis is my jam
Same here, it's been a while since I listened to Hardstyle tho! Good song
-
dis is my jam
I guess you're Dutch?
-
Harry's Graphic Design Shop [CHEAP ★ FAST ★ RELIABLE]
Is there any way to pay without RSGP?
-
Please give me some constructive criticism on my first script!
Holy shit, thanks for the feedback tomorrow I'll get in to it! Thank you very much!
-
Please give me some constructive criticism on my first script!
Hello, I've been working on this for a while now and I still want to add these features. Able to cook all fishes Fish cooked TTL Add antiban But I still want some feedback, what should you guys've done better? import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; import java.text.DecimalFormat; @ScriptManifest(name = "RogueDenCooker", author = "GaetanoH", version = 1.0, info = "", logo = "") public class RogueDenCooker extends Script { private int cookingXP = 0; private long startTime; public enum State { COOKING, BANKING; } public State getState(){ if(!bank.isOpen() && inventory.contains("Raw trout")){ return State.COOKING; } if(!inventory.contains("Raw trout")){ return State.BANKING; } return null; } @Override public void onStart() { log("Thanks for using my Rogue's Den Cooker, please start with enough food in the bank"); startTime = System.currentTimeMillis(); getExperienceTracker().start(Skill.COOKING); } @Override public void onExit() { } @Override public int onLoop() throws InterruptedException { switch(getState()){ case COOKING: RS2Object fire = getObjects().closest("Fire"); RS2Widget widget = getWidgets().get(307, 2); if(!isCooking()){ if(widget == null){ getInventory().getItem("Raw trout").interact("Use"); if(fire.isVisible() && myPlayer().isVisible()){ fire.interact("Use"); new ConditionalSleep(1500){ @Override public boolean condition() throws InterruptedException { return widget != null; } }.sleep(); } } else { widget.interact("Cook All"); } } break; case BANKING: NPC emeraldBenedict = getNpcs().closest("Emerald Benedict"); 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)); } } } break; } return 100; } public String formatTime(long ms){ long s = ms / 1000, m = s / 60, h = m / 60, d = h / 24; s %= 60; m %= 60; h %= 24; return d > 0 ? String.format("%02d:%02d:%02d:%02d", d, h, m, s) : h > 0 ? String.format("%02d:%02d:%02d", h, m, s) : String.format("%02d:%02d", m, s); } @Override public void onPaint(Graphics2D g) { Point mP = getMouse().getPosition(); g.drawLine(mP.x - 5, mP.y + 5, mP.x + 5, mP.y - 5); g.drawLine(mP.x + 5, mP.y + 5, mP.x - 5, mP.y - 5); long runTime = System.currentTimeMillis() - startTime; cookingXP = getExperienceTracker().getGainedXPPerHour(Skill.COOKING); g.drawString("Time running: " + formatTime(runTime), 10, 290); g.drawString("Experience/h: " + String.valueOf(cookingXP), 10, 310); g.drawString("Made by GaetanoH", 10, 330); } public boolean isCooking() { boolean isCooking = false; Timer timer = new Timer(1800); while (timer.isRunning() && !isCooking) { isCooking = myPlayer().getAnimation() != -1 ? true : isCooking; } return isCooking; } public class Timer { private long period; private long start; public Timer(long period) { this.period = period; this.start = System.currentTimeMillis(); } public long getElapsed() { return System.currentTimeMillis() - this.start; } public long getRemaining() { return this.period - this.getElapsed(); } public boolean isRunning() { return this.getElapsed() <= this.period; } public void setPeriod(long period) { this.period = period; } public void reset() { this.start = System.currentTimeMillis(); } public String format(long milliSeconds) { long secs = milliSeconds / 1000L; return String.format("%02d:%02d:%02d", secs / 3600L, secs % 3600L / 60L, secs % 60L); } } } Thanks in advance! Really enjoy the community so far, really helpful!
-
How to check if bot is cooking
Hello I have some questions regarding the animation when cooking, so I get it when your cooking you're isAnimating() == true but when your character "gets up" to get the other fish it stops animating so my bot spams click the fish on the fire... Any way on how I can fix this, using a conditional sleep isn't very good because I always have a random number of trouts/salmon in my inventory so this would make the bot slow. Thanks in advance!
-
How to use inventory item on fire?
So how do you use an item on a fire?
-
Fishing script help
Yeah i saw what line it was but didn't see my mistake
-
Fishing script help
Oh yeah..., knew it was something small, thank you man! It was the fact that I checked if you had salmon/trout before fishing which ended up not working and just standing still
-
Fishing script help
Hello, so I'm busy making a trout/salmon fishing script I know it's far from finished but somehow the bot always seems to get a nullpointer exception and I can't seem to find the problem... Can somebody please help me out? Thanks in advance GaetanoH import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.awt.*; /** * Created by Gaetano on 15/03/16. */ @ScriptManifest(name = "Salmon/Trout Fisher", author = "GaetanoH", version = 1.0, info = "", logo = "") public class Fisher extends Script { public enum State { FISHING, DROPPING; } public State getState(){ if(!inventory.contains("Raw trout") && !inventory.contains("Raw salmon")){ log("fishing"); return State.FISHING; } if(inventory.isFull() && inventory.contains("Raw trout") && inventory.contains("Raw salmon")){ log("dropping"); return State.DROPPING; } return null; } @Override public void onStart() throws InterruptedException { log("Welcome to my Barbarian Village Fisher/Cooker, start with a fly fishing rod with enough feathers, a tinderbox and a axe equipped."); } @Override public void onExit() throws InterruptedException { log("Thanks for using my script"); } @Override public int onLoop() throws InterruptedException { switch (getState()) { case FISHING: if(!myPlayer().isAnimating()){ getNpcs().closest("Fishing spot").interact("Lure"); } break; case DROPPING: getInventory().dropAllExcept("Fly fishing rod", "Feather"); break; } return random(500, 800); } @Override public void onPaint(Graphics2D g) { } }
- Hello OSBot!
-
Hello OSBot!
- Hello OSBot!
Hello everyone, my name is GaetanoH, I'm 20 years old and a Java programmer, I've been lurking on the forums for a few months now. But I'm really liking to script for this bot and wanted to be more active, hope you guys enjoy my future scripts I'll write and I'll hope I have a good stay!- 👑 Perfect Czar Free Trials & Demos 👑 MOST POPULAR 👑 HIGHEST QUALITY 👑 MOST TOTAL USERS 👑 LOWEST BAN-RATES 👑 24/7 SUPPORT 👑 SINCE 2015 👑 MANY SKILLS 👑 MOST VIEWS 👑 MOST REPLIES 👑
- BoltMaker
Invalid or corrupt jar file mate! I get a incorrupt jar file error- [Free] ItemOnItem, uses item A on item B.
Can you make the clicking faster? If you can make it faster there is a way to make around 250k fletching xp per hour- Perfect Fletcher AIO
What are those money making methods? I never seem to be making money - Hello OSBot!