Stormworks: Build and Rescue

Stormworks: Build and Rescue

Improved Conquest Mode
此主题已被锁定
x64dbg 2022 年 7 月 22 日 上午 9:31
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)
< >
正在显示第 1 - 15 条,共 17 条留言
Toastery  [开发者] 2022 年 7 月 22 日 上午 11:16 
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  [开发者] 2022 年 11 月 4 日 下午 5:47 
^^^ 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  [开发者] 2022 年 11 月 5 日 下午 1:56 
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 2023 年 1 月 6 日 下午 8:32 
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  [开发者] 2023 年 1 月 6 日 下午 8:42 
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  [开发者] 2023 年 1 月 6 日 下午 8:50 
引用自 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  [开发者] 2023 年 1 月 6 日 下午 10:19 
引用自 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 2023 年 1 月 7 日 上午 1:30 
@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  [开发者] 2023 年 1 月 7 日 上午 2:04 
引用自 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 2023 年 1 月 7 日 上午 8:24 
Thank you!, I'm about to check it out.
Just 2023 年 2 月 21 日 上午 10:48 
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
最后由 Just 编辑于; 2023 年 2 月 21 日 上午 10:51
Toastery  [开发者] 2023 年 2 月 27 日 上午 6:27 
引用自 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 2023 年 3 月 11 日 上午 10:51 
引用自 Toastery
引用自 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  [开发者] 2023 年 3 月 11 日 下午 2:15 
I've fixed the issue, currently just doing a few other things before I can release it :D
Iron Red 2023 年 3 月 24 日 上午 10:35 
any updates on progress?
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50