Jump to content

Setup Intellij Idea for EpicBot (Basic tutorial) Video & Text


Recommended Posts

 

Text version:

Quote
  1. Launch the client at least once to download the dependencies 
  2. Create new project using JDK 1.8.
  3. Add dependencies - File -> Project Structure -> Libraries -> add epicbot-api-1.0.jar 
  4. Select build path - File -> Project Structure -> Modules -> Paths -> Choose 'Use module compile output path' and select C:\Users\USERNAME\EpicBot\Scripts\SCRIPTNAME    (If scripts folder isn't there, create it)
  5. Copy and paste basic skeleton from below to your main java class
import com.epicbot.api.shared.GameType;
import com.epicbot.api.shared.script.LoopScript;
import com.epicbot.api.shared.script.ScriptManifest;

@ScriptManifest(name = "ProScript", gameType = GameType.OS)
public class main extends LoopScript {
    @Override
    protected int loop() {
        return 0;
    }

    @Override
    public boolean onStart(String... strings) {
        return false;
    }
}

Tip: You can press CTRL + O to show all implement/override methods in your main class.

 

Edited by Proto
  • Like 5
Link to post
Share on other sites
  • Proto changed the title to Setup Intellij Idea for EpicBot (Basic tutorial) Video & Text
  • Euan pinned this topic
  • 2 months later...
  • Global Moderators
2 hours ago, rlstric1 said:

Where can I download the api.jar?

It's in your dependencies folder. On windows, that's C:/Users/<user>/EpicBot/dependencies

Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...