PDA

View Full Version : How to show practice times on website..



trevrich
08-05-2018, 14:50
Hi all.
Just getting into Pcars 2 and wanting to show server practice times and race results on a website.
Whats the best way to do this fully automated? (If there is a way of course)

m00lean
09-05-2018, 09:34
Take a look at the sms_stats lua addon. It outputs a nice json file which also contains session results. It might be a bit much information though. But you could also write your own lua plugin which only saves the results.
Another way would be using a useful tool from Nico: (http://nicoweiser.de/) his "Rest-Cars" stores session information via a simplified lua plugin in a json file and provides the data via a http api. This might be exactly what you are looking for.

trevrich
11-05-2018, 07:23
Excellent thank you!!

trevrich
11-05-2018, 07:40
Looks far too complicated for my abilities and knowledge :(