This object is in archive! 

GPS Code broke on Server control of Show on HUD

Collin Barker shared this bug 22 months ago
Solved

Hello

I am the modder behind EZGPS, and my mod has been online since 2018, with multiplayer/server support operating since about 2020

REcently I received a message stating that show/hide are broken in my mod. These are the oldest parts of my mod, and were the most reliable up until now.

I did not change any of my code, and yet these broke. Looking through the autocomplete components of Visual Studio feeding off of the files in Space Engineers, there is nothing that has changed to break this. My mod does not crash either.

Something must have changed somewhere further back, and it needs to be fixed.

To replicate:

  1. use my mod https://steamcommunity.com/sharedfiles/filedetails/?id=2376008977 in a dedicated server.
  2. Create a few GPS points
  3. attempt to hide them by entering in the chat "/ez h <gps name>"

The line of code that controls the hiding is MyAPIGateway.Session.GPS.SetShowOnHud(playerID, g.GetHashCode(), false);


This is a bug with the API/main code and needs fixing as this function is still valid


Replies (2)

photo
1

Hello, Collin,

thanks for letting us know about this issue.

It has been successfully reproduced and put into our internal system.

Kind Regards

Keen Software House: QA Department

photo
1

Hello again,

has there been any progress on this issue?

photo
2

Hello, Engineer,

I'm happy to announce that this issue is already fixed in the new version 202.

I will close this thread now as solved.

Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!