Space Engineers

Space Engineers

Safe Zone Repairs
47 Comments
Goose 15 Dec, 2024 @ 5:58pm 
This mod doesnt seem to work in my game, not even in creative mode. Is there something I need to do manually to trigger the repair? The chat reads "Grid has entered" and "Projector found" but it never repairs. I have 26 mil in credits so it should be repairing but nothing happens. Any ideas?
Torqs 11 Dec, 2024 @ 12:04pm 
Cool mod but it causes way to many issues for too many players to be reliable on a server, even if it works on a server, which it doesn't, at least on my server.
Poru 10 Dec, 2024 @ 1:44am 
I've just installed in a dedicated server. Still have to test it, but when closing I get an error from the mod. I hope this mod works. Because it gives some purpose to money and economy. Makes credits usefull
Ozki 3 Dec, 2024 @ 8:53pm 
I couldn't make it work. It highlights the damaged block and blinks but doesnt repair. Just staying like this and continuing blinking bright green even out of the zone. I had a big hope it is a great idea. Sad ...
HARD TURBO 2 Dec, 2024 @ 12:46pm 
Doesnt crash the game but doesnt work correctly for me - Some block are repaired and some arent. I havent tested destroyed blocks and projectors. Biggest problem is if a damaged block isnt repaired it keeps flashing green forever, even if you repair it yourself or go to a different safe zone. I have a lot of money and components both in the ship and my inventory, not sure what else Im supposed to do to get everything repaired or at least turn off the green flashing lights.
Jim 29 Nov, 2024 @ 10:23pm 
Had to uninstall as the game has been crashing to desktop since I started using it. Have a few QOL mods installed so might be a conflict.
Dragonmar 14 Nov, 2024 @ 6:29pm 
only working in creative mode for me
miku567 13 Nov, 2024 @ 1:56am 
I moved my ship inside SZ but despite the chat message it didnt start the repairs. Checking log file revealed this error close to the end:

2024-11-13 10:42:06.011 - Thread: 1 -> Exception occurred: VRage.Game.ModAPI.ModCrashedException: Mod crashed! ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.ModAPI.MyAPIUtilities.VRage.Game.ModAPI.IMyUtilities.ShowMessage(String sender, String messageText)
at SafeZoneGridMonitor.UnloadData()
at Sandbox.Game.World.MySession.UnloadDataComponents(Boolean beforeLoadWorld)
--- End of inner exception stack trace ---
at Sandbox.Game.World.MySession.UnloadDataComponents(Boolean beforeLoadWorld)
at Sandbox.Game.World.MySession.Unload_Patch0(MySession this)
at Sandbox.Game.World.MySessionLoader.Unload()

Full log (remove spaces): https:// / www.mediafire . com/file/sxc7erizfcevsfy/SpaceEngineers_20241113_100420670.log/file
Jim 9 Nov, 2024 @ 7:03pm 
This is a fantastic mod. Given the resource and power cost of a safe zone generator, it is end game content and would make total sense for this to be vanilla IMO.
Curious to know though if it can be configured to pull components from inventory when available rather than creds?
Tipok 9 Nov, 2024 @ 2:48am 
Does it work only in the creative mode?
SalazarWindriver 8 Nov, 2024 @ 4:56pm 
Any way to be able to feed it parts to reduce the cost or make it free? also would be sweet to have an option to flag owned ships for deconstruction to collect parts.
Mike Dude 7 Nov, 2024 @ 12:34pm 
Is there a limit to the projection welding, such as a minimum percentage already built? It sounds like I could build an entire ship for a fee with a projector.

Also, does this support the MGP plugin?
Daemon_Fire 7 Nov, 2024 @ 1:23am 
@McTec Ind.
No, you need to have the components in the grid with the safezone block to be able to build the parts
MrDoucheFace 6 Nov, 2024 @ 6:13pm 
Hell yeah brother
McTec Ind. 6 Nov, 2024 @ 7:27am 
This sounds like the kind of thing I would like to see in the base game... albeit with a button prompt instead of auto repair (because I'm stingy with the cash). Awesome work. The only question that comes into mind in regards to possible exploits is the question: "Can you build a vehicle with prototech blocks in creative and then have this station build the blueprint in a survival game?"
Nappel 6 Nov, 2024 @ 5:09am 
sounds like a great idea and the add on would be a special "saveZone" block edited ofcause so it is restrictabal on servers thad acts like a "repair hangar" for factions and instead of using credits it uses the actual matirials calculated from bluprint of damaged ship thad would be a dream come true ;-)
Shootme 6 Nov, 2024 @ 1:37am 
It doesn't work untill I'm in creative mod.
Dots 6 Nov, 2024 @ 12:04am 
thanks for this mod but i rather use build and repair system. its cheaper and does not cost space credits to do it.
StupidoDiabolik 5 Nov, 2024 @ 6:14pm 
@Polygon @Jake - Is there maybe a way to configure something similar with factions relations ?
I know it's not the same as having specific factions able to repair, but that could help restrict between allies, neutrals and enemies.

