Jump to content

(Help!) FMOD ERROR: Invalid object handle was used


Recommended Posts

So i would like to create a DST dedicated server using only 3 mods. (Global Positions, Wilton the skeleton, and more DST characters)

My server runs fine but i can't get the mods to run with it. It always displays, "FMOD ERROR: Invalid Object handle was used" How do i fix this?

Maybe I didn't set up the Mod folders right but I tried to follow this guide as closely as possible: http://dont-starve-game.wikia.com/wiki/Guides/Simple_Dedicated_Server_Setup

I would like to know what I can do to fix this and play on my dedicated, modded, caves server. 

(PS here is part of the script if anyone wants to look at it.)

Spoiler

[00:00:03]: DownloadMods(3)
[00:00:03]: Download server mod 343762271
[00:00:03]: Download server mod 378160973
[00:00:03]: Download server mod 463919131
[00:00:04]: ERROR: Failed to load modoverrides.lua
[00:00:05]: FMOD Error: An invalid object handle was used.
[00:00:08]: LOADING LUA SUCCESS
[00:00:08]: PlayerDeaths could not load morgue
[00:00:08]: PlayerHistory could not load player_history
[00:00:08]: bloom_enabled       false
[00:00:08]: loaded saveindex
[00:00:08]: OnFilesLoaded()
[00:00:08]: OnUpdatePurchaseStateComplete
[00:00:14]:     Load FE
[00:00:16]:     Load FE: done
[00:00:16]: ModIndex: Load sequence finished successfully.
[00:00:16]: Reset() returning
[00:00:18]: [200] Account Communication Success (6)
[00:00:18]: Received (KU_izY7NzFR) from TokenPurpose
[00:00:18]: Starting Dedicated Server Game
[00:00:18]: Network tick rate: U=15(2), D=0
[00:00:18]: About to start a server with the following settings:
[00:00:18]:   Dedicated: true
[00:00:18]:   Online: true
[00:00:18]:   Passworded: false
[00:00:18]:   ServerPort: 10999
[00:00:18]:   SteamAuthPort: 8766
[00:00:18]:   SteamMasterServerPort: 27016
[00:00:18]:   ClanID: false
[00:00:18]:   ClanOnly: false
[00:00:18]:   ClanAdmin: false
[00:00:18]:   LanOnly: false
[00:00:18]:   EnablePunchthrough: false
[00:00:18]:   EnableAutosaver: true
[00:00:18]:   PVP: false
[00:00:18]:   MaxPlayers: 10
[00:00:18]:   GameMode: survival
[00:00:18]:   OverridenDNS:
[00:00:18]:   PauseWhenEmpty: false
[00:00:18]:   InternetBroadcasting: true
[00:00:18]:   Intent: cooperative
[00:00:18]: [Warning] Could not confirm port 10999 is open in the firewall.
[00:00:19]: Online Server Started on port: 10999
[00:00:19]: Collecting garbage...
[00:00:19]: lua_gc took 0.06 seconds
[00:00:19]: ~ShardLuaProxy()
[00:00:19]: ~ItemServerLuaProxy()
[00:00:19]: ~InventoryLuaProxy()
[00:00:19]: ~NetworkLuaProxy()
[00:00:19]: ~SimLuaProxy()
[00:00:19]: lua_close took 0.11 seconds
[00:00:19]: ReleaseAll
[00:00:19]: ReleaseAll Finished
[00:00:19]: cGame::StartPlaying
[00:00:19]: LOADING LUA

I appreciate any help from you guys, thanks.

Link to comment
Share on other sites

3 hours ago, ToNiO55 said:

Hi @ThanatosVirus

can you share your modoverrides.lua please?

because it's look like something wrong in your modoverrides.lua

I have two for whatever reason,

1 in my Steam > DST Dedicated Sever folder with all this: 

Spoiler

