Space Engineers

Space Engineers

评价数不足
Fix Null-Named GPS
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script, Other
标签: ServerScripts
文件大小
发表于
更新日期
208.213 KB
4 月 20 日 下午 11:57
4 月 21 日 上午 12:02
2 项改动说明 ( 查看 )

订阅以下载
Fix Null-Named GPS

在 Digi 的 1 个合集中
Digi's Space Engineers mods
51 件物品
描述
If players in your world/server crash from typing /gps or creating a gps in the menu then this it's likely that some mod or plugin added GPS with null names.

This mod iterates all gps from all identities and finds any that have null name and gives them a name in "0000_UNNAMED" format where the number increments with each.

It will write to SE log "Attempted to fix GPS with null names" with how many it found, then you can save the world and you can remove the mod too, or you can leave it to automatically fix this issue in the future.

If curious about how the crash looks like: https://spaceengineers.wiki.gg/wiki/Modding/Reference/Known_Solutions_to_crashes_or_errors#NullReferenceException_/_MyGpsCollection.GetNameForNewCurrent