Stormworks: Build and Rescue

Stormworks: Build and Rescue

Refuelling and recharging interface
21 Comments
Lightning 14 Dec, 2024 @ 2:25pm 
what is this called in the inventory, I cannot find this in the workbench
Pika  [author] 3 Sep, 2021 @ 2:04am 
Apologies for the long wait, but the bug has been fixed
Pika  [author] 21 Jul, 2021 @ 7:24am 
Yeah I realised I never defined all my variables but I have been forgetting to fix it sorry!
Bastard Zane 28 Jun, 2021 @ 3:36pm 
I have discovered the 'attempt to compare nil to a number' issue and fixed it! :EmergencyCall:

To my understanding, the problem is that if the screen is started off, I believe the screen size is reported as nil, thereby breaking the value called 'W' in the script.

Make your script that starts with 'BaT=0' look like this (if you're using a 1x3), starting at the 'if eorg and W<70 then' line, and ending at the second 'end' a couple of lines later:

if eorg and W==nil then
W=100
if W<70 then
S1=38
S2=35
else
S1=0
S2=0
end
end
end

It makes the comparison kind of pointless, but it works, so it's not stupid. :steamthumbsup:

This will make the screen work for a 1x3 monitor flawlessly. I have yet to test it in the dedicated server (where I first observed the problem), but I can now attach this to a screen that is spawned off and turn it on with it working.

Hope this helps! :RepairKit:
ChewyCD 9 Jun, 2021 @ 2:21pm 
when is it fixed?
Pika  [author] 8 Jun, 2021 @ 6:21am 
Lua is pretty buggy in multi-player, guess I'll just fix the code by (hopefully) defining all the numbers and boolean.
MarshallSantini 7 Jun, 2021 @ 5:17pm 
Yes, I play single player with the tick issue
Merlin 7 Jun, 2021 @ 12:31pm 
Nope. I always play multiplayer so friends are able to join. Is multiplayer the issue?
Pika  [author] 7 Jun, 2021 @ 6:48am 
No problems for me and a couple of friends, just to confirm, you guys are playing in single player?
Merlin 6 Jun, 2021 @ 1:02pm 
I believe I am running the 64 bit version
Pika  [author] 6 Jun, 2021 @ 7:57am 
Are you guys running the 32 bit version?
Pika  [author] 6 Jun, 2021 @ 7:56am 
Can you send a friend request to me on discord, so that you can send me an image of the error. My tag is pika#3113
richardcoleman990 6 Jun, 2021 @ 4:40am 
also getting 32 tick error. any help would be much appreciated
Pika  [author] 6 Jun, 2021 @ 1:42am 
Just tested it out, has no issues for me, I'll get a friend to test real quick.
Pika  [author] 5 Jun, 2021 @ 8:27am 
I'll look into this real quick
Merlin 31 May, 2021 @ 12:07am 
I am also getting the tick error :(
nerobonanox 25 May, 2021 @ 5:28pm 
im having the same tick 32 error, comparing nill to a number, anyone know how to fix this?
Pika  [author] 14 May, 2021 @ 6:40pm 
It's working fine for me
Pika  [author] 13 May, 2021 @ 11:13pm 
I'll look into it
MarshallSantini 12 May, 2021 @ 10:56pm 
Im currently getting a tick 32 error. Using a 1x3 screen.
snow_Drift 1 May, 2021 @ 10:08am 
A great addition to my various outposts, really like the touch-control for flow