Is the Lua interface still in early development? I keep getting this error:
LuaInterface.LuaScriptException: Lua511.LuaCSFunction
Or is it just my script maybe? It's very short and simple:
memory.usememorydomain("RDRAM")
while true do
inputs = input.get()
if inputs["RightShift"] == true then memory.writefloat(0x00400008, 10.0, true) end
gui.text(2, 50, memory.readfloat(0x004000A8, true) .. ' - XP', background, forecolor, "bottomright")
gui.text(2, 35, memory.readfloat(0x004000AC, true) .. ' - YP', background, forecolor, "bottomright")
gui.text(2, 20, memory.readfloat(0x004000B0, true) .. ' - ZP', background, forecolor, "bottomright")
gui.text(2, 5, memory.read_s16_le(0x00382670) .. ' - TV', background, forecolor, "bottomright")
emu.frameadvance()
end
The script is for The Legend of Zelda: Majora's Mask, if that matters. I tested it on BizHawk v1.9.3.