Stormworks: Build and Rescue

Stormworks: Build and Rescue

Improved Conquest Mode
This topic has been locked
x64dbg 22 Jul, 2022 @ 9:31am
Game freezes/Extreme lag
The game freezes/Extremely lags when any vehicle gets hit, Even crashes game sometimes

Idk if this because of stormworks or this addon. (if its stormworks dont get mad at me)
< >
Showing 1-15 of 17 comments
Toastery  [developer] 22 Jul, 2022 @ 11:16am 
yeah, its a stormworks thing.

Full Explanation:

For some reason, ever since a few updates ago, whenever the game calls "onVehicleDamaged" many times in a tick, the game will temporarly freeze for awhile, even if the function has nothing in it, so you may notice that disabling this mod will fix the issue, which may make it seem like its this addon's fault, however its just due to the game calling the onVehicleDamaged function which is causing it. Sadly I cant really fix this issue on my end, and my account on the issue tracker is moderated, so nobody can see the bugs I report, not even the devs can, as its pushed to the very bottom.
unforgiven3091  [developer] 4 Nov, 2022 @ 5:47pm 
^^^ Btw since this wasn't updated it ended up being kinda the addons fault, a statement in the callback, a stormworks update added stuff to it but made it super resource intensive to call, and since damage called that thousands of times it caused a freeze. Its been fixed for awhile
Toastery  [developer] 5 Nov, 2022 @ 1:56pm 
yeah, this is correct

I dont understand why its so resource intensive though, most of the data it gets never changes for the vehicle.
JohnJ44 6 Jan, 2023 @ 8:32pm 
Have you noticed extreme lag when sinking / dealing with cargo ships? They don't despawn for a long time (If ever, not sure about this) and they just keep spawning in so the game slows down more and more. Is there anyway for me to manually despawn them? They don't show in the debug list either. Thanks in advance and thank you for the great mod! It has added a lot of enjoyment to the game.
Toastery  [developer] 6 Jan, 2023 @ 8:42pm 
hmm, there might be? one second, will look into this rq

the cargo vehicles when killed will take 1 hour to despawn iirc, as then it gives you time to go and recover the cargo from them

cargo vehicles that are empty when killed will simply be despawned as usual.

also, this discussion is quite old and unrelated to the issue you're mentioning, so I'd prefer if you created a new discussion, but meh, doesn't really matter much lol
Toastery  [developer] 6 Jan, 2023 @ 8:50pm 
Originally posted by JohnJ44:
Have you noticed extreme lag when sinking / dealing with cargo ships? They don't despawn for a long time (If ever, not sure about this) and they just keep spawning in so the game slows down more and more. Is there anyway for me to manually despawn them? They don't show in the debug list either. Thanks in advance and thank you for the great mod! It has added a lot of enjoyment to the game.

btw, could you run "?icm info" and tell me what it says for the version?
Toastery  [developer] 6 Jan, 2023 @ 10:19pm 
Originally posted by JohnJ44:
Have you noticed extreme lag when sinking / dealing with cargo ships? They don't despawn for a long time (If ever, not sure about this) and they just keep spawning in so the game slows down more and more. Is there anyway for me to manually despawn them? They don't show in the debug list either. Thanks in advance and thank you for the great mod! It has added a lot of enjoyment to the game.

oh right! This is an issue where the killed vehicles aren't showing on map debug, I fixed this internally, but have not yet pushed the fix, update will be coming very soon.
JohnJ44 7 Jan, 2023 @ 1:30am 
@Toastery

I didn't think to check the age of the post before asking. I'd be happy to ask on a new post though. I checked the info, here's what it says.

------ Improved Conquest Mode Info ------

Version: (0.3.0)

World Creation Version: (0.3.0)

Times Addon Data has been Updated: 0

Version History

1: (0.3.0)

I post my other question in a new discussion.
Toastery  [developer] 7 Jan, 2023 @ 2:04am 
Originally posted by JohnJ44:
Have you noticed extreme lag when sinking / dealing with cargo ships? They don't despawn for a long time (If ever, not sure about this) and they just keep spawning in so the game slows down more and more. Is there anyway for me to manually despawn them? They don't show in the debug list either. Thanks in advance and thank you for the great mod! It has added a lot of enjoyment to the game.

Just released 0.3.1, should address this issue.
JohnJ44 7 Jan, 2023 @ 8:24am 
Thank you!, I'm about to check it out.
Just 21 Feb, 2023 @ 10:48am 
Hi!
It seems I have the same issue, but it happens not at the moment of hit, but at the moment, when the AI boat going to sink.
Recorded a video (freeze on 1:10): https://youtu.be/AvosyOa2XIg?t=69
Here is save file: https://mega.nz/file/5EwkwRrI#KtEvLBn2XjMfhBBLjBtarh4fUXM6iSma2OrBKGtXELM
Last edited by Just; 21 Feb, 2023 @ 10:51am
Toastery  [developer] 27 Feb, 2023 @ 6:27am 
Originally posted by Just:
Hi!
It seems I have the same issue, but it happens not at the moment of hit, but at the moment, when the AI boat going to sink.
Recorded a video (freeze on 1:10): https://youtu.be/AvosyOa2XIg?t=69
Here is save file: https://mega.nz/file/5EwkwRrI#KtEvLBn2XjMfhBBLjBtarh4fUXM6iSma2OrBKGtXELM
yeah, that seems to be more of a physics freeze, before the game just froze temporarily.

I'll be releasing a hotfix soon that will hopefully address the physics freeze issue.
Iron Red 11 Mar, 2023 @ 10:51am 
Originally posted by Toastery:
Originally posted by Just:
Hi!
It seems I have the same issue, but it happens not at the moment of hit, but at the moment, when the AI boat going to sink.
Recorded a video (freeze on 1:10): https://youtu.be/AvosyOa2XIg?t=69
Here is save file: https://mega.nz/file/5EwkwRrI#KtEvLBn2XjMfhBBLjBtarh4fUXM6iSma2OrBKGtXELM
yeah, that seems to be more of a physics freeze, before the game just froze temporarily.

I'll be releasing a hotfix soon that will hopefully address the physics freeze issue.

About how long until the hotfix is released?

No rush of course, I'm sure its far more complicated than a simple fix, just curious.
Toastery  [developer] 11 Mar, 2023 @ 2:15pm 
I've fixed the issue, currently just doing a few other things before I can release it :D
Iron Red 24 Mar, 2023 @ 10:35am 
any updates on progress?
< >
Showing 1-15 of 17 comments
Per page: 1530 50