Skip to content
NIDO edited this page Nov 29, 2023 · 11 revisions

Common Errors

System.Net.SocketException (0x80004005): No connection could be made because the target machine actively refused it

Make sure the dashboard is running both while you open BizHawk and enable pokebot-nds.lua in the Lua console. You can close the dashboard afterwards, but it must be running for this part of initialisation.

NLua.Exceptions.LuaScriptException: [string "main"]:??: module 'lua\json' not found: no field package.preload['lua\json']

This is a temporary problem that sometimes occurs when adding the script to the Lua console for the first time. Reload the game with CTRL+R or close and re-open BizHawk to fix it.

System.NullReferenceException: Object reference not set to an instance of an object. at BizHawk.Client.Common.CommLuaLibrary.SocketServerSetIp(String ip)

This usually follows up the message 'Socket server was not initialized, please initialize it via the command line'. Make sure you properly follow the Enabling BizHawk Sockets section in Getting Started.