Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Archer broken Unitscript

Open ArchShaman opened this issue 11 years ago • 4 comments

Error:

[f=0031521] [unit_script.lua] Error: [string "scripts/amphraider2.lua"]:430: attempt to call field 'shotWaterWeapon' (a nil value)

Infolog http://pastebin.com/ikzmJtf9 Engine version: 91.0 Replay: http://zero-k.info/Battles/Detail/314695

ArchShaman avatar Dec 15 '14 15:12 ArchShaman

Presumably fixed in Zero-K test 8549-9236ff5? I don't get the error spam any more.

ArchShaman avatar Dec 19 '14 13:12 ArchShaman

Can confirm this bug is still in the zk test version thats on the autohosts. Not sure ifs something to do with https://github.com/ZeroK-RTS/Zero-K/blob/d6c510146e5786fddebb87bd14be71c9575d23d9/LuaRules/Gadgets/unit_water_effects.lua, something fouled up in unitattributes, or in the actual acher script. Was something recently changed to these files?

The error spam is unbearable. Either archer needs to go until this is fixed or this needs fixing asap.

ArchShaman avatar Dec 20 '14 00:12 ArchShaman

ops... this error is because GoogleFrog reverted to bugged ZK version which had bugged amphbomb.lua

It have misplaced "}" https://github.com/ZeroK-RTS/Zero-K/blob/9236ff5ba58a55d95940b681a0308dbab365980c/units/amphbomb.lua#L122

This typo don't exist in latest version.

xponen avatar Dec 20 '14 17:12 xponen

It is due to desync reverting so it is fixed now and will not be broken forever.

GoogleFrog avatar Dec 24 '14 06:12 GoogleFrog