lua - attempt to index field '' (a nil value) -


i trying run script done sethbling, gives me error:

luainterface.luascriptexception: dp1.state

luainterface.luascriptexception: [string "main"]:337: attempt index field 'neurons' (a nil value)

this the code

a flamanis posted comment on youtube. followed instructions , got working.

how work! takes place inside folder bizhawk emulator in.
execpt part: before ever opening lua console on bizhawk, (if have, instructions on how reset stuff @ bottom) go onto level want have learn, , when level starts up, click on file. go down , open menu of save state, @ bottom click create named state, , name dp1, put after slashes , whatever delete gamestate.whatever jargon auto names it. after doing that, either move file snes/state folder have lua file, or other way around. , load lua file console, , boom you're good.
if tried run lua file , errors: either need delete save, or edit lua file slightly. if want delete save approach, go snes folder , saveram folder , delete file game. not delete emulation, save.
if want edit lua file, @ top, top line, (create new 1 if want to, make sure it's before other text) add this: pool = nil that's it. reset data can run again. still need save state though. want edit file again after you've started running , remove line or restart every time turn on.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -