Skip to content

Bugfix, Tooltips and minimap indicator#529

Merged
sp00ktober merged 13 commits intoNebulaModTeam:masterfrom
sp00ktober:master
Mar 9, 2022
Merged

Bugfix, Tooltips and minimap indicator#529
sp00ktober merged 13 commits intoNebulaModTeam:masterfrom
sp00ktober:master

Conversation

@sp00ktober
Copy link
Collaborator

@sp00ktober sp00ktober commented Feb 20, 2022

So far contains:

  • Added Tooltips to the Nebula ingame settings
  • Added fix and setting for error System.ObjectDisposedException on host resulting in random client disconnect
  • Added code to handle rare IndexOutOfBounds in PlanetFactory.Import()
  • Fix wrong array size in ILS storage and slot
  • Added remote player minimap indicator
  • Add command to navigate to planet, star or player
  • Add command to list planets in a solar system
  • Listing players now also displays their id

grafik
grafik
grafik

@sp00ktober sp00ktober changed the title Bugfix and Tooltips Bugfix, Tooltips and minimap indicator Mar 8, 2022
@sp00ktober sp00ktober marked this pull request as ready for review March 8, 2022 01:30
@sp00ktober sp00ktober requested a review from PhantomGamers March 8, 2022 01:30
… player). listing players command also displays their id now. minimap player name is darker when on the other side of the planet.
Copy link
Collaborator

@PhantomGamers PhantomGamers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you trigger a tooltip to pop up and then close the menu, the tooltip persists on the screen indefinitely
image

Also I think the /system command should use the system the player is currently in (if they are in one) if it is used without any arguments.

Other than those two things this looks good!

Copy link
Collaborator

@PhantomGamers PhantomGamers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

public string GetUsage()
{
return "[planet name | planet id | star name | star id | clear | player] [player id | playr name]";
return "[planet name | planet id | star name | star id | clear]\r\nUsage: /n player [player id | playr name]";

This comment was marked as resolved.

{
sb.Append($"Usage: {FullCommandName(commandName)} {usage}\n");
}
string usageString = sb.ToString();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a weird way of doing this. Move iterations down and save one string variable allocated.

@sp00ktober sp00ktober merged commit 8c4d24c into NebulaModTeam:master Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants