Open Modular Turrets

Open Modular Turrets

26M Downloads

Not all Lua functions work in CC

Bottinator22 opened this issue ยท 0 comments

commented

This is on an Aternos server, but I don't think that affects anything
Some of the functions are existent as they should be, but some of them are nil
Wrapped by the lua prompt with a simple peripheral.wrap()
Tested on a tier 5 base with a single laser turret on top, although I was planning to use a rocket turret later, serial port is included just in case

getOwner: nil
isAttacksMobs: nil
setAttacksMobs: works
isAttacksNeutrals: nil
setAttackNeutrals: works
isAttacksPlayers: nil
setAttacksPlayers: works
getTrustedPlayers: works
getTrustedPlayer: works
addTrustedPlayer: works
removeTrustedPlayer: works
changeTrustedPlayerAccess: nil, but there is a function not mentioned on the wiki which might have the same effect, changeAccessLevel
getMaxEnergyStorage: nil
getCurrentEnergyStorage: nil
getActive: works
getMode: works
setMode: works
getRedstone: works
setAllYawPitch: nil
setTurretYawPitch: nil
setAllAutoForceFire: nil
setTurretAutoForceFire: nil
forceShootAll: nil
forceShootTurret: nil

It appears that the wiki has not been updated to include renamed or new functions...

Affected Versions:

  • OMT: 3.2.0-360
  • OMLib: 3.2.0-250
  • Computercraft: 1.80pr1
  • Minecraft 1.12.2
  • Forge 14.23.5.2847
  • no SpongeForge
  • no Optifine
  • Server