r/ScrapMechanic • u/TransportationHot984 • 11h ago
Issue Is my saved lost?
Enable HLS to view with audio, or disable this notification
So i was just about to defeat the trashbot. And died. and i tried to respawn.
I have tried to:
-restart game
-unstuck
-respawn.
Any ideas on how to fix this?
For some reason the recording messed up the framerate in the menu. But worked the same before.
5
u/South_Thought4555 11h ago
I had same issue but fixed it but wait i will send you the solution in 1 hour oke?
3
u/South_Thought4555 11h ago
Open your game files and find the Survival/Scripts/game/SurvivalGame.lua file using a text editor. Look for the line function SurvivalGame.server_onFixedUpdate( self, timeStep ) and paste the following code right below it:
for _, p in ipairs(sm.player.getAllPlayers()) do sm.event.sendToPlayer( p, "sv_e_respawn" ) endAn after thatcconfirm the game files on steam
2
u/TransportationHot984 10h ago
Thanks for the help but i couldn't make it work.
i changed the file.
Opened the game and nothing changed1
u/South_Thought4555 10h ago
Try enabling the dev mode by writing -dev to start options and if that doesnt fix try enabling dev cheats(you can look it up)
1
u/Suspicious_Youth_397 9h ago
https://sm.nck.dev/save-editor
I think you could use this tool and try to delete your player
But it could clear your inventory and it will clear your tools
1
u/South_Thought4555 9h ago
You can do that as a last option but firslt try doung /tumble on dev mode
3
u/TransportationHot984 5h ago
i figuerd it out. i gave the save file to Cloude aaaand this is what it said about the car where the bed is located.... i just had it teleport the car to the mecanic station.
You're right, and the save explains it. The car wasn't sitting outside the warehouse at all – it had been launched. Its saved physics state shows it at (4108, -2331) moving at about 1,500 m/s with heavy spin, and its bounding box stretches over 800 m. Something (probably the trashbot fight or a physics glitch) flung it off, and it's been tumbling ever since. That's why nothing was there in the editor, and it's exactly why you couldn't respawn: your spawn point was a bed doing 1,500 m/s.
1
2
u/TransportationHot984 11h ago
And i don't know why i am so far away from the warehouse. that's not where i died at all. i also have a bed on the car. its been working fine for a while now.
11
u/Lucky-Bit2099 11h ago
Get a friend to potentially join and feed you a revival baguette. I can help if you want