Coder Social home page Coder Social logo

robincpel / battlefield-v-stat-checker Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 26.61 MB

A Discord bot for requesting Battlefield V stats

License: GNU General Public License v3.0

Kotlin 100.00%
discord kotlin gradle discord4j battlefield-v battlefield battlefieldtracker gaming game-stats battlefield-stats

battlefield-v-stat-checker's People

Contributors

robincpel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ramzan1813

battlefield-v-stat-checker's Issues

.jar not starting

Hi!

Since I moved to a new Pi4b, this programm does not work any more. This is the error message when I start it via java -jar BFVstats.jar:

[Tue 21 Jan 2020] [20:18:18.536 UTC] [main@static]:     Booting
[Tue 21 Jan 2020] [20:18:18.782 UTC] [BotBooter@56dfcb]:        TokenFile found! Reading content...
[Tue 21 Jan 2020] [20:18:18.812 UTC] [main@static]:     Creating the client
Discord4J: ERROR INITIALIZING LOGGER!
Discord4J: No SLF4J implementation found, reverting to the internal implementation (sx.blah.discord.Discord4J$Discord4JLogger)
Discord4J: It is *highly* recommended to use a fully featured implementation like logback!
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
20:18:19.099260: [INFO][main][sx.blah.discord.Discord4J] - Discord4J v2.9.3 4bb34cf (https://github.com/austinv11/Discord4J)
20:18:19.100568: [INFO][main][sx.blah.discord.Discord4J] - A Java binding for the official Discord API, forked from the inactive https://github.com/nerd/Discord4J. Copyright (c) 2017, Licensed under GNU LGPLv3
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.module.afterburner.util.MyClassLoader (file:/home/pi/Discord/BFVstats/BFVstats.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.module.afterburner.util.MyClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Java is installed:

java --version
openjdk 11.0.6 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Raspbian-1deb10u1)
OpenJDK Server VM (build 11.0.6+10-post-Raspbian-1deb10u1, mixed mode)

Discord4J: ERROR INITIALIZING LOGGER!

At boot the Battlefield V Stat Checker bot logs the following message:

Discord4J: ERROR INITIALIZING LOGGER!
Discord4J: No SLF4J implementation found, reverting to the internal implementation (sx.blah.discord.Discord4J$Discord4JLogger)
Discord4J: It is *highly* recommended to use a fully featured implementation like logback!
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

This error does not affect the bot's regular routine in any way, hence why it will not be fixed.

Starting the Bot at boot (Raspberry Pi)

Nice work! I am really interested in using your bot but don’t know how to install it.

Got Java 9 on my Raspi 2 and downloaded your files. I would really appreciate it if you could add next steps for compile (install d4j??) and how to execute your tool to your readme.

Error message when using gradle is:

pi@Eggman:~/Battlefield-V-Stat-Checker-1.0.0/Battlefield V Stat Checker $ gradle WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.gradle.internal.reflect.JavaMethod (file:/usr/share/gradle/lib/gradle-base-services-3.2.1.jar) to method java.lang.ClassLoader.getPackages() WARNING: Please consider reporting this to the maintainers of org.gradle.internal.reflect.JavaMethod WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
FAILURE: Build failed with an exception. * Where: Build file '/home/pi/Battlefield-V-Stat-Checker-1.0.0/Battlefield V Stat Checker/build.gradle' line: 3 * What went wrong: An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.jvm', version: '1.3.10']
Failed to apply plugin [id 'org.jetbrains.kotlin.jvm'] > Could not generate a proxy class for class org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension. * Try: Run with --stacktrace option to get the stack trace. Run with
--info or --debug option to get more log output.

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.