return {
["workshop-343762271"] = { enabled = true,
Assets = {
    Asset("IMAGE", "bigportraits/waxwell.tex"),
    Asset("ATLAS", "bigportraits/waxwell.xml"),
    Asset("IMAGE", "bigportraits/waxwell_none.tex"),
    Asset("ATLAS", "bigportraits/waxwell_none.xml"),
    Asset("IMAGE", "images/names_waxwell.tex"),
    Asset("ATLAS", "images/names_waxwell.xml"),
}

local enablechars =
{
    woodie = false,
    wes = true,
    waxwell = true,
}
for k,v in pairs(GLOBAL.DST_CHARACTERLIST) do
    if enablechars[v] then enablechars[v] = false end
end

for k,v in pairs(enablechars) do
    if v then GLOBAL.table.insert(GLOBAL.DST_CHARACTERLIST, k) end
end

-- GLOBAL.DST_CHARACTERLIST =
-- {
    -- 'wilson',
    -- 'willow',
    -- 'wendy',
    -- 'wx78',
    -- 'wickerbottom',
    -- 'wolfgang',
    -- 'woodie',
    -- 'wes',
    -- 'waxwell',
-- }
-- PrefabFiles = { 'willow', 'lighter' }
}, -- More DST Characters
["workshop-378160973"] = { enabled = true,
configuration_options = 
{
    SHOWPLAYERSOPTIONS = 1
    SHOWPLAYERICONS = false
    FIREOPTIONS = 1
    SHOWFIREICONS = true,
    SHAREMINIMAPPROGRESS = false,
}, -- Global Positions
["workshop-463919131"] = { enabled = true,
PrefabFiles =
{
    "wall_bone",
    "wilton",
    "unlockable_players",
    "skeleton_heart",
}

Assets = {
    Asset( "IMAGE", "images/avatars/avatar_wilton.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_wilton.xml" ),
    
    Asset( "IMAGE", "images/avatars/avatar_ghost_wilton.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_ghost_wilton.xml" ),

    Asset( "IMAGE", "images/saveslot_portraits/wilton.tex" ),
    Asset( "ATLAS", "images/saveslot_portraits/wilton.xml" ),

    Asset( "IMAGE", "images/selectscreen_portraits/wilton.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/wilton.xml" ),

    Asset( "IMAGE", "bigportraits/wilton.tex" ),
    Asset( "ATLAS", "bigportraits/wilton.xml" ),

    Asset("SOUNDPACKAGE", "sound/wilton.fev"),
    Asset("SOUND", "sound/wilton.fsb"),
}
PrefabFiles =
{
    "wall_bone",
    "wilton",
    "unlockable_players",
    "skeleton_heart",
}

Assets = {
    Asset( "IMAGE", "images/avatars/avatar_wilton.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_wilton.xml" ),
    
    Asset( "IMAGE", "images/avatars/avatar_ghost_wilton.tex" ),
    Asset( "ATLAS", "images/avatars/avatar_ghost_wilton.xml" ),

    Asset( "IMAGE", "images/saveslot_portraits/wilton.tex" ),
    Asset( "ATLAS", "images/saveslot_portraits/wilton.xml" ),

    Asset( "IMAGE", "images/selectscreen_portraits/wilton.tex" ),
    Asset( "ATLAS", "images/selectscreen_portraits/wilton.xml" ),

    Asset( "IMAGE", "bigportraits/wilton.tex" ),
    Asset( "ATLAS", "bigportraits/wilton.xml" ),

    Asset("SOUNDPACKAGE", "sound/wilton.fev"),
    Asset("SOUND", "sound/wilton.fsb"),

}
RemapSoundEvent( "dontstarve/characters/wilton/talk_LP", "wilton/characters/wilton/talk_LP" )
RemapSoundEvent( "dontstarve/characters/wilton/hurt", "wilton/characters/wilton/hurt" )
RemapSoundEvent( "dontstarve/characters/wilton/death_voice", "wilton/characters/wilton/death_voice" )


--[[ Initialize data changes. ]]
use "data/init"

AddReplicableComponent("leveler")

AddModCharacter("wilton", "male")
}, -- Wilton, The Skeleton
 

And another in my Klei>DoNotStarveTogether_EasyConfigOverworld

Spoiler

return {
["workshop-343762271"] = { enabled = true}, -- More DST Characters
["workshop-378160973"] = { enabled = true}, -- Global Positions
["workshop-463919131"] = { enabled = true}, -- Wilton, The Skeleton

 

Link to comment
Share on other sites

@ThanatosVirus

yeah it's because your modoverrides.lua is wrong (Klei>DoNotStarveTogether_EasyConfigOverworld)

i have fixed your modoverrides.lua

try this:

return {
--#More DST Characters
["workshop-343762271"] = { enabled = true },
--#Global Positions
["workshop-378160973"] = { enabled = true },
--#Wilton, The Skeleton 
["workshop-463919131"] = { enabled = true }
}

you can see this is work now in log:

DownloadMods(3)
Download server mod 343762271
Download server mod 378160973
Download server mod 463919131
modoverrides.lua enabling workshop-463919131	
modoverrides.lua enabling workshop-378160973	
modoverrides.lua enabling workshop-343762271	
ModIndex:GetModsToLoad inserting moddir, 	workshop-378160973	
ModIndex:GetModsToLoad inserting moddir, 	workshop-343762271	
ModIndex:GetModsToLoad inserting moddir, 	workshop-463919131	
Could not load mod_config_data/modconfiguration_workshop-378160973_CLIENT	
Loading mod: workshop-378160973 (Global Positions) Version:1.3.5	
Could not load mod_config_data/modconfiguration_workshop-343762271_CLIENT	
Loading mod: workshop-343762271 (More DST Characters) Version:1.9.12	
Could not load mod_config_data/modconfiguration_workshop-463919131_CLIENT	
Loading mod: workshop-463919131 (Wilton) Version:0.0.4	
Mod: workshop-463919131 (Wilton)	Loading modworldgenmain.lua	
Mod: workshop-463919131 (Wilton)	  Mod had no modworldgenmain.lua. Skipping.	
Mod: workshop-463919131 (Wilton)	Loading modmain.lua	
modimport: ../mods/workshop-463919131/libs/env.lua	
Mod: workshop-343762271 (More DST Characters)	Loading modworldgenmain.lua	
Mod: workshop-343762271 (More DST Characters)	  Mod had no modworldgenmain.lua. Skipping.	
Mod: workshop-343762271 (More DST Characters)	Loading modmain.lua	
Mod: workshop-378160973 (Global Positions)	Loading modworldgenmain.lua	
Mod: workshop-378160973 (Global Positions)	  Mod had no modworldgenmain.lua. Skipping.	
Mod: workshop-378160973 (Global Positions)	Loading modmain.lua	
FMOD Error: An invalid object handle was used. 
LOADING LUA SUCCESS
PlayerDeaths could not load morgue	
PlayerHistory could not load player_history	
bloom_enabled	false	
loaded saveindex	
OnFilesLoaded()	
OnUpdatePurchaseStateComplete	
Mod: workshop-463919131 (Wilton)	Registering prefabs	
Mod: workshop-463919131 (Wilton)	  Registering prefab file: prefabs/wall_bone	
Mod: workshop-463919131 (Wilton)	    wall_bone	
Mod: workshop-463919131 (Wilton)	    wall_bone_item	
Mod: workshop-463919131 (Wilton)	    wall_bone_item_placer	
Mod: workshop-463919131 (Wilton)	  Registering prefab file: prefabs/wilton	
Mod: workshop-463919131 (Wilton)	    wilton	
Mod: workshop-463919131 (Wilton)	  Registering prefab file: prefabs/unlockable_players	
Mod: workshop-463919131 (Wilton)	  Registering prefab file: prefabs/skeleton_heart	
Mod: workshop-463919131 (Wilton)	    skeleton_heart	
Mod: workshop-463919131 (Wilton)	  Registering default mod prefab	
FMOD Error: An invalid object handle was used. 
Mod: workshop-343762271 (More DST Characters)	Registering prefabs	
Mod: workshop-343762271 (More DST Characters)	  Registering default mod prefab	
Mod: workshop-378160973 (Global Positions)	Registering prefabs	
Mod: workshop-378160973 (Global Positions)	  Registering prefab file: prefabs/globalposition_classified	
Mod: workshop-378160973 (Global Positions)	    globalposition_classified	
Mod: workshop-378160973 (Global Positions)	  Registering prefab file: prefabs/smoketrail	
Mod: workshop-378160973 (Global Positions)	    smoketrail	
Mod: workshop-378160973 (Global Positions)	  Registering prefab file: prefabs/globalplayericon	
Mod: workshop-378160973 (Global Positions)	    globalplayericon	
Mod: workshop-378160973 (Global Positions)	  Registering default mod prefab	
	Load FE	
	Load FE: done	

 

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.

×
  • Create New...