Results 1 to 2 of 2

Thread: Project Cars Hotlap Statistics Script for Dedicated Servers

  1. #1
    Kart Driver
    Join Date
    Jan 2018

    Post Project Cars Hotlap Statistics Script for Dedicated Servers

    im hosting a server that runs Nordschleife training 24/7 with all cars allowed, and i wanted to keep track on the best laps driven for each racer with any car used.
    unfortunately there was no such a tool, so out of need, i created it...

    lets start with the demo:

    the script uses the servers lua stats-script logfile, parses it, and writes the valid laps into a sql database.
    a php script is used to read the (sorted & grouped) data and spits out table, which is then filtered/sorted with a bit js.
    then i wipped it with css to make it less ugly (but failed).

    for some it might me interesting to know that the pcars2 api didnt really change, so i will create a pcars2 version fork when this version (and the pcars2 server) is somewhat acceptable...

    github: (merge requests welcome)

    * add support for race-mode (currently only training sessions are read from the stats file)
    * more (and better positioned) filters
    * driver status page with fancy graphs
    * create icons for driving aides (not shipped with git as the license collides)
    * refactor mess and 'make it nice'

    Known Bugs:
    * 'Real Driving Aides' button doesent filter the drivers best lap with a car yet. (i wanted to rewrite that in js but failed)
    * you can click the icons to show the meaning, but its positioned wrongly (in the top right corner)
    Last edited by m1ndgames; 19-01-2018 at 22:47.
    The following user likes this Post: Laserbeak43

  2. #2
    Kart Driver
    Join Date
    May 2015
    Once I figure out how to use the Lua scripts, I will try it
    PSN Laserbeak43
    Steam Laserbeak43

Similar Threads

  1. Project CARS 2 - Knockhill - BMW E90 - Hotlap + Setup Guide
    By Zinex in forum Screenshots & Videos
    Replies: 0
    Last Post: 12-01-2018, 21:53
  2. Is there a Lua Script list
    By Blackfire49 in forum Multiplayer
    Replies: 2
    Last Post: 16-02-2016, 06:22
  3. Replies: 3
    Last Post: 29-01-2016, 20:45
  4. Replies: 5
    Last Post: 14-01-2016, 15:29
  5. Project Nordschleife. Combined hotlap with all of the cars.
    By Juha Kiili in forum Driver Network Community Events & Leaderboards
    Replies: 9
    Last Post: 06-06-2015, 14:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts