rrennoir / PyAccLeaderboard

Small leaderboard app connecting to ACC using the UDP interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyAcc_leaderboard

app

Usage

phython main.py [-ip"X"] [-pX] [-debug]

  • no args will use local host and port 9000 to connect to the UDP interface
  • -debug Log everything happening during the runtime
  • -ip"target ip" Change default ip (local host) to the specified one (" " are mandatory, crash orther wise 😳 ) eg: python main.py -ip"192.168.1.2"
  • -p"traget port" Change default port (9000) to the specified one eg: python main.py -p9000

Changelogs

Version 0.7.4

  • Potential crash when a player join shoud be fixed.
  • Removed Cloud cover, Wetness, Rain intensity since it's not longer available in the UDP interface.
  • Added Madagascar in the nationalities.

Version 0.7.3

  • Added missing nationality, as usual the broadcast example gived by kunos wasn't complet and changelog said nothing about that ...
  • Moved car info to a json file.
  • Fix edge case in track location

Version 0.7.2

  • Add Ferrari and AMG Evo support added in ACC 1.6
  • Fixed wrong Aston V8 info

Version 0.7.1

  • Add more connection info (connection ID, if the app is connected to the UDP interface)
  • Add basic support for live map (not working on acc side for now)
  • Fix UDP message for disconnection, wasn't correct in the C# app shipped with the game #BlameKevin
  • Fix a bug in the sector update logic

Version 0.7

  • Improve performance by a factor of 6, GUI update now take 5ms instead of 30ms, by updating only new data
  • Moving the window doesn't lag anymore πŸ˜…
  • Changed GUI layout
  • Added track name in session info
  • Reworked update_text() methode

Version 0.6.2

  • Add Manufacturer logos instead of showing car model id

Version 0.6.1

  • Fixed a case when decoding a bytes could fail
  • Fixed a crash when using the app in a session with no time limit
  • Fixed my incompetent writting again
  • Fixed a bug that could occure when writting an emoji
  • Fixed a crash when reading acc messy unicode πŸ˜‚ (like if a driver put an unicode emoji in his name)

Version 0.6

  • Added colored background to differentiate Pitlane (Red), PitEntry (Blue) and PitExit (Green)
  • Fixed from_date_time() for more than 23h race
  • Gui now update every 500ms (instead of 1000ms)
  • Changed README.md
  • Yes Version 0.6 changes are lame.

Version 0.5

  • Improved session info UI
  • Added pit stop counter
  • Replace print with the logging module
  • Move byte writting function into the Cursor module
  • Improved command line args

The new command line args

phython main.py [-ip"X"] [-pX] [-log] [-debug]

  • -log Log basic information during the runtime
  • -debug Log everything happening during the runtime
  • -ip"target ip" Change default ip (local host) to the specified one (" " are mandatory, crash orther wise 😳 )
  • -p"traget port" Change default port (9000) to the specified one

Version 0.4

  • Major GUI redesing
  • Add a font that doesn't looks like shit πŸ˜‚
  • Clear GUI when entry list update is reveiced
  • Fix bug when data send by the acc thread isn't complete during entry list update
  • Fixed broken read_f32() function returning garbage value
  • Add session information (time left, cloud cover, rain level, temps, ect) to app screen
  • Add cute emoji to indicate car location (in pit or track)
  • Changed some header title
  • Updated accProtocol to get session information
  • Plus other stuff that I already forgot ...

Version 0.3

  • Handle error and timeout, now even if the game is closed or the session is over the app shouldn't crash and wait to reconnect
  • ACC worker thread handle socket stuff by itself
  • Add window title (very important)
  • Make print message cutier or uglier 😬
  • Added some comment may be if I'm not too lazy the code will be commented πŸ˜‚
  • Make the first letter uppercase in the previous patch note because uppercase life matters :neckbeard:
  • EMOJI EVERYWHERE !!! 😈 😊

Version 0.2.1

  • Added command line args for ip and port => python main.py [ip] [port], no args will use localhost and port 9000

Version 0.2

  • I still don't know what I'm doing with threads, but it should ℒ️ be better
  • Bug fixes
  • Fixed bug added by the bug fix
  • New GUI theme to make the eyes suffer less
  • Removed nords for sanity

Version 0.1

  • Idk what I'm doing with thread, plz don't @me
  • It might dead lock
  • It might crash the game (:
  • At least the basic work
  • Added nords <3

About

Small leaderboard app connecting to ACC using the UDP interface

License:MIT License


Languages

Language:Python 100.0%