TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Cannot delete grids of players not on server #44

Closed Raveyist closed 7 years ago

Raveyist commented 7 years ago

Torch 1.0.182.329, SE 1.181.502

Expected Behavior

What did you expect to happen? I wanted to delete all grids relating to player DukkyJr

Observed Behavior

Initially nothing happed except for an error that "DukkyJr does not exist" I assumed that Torch was trying locate all grids for DukkyJr but any grids owned by players not only show up as DukkyJr [dead] on the control panel

I then tried using /delete grids ownedby DukkyJr [dead] - Then the server crashed

Steps to Reproduce

As above

  1. How did this issue get triggered?

Entering the following command triggers the crash: /delete grids ownedby DukkyJr [dead]

  1. Write the steps here.

Other Information

https://pastebin.com/NX8tCVgb My server: 95.154.229.151:28015

Varaxian commented 7 years ago

Good bug report!

If I recall correctly, this is due to concealment. Jim is working on pushing the fix out, but as a get-by process, disable concealment, then /reveal all, then run your cleanup.

Jimmacle commented 7 years ago

Torch can only resolve player names when they're online because of Reasons, use their identity ID instead of their name.