Telemetry / Shared Memory

Talk here if you need help about Maniaplanet or its games

Moderator: English Moderator

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

Telemetry / Shared Memory

Post by Derfuhr » 15 Jul 2018, 12:46

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: 1998
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Telemetry / Shared Memory

Post by Miss » 15 Jul 2018, 16:15

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
1070 GTX, Ryzen 3700X, 16GB RAM, Windows 10
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

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

Re: Telemetry / Shared Memory

Post by Derfuhr » 15 Jul 2018, 16:40

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: 783
Joined: 15 Jun 2010, 18:02
Contact:

Re: Telemetry / Shared Memory

Post by Electron » 16 Oct 2019, 20:57

Derfuhr wrote:
15 Jul 2018, 12:46
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
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: 62
Joined: 18 May 2017, 17:08
Location: DE->NRW

Re: Telemetry / Shared Memory

Post by Derfuhr » 26 Nov 2019, 17:18

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 2 guests