Giter Club home page Giter Club logo

Comments (5)

JoeCourtneyW avatar JoeCourtneyW commented on July 2, 2024

Please provide proof that getRank() and getXp() do not work. From my testing they are returning correct values. getBulletsFired() is broken on Ubisoft's side and there is nothing I can do to fix it.

from r6j.

FrankHeijden avatar FrankHeijden commented on July 2, 2024

Rank#getDisplayName() & Rank#getIconUrl() returns:
Screenshot 2019-03-19 at 18 19 50

while it should be:
Screenshot 2019-03-19 at 18 19 23

R6Player#getXp() returns:
Screenshot 2019-03-19 at 18 24 58

while it should be:
Screenshot 2019-03-19 at 18 25 56

Tested with UPLAY account SparkyPotato.NB and the website https://r6.tracker.network/profile/pc/SparkyPotato.NB.

from r6j.

JoeCourtneyW avatar JoeCourtneyW commented on July 2, 2024

R6Player#getXp() is not designed to return total xp. I could change that but that is not my first priority currently. Can you please show me your code for loading the player and getting their rank though so I can better see what's causing the issue.

from r6j.

FrankHeijden avatar FrankHeijden commented on July 2, 2024

Can you create a new variable for the total XP then?

this.api = new R6J(new Auth("email", "password"));
R6Player r6player = api.getPlayerByName("SparkyPotato.NB", Platform.UPLAY);
System.out.println("Rank name: " + r6player.getRank().getDisplayName());
System.out.println("Rank icon url: " + r6player.getRank().getIconUrl());

output:
Rank name: Unranked
Rank icon url: https://i.imgur.com/sB11BIz.png

from r6j.

JoeCourtneyW avatar JoeCourtneyW commented on July 2, 2024

You didn't change your region to EU and ASIA. You NA Rank is Unranked. Closing this and opening another issue for totalXp()

from r6j.

Related Issues (13)

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.