Menu

#603 basicbot_framework.lua not found

General
closed:fixed
nobody
None
5
2013-05-28
2013-05-25
MetalStorm
No

When running LuaBot.lua and attempting to click the "Write bot script", the following Error Message pops up.

...TAS emulator\fceux-2.2.1-win32\luaScripts\Luabot.lua:145: basicbot_framework.lua: No such >file or directory
stack traceback:
[C]: in function 'assert'
...TAS emulator\fceux-2.2.1-win32\luaScripts\Luabot.lua:145: in function <...TAS >emulator\fceux-2.2.1-win32\luaScripts\Luabot.lua:130>
(tail call): ?
[C]: in function 'frameadvance'
...TAS emulator\fceux-2.2.1-win32\luaScripts\Luabot.lua:248: in main chunk

The Error occurs here in LuaBot.lua

local fh = assert(io.open("basicbot_framework.lua","r"));

To resolve this I renamed the luabot_framework.lua to basicbot_framework.lua in my LuaScripts folder.

Discussion

  • AnS

    AnS - 2013-05-26

    Fixed in r2954. It's better to change the line in LuaBot.lua than to rename luabot_framework.lua

     
  • AnS

    AnS - 2013-05-26
    • status: open --> closed:fixed
    • Group: SDL --> General
     
  • MetalStorm

    MetalStorm - 2013-05-28

    cool thx

     

Log in to post a comment.