April 22, 201510 yr 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, 201510 yr by Argron
April 22, 201510 yr Author 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'.
April 22, 201510 yr 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
April 22, 201510 yr Author 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?
April 22, 201510 yr Filled in Info... Nothing. Delete clayMiner... Nothing.. Where are the local script suppose to display? "Main" tab
April 22, 201510 yr 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
April 22, 201510 yr 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, 201510 yr by Khaleesi
April 22, 201510 yr 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, 201510 yr by Khaleesi
April 22, 201510 yr 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/
April 22, 201510 yr 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, 201510 yr by Khaleesi
April 22, 201510 yr 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
April 22, 201510 yr 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
Create an account or sign in to comment