• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 
September 17, 2019, 12:16:03 pm

News:

Kart Racing Pro release9b available! :)


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Racer_S

1
Plugins / Re: Output Plugins
February 14, 2018, 06:46:31 pm
FWIW, I've solved the crashing problem by commenting out this function:


__declspec(dllexport) void Draw(int _iState, int *_piNumQuads, void **_ppQuad, int *_piNumString, void **_ppString)
{

}


I didnt need it in my case anyway. Thanks!
2
Plugins / Re: Output Plugins
January 14, 2018, 02:07:02 am
I am indeed compiling as C.

If compiled as C++, the game does not recognize it and there is no crash.

I have tried with the new version of WRS and his example output plugin and same problem there.
Strange because I never had this problem with the older versions of KRP and WRS.

I have tried aligning the structs with #pragma pack ( 8 )
Tried turning off all optimizations, tried compiling with older visual studio toolset compilers, and intel compiler...

Always crashes when clicking ToTrack..  I am out of ideas.



Some other details:
I am testing with the DEMO

This is the order I am starting the race
Testing>Start >ToTrack *crash*


Here is a link to the visual studio project and compiled DLO plugin.

https://drive.google.com/file/d/1N5XgUaZ-iQeCGFYz0Nro2mZupXhfCXWc/view?usp=sharing


Thanks for any help, I think I will just recommend our clients use an older version of KRP for now.
3
Plugins / Re: Output Plugins
January 09, 2018, 04:08:44 pm
No solution?

The example does not work without crashing.

Steps to reproduce:

Compiling latest example as DLL with DLO extension and placing in plugin folder. 

Crashes when clicking ToTrack in KRP release 4.

4
Plugins / Re: Output Plugins
January 04, 2018, 07:50:22 pm
Thanks for the quick reply guys.

The old plugin used to work with older version of KRP but it does not work anymore, hence the reason I am trying to update.

The only difference from my old source I can see is GetModDataVersion was changed to 6, and RPM was changed from float to integer?

I am using Visual Studio 2013 to compile, the project was created using the empty DLL template.

I've tried adding extern "C" and compiling as C code,  It still crashes when I click ToTrack.

Does KRP not like VS2013 compiler?


EDIT: I tried compiling the example with MinGW and its crashing still.






5
Plugins / Re: Output Plugins
January 04, 2018, 04:14:59 pm
Trying to update some of my existing output plugins for V4. 

When using the new plugin example from the website the game is crashing when clicking ToTrack.  Even with no changes to example.

Anyone else?


EDIT:

I have found changing


__declspec(dllexport) int GetModDataVersion()
{
return 6;
}


to 5 it does not crash anymore, but ofcourse the telemetry output does not work either.