Jump to content

Apaec

Scripter III
  • Posts

    11151
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. Umm, what's special about cooking karambwans?
  2. go to contacts, find home phone or 'mum' or 'xxxbaeLuvU' , call them & go from there & have them be eternally in ur debt
  3. Thanks for the simply wonderful logo you made for my rock crabs script! Well worth it!
  4. None of mine have been pushed either atleast i'm not the only one.
  5. Lol it's shit I tried it out and it can only solve like 15 yr old maths 2(x+5) = 15 was literally the hardest it could do lel
  6. to make the camera move to the tree, this.camera.toEntity(tree); (I think) So your code fixed is: package Woodcutter; import java.awt.Graphics2D; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.Skill; @ScriptManifest(author = "Test", info = "Chops", logo = "N/A", name = "WoodCutter", version = 1.0) public class Woodcutter extends Script { private int beginningXP; private int currentXp; private int xpGained; private int currentLevel; private int beginningLevel; private int levelsGained; // code to be executed at the start of script @Override public void onStart() { log("Starting Woodcutter"); log("Starting Woodcutter"); beginningXP = skills.getExperience(Skill.WOODCUTTING); beginningLevel = skills.getStatic(Skill.WOODCUTTING); } private enum State { CHOP, BANK, WAIT; }; private State getState() { if (!(inventory.isFull()) && !this.myPlayer().isAnimating()) return State.CHOP; if (inventory.isFull()) return State.BANK; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch (getState()) { case CHOP: Entity willowTree = objects.closest("Tree"); if (willowTree != null){ this.camera.toEntity(willowTree); willowTree.interact("Chop down");} break; case BANK: if (inventory.isFull()) { inventory.dropAll(); } break; case WAIT: sleep(random(500, 700)); break; } return 50; } // code to be executed at the end @Override public void onExit() { } @Override public void onPaint(Graphics2D g) { currentXp = skills.getExperience(Skill.WOODCUTTING); xpGained = currentXp - beginningXP; g.drawString("XP Gained: " + xpGained, 25, 50); currentLevel = skills.getStatic(Skill.WOODCUTTING); g.drawString("Beginning Level: " + beginningLevel, 25, 60); g.drawString("Current Level: " + currentLevel, 25, 70); levelsGained = currentLevel - beginningLevel; g.drawString("Levels Gained: " + levelsGained, 25, 80); } }
  7. That's also odd, was the script spinning the camera or just doing nothing at all? also, what was the status?
  8. For those who are curious, here's the new GUI which i've spent the past couple of days working on: Version 3.00 should be released soon, and we'll see this GUI come into action! Apaec.
  9. Cheers - I've not heard of that bug before. Looking through the code, it seems theres no reason for it to do that as the failsafes cover it. I'll look back over it but it sounds like it could just be a random one-off situation Thanks for reporting tho, and thanks for the kind words! apaec
  10. VERSION 3.00: Added official SDN logo in response to the latest client update Made some changes/improvements in the source, can't remember what they were but nothing big NEW GUI! read belowfor more details. I am pleased to announce that I have finished developing the latest GUI for APA Rock Crabs! The new GUI features a tabbed layout, meaning the time spent with that cluttered, hard-to-navigate GUI is over! The new GUI has a smaller window size which means it's no longer overwhelming. What I would like to know from you: Does everything in the new GUI work well? Does the new GUI have anything which is 'cut off' (anything which looks odd/doesn't fit on the window). Please let me know! (GUI = the window which pops up when you start the script, where you can choose all the settings). Happy botting & enjoy the update! Apaec. PS anything going wrong? let me know.
  11. One more question: do I need to put the logo url into my existing SDN scripts or is that still handled by the SDN rather than the source. (basically, does this only apply to local scripts or?!) cheers + ur a beast apaec
  12. ty! Is the script manifest logo accepted as a url or?
  13. UPDATE! as promised, as soon as I got home I pushed an update. V 2.08: Script now stops if you're out of ammo and using ranged Script stops if not enough food/pots are detected in bank 'Collect Ammo' option in GUI is now 'Use Ranged'. Ticking this box enables the check for ammo and will automatically pick up your ammo for you! Super Combat Potion support! script now fully supports super combat potions. Enjoy the update, let me know if anything isn't working! apaec
  14. Auth added- enjoy! Ps: It was reported to me that there is a bug with ring of dueling banking when using the castle wars methods. I am away until Thursday (tomorrow), and will do my best to push an update fixing this issue by Thursday evening. If your planning on using either castle wars methods , I can leave you a trial until 24 hours after the issue is fixed so that you get a fair tester of the script minus this bug. gl apaec
  15. wat it always worked but sure I'll give you another.
  16. sorry for late reply - added you guys to the auth list. Enjoy! apaec
  17. Hey guys, I noticed a lot of replies. I've been away since Sunday evening getting back on Thursday, so I won't be able to push any required updates until then when I get home. what I will fix on Thursday: - will make script stop if you ran out of ammo - will make script stop if not enough pots in bank, instead of continuous looping.
  18. Did you export it like I showed, into the correct folder? Ensure its a Jar file, not a runnable jar file too. It needs to go in users/osbot/scripts, and ensure that there are no osbot1 local scripts in that folder as they cannot co-exist. apaec
  19. UPDATE! Version 2.07 Script should now refresh rock crabs by walking a longer distance Fixed Ranged Potion interaction Happy botting! apaec
  20. NPC = Non player character. This means anything alive basically - enemies, guards, monsters, town criers, leprechauns, bankers etc etc Entity = the rest - rocks, trees, bank booths, cabbages, so on. Also, export as a jar.
  21. Awesome! When you do get round to trying next time, can you watch out for: Ranged pots - do they work? banking, drinking, etc. Does the script randomly log out when it's not lost, stating it is lost? Thanks, as these updates were untested! apaec
  22. Added both of you. Enjoy!
  23. Now that's really odd, I'll write a bit of code to make the script tele if it's lost. if you don't have a teleport in ur invy then it'll log/ stop script. UPDATE V 2.06! Bug Fixes Emergency action: If the script recognises you're somewhere where you're not meant to be, the script will use the teleport in your inventory to get back on track. If you do not have a teleport, then the script will stop and log you out safely.
  24. Thanks for reporting that but unfortunately that too is an error of the client, which I can do nothing about. Does the update I pushed yesterday incorporating ranged potions work? thanks, apaec
×
×
  • Create New...