Senna94
Hello i have 2 problems and one question.
First this problem with the internal plugin v3:
Error 1 error MSB3073: Der Befehl "copy Debug\InternalsPlugin.dll ..\..\..\rFactor\Working\Plugins
Problem 2:
I have the problem that the data is written at (Example Plugin) more often in the second. If I then create queries when he really should write the file then goes off again from the same problem again.
Example:
And my last Question. Is it possible to get the current tire compound?
Regards
Julian
First this problem with the internal plugin v3:
Error 1 error MSB3073: Der Befehl "copy Debug\InternalsPlugin.dll ..\..\..\rFactor\Working\Plugins
Code:
copy Debug\vc80.pdb ..\..\..\rFactor\Working\Plugins
copy ..\Include\InternalsPlugin.hpp ..\..\..\rFactor\Dev\Include
:VCEnd
" ended with the code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 114 6 InternalsPlugin
Problem 2:
I have the problem that the data is written at (Example Plugin) more often in the second. If I then create queries when he really should write the file then goes off again from the same problem again.
Example:
Code:
void ExampleInternalsPlugin::UpdateTelemetry( const TelemInfo &info )
{
const unsigned short cusBufferSize = 1024;
char* cpTemp = new char[cusBufferSize];
long Runden = 0;
FILE *fo = fopen( "ExampleInternalsOutput.txt", "a" );
if( fo != NULL )
{
if(info.mLapStartET)
{
sprintf( cpTemp, "LapNumber=%d\n", info.mLapNumber );
fprintf( fo, "%s", cpTemp);
fclose( fo );
}
}
if(cpTemp)
delete [] cpTemp;
}
And my last Question. Is it possible to get the current tire compound?
Regards
Julian