Skip to content

cheat_codes

timm052 edited this page Jan 17, 2020 · 9 revisions

https://llllllll.co/t/cheat-codes-v1-1-1/27874/220

implementation

the lib needs to be invoked at

  • line 824 of cheat_codes.lua

issues/errors

  • script gives init error at launch, engine appears to continue running and the inital button grid appears on launch pad but does not upadate button presses appear to register. Might to be an issue with how cheat codes draws it's ui possibly related to the interactive help functions.

    SCRIPT ERROR: init /home/we/dust/code/cheat_codes/cheat_codes.lua:932: attempt to perform arithmetic on a nil value (field 'alt') stack traceback: /home/we/norns/lua/core/norns.lua:126: in metamethod '__mul' /home/we/dust/code/cheat_codes/cheat_codes.lua:932: in global 'grid_redraw' /home/we/dust/code/cheat_codes/cheat_codes.lua:458: in function 'init' /home/we/norns/lua/core/script.lua:82: in function 'core/script.init' [C]: in function 'xpcall' /home/we/norns/lua/core/norns.lua:127: in field 'try' /home/we/norns/lua/core/engine.lua:91: in function </home/we/norns/lua/core/engine.lua:89>

Clone this wiki locally