uberkillmachina Posted June 6, 2021 Share Posted June 6, 2021 Hello! I'm new with Lua and DST stuff, however know how to dig into game's code. So I'm trying to make my first mod but after I press button 'Generate World' I'm thrown into a white background (that one BEFORE Loading... appears). I checked my code for several hours and found nothing. Also, as the world didn't even start generating I'm left with no log under Cluster folder. I put attached folder to Don't Starve Together/mods. Is something wrong with the code, structure, maybe my PC? dso.zip Link to comment Share on other sites More sharing options...
Monti18 Posted June 6, 2021 Share Posted June 6, 2021 I see in your folder that you don't have any anim file and that you also don't load one in the mod main even though you have an exported folder. Your prefab loads an anim file that is not there, that's probably why it's crashing. 1 Link to comment Share on other sites More sharing options...
uberkillmachina Posted June 6, 2021 Author Share Posted June 6, 2021 (edited) Thanks for the reply. I compiled my scml to a zip and put it to anim/. It's also linked to prefab script. But still facing the same problem. dso.zip Edited June 6, 2021 by uberkillmachina upd: put an anims zip Link to comment Share on other sites More sharing options...
Monti18 Posted June 7, 2021 Share Posted June 7, 2021 When starting the world with this mod, I get a server log with this error: Spoiler [string "../mods/test2/modmain.lua"]:24: attempt to index field 'WILSON' (a nil value) LUA ERROR stack traceback: ../mods/test2/modmain.lua(24,1) in main chunk =[C] in function 'xpcall' scripts/util.lua(754,1) in function 'RunInEnvironment' scripts/mods.lua(557,1) in function '_InitializeModMain' ../mods/workshop-1378549454/scripts/backendmainloader.lua(23,1) =(tail call) ? ../mods/workshop-1378549454/modbackendmain.lua(97,1) =(tail call) ? ../mods/workshop-1378549454/modmain.lua(109,1) in function 'InitializeModMain' scripts/mods.lua(531,1) in function 'LoadMods' scripts/main.lua(340,1) in function 'ModSafeStartup' scripts/main.lua(441,1) in function 'callback' scripts/modindex.lua(103,1) in function 'BeginStartupSequence' scripts/main.lua(440,1) in function 'callback' scripts/modindex.lua(735,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(709,1) in function 'Load' scripts/main.lua(439,1) in main chunk [00:00:02]: [string "scripts/mainfunctions.lua"]:1283: variable 'global_error_widget' is not declared LUA ERROR stack traceback: =[C] in function '_error' ../mods/workshop-1378549454/gemscripts/tools/dynamictilemanager.lua(303,1) in function 'error' scripts/strict.lua(23,1) scripts/mainfunctions.lua(1283,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(709,1) in function 'Load' scripts/main.lua(439,1) in main chunk I think this is because there is nor WILSON strings, as GENERIC comes from speech_wilson.lua. So just delete the line with WILSON and it should work. 1 1 Link to comment Share on other sites More sharing options...
uberkillmachina Posted June 9, 2021 Author Share Posted June 9, 2021 Thanks! It now works! I missed that. Seems you gotta load into existing world to receive a log. So much thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now