• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 
March 29, 2024, 06:00:24 AM

News:

Kart Racing Pro release13e available! :)


RunSplit & RunLap

Started by OS-Chris, January 12, 2012, 12:27:14 PM

Previous topic - Next topic

OS-Chris

In testing at least (haven't tried race), RunSplit() & RunLap() don't seem to be getting called ?

PiBoSo


They both seem to called in Beta5.
Are the other functions called?
Could you please post the 2 functions' declaration?

OS-Chris

Thx for the quick reply. The other functions work fine, just these 2 aren't

extern "C" __declspec(dllexport) void RunLap(void *_pData,int _iDataSize)
extern "C" __declspec(dllexport) void RunSplit(void *_pData,int _iDataSize)

Also, is this correct, version 6 ?
extern "C" __declspec(dllexport) int Version()
{
   return 6;
}

PiBoSo

Quote from: OS-Chris on January 12, 2012, 01:32:01 PM
Thx for the quick reply. The other functions work fine, just these 2 aren't

extern "C" __declspec(dllexport) void RunLap(void *_pData,int _iDataSize)
extern "C" __declspec(dllexport) void RunSplit(void *_pData,int _iDataSize)

Also, is this correct, version 6 ?
extern "C" __declspec(dllexport) int Version()
{
   return 6;
}

Everything looks correct.

OS-Chris

I found the problem :)

Turns out I like the "Circuit International d'Essay - Short" track too much. I've been doing all my testing there and I only just realised the timing is not working. I should have realised (or at least tried another track) sooner rather than spending hours going over my code thinking "work damn you !!". Another lesson learnt, "Don't always assume your wrong. Rule out other variables before digging too deep" :D

PiBoSo

Quote from: OS-Chris on January 13, 2012, 03:07:21 PM
I found the problem :)

Turns out I like the "Circuit International d'Essay - Short" track too much. I've been doing all my testing there and I only just realised the timing is not working. I should have realised (or at least tried another track) sooner rather than spending hours going over my code thinking "work damn you !!". Another lesson learnt, "Don't always assume your wrong. Rule out other variables before digging too deep" :D

Timing at Essay Short should work.