Alex Posted September 1, 2017 Share Posted September 1, 2017 First of all make sure you have both JRE and JDK, if you don't go to here http://www.oracle.com/technetwork/java/javase/downloads/index.html Download eclipse: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr Step 1 - Creating new projectFile -> Java project Step 2 - Configure the project Step 3 - Adding xobot to your eclipse project Right click the project -> properties Step 4 - Adding and compiling a scriptRight click on the project on the left then new -> Class Go to the script page you want to add (I'm using neotheiver as an example ) -> https://pastebin.com/rWzwTFPM Get the class name from the page Step 5 - Adding the compiled script to xobot Find the folder of the project (under my documents -> workshop -> xobot scripts) Now open the bin folder and should look like this Copy neoThiever.class to xobot scripts folder (my documents -> xobot -> scripts) Link to comment Share on other sites More sharing options...
Cyanic Posted October 8, 2017 Share Posted October 8, 2017 (edited) On 9/1/2017 at 10:46 PM, Alex said: First of all make sure you have both JRE and JDK, if you don't go to here http://www.oracle.com/technetwork/java/javase/downloads/index.html Download eclipse: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr Step 1 - Creating new projectFile -> Java project Step 2 - Configure the project Step 3 - Adding xobot to your eclipse project Right click the project -> properties Step 4 - Adding and compiling a scriptRight click on the project on the left then new -> Class Go to the script page you want to add (I'm using neotheiver as an example ) -> https://pastebin.com/rWzwTFPM Get the class name from the page Step 5 - Adding the compiled script to xobot Find the folder of the project (under my documents -> workshop -> xobot scripts) Now open the bin folder and should look like this Copy neoThiever.class to xobot scripts folder (my documents -> xobot -> scripts) Nice guide but why don't you make the output to "(my documents -> xobot -> scripts)" Instead of manually doing it Edited October 8, 2017 by Cyanic Link to comment Share on other sites More sharing options...
darkelliot Posted February 15, 2018 Share Posted February 15, 2018 Thanks man, this helped a ton! Link to comment Share on other sites More sharing options...
codyleel02 Posted March 24, 2018 Share Posted March 24, 2018 when i download eclipse, which eclipse IDE do i want Link to comment Share on other sites More sharing options...
Jake Posted March 24, 2018 Share Posted March 24, 2018 17 minutes ago, codyleel02 said: when i download eclipse, which eclipse IDE do i want http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/oxygen3 Link to comment Share on other sites More sharing options...
codyleel02 Posted March 24, 2018 Share Posted March 24, 2018 thanks kumalo Link to comment Share on other sites More sharing options...
Lets Bot Posted March 26, 2018 Share Posted March 26, 2018 Thanks for the guide! One small suggestion, and you could even just make a small note in the original thread, but when you select the .jar file for the Java build path, I kept getting caught up as to why none of the sources I had would compile. Turns out, that's definitely an API file. Coming from someone who knows very, very little about this, I'd say it's almost impossible to figure that out. Anyways, the API .jar file is located here: C:\Users\<Username>\Documents\XoBot\APIs. 1 Link to comment Share on other sites More sharing options...
Jake Posted March 26, 2018 Share Posted March 26, 2018 1 hour ago, Lets Bot said: Thanks for the guide! One small suggestion, and you could even just make a small note in the original thread, but when you select the .jar file for the Java build path, I kept getting caught up as to why none of the sources I had would compile. Turns out, that's definitely an API file. Coming from someone who knows very, very little about this, I'd say it's almost impossible to figure that out. Anyways, the API .jar file is located here: C:\Users\<Username>\Documents\XoBot\APIs. This guide was posted long before xobot 2.6, back when all you needed was the xobot jar. But yeah, now you need the xobot jar and api jar for the server you plan on scripting for 1 Link to comment Share on other sites More sharing options...
Lord Posted May 2, 2018 Share Posted May 2, 2018 (edited) On 24/03/2018 at 8:29 PM, Kumalo said: http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/oxygen3 You should use IntelliJ Edited May 2, 2018 by Lord 1 Link to comment Share on other sites More sharing options...
Jake Posted May 2, 2018 Share Posted May 2, 2018 4 hours ago, Lord said: You should use IntelliJ if you are gonna post off topic spam, can you at least give him a few reasons of why one might prefer intellij over eclipse? thanks Link to comment Share on other sites More sharing options...
focus953 Posted May 3, 2018 Share Posted May 3, 2018 (edited) never mind i got it to work can someone make a update on this plz since 2.7 is out and its all diff now or maybe im doing something wrong Edited May 3, 2018 by focus953 Link to comment Share on other sites More sharing options...
Lord Posted May 9, 2018 Share Posted May 9, 2018 On 03/05/2018 at 12:09 AM, Kumalo said: if you are gonna post off topic spam, can you at least give him a few reasons of why one might prefer intellij over eclipse? thanks 1. Its a much better interface. 2. way cleaner. 3. Scrubs use eclipse Link to comment Share on other sites More sharing options...
xBear Posted May 22, 2018 Share Posted May 22, 2018 (edited) Whenever I add the .class file in the Scripts folder, it wont load. EDIT : should be in the server folder in my case SoulPlay. Edited May 24, 2018 by NonCombat Link to comment Share on other sites More sharing options...
GodsDouble Posted August 19, 2018 Share Posted August 19, 2018 On 3/26/2018 at 12:45 AM, Kumalo said: This guide was posted long before xobot 2.6, back when all you needed was the xobot jar. But yeah, now you need the xobot jar and api jar for the server you plan on scripting for For the love of GOD! If I would have read this first it would have save a lot of time. Link to comment Share on other sites More sharing options...
Hercules Posted August 22, 2018 Share Posted August 22, 2018 (edited) Hey guys, how do you add a script that you've made? Im adding the class file to the "Alora" folder but it says "Cannot find any script"... or if i reload the client its stuck on "Loading..." Also, no errors in script + class name is correct! Just for debugging/testing use? @Neo @Boris Edited August 22, 2018 by Hercules Link to comment Share on other sites More sharing options...
Recommended Posts