nrudzicz Posted November 23, 2012 Share Posted November 23, 2012 Bug SubmissionPlease choose a category [Crash] PlatformSteamVersion Number - Issue title Crash on startup: Lua "module 'strict' not found" Steps to reproduce Launch the game through Steam.Windows error message pops up:"dontstarve_steam.exe has stopped working" Describe your issue Pretty straightforward -- the game simply fails to start.I've got my latest video drivers; I've tested the game in Chrome, and that also fails (though this time with the red-bordered image of Wilson at his typewriter and the "An error has occurred" message).The log.txt file reads as follows:Starting upTHREAD - started 'GAClient' (6952)HttpClient::ClientThread::Main()cGame::InitializeOnMainThreadcDontStarveGame::DoGameSpecificInitialize()cGame::StartPlayingLOADING LUADoLuaFile data/scripts/main.luaDoLuaFile loading buffer data/scripts/main.luaDoLuaFile Error: ...g_Make_Steam_Package\workspace\data\scripts\main.lua:62: module 'strict' not found: no file 'C:/Libs/Lua/5.1' (checked with custom loader) no field package.preload['strict'] no file 'C:\Libs\Lua\5.1' no file 'C:\Program Files (x86)\Steam\steamapps\common\dont_starve\bin\lualib\strict.dll'LUA ERROR stack traceback: =[C] in function 'require' c:\jenkins\workspace\jobs\DontStarve_Staging_Make_Steam_Package\workspace\data\scripts\main.lua(62,1) in main chunk...g_Make_Steam_Package\workspace\data\scripts\main.lua:62: module 'strict' not found: no file 'C:/Libs/Lua/5.1' (checked with custom loader) no field package.preload['strict'] no file 'C:\Libs\Lua\5.1' no file 'C:\Program Files (x86)\Steam\steamapps\common\dont_starve\bin\lualib\strict.dll'LUA ERROR stack traceback: =[C] in function 'require' c:\jenkins\workspace\jobs\DontStarve_Staging_Make_Steam_Package\workspace\data\scripts\main.lua(62,1) in main chunkAssert failure '0' at ..\source\simlib\luatools.cpp(72): Trace follows...Seems to be a problem with Lua, but...I do believe I have the latest version of that, too. Hope it's not a simple library mixup on my end. Link to comment Share on other sites More sharing options...
Developer Kevin Posted November 23, 2012 Developer Share Posted November 23, 2012 Your installation is incomplete. Tell steam to verify the application files. If that fails too, try to find a file called strict.lua under the data/scripts directory. If that's not there, something stranger is happening. Link to comment Share on other sites More sharing options...
nrudzicz Posted November 23, 2012 Author Share Posted November 23, 2012 I went through Properties -> Local Files -> Verify Integrity of Game Cache, and it didn't report any problems; however, I still got the same error starting up. I also made sure I wasn't on any Beta branch, then deleted and reinstalled the game -- no luck there either.data/scripts/strict.lua is present. Link to comment Share on other sites More sharing options...
nrudzicz Posted November 23, 2012 Author Share Posted November 23, 2012 Alrighty.So, I've got an environment variable called LUA_PATH already defined in Windows (had to define it myself for some dev work); the log file shows that DS is trying to run Lua from there (for instance, "No file c:/Libs/Lua/5.1"). If I delete the LUA_PATH environment variable, DS runs without any problems. Link to comment Share on other sites More sharing options...
Developer Kevin Posted November 23, 2012 Developer Share Posted November 23, 2012 Wow, crazy. I'll have to mod our embedded lua to ignore the LUA_PATH environment variable. Thanks for the find! Link to comment Share on other sites More sharing options...
nrudzicz Posted November 23, 2012 Author Share Posted November 23, 2012 Heh. Other game devs: the cause of, and solution to, [some] of game dev problems.I feel all fuzzy. Link to comment Share on other sites More sharing options...
Recommended Posts