Ongoing Lua V2 Bug List

Started by brow42

Jean-Bob Lv 1

no crash but i found that fun one :
when foldit functions are passed by reference the script panel (where one can cancel a script) shows the new name

a=structure.ShakeSidechainsAll
a(1)

shows "a"
as table fields are anonymous it gets funnier

a={structure.ShakeSidechainsAll}
a[1](1)

shows "?"

now, if you want to play with the ones using your scripts you may guess what's next :

WiggleAll=structure.ShakeSidechainsAll
WiggleAll(1)

et voilĂ  !

Rav3n_pl Lv 1

Bump.
Lua should at least check type of passing parameter and throw an error to output window not killing client… One typo in variable name and we pass nil to function and we can say goodbye to client.