joecourtneyw / r6j Goto Github PK
View Code? Open in Web Editor NEWA JVM based Rainbow Six Siege API Wrapper
License: The Unlicense
A JVM based Rainbow Six Siege API Wrapper
License: The Unlicense
Hey,
I could need some help with my project, I added your library in my pom.xml file:
`1.0-SNAPSHOT
jar
jitpack.io
https://jitpack.io
<dependency>
<groupId>com.github.SergeantSerk</groupId>
<artifactId>R6J</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
</properties>`
When executing my code I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/exc/InputCoercionException
at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.createTreeDeserializer(BasicDeserializerFactory.java:1513)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:409)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:349)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:476)
at com.fasterxml.jackson.databind.ObjectReader._prefetchRootDeserializer(ObjectReader.java:2094)
at com.fasterxml.jackson.databind.ObjectReader.<init>(ObjectReader.java:191)
at com.fasterxml.jackson.databind.ObjectMapper._newReader(ObjectMapper.java:709)
at com.fasterxml.jackson.databind.ObjectMapper.readerFor(ObjectMapper.java:3714)
at com.fasterxml.jackson.databind.node.InternalNodeMapper.<clinit>(InternalNodeMapper.java:24)
at com.fasterxml.jackson.databind.node.BaseJsonNode.toString(BaseJsonNode.java:136)
at main.com.github.joecourtneyw.Auth.<init>(Auth.java:37)
at main.com.github.joecourtneyw.Auth.<init>(Auth.java:55)
at com.fhilb.rainbowproject.MainClass.main(MainClass.java:19)
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.exc.InputCoercionException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 16 more
Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
My code:
public class MainClass {
public static void main(String[] args){
R6J api = new R6J(new Auth("", "")); //Creates a new instance of the api with the given ubisoft credentials
if(api.playerExists("Kantoraketti.G2", Platform.UPLAY)) { //Checks if the player name exists on UPLAY
R6Player kanto = api.getPlayerByName("Kantoraketti.G2", Platform.UPLAY); //Grabs a player instance of Kantoraketti.G2 on UPLAY
System.out.println("Kantoraketti.G2's Total Kills: " + kanto.getKills()); //Prints out how many kills Kanto has
} else {
System.out.println("Player does not exist!"); //The user mentioned doesn't exist
}
}
}
Is this error API related or did i do something wrong?
btw I filled the Auth constructor in with my login data.
Thanks in advance!
As the title says, it appears that Ubi's recent changes to Ubisoft connect shutdown connect.ubi.com, so the link is now broken. I tried swapping the domain to the new one in my browser, which is ubisoftconnect.com, and got a 404 error.
Regardless, looks like the URI needs to be changed and I can't find where the new one is.
Missing Hostage Defenses
, Server Agression
, Server Defender
, Hostages Rescued
and Servers Hacked
entities from the R6Player object.
Found writing mistake in Operator.java :60.
There is Clash with the name Finka.
mistake
Hello,
When comes the Update with the new Operatores ?.
Missing:
Maverick
Kaid
Nomad
Clash
The main use of the class leads to chaining together multiple methods and is difficult to read. Suggestion to simplify the class into either constructor method chaining, or more condensed and readable methods.
Failed to retrieve session token with the given credentials
Do I need to have separate permissions for my account?
Hey,
Is there a way to get casual statistics? I only see ranked and total.
R6Player#getBulletsFired() method returns sometimes 0;
R6Player#getRank() does not return the correct rank;
R6Player#getXp() does not return the total XPcount
Need to add new operators from Grim Sky.
Clash:
Maverick:
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.