Closed Skyamoeba closed 3 years ago
Will test it on dev 109 when the download is available. Does the same on dev 108.
Still crashing on the switch in 110 but its not crashing switching the switch on, it is now only crashing when the switch is switched off, code below and error logs attached. SMMDebug_2021-6-12_10-45-23.zip
(Note: worked ok to switch on reloaded when it crashed on switching off and now gone back to crashing when switching on)
Power_Switch = "TestSwitch1"
function Connection(x,y)
function GPwrSwitch() Comp = component.proxy(component.findComponent(x)[1]) end
if pcall (GPwrSwitch) then GPwrSwitch() Comp.isSwitchOn = y else print("Comm Error : "..Power_Switch.." is not showing / connected") end end
Connection(Power_Switch,true)
Crashing on dev build 111, still doing the same as above.
Confirmed fixed, no game crash when using the below:
Power_Switch = "TestSwitch1"
function Connection(x,y)
function GPwrSwitch() Comp = component.proxy(component.findComponent(x)[1]) end
if pcall (GPwrSwitch) then GPwrSwitch() Comp.isSwitchOn = y else print("Comm Error : "..Power_Switch.." is not showing") end end
Connection(Power_Switch,true)
event.pull(5)
Connection(Power_Switch,false)
SMMDebug_2021-6-10_11-17-49.zip Seems to crash when a switch is switched to the on position via computer, but not really sure. Full log attached.
Ver: 0.2.1