Cant load in new mods, old mods work fine.


Recommended Posts

Edit:- Seemed to to be the Drok mod. Disabled this and all works fine now.

 

 

For some reason I cant seem to load in new mods to my dedicated server, old mods are working fine. Attempting to load in a new mod causes the server to hang on start up. Once I comment out the new mod in modsettings the server loads as normal.

 

Below are my modsettings, servermods and log file.

 

 

The process I normally followed was:-

 

1. Download the mods I required using the DST client.

2. Copy the mods from the DST client folder, to the Window Server DST Dedicated mod folder.

3. Enable the modes as described in the Wiki as shown below.

 

 

-- Use the "ForceEnableMod" function when developing a mod. This will cause the

-- game to load the mod every time no matter what, saving you the trouble of
-- re-enabling it from the main menu.
--
-- Note! You shout NOT do this for normal mod loading. Please use the Mods menu
-- from the main screen instead.
 
--ForceEnableMod("sample_prefab")
 
 
-- Use "EnableModDebugPrint()" to show extra information during startup.
 
--EnableModDebugPrint()
 
--Auto Retrap
ForceEnableMod("workshop-364255295")
 
--Wolf
ForceEnableMod("workshop-369435452")
 
--Wormhole Marks
ForceEnableMod("workshop-362175979")
 
--Simple Protection
ForceEnableMod("workshop-360823660")
 
--Sollyz
ForceEnableMod("workshop-359479220")
 
--Madeline
ForceEnableMod("workshop-369228986")
 
--Haruz
ForceEnableMod("workshop-359821133")
 
--Endia
ForceEnableMod("workshop-63966651")
 
--FreeSpirit the Umbreon
ForceEnableMod("workshop-359318959")
 
--Chocobo
ForceEnableMod("workshop-369518979")
 
--Drok
ForceEnableMod("workshop-373622746")
 
--Seraz
ForceEnableMod("workshop-360319890")
 
--Thana
ForceEnableMod("workshop-368541793")
 
--PickyPicky
ForceEnableMod("workshop-356398534")
 
--Starting Item
ForceEnableMod("workshop-369749947")
 
--Clemetine
ForceEnableMod("workshop-363427869")
 
--Gir
--ForceEnableMod("workshop-363819976")
 
 
 
 
--Storm Cellar(crashes)
--ForceEnableMod("workshop-382177939")
 
--Bee Nice (crashes server)
--ForceEnableMod("workshop-361994110")
 
 
 

 

 

Server Mods

 

--There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.

 
--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
--The Workshop id can be found at the end of the url to the mod's Workshop page.
--ServerModSetup("350811795")
 
--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
--The Workshop id can be found at the end of the url to the collection's Workshop page.
--ServerModCollectionSetup("379114180")
 
 
--Auto Retrap
ServerModSetup("364255295")
 
--Wolf
ServerModSetup("369435452")
 
--Wormhole Marks
ServerModSetup("362175979")
 
--Simple Protection
ServerModSetup("360823660")
 
--Sollyz
ServerModSetup("359479220")
 
--Madeline
ServerModSetup("369228986")
 
--Haruz
ServerModSetup("359821133")
 
--Endia
ServerModSetup("63966651")
 
--Freespirit
ServerModSetup("359318959")
 
--Chocobo
ServerModSetup("369518979")
 
--Drok
ServerModSetup("373622746")
 
Seraz
ServerModSetup("360319890")
 
--Thana
ServerModSetup("368541793")
 
--Picky
ServerModSetup("356398534")
 
 
 
 
--Gir
--ServerModSetup("363819976")
 
 
--Clemetine
ServerModSetup("363427869")
 
 
--Storm Cellar(crashes)
--ServerModSetup("382177939")
 
--Starting item
--ServerModSetup("369749947")
 

 

 

 

Log File

 

[00:00:00]: Starting Up

