Jump to content

Fay

Members
  • Posts

    420
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by Fay

  1. So I made this thing, it does what the title says. Hover your mouse over the herb in your inventory or someones trade window to see what it is. EDITED with the new script that supports trade windows. Special thanks to Botrepreneur for the help in dynamically finding the slot being hovered over and making a nice enumerable list of herbs . Due to popular opinion and request, the script is now back. Any errors please post here so that I and others may see them. PLEASE LEAVE A LIKE, FEEDBACK or even a "THX"!!!! FaysHerbs.zip
  2. It is so clean! Amazing job on the tutorial. I was never one for a flashy interface but this make me REALLY want to build one .
  3. They say "10 years" but every end of year they bump the timer back to 10 years lol. That account is gone. Just like 2 of mine.
  4. Are you using a steam staff? If so throw one fire rune into your inventory.
  5. You are actually not accounting for the fast that CML takes the most efficiently into account. His REAL playtime is far greater than what CML says because he isn't 100% efficient at all times. Btw for firemaking he used magic logs burning for 18 hours a day.
  6. I seriously think I only got temp banned because I was stuck in a ScapeRune random for 4 hours.
  7. I honestly don't remember but I threw in 100 for it.
  8. My boss collects them. We all chipped in and spent around $700 for like 3 records for Christmas.
  9. I made a couple mods to the script. Added CURSE_AREA so if the player is not the in the area it will log out. Not sure how that will do with randoms that run from combat, but it does prevent death standing and standing on the wrong side of the door. Also added current mage level and mages levels gained. package botScript; import java.awt.*; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.api.ui.Spell; import org.osbot.rs07.api.ui.Tab; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.Area; @ScriptManifest(author = "Mailinator/Fay", info = "Casts Curse on Monk of Zamorak", name = "MailCurseCaster/w Fay", version = 0.911, logo = "") public class Something extends Script { private long startTime; private int magicStartXP; private int magicStartLvl; final Area CURSE_AREA = new Area(3214,3473,3218,3476); @Override public void onStart() { startTime = System.currentTimeMillis(); antiBan.initializeModule(); magicStartXP = skills.getExperience(Skill.MAGIC); magicStartLvl = skills.getStatic(Skill.MAGIC); } @Override public int onLoop() throws InterruptedException { tabs.open(Tab.MAGIC); if(CURSE_AREA.contains(myPlayer()) && inventory.contains("Body rune")){ magic.castSpellOnEntity(Spell.CURSE, npcs.closest("Monk of Zamorak")); }else{ //Realized that running from combat randoms would term a step before we entered into the CURSE_AREA so I threw in a sleep/recheck for it to have just enough time to walk into the zone. sleep(random(300,550)); if(!CURSE_AREA.contains(myPlayer()) || !inventory.contains("Body rune")){ stop(true); } } return random(1000, 1500); } @Override public void onPaint(Graphics2D g) { long elapsed = System.currentTimeMillis() - startTime; int magicCurrentLvl = skills.getStatic(Skill.MAGIC); g.setColor(new Color(0, 0, 0, .7f)); g.fillRect(7, 345, 220, 65); g.setColor(Color.WHITE); g.drawString((new StringBuilder("Time: ")).append(format(elapsed)).toString(), 15, 357); g.drawString((new StringBuilder("Magic level: ")).append(magicCurrentLvl).append(" (").append(magicCurrentLvl - magicStartLvl).append(")").toString(), 120, 357); g.setColor(Color.BLACK); g.fillRect(15, 366, 202, 15); double delta = skills.getExperienceForLevel(skills.getStatic(Skill.MAGIC) + 1) - skills.getExperienceForLevel(skills.getStatic(Skill.MAGIC)); double percentage = (100 - skills.experienceToLevel(Skill.MAGIC) / (delta / 100)); g.setColor(new Color(79, 192, 24)); g.fillRect(16, 367, (int) (200 * (percentage / 100)), 13); if (percentage < 55) { g.setColor(Color.WHITE); } else { g.setColor(Color.BLACK); } g.drawString(((int) percentage) + "%", 105, 378); g.setColor(Color.WHITE); g.drawString("XP and casts TNL: " + skills.experienceToLevel(Skill.MAGIC) + "XP (" + (int) (skills.experienceToLevel(Skill.MAGIC) / 29) + ")", 15, 398); } public String format(long time) { StringBuilder string = new StringBuilder(); long totalSeconds = time / 1000L; long totalMinutes = totalSeconds / 60L; long totalHours = totalMinutes / 60L; int seconds = (int) totalSeconds % 60; int minutes = (int) totalMinutes % 60; int hours = (int) totalHours % 24; if (hours > 0) { string.append((new StringBuilder(String.valueOf(hours))).append("h ").toString()); } if (minutes > 0) { string.append((new StringBuilder(String.valueOf(minutes))).append("m ").toString()); } string.append((new StringBuilder(String.valueOf(seconds))).append("s").toString()); return string.toString(); } }
  10. Actually "ain't nobody" is a double negative so he is somebody.
  11. Broke my right 30inch using a 24. Middle is my laptop.
  12. The runeloader dev said on reddit they would allow you to build your own scripts for it. So you could build your own loot shower and stuff.
  13. Blitz, click to atk, spec, game tik, spec. Practice makes perfect. Just go funning in the duel arena or clan wars till you get it.
  14. Notepad++ (WIll handle all your languages) Sublime is gorgeous for Python Also Adobe Edge Code is good too for most languages Visual Studio 2013 is great for the C languages Eclipse is good for Java.
  15. Thank you . Grats on vissy!
×
×
  • Create New...