bmoyer / osrsclient Goto Github PK
View Code? Open in Web Editor NEWAn open-source reflection client for Old School RuneScape.
License: Other
An open-source reflection client for Old School RuneScape.
License: Other
Hello bmoyer!
I am really interested in your client, however, I am unable to properly use it. I added Java to my path like mentioned (export PATH=$PATH:/usr/lib/jvm/java-8-openjdk-amd64/jre/ .... ). The error that I get is the following:
sudo java -jar osrsclient/dist/RSClient.jar Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/pircbotx/exception/IrcException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.pircbotx.exception.IrcException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
It looks like it has to do with pircbotx, from looking at the error messages.
If you have any recommendations please let me know.
Thank you,
nwmeyers
public void onJoin(JoinEvent event) throws Exception {
manager.onJoinEvent(event.getChannel().getUsers().toArray());
}
When I refactor your code, the PIRCBOTX package has been imported, the version is 2.0.1, but the error has been reported.
"Event.getchannel (). Getusers (). ToArray ()" Here's an error.
Error:The type com.google.common.collect.ImmutableSortedSet cannot be resolved. It is indirectly referenced from required .class files
Hey bmoyer,
I am highly interested in modifying this client, however I don't quite understand how to make it work.
I have currently imported it into eclipse and it show many import errors. For example org.pircbotx.exception.IrcException;
Do I have to import some other libraries too?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.