Coder Social home page Coder Social logo

r6j's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

r6j's Issues

Question

Failed to retrieve session token with the given credentials

Do I need to have separate permissions for my account?

Update ?

Hello,
When comes the Update with the new Operatores ?.

Missing:

Maverick
Kaid
Nomad
Clash

Clash ist not Finka!

Found writing mistake in Operator.java :60.
There is Clash with the name Finka.

API link in R6Player line 786 no longer works

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.

Convoluted HttpUtil class

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.

Missing Clash and Maverick

Need to add new operators from Grim Sky.
Clash:

  • Badge URL: assets/images/badge-clash.133f243da38661bf.png
  • Index: 3:10
  • Gadget ID: sloweddown
  • Gadget Stat Name: Enemies Slowed With CCE Shield
  • Category: DEF

Maverick:

  • Badge URL: assets/images/badge-maverick.7eab7c75e7aaecb3.png
  • Index: 2:10
  • Gadget ID: wallbreached
  • Gadget Stat Name: Walls Breached Using Blowtorch
  • Category: ATK

R6Player#getBulletsFired()

R6Player#getBulletsFired() method returns sometimes 0;
R6Player#getRank() does not return the correct rank;
R6Player#getXp() does not return the total XPcount

Missing some entities

Missing Hostage Defenses, Server Agression, Server Defender, Hostages Rescued and Servers Hacked entities from the R6Player object.

Casual statistics

Hey,

Is there a way to get casual statistics? I only see ranked and total.

java.lang.ClassNotFoundException in jackson.core

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.