kRPC: Control the game using C#, C++, Java, Lua, Python...

kRPC: Control the game using C#, C++, Java, Lua, Python...

7.8k Downloads

Resources amounts & max not working

ThePerkinrex opened this issue ยท 3 comments

commented

thekrpc_SpaceCenter_Resources_Amount & krpc_SpaceCenter_Resources_Max don't work and just give 0.0 as an output.

I have attached a file with the example code
krpc_res_test.zip

commented

Sorry for the very slow response.

I'm not able to reproduce the error. Do you have a craft file that causes this issue, or save file with the craft in a situation where this bug occurs?

commented

No worries, thanks for getting back to me. I'll just close this then as I can't reproduce it.

commented

I'm sorry, this was so long ago I don't remember what the craft was

I don't have anything more, because I switched to using a c++ client on the computer which connects to krpc using the lib and to the arduino using serial.
The problem was basically the one said in main comment. I don't remember anything more. I'm really sorry