boyyo11 Posted October 26, 2014 Share Posted October 26, 2014 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 I did all of the such, ill paste my code into here, nd and I did make sure its not an executable as I heard that would cause problems. I will also delete the contents of my script folder real quick, and retry the export and post the situtation that occurs with a picture. package com.embah.PowerMiner; import java.awt.Graphics2D; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Boyyo11", info = "Simple powerminer", name = "PowerMiner", version = 0, logo = "boobs") public class PowerMiner extends Script{ private static final int rock_id = 14864; private static final int ore_id = 438; @Override public void onStart() { log("Starting Embah Powermine, please enjoy."); } @Override public int onLoop() throws InterruptedException { if(!myPlayer().isAnimating()){ if(inventory.isFull()){ inventory.dropAll(ore_id); } Entity rocks = objects.closest(rock_id); if(rocks != null){ rocks.interact("Mine"); sleep(random(25, 30)); } } return random(200, 300); } @Override public void onExit() { log("Thanks for using Embah Powermine, have a great day."); } @Override public void onPaint(Graphics2D g) { } } Umm very weird, seems now after I redeleted, and recompiled and exported that it seemed to work once I downloaded the newest client and ran it, maybe I was just having a problem while it was up, it didnt want to refresh. Thank you so much, im sure ill be back for more little api help, hopefully sooner in the script release part of the forums. 1 Quote Link to comment Share on other sites More sharing options...
N19 Posted November 6, 2014 Share Posted November 6, 2014 Very simple guide that is helpful and easy for beginners to follow. Well done. 1 Quote Link to comment Share on other sites More sharing options...
Augury13 Posted December 10, 2014 Share Posted December 10, 2014 (edited) edit: figured it out. Ugh new eclipse is so weird ): Edited December 10, 2014 by tmanowen 1 Quote Link to comment Share on other sites More sharing options...
Apaec Posted December 10, 2014 Author Share Posted December 10, 2014 Due to a (bug?) with the forums to do with following posts timing , sometimes I don't get a notification if you reply here. If I do not respond, feel free to PM me or like the original post - both of which will give me notifications. Happy scripting! 1 Quote Link to comment Share on other sites More sharing options...
Augury13 Posted December 11, 2014 Share Posted December 11, 2014 Due to a (bug?) with the forums to do with following posts timing , sometimes I don't get a notification if you reply here. If I do not respond, feel free to PM me or like the original post - both of which will give me notifications. Happy scripting! thanks apaec! Through your enhanced skele i was able to make a working(pretty awful) powercutting script and i appreciate the work you put in to making this thread. I have lots more questions but i'm going to do what i can through searches on the forum before i come crawling back to you guys for assistance! (: 1 Quote Link to comment Share on other sites More sharing options...
Rigged089 Posted January 23, 2015 Share Posted January 23, 2015 Thanks for the guide it was really useful, I did not realize all the programming is just telling the bot client how to interact with the game itself, but more manual click commands etc! Quote Link to comment Share on other sites More sharing options...
aerospacedoor Posted January 29, 2015 Share Posted January 29, 2015 I might not need help by the time some one replies but I'm trying to learn myself a few things and so far this guide is awesome I understand like 80% I want to know what the different coloured text means. Like the yellow blue and green. Thanks. Quote Link to comment Share on other sites More sharing options...
Isolate Posted January 29, 2015 Share Posted January 29, 2015 (edited) I might not need help by the time some one replies but I'm trying to learn myself a few things and so far this guide is awesome I understand like 80% I want to know what the different coloured text means. Like the yellow blue and green. Thanks. edit: assuming you mean the way that the forum displays pasted code Edited January 29, 2015 by Isolate Quote Link to comment Share on other sites More sharing options...
aerospacedoor Posted January 29, 2015 Share Posted January 29, 2015 Yea I noticed that after I posted. Why even take the time to point that out? how does that answer my question? Quote Link to comment Share on other sites More sharing options...
Isolate Posted January 29, 2015 Share Posted January 29, 2015 Yea I noticed that after I posted. Why even take the time to point that out? how does that answer my question? I was going to add something then realized i'd never even thought about why it colors it that way. I did edit it from a question though, it would have mode more sense for me to leave original post then edit in under it what i changed it to Blue appears to be when it's anything callable. Red/pink is the color of strings. green appears to be initializing words. and yellow seems to be @'s and numbers Quote Link to comment Share on other sites More sharing options...
aerospacedoor Posted January 29, 2015 Share Posted January 29, 2015 (edited) Thank you dude. Also if someone could explain this simply that would rule http://imgur.com/Y7WzV8h Edited January 29, 2015 by aerospacedoor Quote Link to comment Share on other sites More sharing options...
Apaec Posted February 19, 2015 Author Share Posted February 19, 2015 Thank you dude. Also if someone could explain this simply that would rule Hi, sorry for the incredibly late reply lol, for some reason I got unfollowed from the thread so I didnt get a notification when you posted. Anyway, that's importing. When you see those black symbols infront of the error when u hover over it, that just means you're trying to access something which isnt in your code unless you link it to your code, so you have to import it. For things which you got from the API (runescape things), its the osbot import (second one down). Apaec Quote Link to comment Share on other sites More sharing options...
Isolate Posted February 19, 2015 Share Posted February 19, 2015 Hi, sorry for the incredibly late reply lol, for some reason I got unfollowed from the thread so I didnt get a notification when you posted. Anyway, that's importing. When you see those black symbols infront of the error when u hover over it, that just means you're trying to access something which isnt in your code unless you link it to your code, so you have to import it. For things which you got from the API (runescape things), its the osbot import (second one down). Apaec Why eclipse over IntelliJ? Quote Link to comment Share on other sites More sharing options...
Apaec Posted February 19, 2015 Author Share Posted February 19, 2015 Why eclipse over IntelliJ? In general? no reason really. I just prefer eclipse after having tried both, but they are both good at most things anyways Quote Link to comment Share on other sites More sharing options...
lilmessi Posted February 22, 2015 Share Posted February 22, 2015 inside your tutorial its shown how to take an item but how do you keep the item you want and drop the items that is not needed? Quote Link to comment Share on other sites More sharing options...