@Polygon - Otherwise, how does your mod behave with enemy safezones (I'm thinking Factorum encounters) ?
Jazepi 5 Nov, 2024 @ 4:48pm 
Hey Polygon, I've had an issue with this on my DS causing a crash / hung restart during scheduled restarts, is there somewhere I can send you the logs to help isolate the issue?
I'd also really like to pick your brain regarding the economy interaction if possible
Polygon Cherub  [author] 5 Nov, 2024 @ 12:06pm 
@Jake - Sadly not that I am aware of. Safezone entities, when defined by an npc station, do not have any connection to another entity. So it's impossible to look up information about who 'owns' it through the attributes.

I could think of a few hacky ways to get that info. Like, searching for static grids inside and then looking up the owning faction? Sadly, you can't use a given faction to figure out it's Type as for some reason that Def is not available.

Short answer: No.

If you still end up using it on your server, do share your results. I'd be keen on fleshing out the robustness of it should problems arise.
JakeFromSt8Farm 5 Nov, 2024 @ 11:07am 
Thank you for the fast reply.

Is there a way to configure specific NPC factions that have the ability. Such as entering in the ship building factions tag into a config? Id like to use this on my server but would prefer only certain factions do the repairs if possible.
Polygon Cherub  [author] 5 Nov, 2024 @ 11:00am 
@Bully Magnet - Sorry, it's automatic. Enter the zone and it starts working.

@JWickedScari - Destroyed blocks don't exist, so they can't be repaired. If you activate a projector, that will be built.

@JakeFromSt8Farm - This is for NPC (or admin) spawned zones. The player ones don't trigger the repairs... At least they shouldn't.
JakeFromSt8Farm 5 Nov, 2024 @ 10:32am 
Can this be restricted to economy npcs or specifically ship builder factions? Is it tied to the actual safezone block? Are admin safezones supported?
JWickScari 5 Nov, 2024 @ 8:43am 
If the blocks are destroyed, will it still be repaired if it’s part of a blueprint?
Milan 5 Nov, 2024 @ 7:14am 
I can stack milion, and use that to build ships now, no industry or materials searching is needed, as expense of more expensive overall value, awsome idea.
FireStriker 5 Nov, 2024 @ 4:27am 
Is this server safe?
Bully Magnet 5 Nov, 2024 @ 2:56am 
Great idea!!! Can i control when i want to repair, or it just always repairs when im in the safezone? Also would it work with my own safezone?
Polygon Cherub  [author] 4 Nov, 2024 @ 7:54pm 
@JWickScari any block on a grid you're driving when you enter a safezone will be scanned for damage and subsequently be repaired. Modded or not!
JWickScari 4 Nov, 2024 @ 5:52pm 
Will this work with modded blocks like weapons from weaponcore mods?
Nips 4 Nov, 2024 @ 5:12pm 
Sick mod
BlitzStream 4 Nov, 2024 @ 4:00pm 
YESSS!!
Now space credits is more useful.
More reason to trade.

Now can go pew pew on a whim without worrying the hassle of repairing ship.
Bandet 4 Nov, 2024 @ 12:15pm 
I love it, and i like that it adds component restrictions. MES shipyard doesn't do that.

But can you make a way for it to be toggled on/off in-game?
rioll 4 Nov, 2024 @ 11:13am 
oooh shweet
Ronin Planetary Industries 4 Nov, 2024 @ 9:07am 
This should be a vanilla part of the game.
Magnum Opium 4 Nov, 2024 @ 12:22am 
SIIIIIIIIIIIIIIIIIIIIIIIICCCCCCCCCCCCCCCCCCCCCCCKKKKKKKKKKKKK

sicccker than the build and repair system cause it gives purpose to the economy system and the safezones
Osker 3 Nov, 2024 @ 9:38pm 
This is such a great idea, thanks for making this!
Shape Enthusiast 3 Nov, 2024 @ 10:51am 
OOOOOO this sick, an amazing way to promote the player interacting with the economy sections of the game
Patrick 3 Nov, 2024 @ 8:53am 
@Polygon Cherub, very nice work! Is this for Economy safe zones, or safe zones created by the SZ block? For the later, you should be able to get the big owner of the block, then get their faction, then transfer the money to that faction account. I've worked a bit with this before and I'd be happy help get the payment stuff working. Please feel free to jump on my Discord if you want to chat about it. Patrick's Discord [discord.gg]
TheHellKat 3 Nov, 2024 @ 5:59am 
Do you plan to add ship sales like in Splitsies AA series?
Polygon Cherub  [author] 1 Nov, 2024 @ 10:53am 
@silver.talon The credits currently disappear to the ether as I was unable to find the owner data on safezone entities. Should I be mistaken on that, it is a change I would like to make.
silver.talon 1 Nov, 2024 @ 6:23am 
Hey Polygon, if a player faction owns the safe zone, do the credits go to that faction?
Grebanton1234 1 Nov, 2024 @ 1:42am 
Hey, really cool mod. About the subgrids: Do test it out with the Multigrid Projector Plugin if you can, it might already work with that.
Polygon Cherub  [author] 31 Oct, 2024 @ 10:00pm 
It will weld damaged, incomplete, and projected blocks.
Polygon Cherub  [author] 31 Oct, 2024 @ 10:00pm 
I actually did not test subgrids, but I do not believe so. If I can figure it out, I see about supporting it.
Unruly 31 Oct, 2024 @ 9:56pm 
Does it rebuild from projection, or repair existing damaged blocks only?
waj171 31 Oct, 2024 @ 9:17pm 
does it support sub-grids?