Jump to content

EpicBot Intellij Script Compiling Walkthrough


Recommended Posts

  • 2 weeks later...
  • 9 months later...

Since it's a little outdated, would like to get some help if possible, trying to compile code get this warning:


Executing pre-compile tasks...
Running 'before' tasks
Checking sources
Parsing java… [PrivateMiner]
java: JPS incremental annotation processing is disabled. Compilation results on partial recompilation may be inaccurate. Use build process "jps.track.ap.dependencies" VM flag to enable/disable incremental annotation processing environment.
Writing classes… [PrivateMiner]
Checking dependencies… [PrivateMiner]
Dependency analysis found 0 affected files
Updating dependency information… [PrivateMiner]
Adding @NotNull assertions… [PrivateMiner]
Adding pattern assertions… [PrivateMiner]
Adding Threading Model assertions… [PrivateMiner]
Building artifact 'unnamed'…
Deleting outdated files…
Building artifact 'unnamed': copying files…
Building archives…
Copying archives…
Running 'after' tasks
javac 18.0.2.1 was used to compile java sources
Finished, saving caches…
Executing post-compile tasks...
Finished, saving caches…
Synchronizing output directories...
9/9/2022 12:58 PM - Build completed successfully with 1 warning in 4 sec, 342 ms

 

When I open EpicBot with this script I get this error:


[12:59:13.484][ERROR][j][54] Error loading script PrivateMiner.class
java.lang.IllegalArgumentException
    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185)
    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168)
    at com.epicbot.commons.a.D(uw:80)
    at com.epicbot.core.v.v.M.D(ox:142)
    at com.epicbot.core.v.v.j.D(vs:92)
    at com.epicbot.core.v.v.j.D(vs:95)
    at com.epicbot.core.v.v.j.D(vs:95)
    at com.epicbot.core.v.v.j.D(vs:95)
    at com.epicbot.core.v.v.j.D(vs:95)
    at com.epicbot.core.v.v.j.D(vs:95)
    at com.epicbot.core.v.v.j.D(vs:174)
    at com.epicbot.core.settings.C.D(nm:88)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
[12:59:13.503][ERROR][j][54] Error loading script PrivateMiner.class
java.lang.IllegalArgumentException
    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185)
    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168)
    at com.epicbot.commons.a.D(uw:80)
    at com.epicbot.core.v.v.M.D(ox:142)
    at com.epicbot.core.v.v.j.D(vs:92)
    at com.epicbot.core.v.v.j.D(vs:95)
    at com.epicbot.core.v.v.j.D(vs:174)
    at com.epicbot.core.settings.C.D(nm:88)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
[12:59:13.510][ERROR][j][54] Error loading script PrivateMiner.class
java.lang.IllegalArgumentException
    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185)
    at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168)
    at com.epicbot.commons.a.D(uw:80)
    at com.epicbot.core.v.v.M.D(ox:142)
    at com.epicbot.core.v.v.j.D(vs:92)
    at com.epicbot.core.v.v.j.D(vs:174)
    at com.epicbot.core.settings.C.D(nm:88)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

 

Any ideas or new tutorials of how to compile/run scripts?

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...