[00:00:00]: Version: 125063
[00:00:00]: Command Line Arguments: -conf_dir MyServer 
[00:00:00]: Don't Starve: 125063 WIN32
Build Date: 2015-01-28_14-39-59
[00:00:00]: THREAD - started 'GAClient' (12784)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: THREAD - started 'GAClient' (12444)
[00:00:00]: THREAD - started 'GAClient' (12300)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: Network tick rate: U=60(0), D=0
[00:00:00]: Authorized application C:\Program Files (x86)\Steam\SteamApps\common\Don't Starve Together Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer.exe is enabled in the firewall.
[00:00:00]: WindowsFirewall - Application already authorized
[00:00:00]: could not load ping_cache
[00:00:00]: OnLoadPermissionList: APP:Klei/MyServer/save/blocklist.txt (Success)
[00:00:00]: OnLoadPermissionList: APP:Klei/MyServer/save/adminlist.txt (Failure)
[00:00:00]: Server token retrieved from: server_token.txt
[00:00:00]: THREAD - started 'GAClient' (11040)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: FMOD Error: An invalid object handle was used. 
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile loading buffer scripts/main.lua
[00:00:00]: scripts/main.lua(167,1) running main.lua
 
[00:00:00]: WARNING: Force-enabling mod 'workshop-364255295' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-369435452' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-362175979' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-360823660' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-359479220' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-369228986' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-359821133' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-63966651' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-359318959' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-369518979' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-373622746' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-360319890' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-368541793' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-356398534' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-369749947' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: WARNING: Force-enabling mod 'workshop-363427869' from modsettings.lua! If you are not developing a mod, please use the in-game menu instead.
[00:00:00]: loaded modindex
[00:00:00]: ModIndex: Beginning normal load sequence.
 
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-356398534
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-359318959
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-359479220
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-359821133
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-360319890
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-360823660
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-362175979
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-363427869
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-364255295
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-368541793
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-369228986
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-369435452
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-369518979
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-369749947
[00:00:00]: ModIndex:GetModsToLoad inserting moddir, workshop-373622746
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-356398534
[00:00:00]: Loading mod: workshop-356398534 (PickyPickyPicky)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-359318959
[00:00:00]: Loading mod: workshop-359318959 (FreeSpirit the Umbreon)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-359479220
[00:00:00]: Loading mod: workshop-359479220 (Sollyz [DST])
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-359821133
[00:00:00]: Loading mod: workshop-359821133 (Haruz [DST])
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-360319890
[00:00:00]: Loading mod: workshop-360319890 (Seras)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-360823660
[00:00:00]: Loading mod: workshop-360823660 (Simple Protection)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-362175979
[00:00:00]: Loading mod: workshop-362175979 (Wormhole Marks)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-363427869
[00:00:00]: Loading mod: workshop-363427869 (Clementine DST)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-364255295
[00:00:00]: Loading mod: workshop-364255295 (Auto ReTrap)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-368541793
[00:00:00]: Loading mod: workshop-368541793 (Thana, the nightstalker.)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-369228986
[00:00:00]: Loading mod: workshop-369228986 (Madeleine DST)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-369435452
[00:00:00]: Loading mod: workshop-369435452 (Wolf [DST])
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-369518979
[00:00:00]: Loading mod: workshop-369518979 (Wark the Chocobo)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-369749947
[00:00:00]: Loading mod: workshop-369749947 (Starting Item)
[00:00:00]: Could not load mod_config_data/modconfiguration_workshop-373622746
[00:00:00]: Loading mod: workshop-373622746 (Drok)
[00:00:00]: Mod: workshop-356398534 (PickyPickyPicky) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-356398534 (PickyPickyPicky)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-356398534 (PickyPickyPicky) Loading modmain.lua
[00:00:00]: Mod: workshop-368541793 (Thana, the nightstalker.) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-368541793 (Thana, the nightstalker.)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-368541793 (Thana, the nightstalker.) Loading modmain.lua
[00:00:00]: Warning: Mod Character thana does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:00]: Mod: workshop-364255295 (Auto ReTrap) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-364255295 (Auto ReTrap)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-364255295 (Auto ReTrap) Loading modmain.lua
[00:00:00]: Mod: workshop-369228986 (Madeleine DST) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-369228986 (Madeleine DST)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-369228986 (Madeleine DST) Loading modmain.lua
[00:00:00]: Warning: Mod Character madeleine does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:00]: Mod: workshop-369518979 (Wark the Chocobo) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-369518979 (Wark the Chocobo)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-369518979 (Wark the Chocobo) Loading modmain.lua
[00:00:00]: Warning: Mod Character wark does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:00]: Mod: workshop-369435452 (Wolf [DST]) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-369435452 (Wolf [DST])  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-369435452 (Wolf [DST]) Loading modmain.lua
[00:00:00]: Warning: Mod Character wolft does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:00]: Mod: workshop-369749947 (Starting Item) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-369749947 (Starting Item)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-369749947 (Starting Item) Loading modmain.lua
[00:00:00]: Mod: workshop-363427869 (Clementine DST) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-363427869 (Clementine DST)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-363427869 (Clementine DST) Loading modmain.lua
[00:00:00]: Warning: Mod Character clementine does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:00]: Mod: workshop-373622746 (Drok) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-373622746 (Drok)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-373622746 (Drok) Loading modmain.lua
[00:00:00]: Mod: workshop-373622746 (Drok)  Error loading mod!
[string "../mods/workshop-373622746/modmain.lua"]:46: variable 'IsRecipeValid' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        ../mods/workshop-373622746/modmain.lua(46,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(455,1) in function 'RunInEnvironment'
        scripts/mods.lua(373,1) in function 'InitializeModMain'
        scripts/mods.lua(354,1) in function 'LoadMods'
        scripts/main.lua(244,1) in function 'ModSafeStartup'
        scripts/main.lua(292,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(24,1) in function 'SavePersistentString'
        scripts/modindex.lua(76,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(63,1) in function 'BeginStartupSequence'
        scripts/main.lua(291,1) in function 'callback'
        scripts/modindex.lua(412,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(392,1) in function 'Load'
        scripts/main.lua(290,1) in main chunk
 
[00:00:00]: Mod: workshop-359318959 (FreeSpirit the Umbreon) Loading modworldgenmain.lua
[00:00:00]: Mod: workshop-359318959 (FreeSpirit the Umbreon)  Mod had no modworldgenmain.lua. Skipping.
[00:00:00]: Mod: workshop-359318959 (FreeSpirit the Umbreon) Loading modmain.lua
[00:00:00]: Warning: Mod Character freebre does not currently specify a gender. Please update the call to AddModCharacter to include a gender. "FEMALE", "MALE", "ROBOT", or "NEUTRAL", or "PLURAL"
[00:00:00]: [string "../mods/workshop-373622746/modmain.lua"]:46: variable 'IsRecipeValid' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        ../mods/workshop-373622746/modmain.lua(46,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(455,1) in function 'RunInEnvironment'
        scripts/mods.lua(373,1) in function 'InitializeModMain'
        scripts/mods.lua(354,1) in function 'LoadMods'
        scripts/main.lua(244,1) in function 'ModSafeStartup'
        scripts/main.lua(292,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(24,1) in function 'SavePersistentString'
        scripts/modindex.lua(76,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(63,1) in function 'BeginStartupSequence'
        scripts/main.lua(291,1) in function 'callback'
        scripts/modindex.lua(412,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(392,1) in function 'Load'
        scripts/main.lua(290,1) in main chunk
[00:00:00]: Error error! We tried displaying an error but TheFrontEnd isn't ready yet...
[00:00:00]: LOADING LUA SUCCESS
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/global.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/global.xml'.
[00:00:00]: images/global.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/image.lua(11,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Image'
        scripts/frontend.lua(41,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'FrontEnd'
        scripts/mainfunctions.lua(680,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/global.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/global.xml'.
[00:00:00]: images/global.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/image.lua(11,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Image'
        scripts/frontend.lua(52,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'FrontEnd'
        scripts/mainfunctions.lua(680,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/global.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/global.xml'.
[00:00:00]: images/global.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/image.lua(11,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Image'
        scripts/frontend.lua(69,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'FrontEnd'
        scripts/mainfunctions.lua(680,1)
[00:00:00]: Could not find anim build saving_indicator
[00:00:00]: Could not find anim bank [saving_indicator]
[00:00:00]: PlayerDeaths could not load morgue
[00:00:00]: loaded profile
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/global.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/global.xml'.
[00:00:00]: images/global.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/image.lua(11,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Image'
        scripts/screens/scripterrorscreen.lua(16,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(578,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(30,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ImageButton'
        scripts/widgets/menu.lua(152,1) in function 'AddItem'
        scripts/widgets/menu.lua(18,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Menu'
        scripts/screens/scripterrorscreen.lua(81,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(578,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(30,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ImageButton'
        scripts/widgets/menu.lua(152,1) in function 'AddItem'
        scripts/widgets/menu.lua(18,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Menu'
        scripts/screens/scripterrorscreen.lua(81,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(578,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(30,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ImageButton'
        scripts/widgets/menu.lua(152,1) in function 'AddItem'
        scripts/widgets/menu.lua(18,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Menu'
        scripts/screens/scripterrorscreen.lua(81,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(578,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(37,1) in function 'OnGainFocus'
        scripts/widgets/widget.lua(484,1) in function 'SetFocus'
        scripts/widgets/menu.lua(42,1) in function 'SetFocus'
        scripts/widgets/screen.lua(38,1) in function 'OnBecomeActive'
        scripts/frontend.lua(608,1) in function 'PushScreen'
        scripts/mods.lua(577,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(51,1) in function 'OnLoseFocus'
        scripts/widgets/widget.lua(444,1) in function 'ClearFocus'
        scripts/widgets/widget.lua(448,1) in function 'ClearFocus'
        scripts/widgets/widget.lua(448,1) in function 'ClearFocus'
        scripts/widgets/widget.lua(493,1) in function 'SetFocus'
        scripts/frontend.lua(540,1) in function 'Update'
        scripts/frontend.lua(609,1) in function 'PushScreen'
        scripts/mods.lua(577,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/broadcastingwidget.lua(20,1) in function 'OnUpdate'
        scripts/frontend.lua(556,1) in function 'Update'
        scripts/frontend.lua(609,1) in function 'PushScreen'
        scripts/mods.lua(577,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: Disabling workshop-373622746 (Drok) because it had an error.
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/global.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/global.xml'.
[00:00:00]: images/global.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/image.lua(11,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Image'
        scripts/screens/scripterrorscreen.lua(16,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(418,1) in function 'DisplayBadMods'
        scripts/mods.lua(604,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(30,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ImageButton'
        scripts/widgets/menu.lua(152,1) in function 'AddItem'
        scripts/widgets/menu.lua(18,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Menu'
        scripts/screens/scripterrorscreen.lua(81,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(418,1) in function 'DisplayBadMods'
        scripts/mods.lua(604,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(30,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ImageButton'
        scripts/widgets/menu.lua(152,1) in function 'AddItem'
        scripts/widgets/menu.lua(18,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Menu'
        scripts/screens/scripterrorscreen.lua(81,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(418,1) in function 'DisplayBadMods'
        scripts/mods.lua(604,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(30,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ImageButton'
        scripts/widgets/menu.lua(152,1) in function 'AddItem'
        scripts/widgets/menu.lua(18,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'Menu'
        scripts/screens/scripterrorscreen.lua(81,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'ScriptErrorScreen'
        scripts/mods.lua(418,1) in function 'DisplayBadMods'
        scripts/mods.lua(604,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: SCRIPT ERROR! Showing error screen
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(37,1) in function 'OnGainFocus'
        scripts/widgets/widget.lua(484,1) in function 'SetFocus'
        scripts/widgets/menu.lua(42,1) in function 'SetFocus'
        scripts/widgets/screen.lua(38,1) in function 'OnBecomeActive'
        scripts/frontend.lua(608,1) in function 'PushScreen'
        scripts/frontend.lua(719,1) in function 'ShowScreen'
        scripts/frontend.lua(774,1) in function 'DisplayError'
        scripts/mods.lua(417,1) in function 'DisplayBadMods'
        scripts/mods.lua(604,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: WARNING! Invalid resource handle for atlas 'images/ui.xml', did you remember to load the asset?
[00:00:00]: Looking for default texture '(null)' from atlas 'images/ui.xml'.
[00:00:00]: images/ui.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(30,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(51,1) in function 'OnLoseFocus'
        scripts/widgets/widget.lua(444,1) in function 'ClearFocus'
        scripts/widgets/widget.lua(448,1) in function 'ClearFocus'
        scripts/widgets/widget.lua(448,1) in function 'ClearFocus'
        scripts/widgets/widget.lua(493,1) in function 'SetFocus'
        scripts/frontend.lua(540,1) in function 'Update'
        scripts/frontend.lua(609,1) in function 'PushScreen'
        scripts/frontend.lua(719,1) in function 'ShowScreen'
        scripts/frontend.lua(774,1) in function 'DisplayError'
        scripts/mods.lua(417,1) in function 'DisplayBadMods'
        scripts/mods.lua(604,1) in function 'SetPostEnv'
        scripts/mainfunctions.lua(758,1) in function 'Check_Mods'
        scripts/mainfunctions.lua(751,1) in function 'CheckControllers'
        scripts/mainfunctions.lua(683,1)
[00:00:00]: ModIndex: Load sequence finished successfully.
 
[00:00:00]: Reset() returning
[00:00:00]: DownloadMods(0)
[00:00:00]: THREAD - started 'GAClient' (12136)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: HttpClient::ClientThread::Main() complete
[00:00:02]: [200] Account Communication Success (6)
[00:00:02]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_IKO8JNh5
[00:00:02]: Starting Dedicated Server Game
[00:00:02]: Network tick rate: U=60(0), D=0
[00:00:02]: [Warning] Could not confirm port 10999 is open in the firewall. 
[00:00:02]: Setting up socket descriptors
[00:00:02]: Server Started
[00:00:02]: Collecting garbage...
[00:00:02]: lua_gc took 0.00 seconds
[00:00:02]: ~NetworkLuaProxy()
[00:00:02]: ~SimLuaProxy()
[00:00:02]: Cancelling LuaQueryCallback handle [1]
[00:00:02]: lua_close took 0.00 seconds
[00:00:02]: ReleaseAll
[00:00:02]: ReleaseAll Finished
[00:00:02]: cGame::StartPlaying
[00:00:02]: LOADING LUA
[00:00:02]: DoLuaFile scripts/main.lua
[00:00:02]: DoLuaFile loading buffer scripts/main.lua
[00:00:02]: DoLuaFile Error running lua file scripts/main.lua:
(null)
[00:00:02]: Error loading main.lua
[00:00:02]: Failed mSimulation->Reset()
 

 

Link to comment
Share on other sites

@Kuldiin, Yeah, he's using the fix I wrote to make character-specific recipes work. IsRecipeValid is something only needed if a player is going to be loaded locally, and that doesn't happen for dedis. So he needs to encase it like this:

if not GLOBAL.TheNet:IsDedicated() then	local OldIsRecipeValid = GLOBAL.IsRecipeValid	local function IsRecipeValid(recipe)		return OldIsRecipeValid(recipe) and			((GLOBAL.ThePlayer and GLOBAL.ThePlayer:HasTag(recipe.name.."_builder")) or not recipe.tagneeded)	end	GLOBAL.IsRecipeValid = IsRecipeValidend
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.