Team Spartan Cookies & Milk Forums
Cloak wirelinking bug - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Cloak wirelinking bug (/thread-609.html)



Cloak wirelinking bug - LocInt - 27-11-2014

Hello,

When im trying to turn on cloak using starfall wirelinking or .Activate I end up having this error:

sv: Wire error (Entity [759][st_cloaking_device]):
SFConfusedtarfall/loctech/SCFAR.txt:1093: Operations quota exceeded. Ops: 500500
stack traceback:
[C]: in function 'error'
addons/starfall/lua/starfall/instance.lua:124: in function '__index'
addons/ulx-tscm/lua/entities/st_cloaking_device/init.lua:379: in function <addons/ulx-tscm/lua/entities/st_cloaking_device/init.lua:378>
[C]: in function 'TableSort'
addons/ulx-tscm/lua/entities/st_cloaking_device/init.lua:378: in function 'Cloak'
addons/ulx-tscm/lua/entities/st_cloaking_device/init.lua:60: in function 'ActivateCloak'
addons/ulx-tscm/lua/entities/st_cloaking_device/init.lua:54: in function <addons/ulx-tscm/lua/entities/st_cloaking_device/init.lua:52>
[C]: in function 'xpcall'
addons/wire/lua/wire/server/wirelib.lua:67: in function 'TriggerInput'
addons/starfall/lua/starfall/libs_sv/wire.lua:413: in function '__newindex'
SFConfusedtarfall/loctech/SCFAR.txt:1093: in function 'toggleCloak'
SFConfusedtarfall/loctech/SCFAR.txt:1929: in function 'func'
addons/starfall/lua/starfall/instance.lua:67: in function <addons/starfall/lua/starfall/instance.lua:66>
[C]: in function 'xpcall'
addons/starfall/lua/starfall/instance.lua:133: in function 'runWithOps'
addons/starfall/lua/starfall/instance.lua:343: in function 'runFunction'
addons/starfall/lua/starfall/libs_sh/time.lua:74: in function <addons/starfall/lua/starfall/libs_sh/time.lua:68>

sv: SFConfusedtarfall/loctech/SCFAR.txt:1093: Ops quota exceeded.


RE: Cloak wirelinking bug - Liizzii - 27-11-2014

Does this happen when the only thing it's doing is activating it? (i.e. without any chat or other control stuff) If you're on the server later I can come take a look (later meaning in 2 hours)


RE: Cloak wirelinking bug - LocInt - 27-11-2014

(27-11-2014, 05:15 PM)JoshTheEnder Wrote: Does this happen when the only thing it's doing is activating it? (i.e. without any chat or other control stuff) If you're on the server later I can come take a look (later meaning in 2 hours)

Well basically this is what im doing:

local function toggleCloak()

if(IsValid(Cloak)) then

if(CloakW["Active"]==1) then

CloakW["Activate"]=0

else

CloakW["Activate"]=1

end

end

end


RE: Cloak wirelinking bug - Person8880 - 27-11-2014

This is not a bug, it's just an undesirable point for the Starfall chip to stop. The way Starfall tracks ops is pretty complicated, I need to fiddle with it to get it to not halt halfway through a non-Starfall function.

In the meantime, I'll make the cloaking device workaround it so it doesn't trigger a quota exceed.


RE: Cloak wirelinking bug - LocInt - 27-11-2014

(27-11-2014, 07:04 PM)Person8880 Wrote: This is not a bug, it's just an undesirable point for the Starfall chip to stop. The way Starfall tracks ops is pretty complicated, I need to fiddle with it to get it to not halt halfway through a non-Starfall function.

In the meantime, I'll make the cloaking device workaround it so it doesn't trigger a quota exceed.

Thanks!