Scrap Mechanic

Scrap Mechanic

Sledgehammer Lag Fix
26 Comments
Mac and Cheese Oct 22 @ 11:38am 
in the technical side why does the hammer cause lag in vanilla? like in what part does it generate well latency for the physics calculations and etc?
Alx_205 Aug 10 @ 9:16am 
nice
Fagiano0  [author] Aug 8 @ 5:09am 
it's only present in survival/survival-like custom games. Also some people don't experience the issue, so if you don't: lucky you!
dkp.paka Aug 8 @ 3:44am 
i dont think there is a problem with hammer (for me there is no problem with "hammer lag")
↕ßæł-Aid↕ Jul 11 @ 5:55am 
oks
Fagiano0  [author] Jul 11 @ 5:48am 
that is what it fixes
↕ßæł-Aid↕ Jul 11 @ 5:16am 
Are you talking about lag when switching to the hammer? Cus whenever you remove blocks/resources with a tool out it slowly makes it more laggy to equip that tool. Easy fix is simply reloading the world but if it's not that then I'm not sure what this is supposed to be fixing
hmm very weird
Fagiano0  [author] May 23 @ 9:50am 
the issue is caused by the code of the sledgehammer itself, nothing that doesn't directly touch that can fix it
i had this but it fixed when i cleared some of my mods
Fagiano0  [author] May 23 @ 5:38am 
@FancyDuck simply move the save file from the "survival" folder inside "saves" to "saves"
the save file will then appear in the creative menu, even though it's still survival
there you can add mods
FancyDuck May 22 @ 11:26pm 
@Fagiano0 so I can't use it on actual survival? Any other work arounds
wreckedftfoxy May 22 @ 11:55am 
I know right it's amazing
Fagiano0  [author] May 22 @ 10:35am 
good for you, mate
wreckedftfoxy May 21 @ 6:55pm 
i dont lag
Maxis Maximov Jr. May 17 @ 1:18pm 
YES
FINALLY
I've pointed out this issue multiple times in the Discussions
FINALLY there's a fix AND an explanation why it's happening
#7F00FF Spacewalk May 17 @ 10:47am 
BoxHead
The default sledgehammer does lag for a part of the community, in survival. It creates a LOT of tables when u equip it that's why it lags, especially when u quickly switch between the sledgehammer and other items. For some reason it only does for some people.
TechnicAgent May 17 @ 10:03am 
Lag?
Fagiano0  [author] May 16 @ 8:01am 
@FancyDuck you can move your save file from the "saves/survival" folder into the "saves" folder, then it will appear in the creative section, and you can add mods there
(not sure if moving it back to the "survival" folder afterwards keeps the mod enabled)
Fagiano0  [author] May 16 @ 7:57am 
@RedMissile the game begins to lag every time you re-equip the hammer after doing so many times in the same session (the amount varies depending on how good your pc is)
This is because the hammer adds its renderables every time you equip it, but never removes them.
FancyDuck May 16 @ 4:28am 
Anyway to put it into pre-existing survival worlds
RedMissile May 16 @ 4:17am 
how does the Sledgehammer causes lag?
Axel May 16 @ 3:10am 
this has to be a joke. the sledgehammer doesn't lag from what i know.
Fagiano0  [author] May 15 @ 12:11pm 
it just fixes the lag
Illumina♥ May 15 @ 12:11pm 
Does it have the parry enabled or not.
СТУЛ May 15 @ 11:05am 
About damn time! Good job, mate!