RakNet Statistics

Blitz3D Forums/Blitz3D Userlibs/RakNet Statistics

Tab(Posted 2009) [#1]
I have a little problem trying to use the statistics on Raknet, The Lib have some functions like RN_StatisticsGetTotalBitsSent(stat%), RN_StatisticsGetBitsReceived(stat%), etc. but, I can't figure how to use...

Someone have a idea?


Tab(Posted 2009) [#2]
OK... The Decls file are wrong.

To fix just add the missing "%" on the statistics declarations.
RN_ServerGetStatistics%(rakPeerInterface%,systemAddress%):  "RN_ServerGetStatistics@8"
RN_StatisticsGetTotalBitsSent%(stat%):  "RN_StatisticsGetTotalBitsSent@4"
RN_StatisticsGetBitsReceived%(stat%):  "RN_StatisticsGetBitsReceived@4"
... etc ...


cya.