Git Product home page Git Product logo

acc-race-control's Introduction

LennysLounge

acc-race-control's People

Contributors

lennyslounge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

acc-race-control's Issues

Find a better solution for the custom JRE

Currently the JRE is part of the src directory and gets copied into the distribution. That is not very nice because it makes the src directory bigger than it need to be.

A better solution would be to create the JRE dynamicly when building a distribution.

Nullpointrer exception on reconnection

If I disconnect from a server (using the disconnection button) and reconnect I get tge following NullPointer exception:

java.lang.NullPointerException
	at racecontrol.client.extension.autobroadcast.RatingProcessorImpl.calculateRating(RatingProcessorImpl.java:88)
	at racecontrol.client.extension.autobroadcast.AutobroadcastExtension.updateCarRatings(AutobroadcastExtension.java:173)
	at racecontrol.client.extension.autobroadcast.AutobroadcastExtension.onSessionUpdate(AutobroadcastExtension.java:117)
	at racecontrol.client.extension.autobroadcast.AutobroadcastExtension.onEvent(AutobroadcastExtension.java:91)
	at racecontrol.eventbus.EventBus.lambda$publish$0(EventBus.java:36)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at racecontrol.eventbus.EventBus.publish(EventBus.java:35)
	at racecontrol.client.AccConnection.onRealtimeUpdate(AccConnection.java:372)
	at racecontrol.client.protocol.AccBroadcastingProtocol.readRealtimeUpdate(AccBroadcastingProtocol.java:147)
	at racecontrol.client.protocol.AccBroadcastingProtocol.processMessage(AccBroadcastingProtocol.java:79)
	at racecontrol.client.AccConnection.run(AccConnection.java:150)

The app do not crashed but it is not working anymore

Suggestion: informational line for /restart command

Yesterday we had a red flag race and the race had to be restarted. Unfortunately, this was very confusing in the app, since the logs were seamlessly attached to the mass crash.
Is it possible to provide a little more clarity here? Maybe with an info line like at the start of the race with "Session Restart" or something similar

Bug: Mass crashes or leaving the session lead to faulty replays

As mentioned in another issue, we had a mass crash, which caused some drivers to leave the race immediately.
As a result, we had a mess of replays in the app. Unfortunately, we don't know whether it was due to the mass crash (too many contacts in a very short time) or the driver leaving the session.

Info TrackData

Good morning Dev,
I have a question about TrackData,i seen you have TrackData files, i not understand good what kind of file Is It..
I mean ,i think this file Is info about the track ,and i think this file i can use for understand where the car Is into the track from the worldx and worldy and spline position acc return to me...and i think i can understand if the car Is out of the track or not..
I can find something about how can read correctly the file?the struct of It?cause i not catch from your code information about It.
Thanks

Find a way to prevent Zombie processes when the google API login doesnt get completed.

The application will lock once the google API asks for authentication with a login.
If duing this time the app is closed and the login process is not completed It will create a Zombie process which will block the port.

Trying the Authentication again will then fail because the port is blocked by the Zombie process.
One solution is to rotate the ports if it is block but the real problem is the Zombie process.

Right now the app will ask for Authentication then the Google Extension is created. After that the Google API Thread is created.

A better way to do it would be to create the google API Thread first and then ask for Authentication to prevent it blocking the Visualisation.

info: broadcasting return accident

Hi dev,
I wrote an app in python where put the information from ACC broadcasting into a db..I only have a question...maybe you can help me... When i read only a broadcast from ACC ,often when will be a contact or incident , broadcast send to me, sometimes 1 record with the car id of the incident and sometimes all 2 records...i don't understand why it happen...how do you resolv ?maybe in java you not had this problem?
Thank

Suggestion : Write Incidents to a Local File.

The Google Sheets solution seems a bit convoluted as obtaining the credentials.json may not be for everyone. Additionally, i can imagine users leaving the json insecure and risking someone obtaining access to their google sheets.

Have you thought of implementing it via a Local File? Perhaps, save it to a Local CSV or XLSX?

Feature Request/Suggestion: Automated Penalties

Seeing as this is already tracking and flagging cars that breach an imposed speed limit durinng a VSC/FCY, wouldnt it be possible to issue a server penalty command automatically for those that breach the speed limit for X amount of seconds total?

"Could not find method compile() for arguments" trying to compile

Hi!
I'm adding a feature to the spreadsheet, that writes the speed of cars involved in incidents.

But can't get to compile the project.

PS D:\Download\ACC-Race-Control-master> gradle build

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\Download\ACC-Race-Control-master\Monitor\build.gradle' line: 26

* What went wrong:
A problem occurred evaluating project ':Monitor'.
> Could not find method compile() for arguments [{group=com.fasterxml.jackson.core, name=jackson-core, version=2.12.0}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

Can you help?

Thank you

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.