Telemetry / Shared Memory

Talk here if you need help about Maniaplanet or its games

Moderator: English Moderator

Post Reply
User avatar
Derfuhr
Posts: 65
Joined: 18 May 2017, 17:08
Location: DE->NRW

Telemetry / Shared Memory

Post by Derfuhr »

Hello,

Nadeo please extend the telemetry. As it is now, I can not determine when in lap-mode(servers in TA mode with laps) starts a new lap, not even who is the author of the map, if several maps have the name A01, I can not distinguish these (the MapUID does not say much) That's why I rely on Openplanet, but I do not want to. I've made a program that saves my best times and would make it available to the community, but not in combination with Openplanet. Since the last MP update, for example, the stadium unlock not more works, no update came so far, so I have very little trust in Openplanet,

best regards, Derfuhr
User avatar
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Telemetry / Shared Memory

Post by Miss »

Wait, Stadium unlock patch doesn't work anymore? Why is this the first time I hear of this? It would help if you'd report these things, instead of saying "I don't have trust in X anymore" :P
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
Derfuhr
Posts: 65
Joined: 18 May 2017, 17:08
Location: DE->NRW

Re: Telemetry / Shared Memory

Post by Derfuhr »

OK Miss, then I have to apologize to you. Dommy was made aware of this several times in the Pursuit channel(he must have seen this self too), I assumed he would tell you, he uses that in his Pursuit Channel, I thought he also had an interest in it working. That was a mistake. Next time I'll get in touch with you in Discord.

Nevertheless, it would be great if Nadeo would extend the telemetry. I always prefer no dependencies.

I just tested it again in MapEditor, there it works. Now I want to make sure number, not that Dommy made the mistake in his script. This evening I'll do a test server and check it out.

I tested it, it does not work.
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

Re: Telemetry / Shared Memory

Post by Electron »

Derfuhr wrote: 15 Jul 2018, 12:46Nadeo please extend the telemetry. As it is now, I can not determine when in lap-mode(servers in TA mode with laps) starts a new lap
Two data fields, NbCheckpointsPerLap and NbLaps, have now been added to the telemetry interface:

Code: Select all

--- a/maniaplanet_telemetry.h
+++ b/maniaplanet_telemetry.h
@@ -49,7 +49,9 @@ struct STelemetry {
         Nat32       NbRespawns;
         Nat32       NbCheckpoints;
         Nat32       CheckpointTimes[125];
-        char        __future__[32];
+        Nat32       NbCheckpointsPerLap;
+        Nat32       NbLaps;
+        char        __future__[24];
     };
     struct SObjectState {
         Nat32       Timestamp;
The current lap of a multi-lap race can be determined by dividing NbCheckpoints by NbCheckpointsPerLap.
User avatar
Derfuhr
Posts: 65
Joined: 18 May 2017, 17:08
Location: DE->NRW

Re: Telemetry / Shared Memory

Post by Derfuhr »

Hi, that is really good, perfect timing :thumbsup: . Currently i remake my TelemetryApp with DirectX, with GDI+ it was ok, but i lost the old Data because a wrecked HDD, so i do it new with better performence.

100 times THANKS Nadeo :thumbsup: :yes:
Post Reply

Return to “Support & Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest