Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to extract the speed of the car in runtime
05-03-2012, 12:12 PM,
#4
 
Just had a look. You have to recompile SDLmain.lib with NO_STDIO_REDIRECT. Then you can use the line I've posted to output current car speed. Just add the xml bits to it.

Use netcat(I think there is a windows version) to send it over tcp to your server.

VDrift log info(between game runs) is also fed into stdout. Make sure to ignore it.
Reply


Messages In This Thread
[No subject] - by NaN - 05-03-2012, 11:25 AM
[No subject] - by kraessig - 05-03-2012, 11:45 AM
[No subject] - by NaN - 05-03-2012, 12:12 PM
[No subject] - by kraessig - 05-10-2012, 07:23 AM
[No subject] - by NaN - 05-10-2012, 07:40 AM
[No subject] - by kraessig - 05-10-2012, 08:15 AM
[No subject] - by NaN - 05-10-2012, 09:02 AM
RE: - by cac1234 - 02-22-2017, 09:34 AM
[No subject] - by kraessig - 05-10-2012, 10:56 AM
[No subject] - by kraessig - 05-10-2012, 11:47 AM
[No subject] - by NaN - 05-10-2012, 12:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)