Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Yesterday
  3. Last week
  4. Thanks man! I had a lot of fun with this one. More to come...
  5. Hi, first script here. Originally written by Edwardino, but with a few improvements. See the top comments "CHANGES" in the code for main features. HOW TO USE: Have the equal desired amount of Cosmic Runes in your inventory & the equal amount of the items you need enchanting in your bank before starting the script. * Change these lines to match the object being enchanted & the enchanted item: public String itemToBeEnchanted = "Emerald amulet"; public String enchantedItem = "Amulet of defence"; * Change this method to establish which enchantment level you're working with: public void CAST_ENCHANT() { Time.sleep(500, 100, () -> myMagicBook().cast(Spell.Modern.LEVEL_2_ENCHANT)); // Example: Spell.Modern.LEVEL_3_ENCHANMENT for Lv-3 Enchant } CODE: import com.epicbot.api.shared.GameType; import com.epicbot.api.shared.entity.ItemWidget; import com.epicbot.api.shared.methods.*; import com.epicbot.api.shared.model.Spell; import com.epicbot.api.shared.script.LoopScript; import com.epicbot.api.shared.script.ScriptManifest; import com.epicbot.api.shared.util.time.Time; @ScriptManifest(name = "Improved Enchanter by Zynava", gameType = GameType.OS) public class ImprovedEnchanter extends LoopScript { /** * * THIS BOT IS BUILT FOR ENCHANTING LV-1 - LV-4 * However... While it doesn't track the other runes for higher level enchantments, it will still work if you have them. * * CREDITS: * Original script author -> Edwardino * Improvement author -> Zynava * * CHANGES: * - Improved readability of code * - Easy-to-alter items being enchanted via script * * See 'itemToBeEnchanted', 'enchantedItem' & 'CAST_ENCHANT()' below * - Grouped relevant methods together, labeled. * - Added sleep methods to reduce the amount of buggy clicks **/ // CHANGE THESE TO WHATEVER YOU'RE WORKING WITH public String itemToBeEnchanted = "Emerald amulet"; public String enchantedItem = "Amulet of defence"; public String COSMIC_RUNES = "Cosmic rune"; public void CAST_ENCHANT() { Time.sleep(500, 100, () -> myMagicBook().cast(Spell.Modern.LEVEL_2_ENCHANT)); } // BEGIN METHODS FOR NESTED REFERENCES public IClientAPI myClient() {return getAPIContext().client();} public IBankAPI myBank() {return getAPIContext().bank();} public IInventoryAPI myInventory() {return getAPIContext().inventory();} public IMagicAPI myMagicBook() {return getAPIContext().magic();} public IGameAPI myGame() {return getAPIContext().game();} public IScriptAPI myScript() {return getAPIContext().script();} // END METHODS FOR NESTED REFERENCES /********************************************************** *********************BANKING METHODS********************** **********************************************************/ // Do I need to bank? (Checks for necessary supplies in inventory) public boolean botNeedsToBank() { boolean doesHaveSupplies = !myInventory().contains(COSMIC_RUNES) || !myInventory().contains(itemToBeEnchanted); return doesHaveSupplies; } // Do I need to OPEN the bank? public boolean needsToOpenBank() { return !myBank().isOpen(); } // Open the bank public void openBank() { System.out.println("Opening bank."); myBank().open(); } // Close the bank public void closeBank() { System.out.println("Closing bank."); myBank().close(); } // Do I need to deposit? public boolean shouldDeposit() { return myInventory().getCount(enchantedItem) > 0; } // Deposit all items except runes public void depositEnchantedItems() { System.out.println("Depositing enchanted items."); myBank().depositAll(enchantedItem); } // Can withdraw more of the item I'm enchanting? public boolean shouldWithdraw() { return myInventory().getCount(itemToBeEnchanted) == 0 && myBank().getCount(itemToBeEnchanted) > 0; } // Withdraw items public void withdrawItems() { System.out.println("Withdrawing items to be enchanted."); myBank().withdraw(27, itemToBeEnchanted); } /********************************************************** *********************ENCHANTING METHODS******************* **********************************************************/ // Should I begin enchanting? public boolean shouldEnchant() { boolean hasSupplies = myInventory().contains(itemToBeEnchanted) && myInventory().contains(COSMIC_RUNES); return hasSupplies; } // Begin enchanting public void enchantItem() { System.out.println("Enchanting..."); CAST_ENCHANT(); ItemWidget item = myInventory().getItem(itemToBeEnchanted); if(item != null) { item.interact(); Time.sleep(1000); } } @Override public boolean onStart(String... strings) { System.out.print("Starting Improved Enchanter script..."); return true; } @Override protected int loop() { if(!myClient().isLoggedIn()) { System.out.println("Please wait until you are logged in."); } // First checks supplies & if bank needs to be opened if(botNeedsToBank() && needsToOpenBank()) { openBank(); } // If bank is open: // Deposits and/or Withdraws as needed // Closes bank after // If there's no more to withdraw // Close bank, logout, end script if(myBank().isOpen()) { if(shouldDeposit()) { depositEnchantedItems(); } if(shouldWithdraw()) { withdrawItems(); closeBank(); Time.sleep(1000); } else { closeBank(); myGame().logout(); Time.sleep(800); myScript().stop("Script stopping..."); } } // Enchants if there's items needing to be enchanted if(shouldEnchant()) { enchantItem(); } return 200; } }
  6. Roflz

    Pro Fighter

    Hi, wondering how to set up the syntax for the requirement string. It works when I use "Equipped: 1234", but I can't get it to work if I want to equip more than one item. What would be the correct syntax to do that?
  7. Ziqs

    Pro Fighter

    nah its a pretty simple script that still has issues with something like Gargoyle´s the preset is in a slayer only area, script needs more presets for stuff like Brutal Black dragons
  8. Earlier
  9. Same thing just happened to me, how can i reset it?
  10. Roflz

    Pro Thiever

    Thanks for the fixes! Stalls are working perfect, and im robbing the shit out of the master farmer, banking is working great. Great script!
  11. Can you elaborate more please? Provide screenshots or more detailed information, it's difficult for me to debug with just this.
  12. How to set up Intellij for Script Development Please note that EpicBot uses Java 8. You can download this from Oracle here. If your Java version is not 8, set up Intellij to use Java 8, read "Set Up Intellij" here. Don't know your Java version? Type java --version in a command prompt. SETUP Make a new Intellij Project Go to File -> Project Structure -> Modules. Click the + icon. Select JARs or Directories. Find your EpicBot folder. Select the dependencies folder and click OK. You should now see it in your Dependencies list. Click Apply (don't click OK). Click your Artifacts tab on the left, and the plus arrow again. Select "Other" from the drop down menu. You should see something like this: Name your artifact at the top (must be unique from your other script artifact names in other projects). Select the "Include in project build" checkbox. Click the '<project name> compile output' on the right side, so it moves to the left column. Click the file folder on the left. Find your EpicBot/scripts folder. You may not have one, and will need to make one. Select it and click OK. If your screen looks like this, click Apply and OK. Any script should now compile when you click the "Build Project" button (green hammer top right) Making a Test Script Right click your src folder on the left. Select New -> Java Class, and name it. You should get something like this: A quick sample script to test: import com.epicbot.api.shared.APIContext; import com.epicbot.api.shared.GameType; import com.epicbot.api.shared.script.LoopScript; import com.epicbot.api.shared.script.ScriptManifest; import com.epicbot.api.shared.util.paint.frame.PaintFrame; import java.awt.*; @ScriptManifest(name = "Test Script", gameType = GameType.OS) public class TestClass extends LoopScript { @Override public boolean onStart(String... strings) { return true; } @Override protected int loop() { return 50; } @Override protected void onPaint(Graphics2D g, APIContext ctx) { PaintFrame frame = new PaintFrame("Test Script"); frame.addLine("Title", "Value"); frame.draw(g, 0, 170, ctx); } } Click the build icon (green hammer top right) and you should then be able to see your script in the script selector. FAQ Q: I followed the instructions and everything is red? Your dependencies are not imported properly. Q: I don't see the script in the script list? You're not building the artifact properly. Ensure that "Include in Project Build" is checked, your output directory is correct, and your compile output is under the output root (left column). See below:
  13. @beauwindsor Make sure when you click your operating system you click the version of your operating system as that is what triggers the download.
  14. Quackers

    Pro Thiever

    All of these should be fixed in v14 , it's now live, I apologize for the delays.
  15. Quackers

    Pro Thiever

    Looking into these issues now.
  16. Koala

    Pro Wintertodt

    Can you send your settings? Not sure why it would ever fail to get over 500
  17. can you make an option to prioritize points... kinda an issue since if it doesnt get 500 first inv fletching it runs out of time half the time. so far this is sadflt not worth the money
  18. Roflz

    Pro Thiever

    Also seeing some issues with banking. It often will 'Attempt to open the bank', then it just turns around and goes back to the thieving location without ever opening the bank. Seems to just have a problem opening it quite often
  19. @Botuser420 Unfortunately Botting IS AGAINST Jagex T&C, If you bot you acknowledge and accept there is "a chance" you will get banned. Some people get away with it, some don't. Create some dummy accounts which you dont want to loose and test out what works and what doesn't. When you bot, there is ALWAYS a chance you will get banned. It's a risk that all botters have to understand and accept. Wolf
  20. @Average 1) Please make sure your username/email and password are correct (mine wasn't when I tried) 2) Make sure you right click EpicBot and run as administrator 3) IF neither of these two things work, then please go into Task manager, go to details, right click EpicBot and select End process Tree. 4) Try again steps 1 and 2. IF this fails again, let me know Wolf
  21. Friendly Father of 3,

    Gamer, Chef, Streamer (twitch) and youtuber.

    If i can help people i will, if i cant i find a way of helping in what way i can.

    me

  22. Roflz

    Pro Thiever

    Doesn't seem to be working at baker stalls in Ardougne. The script just does nothing, it doesn't seem to recognize the stalls. Also, the script doesn't seem to integrate with the Epic Bot scheduler + script settings. Usually you can select a saved profile in the scheduler and the script will automatically pick that when starting so that you don't have to be there to start it. With this script it seems that the GUI pops up when the script is scheduled, but then you have to manually load the profile and start the script through the GUI still.
  23. EpicBot is currently working on a simple scripter rank system where we evaluate the talent within our community to decide who can advertise their private script writing services. In addition, we'll judge your level of skill in terms of moderate, advanced, and expert level which will open up more permissions in the future. For now, we will be using this application form for scripters who want to be private scripters or premium scripters. We will assign your skill level behind the scenes until we make the necessary changes for those permissions some time at a future date. To apply, you need to please provide the following information in a POST THAT IS POSTED IN THIS FORUM SECTION: https://www.epicbot.com/forum/index.php?/forum/76-application-submission/ (aka the Application Submission forum). Feel free to include any other details you'd like us to consider. ALL SCRIPTER APPLICATIONS POSTED ARE PRIVATE AND CANNOT BE SEEN BY ANYONE ELSE OTHER THAN ADMINS/DEVELOPERS/SCRIPTERS. Username: Application type: Private scripter or Premium scripter Years experience: Languages known: Do you have a scripter rank at any other bots? If so, where? Link to GitHub or any other public repo: Link to at least two RuneScape scripts (can be attached or linked) that was done using the EpicBot API: Other comments/remarks: All private scripters will get a private scripter rank + a discord color name change. Privately, we will also be assigning you a rank based on your submitted materials that will come with additional permissions later on. - Moderate Level: Demonstrates enough knowledge in Java and can produce scripts of easy to moderate complexity. - Able to post in our Scripting Services market to advertise their script writing services. - Private scripter rank only Advanced Level: Demonstrates advanced knowledge in Java and can produce most scripts regardless of complexity. - Able to post in our Scripting Services market to advertise their script writing services. - Is able to contribute to free scripts that will be posted on the EpicBot SDN. - Private Scripter rank + Advanced level rank - Discord rank and username color change Expert Level: Demonstrates ultimate knowledge in Java and can produce any script regardless of complexity. - Able to post in our Scripting Services market to advertise their script writing services. - Is able to contribute to free scripts that will be posted on the EpicBot SDN. - Is able to contribute premium scripts that will be posted for sale on the EpicBot SDN. - Private scripter or Premium scripter rank + Expert level rank - Discord rank and username color change
  24. Having some troubles with the script, seems like it only wants to attack one NPC and then stop whenever im using the splash option. Any help would be appreciated!
  25. Client issue. Should be fixed.
  26. Haven't had any issues at all with this script, up until yesterdays update, Pro Wintertodt will stop working when it needs to bank food, will not take the food I have setup for it, if I manually click the food myself the bot will continue, any help?? Thank you!
  1. Load more activity
×
×
  • Create New...