Argron Posted April 22, 2015 Share Posted April 22, 2015 (edited) My local scripts aren't loading into the client. http://puu.sh/hmOzA.jpg http://puu.sh/hmOG4.png How do I make them? Edited April 22, 2015 by Argron Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 Show me the Skeleton class please. Probably full of errors Quote Link to comment Share on other sites More sharing options...
Argron Posted April 22, 2015 Author Share Posted April 22, 2015 Show me the Skeleton class please. Probably full of errors Skeleton.java package skeleton; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "ScriptSkeleton", author = "Argron", version = 0.01, info = "", logo = "") public class ScriptSkeleton extends Script { @Override public void onStart() { log("Thanks for choosing ScriptSkeleton"); } @Override public void onExit() { // Code here will execute after the script ends } @Override public int onLoop() { return 100; // The amount of time in milliseconds before the loop starts // over } @Override public void onPaint(Graphics2D g) { // This is where you will put your code for paint(s) } } It's the skeleton posted by 'Alek'. Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 Hmm looks good, Also fill in "info" at the manifest ... Strange ... What if you delete the clayMiner and only try to load the skeleton? khaleesi Quote Link to comment Share on other sites More sharing options...
Argron Posted April 22, 2015 Author Share Posted April 22, 2015 Hmm looks good, Also fill in "info" at the manifest ... Strange ... What if you delete the clayMiner and only try to load the skeleton? khaleesi Filled in Info... Nothing. Delete clayMiner... Nothing.. Where are the local script suppose to display? Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 Filled in Info... Nothing. Delete clayMiner... Nothing.. Where are the local script suppose to display? "Main" tab Quote Link to comment Share on other sites More sharing options...
AresScripts Posted April 22, 2015 Share Posted April 22, 2015 Hmm looks good, Also fill in "info" at the manifest ... Strange ... What if you delete the clayMiner and only try to load the skeleton? khaleesi hahahahahahaha this made me laugh so hard. He did give you what you told him Skeleton.java package skeleton;import org.osbot.rs07.script.Script;import org.osbot.rs07.script.ScriptManifest;import java.awt.*;@ScriptManifest(name = "ScriptSkeleton", author = "Argron", version = 0.01, info = "", logo = "")public class ScriptSkeleton extends Script { @Override public void onStart() { log("Thanks for choosing ScriptSkeleton"); } @Override public void onExit() { // Code here will execute after the script ends } @Override public int onLoop() { return 100; // The amount of time in milliseconds before the loop starts // over } @Override public void onPaint(Graphics2D g) { // This is where you will put your code for paint(s) }}It's the skeleton posted by 'Alek'.your problem is that theyre not compiled into a jar file Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 (edited) hahahahahahaha this made me laugh so hard. He did give you what you told him your problem is that theyre not compiled into a jar file He is supposed to answer the question I ask right? hahahahaaahah you are wrong too xD A ".jar" is just a "folder" ... just like a ".rar" file is a compressed folder So obviously they don't need to be in a Jar file. I output all my .class files to the script folder without making 1 jar in the previous 4 months xD See: Edited April 22, 2015 by Khaleesi 1 Quote Link to comment Share on other sites More sharing options...
Volta Posted April 22, 2015 Share Posted April 22, 2015 Use IntelliJ IDE and export the compiled .class files Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 (edited) Use IntelliJ IDE and export the compiled .class files What has the IDE to do with it? You can even complile a .java file from the command line... "javac" commant to strong xD As you can see in hes printscreens, he is using the .class file. @OP Do you have Java 8 installed on your computer? Edited April 22, 2015 by Khaleesi Quote Link to comment Share on other sites More sharing options...
Volta Posted April 22, 2015 Share Posted April 22, 2015 What has the IDE to do with it? You can even complile a .java file from the command line... "javac" commant to strong xD As you can see in hes printscreens, he is using the .class file. Cus @Alek said so http://osbot.org/forum/topic/60538-setup-instructions-to-start-scripting-very-easy/ Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 (edited) Cus @Alek said so http://osbot.org/forum/topic/60538-setup-instructions-to-start-scripting-very-easy/ Not sure if you even read it ... but ok, I'll assume I'm a trash talker and you know everything ^^ Edited April 22, 2015 by Khaleesi 2 Quote Link to comment Share on other sites More sharing options...
AresScripts Posted April 22, 2015 Share Posted April 22, 2015 He is supposed to answer the question I ask right? hahahahaaahah you are wrong too xD A ".jar" is just a "folder" ... just like a ".rar" file is a compressed folder So obviously they don't need to be in a Jar file. I output all my .class files to the script folder without making 1 jar in the previous 4 months xD See: WHY DIDNT ANYONE TELL ME THIS PLS Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 22, 2015 Share Posted April 22, 2015 WHY DIDNT ANYONE TELL ME THIS PLS haha you can just ouput the .class straight in the script folder ;) No need to export/copy paste your files all the time Quote Link to comment Share on other sites More sharing options...
Argron Posted April 22, 2015 Author Share Posted April 22, 2015 (edited) Yeah I do have java 8. Edited April 22, 2015 by Argron Quote Link to comment Share on other sites More sharing options...