lennyslounge / acc-race-control Goto Github PK
View Code? Open in Web Editor NEWA live timing app for Assett Corsa Competizione
License: MIT License
A live timing app for Assett Corsa Competizione
License: MIT License
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.
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
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
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.
I modified the broadcast.json and start the tool
i can see short splash of the start icon but the tool never gets further I do not see the tool afterwards.
Tried with a server or acc running nothing
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
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.
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
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?
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?
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
asd
Since there are a lot of series forbiding return to garage, a detection for (possible) teleports might be a nice feature
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.