PDA

View Full Version : pCarsResult ( get result of multiplayer race )



policeofficer110
12-07-2015, 11:29
This is the tool get Race-Event-Log from Dedicated Server of Project CARS.
You can generate result of the race by using this tool.

Download from racedepartment (http://www.racedepartment.com/downloads/pcarsresult.6729/)
Sample of result (http://simresults.net/150712-vd0)

211567

wolfscastle
12-07-2015, 13:44
Error message, whats going wrong?

The file mfc110.dll is there and present!

211571

policeofficer110
12-07-2015, 14:35
Thanks about error report.
Please install "Visual C++ Redistributable for Visual Studio 2012" (https://www.microsoft.com/en-gb/download/details.aspx?id=30679)
32bit version (vcredist_x86.exe) is required.

policeofficer110
12-07-2015, 15:29
Sorry about error. I uploaded the new version 1.01. The new version does not require VC++ runtime anymore.

wolfscastle
12-07-2015, 16:58
Thanks verry much for this Tool, it works! :yes:

But i can only upload single sessions, but simraceresluts detected that as Race1 and Race 2,
not as Practice, Quali and race.

Is there a way to create a single file, included all sessions tu upload in simraceresults?

policeofficer110
12-07-2015, 17:18
Sorry. I tested about RACE 1 only. Please give me a few days to check it.

policeofficer110
13-07-2015, 05:02
I uploaded the new version 1.10. The new version supports Qualify.
But, Practice is not supported. Practice and Warmup are recognized as Qualify by Simresults.
I can't support practice. Sorry.

Mattias
19-07-2015, 15:38
I saw your app and wondered if it was open source.

I created this extended api: http://forum.projectcarsgame.com/showthread.php?34923-Extended-api-go-pcdsh
Basically it saves log entries from the server to a database for permanent storage.
It also reads through these log entries to find games played.

I wish to combine our efforts and have this application read out log files from my extended api.
Basically I have written an api which can pull game sessions, so if you go to /session it will list all games it could find through the log entries with a game ID attached to them.

Using /session/compiled/{game-id} (which you get from /session) will give a nice structure of game data.
This can be use for things like this: http://ukcd.enjin.com/dsoverview (The history part)

There is also /log/session/{game-id} which will return all log entries available for that game only.

I don't believe in reinventing the wheel thus it would be nice to combine the two somehow.
The extended api is written in golang and is very easy to compile, let me know if you'd rather just want the final executable + configuration files packaged.

norbs
20-07-2015, 06:24
Excellent. Thanks for your work.

Hondo
20-07-2015, 09:37
Would it be also possible to record number of pit stops by drivers? This will be handy for leagues that runs mandatory pit stops....

Mirko Tartarotti
20-07-2015, 11:25
Another good app! Really thanks!

Mauserrifle
26-07-2015, 09:36
Hi policeofficer110,

Creator of Simresults.net (http://simresults.net) here. Good job you did with this!! You filled up the gap (missing logs) of Project Cars :) Very cool stuff.

I see you're using the old gmotor log format. You might want to consider using the rFactor 2 format. It is the most extensive format I support. Then you could include pitstop times, compound choice etc. Example: https://github.com/mauserrifle/simresults/blob/develop/tests/logs/rfactor2/race_with_pitstops.xml

Maybe it brings up some ideas for you ;)

Keep up the good work and thanks for providing this converter to use for the community!

Cheers,
Maurice

optimalspieler
07-10-2015, 00:33
Very helpful and easy to use tool, thanks :)

I noticed a bug though: The app crashes when you didn't have a practice session, but practice was selected in the options.

Steps to reproduce:

Run a race with practice 1, qualification, warm-up and race.
Then run a race with only qualification, warm-up and race.
Now generate the log (with pratice 1, warm-up and qualification selected) - it will crash at around 90% when it says something like generating output.


It's nothing major, but it was a bit confusing when I ran your app for the first time and it kept crashing^^