Jump to content

Recommended Posts

I used wigfrids sing animation but now it crashes.Would be really grateful if anyone could help.

This is the error that my client log gives me:

[00:01:47]: [string "../mods/emily/modmain.lua"]:227: attempt to call global 'EventHandler' (a nil value)
LUA ERROR stack traceback:
        ../mods/emily/modmain.lua(227,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(778,1) in function 'RunInEnvironment'
        scripts/mods.lua(579,1) in function 'InitializeModMain'
        scripts/mods.lua(553,1) in function 'LoadMods'
        scripts/main.lua(376,1) in function 'ModSafeStartup'
        scripts/main.lua(506,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
        scripts/modindex.lua(119,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
        scripts/main.lua(505,1) in function 'callback'
        scripts/modindex.lua(735,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(709,1) in function 'Load'
        scripts/main.lua(504,1) in main chunk    
[00:01:47]: [string "scripts/mainfunctions.lua"]:1600: variable 'SetGlobalErrorWidget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(1600,1)
        =[C] in function 'GetPersistentString'
        scripts/quagmire_recipebook.lua(54,1) in function 'Load'
        scripts/main.lua(394,1) in function 'ModSafeStartup'
        scripts/main.lua(506,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
        scripts/modindex.lua(119,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
        scripts/main.lua(505,1) in function 'callback'
        scripts/modindex.lua(735,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(709,1) in function 'Load'
        scripts/main.lua(504,1) in main chunk
[00:01:47]: Faild to load the cookbook!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "filters"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:47]: Failed to load the plantregistry!    function: 000000005478FA20    
[00:01:47]: Failed to load the data in skilltree!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "skillxp"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:47]: Trying to apply online cache of skilltree data..    
[00:01:47]: Was a success, using old stored XP values of:    
[00:01:47]:     K:     willow     V:     160    
[00:01:47]:     K:     wilson     V:     160    
[00:01:47]:     K:     winona     V:     8    
[00:01:47]:     K:     wolfgang     V:     42    
[00:01:47]:     K:     woodie     V:     160    
[00:01:47]:     K:     wormwood     V:     111    
[00:01:47]:     K:     wurt     V:     160    
[00:01:47]: Also using old stored skill selection values of:    
[00:01:47]:     K:     willow     V:     table: 00000000173C0ED0    
[00:01:47]:         K:     willow_allegiance_lunar_bernie     V:     true    
[00:01:47]:         K:     willow_allegiance_lunar_fire     V:     true    
[00:01:47]:         K:     willow_attuned_lighter     V:     true    
[00:01:47]:         K:     willow_bernieai     V:     true    
[00:01:47]:         K:     willow_berniehealth_1     V:     true    
[00:01:47]:         K:     willow_bernieregen_1     V:     true    
[00:01:47]:         K:     willow_bernieregen_2     V:     true    
[00:01:47]:         K:     willow_berniesanity_1     V:     true    
[00:01:47]:         K:     willow_berniesanity_2     V:     true    
[00:01:47]:         K:     willow_controlled_burn_1     V:     true    
[00:01:47]:         K:     willow_embers     V:     true    
[00:01:47]:         K:     willow_fire_ball     V:     true    
[00:01:47]:         K:     willow_fire_burst     V:     true    
[00:01:47]:         K:     willow_fire_frenzy     V:     true    
[00:01:47]:         K:     willow_lightradius_1     V:     true    
[00:01:47]:     K:     wilson     V:     table: 00000000173C1060    
[00:01:47]:         K:     wilson_alchemy_1     V:     true    
[00:01:47]:         K:     wilson_alchemy_2     V:     true    
[00:01:47]:         K:     wilson_alchemy_3     V:     true    
[00:01:47]:         K:     wilson_alchemy_4     V:     true    
[00:01:47]:         K:     wilson_alchemy_7     V:     true    
[00:01:47]:         K:     wilson_allegiance_lunar     V:     true    
[00:01:47]:         K:     wilson_beard_1     V:     true    
[00:01:47]:         K:     wilson_beard_2     V:     true    
[00:01:47]:         K:     wilson_beard_4     V:     true    
[00:01:47]:         K:     wilson_beard_7     V:     true    
[00:01:47]:         K:     wilson_torch_1     V:     true    
[00:01:47]:         K:     wilson_torch_2     V:     true    
[00:01:47]:         K:     wilson_torch_4     V:     true    
[00:01:47]:         K:     wilson_torch_5     V:     true    
[00:01:47]:         K:     wilson_torch_7     V:     true    
[00:01:47]:     K:     winona     V:     table: 00000000173C20A0    
[00:01:47]:         K:     winona_portable_structures     V:     true    
[00:01:47]:         K:     winona_spotlight_heated     V:     true    
[00:01:47]:     K:     wolfgang     V:     table: 00000000173C1CE0    
[00:01:47]:         K:     wolfgang_allegiance_lunar_1     V:     true    
[00:01:47]:         K:     wolfgang_critwork_1     V:     true    
[00:01:47]:         K:     wolfgang_critwork_2     V:     true    
[00:01:47]:         K:     wolfgang_dumbbell_crafting     V:     true    
[00:01:47]:         K:     wolfgang_normal_coach     V:     true    
[00:01:47]:         K:     wolfgang_normal_speed     V:     true    
[00:01:47]:         K:     wolfgang_overbuff_1     V:     true    
[00:01:47]:         K:     wolfgang_overbuff_2     V:     true    
[00:01:47]:         K:     wolfgang_planardamage_1     V:     true    
[00:01:47]:     K:     woodie     V:     table: 00000000173C0DE0    
[00:01:47]:         K:     woodie_curse_goose_1     V:     true    
[00:01:47]:         K:     woodie_curse_master     V:     true    
[00:01:47]:         K:     woodie_curse_moose_1     V:     true    
[00:01:47]:         K:     woodie_curse_moose_2     V:     true    
[00:01:47]:         K:     woodie_curse_weremeter_1     V:     true    
[00:01:47]:         K:     woodie_curse_weremeter_2     V:     true    
[00:01:47]:         K:     woodie_curse_weremeter_3     V:     true    
[00:01:47]:         K:     woodie_human_lucy_1     V:     true    
[00:01:47]:         K:     woodie_human_lucy_2     V:     true    
[00:01:47]:         K:     woodie_human_lucy_3     V:     true    
[00:01:47]:         K:     woodie_human_quickpicker_1     V:     true    
[00:01:47]:         K:     woodie_human_quickpicker_2     V:     true    
[00:01:47]:         K:     woodie_human_treeguard_1     V:     true    
[00:01:47]:         K:     woodie_human_treeguard_2     V:     true    
[00:01:47]:         K:     woodie_human_treeguard_max     V:     true    
[00:01:47]:     K:     wormwood     V:     table: 00000000173C1290    
[00:01:47]:         K:     wormwood_allegiance_lunar_mutations_1     V:     true    
[00:01:47]:         K:     wormwood_allegiance_lunar_mutations_2     V:     true    
[00:01:47]:         K:     wormwood_allegiance_lunar_mutations_3     V:     true    
[00:01:47]:         K:     wormwood_berrybushcrafting     V:     true    
[00:01:47]:         K:     wormwood_blooming_farmrange1     V:     true    
[00:01:47]:         K:     wormwood_blooming_speed1     V:     true    
[00:01:47]:         K:     wormwood_identify_plants2     V:     true    
[00:01:47]:         K:     wormwood_moon_cap_eating     V:     true    
[00:01:47]:         K:     wormwood_mushroomplanter_ratebonus1     V:     true    
[00:01:47]:         K:     wormwood_mushroomplanter_ratebonus2     V:     true    
[00:01:47]:         K:     wormwood_mushroomplanter_upgrade     V:     true    
[00:01:47]:         K:     wormwood_quick_selffertilizer     V:     true    
[00:01:47]:         K:     wormwood_reedscrafting     V:     true    
[00:01:47]:         K:     wormwood_saplingcrafting     V:     true    
[00:01:47]:         K:     wormwood_syrupcrafting     V:     true    
[00:01:47]:     K:     wurt     V:     table: 00000000173C1650    
[00:01:47]:         K:     wurt_amphibian_sanity_1     V:     true    
[00:01:47]:         K:     wurt_amphibian_sanity_2     V:     true    
[00:01:47]:         K:     wurt_amphibian_temperature     V:     true    
[00:01:47]:         K:     wurt_amphibian_thickskin_1     V:     true    
[00:01:47]:         K:     wurt_amphibian_thickskin_2     V:     true    
[00:01:47]:         K:     wurt_civ_2     V:     true    
[00:01:47]:         K:     wurt_civ_3     V:     true    
[00:01:47]:         K:     wurt_lunar_allegiance_1     V:     true    
[00:01:47]:         K:     wurt_mermkingcrown     V:     true    
[00:01:47]:         K:     wurt_mermkingshoulders     V:     true    
[00:01:47]:         K:     wurt_mermkingtrident     V:     true    
[00:01:47]:         K:     wurt_mosquito_craft_1     V:     true    
[00:01:47]:         K:     wurt_mosquito_craft_2     V:     true    
[00:01:47]:         K:     wurt_mosquito_craft_3     V:     true    
[00:01:47]:         K:     wurt_pathfinder     V:     true    
[00:01:47]: Saving skilltree file as a fixup.    
[00:01:47]: Failed to load the data in generickv!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "kvs"] in JSON4Lua.decode_scanString at position 2 : 7    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "669A3770"] in JSON4Lua.decode_scanString at position 2 : 12    0    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "D7A1A9A1"] in JSON4Lua.decode_scanString at position 2 : 12    1    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "4144342"] in JSON4Lua.decode_scanString at position 2 : 11    2    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "60230443"] in JSON4Lua.decode_scanString at position 2 : 12    3    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "DF809124"] in JSON4Lua.decode_scanString at position 2 : 12    4    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "4C2B8B15"] in JSON4Lua.decode_scanString at position 2 : 12    5    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "CF1626"] in JSON4Lua.decode_scanString at position 2 : 10    6    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "9BC37EC7"] in JSON4Lua.decode_scanString at position 2 : 12    7    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "ABE2CCE8"] in JSON4Lua.decode_scanString at position 2 : 12    8    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "DF87DE19"] in JSON4Lua.decode_scanString at position 2 : 12    9    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "15B8981A"] in JSON4Lua.decode_scanString at position 2 : 12    10    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "3DC5793B"] in JSON4Lua.decode_scanString at position 2 : 12    11    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "21D9A5DC"] in JSON4Lua.decode_scanString at position 2 : 12    12    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "8770784D"] in JSON4Lua.decode_scanString at position 2 : 12    13    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "16EEC5E"] in JSON4Lua.decode_scanString at position 2 : 11    14    
[00:01:47]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "5C964CCF"] in JSON4Lua.decode_scanString at position 2 : 12    15    
[00:01:47]: Faild to load the crafting menue profile!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "version"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:47]: Failed to load the loading tips!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "shownloadingtips"] in JSON4Lua.decode_scanString at position 2 : 20    
[00:01:47]: DoLuaFile Error: (null)
[00:01:47]: LuaError but no error string
[00:01:47]: Error loading main.lua
[00:01:47]: Failed mSimulation->Reset()
[00:01:48]: [Workshop] CancelDownloads for all pending downloads
[00:01:48]: Collecting garbage...
[00:01:48]: lua_gc took 0.09 seconds
[00:01:48]: ~ShardLuaProxy()
[00:01:48]: ~cEventLeaderboardProxy()
[00:01:48]: ~ItemServerLuaProxy()
[00:01:48]: ~InventoryLuaProxy()
[00:01:48]: ~NetworkLuaProxy()
[00:01:48]: ~SimLuaProxy()
[00:01:48]: [Workshop] CancelDownloads for all pending downloads
[00:01:48]: lua_close took 0.09 seconds
[00:01:48]: [Workshop] CancelDownloads for all pending downloads
[00:01:48]: [Steam] Auth ticket cancelled
[00:01:49]: CurlRequestManager::ClientThread::Main() complete
[00:01:49]: HttpClient2 discarded 0 callbacks.
[00:01:49]: Shutting down

You sure you made about anything in your stategraph global? EventHandler, FRAMES and whatnots are global values not meant to be called in the mod env without declaring GLOBAL, try that mayhaps.

I am not sure if i missed anything but here is the code that i wrote in the modmain if that might help:

AddAction("PERFORM", "Perform!", function(act)
if act.invobject then
act.invobject.components.performable:Perform(act.doer)

return true
end

return false
end)

AddComponentAction("EQUIPPED", "performable", function(inst, doer, target, actions, right)
if doer.replica.inventory:GetActiveItem() == nil and (doer.replica.rider == nil or not doer.replica.rider:IsRiding()) then
table.insert(actions, GLOBAL.ACTIONS.PERFORM)
end
end)

local perform_state = GLOBAL.State{
name = "my_custom_perform_state",
tags = { "busy", "nointerrupt", "keep_pocket_rummage" },

    onenter = function(inst)
        local buffaction = inst:GetBufferedAction()
        local songdata = buffaction and buffaction.invobject.songdata or nil

    if songdata ~= nil then
            inst.AnimState:PushAnimation(songdata.INSTANT and "quote" or "my_custom_perform_state", false)
            if songdata.INSTANT then
                inst.components.talker:Say(GetString(inst, "ANNOUNCE_" .. string.upper(songdata.NAME)), nil, true)
            end
        end
    end,

onexit = CheckPocketRummageMem,

    events =
    {
        EventHandler("animover", function(inst)
            if inst.AnimState:AnimDone() then
                inst.sg:GoToState("idle")
            end
        end),
    },

    timeline =
    {
        TimeEvent(3 * FRAMES, function(inst)
            local buffaction = inst:GetBufferedAction()
            local songdata = buffaction and buffaction.invobject.songdata or nil
            if songdata then
                inst.SoundEmitter:PlaySound(songdata.SOUND or ("dontstarve_DLC001/characters/wathgrithr/"..(songdata.INSTANT and "quote" or "my_custom_perform_state")))
            end
        end),

        TimeEvent(24 * FRAMES, function(inst)
            inst:PerformBufferedAction()
        end),
        TimeEvent(34 * FRAMES, function(inst)
            inst.sg:RemoveStateTag("busy")
            inst.sg:RemoveStateTag("nointerrupt")
        end),
FrameEvent(42, TryResumePocketRummage),
    },
}


local perform_state_client = GLOBAL.State{
name = "my_custom_perform_state",
server_states = { "my_custom_perform_state" },
forward_server_states = true,
onenter = function(inst) inst.sg:GoToState("action_uniqueitem_busy") end
}

AddStategraphState("wilson_client", perform_state_client)
AddStategraphState("wilson", perform_state)
AddStategraphActionHandler("wilson", GLOBAL.ActionHandler(GLOBAL.ACTIONS.PERFORM, "my_custom_perform_state"))
AddStategraphActionHandler("wilson_client", GLOBAL.ActionHandler(GLOBAL.ACTIONS.PERFORM, "my_custom_perform_state"))

Ah yeah. EventHandler and FRAMES all need to be GLOBAL, much like how you made GLOBAL.State

Since you're doing things in modmain, most things will need to be globally declared. Use Ctrl + F to find those specific terms that needs GLOBAL in front, inside your IDE.

Like this? Because it still crashes

AddAction("PERFORM", "Perform!", function(act)
if act.invobject then
act.invobject.components.performable:Perform(act.doer)

return true
end

return false
end)

AddComponentAction("EQUIPPED", "performable", function(inst, doer, target, actions, right)
if doer.replica.inventory:GetActiveItem() == nil and (doer.replica.rider == nil or not doer.replica.rider:IsRiding()) then
table.insert(actions, GLOBAL.ACTIONS.PERFORM)
end
end)

local perform_state = GLOBAL.State{
name = "my_custom_perform_state",
tags = { "busy", "nointerrupt", "keep_pocket_rummage" },

    onenter = function(inst)
        local buffaction = inst:GetBufferedAction()
        local songdata = buffaction and buffaction.invobject.songdata or nil

    if songdata ~= nil then
            inst.AnimState:PushAnimation(songdata.INSTANT and "quote" or "my_custom_perform_state", false)
            if songdata.INSTANT then
                inst.components.talker:Say(GetString(inst, "ANNOUNCE_" .. string.upper(songdata.NAME)), nil, true)
            end
        end
    end,

onexit = CheckPocketRummageMem,

    events =
    {
        GLOBAL.EventHandler("animover", function(inst)
            if inst.AnimState:AnimDone() then
                inst.sg:GoToState("idle")
            end
        end),
    },

    timeline =
    {
        TimeEvent(3 * GLOBAL.FRAMES, function(inst)
            local buffaction = inst:GetBufferedAction()
            local songdata = buffaction and buffaction.invobject.songdata or nil
            if songdata then
                inst.SoundEmitter:PlaySound(songdata.SOUND or ("dontstarve_DLC001/characters/wathgrithr/"..(songdata.INSTANT and "quote" or "my_custom_perform_state")))
            end
        end),

        TimeEvent(24 * GLOBAL.FRAMES, function(inst)
            inst:PerformBufferedAction()
        end),
        TimeEvent(34 * GLOBAL.FRAMES, function(inst)
            inst.sg:RemoveStateTag("busy")
            inst.sg:RemoveStateTag("nointerrupt")
        end),
FrameEvent(42, TryResumePocketRummage),
    },
}


local perform_state_client = GLOBAL.State{
name = "my_custom_perform_state",
server_states = { "my_custom_perform_state" },
forward_server_states = true,
onenter = function(inst) inst.sg:GoToState("action_uniqueitem_busy") end
}

AddStategraphState("wilson_client", perform_state_client)
AddStategraphState("wilson", perform_state)
AddStategraphActionHandler("wilson", GLOBAL.ActionHandler(GLOBAL.ACTIONS.PERFORM, "my_custom_perform_state"))
AddStategraphActionHandler("wilson_client", GLOBAL.ActionHandler(GLOBAL.ACTIONS.PERFORM, "my_custom_perform_state"))

 

Also this is the error:

LUA ERROR stack traceback:
        ../mods/emily/modmain.lua(239,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(778,1) in function 'RunInEnvironment'
        scripts/mods.lua(579,1) in function 'InitializeModMain'
        scripts/mods.lua(553,1) in function 'LoadMods'
        scripts/main.lua(376,1) in function 'ModSafeStartup'
        scripts/main.lua(506,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
        scripts/modindex.lua(119,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
        scripts/main.lua(505,1) in function 'callback'
        scripts/modindex.lua(735,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(709,1) in function 'Load'
        scripts/main.lua(504,1) in main chunk    
[00:01:51]: [string "scripts/mainfunctions.lua"]:1600: variable 'SetGlobalErrorWidget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(1600,1)
        =[C] in function 'GetPersistentString'
        scripts/quagmire_recipebook.lua(54,1) in function 'Load'
        scripts/main.lua(394,1) in function 'ModSafeStartup'
        scripts/main.lua(506,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
        scripts/modindex.lua(119,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
        scripts/main.lua(505,1) in function 'callback'
        scripts/modindex.lua(735,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(709,1) in function 'Load'
        scripts/main.lua(504,1) in main chunk
[00:01:51]: Faild to load the cookbook!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "filters"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:51]: Failed to load the plantregistry!    function: 0000000016348DA0    
[00:01:51]: Failed to load the data in skilltree!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "skillxp"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:51]: Trying to apply online cache of skilltree data..    
[00:01:51]: Was a success, using old stored XP values of:    
[00:01:51]:     K:     willow     V:     160    
[00:01:51]:     K:     wilson     V:     160    
[00:01:51]:     K:     winona     V:     8    
[00:01:51]:     K:     wolfgang     V:     42    
[00:01:51]:     K:     woodie     V:     160    
[00:01:51]:     K:     wormwood     V:     111    
[00:01:51]:     K:     wurt     V:     160    
[00:01:51]: Also using old stored skill selection values of:    
[00:01:51]:     K:     willow     V:     table: 0000000053043630    
[00:01:51]:         K:     willow_allegiance_lunar_bernie     V:     true    
[00:01:51]:         K:     willow_allegiance_lunar_fire     V:     true    
[00:01:51]:         K:     willow_attuned_lighter     V:     true    
[00:01:51]:         K:     willow_bernieai     V:     true    
[00:01:51]:         K:     willow_berniehealth_1     V:     true    
[00:01:51]:         K:     willow_bernieregen_1     V:     true    
[00:01:51]:         K:     willow_bernieregen_2     V:     true    
[00:01:51]:         K:     willow_berniesanity_1     V:     true    
[00:01:51]:         K:     willow_berniesanity_2     V:     true    
[00:01:51]:         K:     willow_controlled_burn_1     V:     true    
[00:01:51]:         K:     willow_embers     V:     true    
[00:01:51]:         K:     willow_fire_ball     V:     true    
[00:01:51]:         K:     willow_fire_burst     V:     true    
[00:01:51]:         K:     willow_fire_frenzy     V:     true    
[00:01:51]:         K:     willow_lightradius_1     V:     true    
[00:01:51]:     K:     wilson     V:     table: 0000000053043EA0    
[00:01:51]:         K:     wilson_alchemy_1     V:     true    
[00:01:51]:         K:     wilson_alchemy_2     V:     true    
[00:01:51]:         K:     wilson_alchemy_3     V:     true    
[00:01:51]:         K:     wilson_alchemy_4     V:     true    
[00:01:51]:         K:     wilson_alchemy_7     V:     true    
[00:01:51]:         K:     wilson_allegiance_lunar     V:     true    
[00:01:51]:         K:     wilson_beard_1     V:     true    
[00:01:51]:         K:     wilson_beard_2     V:     true    
[00:01:51]:         K:     wilson_beard_4     V:     true    
[00:01:51]:         K:     wilson_beard_7     V:     true    
[00:01:51]:         K:     wilson_torch_1     V:     true    
[00:01:51]:         K:     wilson_torch_2     V:     true    
[00:01:51]:         K:     wilson_torch_4     V:     true    
[00:01:51]:         K:     wilson_torch_5     V:     true    
[00:01:51]:         K:     wilson_torch_7     V:     true    
[00:01:51]:     K:     winona     V:     table: 0000000053043C70    
[00:01:51]:         K:     winona_portable_structures     V:     true    
[00:01:51]:         K:     winona_spotlight_heated     V:     true    
[00:01:51]:     K:     wolfgang     V:     table: 0000000053043B30    
[00:01:51]:         K:     wolfgang_allegiance_lunar_1     V:     true    
[00:01:51]:         K:     wolfgang_critwork_1     V:     true    
[00:01:51]:         K:     wolfgang_critwork_2     V:     true    
[00:01:51]:         K:     wolfgang_dumbbell_crafting     V:     true    
[00:01:51]:         K:     wolfgang_normal_coach     V:     true    
[00:01:51]:         K:     wolfgang_normal_speed     V:     true    
[00:01:51]:         K:     wolfgang_overbuff_1     V:     true    
[00:01:51]:         K:     wolfgang_overbuff_2     V:     true    
[00:01:51]:         K:     wolfgang_planardamage_1     V:     true    
[00:01:51]:     K:     woodie     V:     table: 0000000053043EF0    
[00:01:51]:         K:     woodie_curse_goose_1     V:     true    
[00:01:51]:         K:     woodie_curse_master     V:     true    
[00:01:51]:         K:     woodie_curse_moose_1     V:     true    
[00:01:51]:         K:     woodie_curse_moose_2     V:     true    
[00:01:51]:         K:     woodie_curse_weremeter_1     V:     true    
[00:01:51]:         K:     woodie_curse_weremeter_2     V:     true    
[00:01:51]:         K:     woodie_curse_weremeter_3     V:     true    
[00:01:51]:         K:     woodie_human_lucy_1     V:     true    
[00:01:51]:         K:     woodie_human_lucy_2     V:     true    
[00:01:51]:         K:     woodie_human_lucy_3     V:     true    
[00:01:51]:         K:     woodie_human_quickpicker_1     V:     true    
[00:01:51]:         K:     woodie_human_quickpicker_2     V:     true    
[00:01:51]:         K:     woodie_human_treeguard_1     V:     true    
[00:01:51]:         K:     woodie_human_treeguard_2     V:     true    
[00:01:51]:         K:     woodie_human_treeguard_max     V:     true    
[00:01:51]:     K:     wormwood     V:     table: 0000000053043C20    
[00:01:51]:         K:     wormwood_allegiance_lunar_mutations_1     V:     true    
[00:01:51]:         K:     wormwood_allegiance_lunar_mutations_2     V:     true    
[00:01:51]:         K:     wormwood_allegiance_lunar_mutations_3     V:     true    
[00:01:51]:         K:     wormwood_berrybushcrafting     V:     true    
[00:01:51]:         K:     wormwood_blooming_farmrange1     V:     true    
[00:01:51]:         K:     wormwood_blooming_speed1     V:     true    
[00:01:51]:         K:     wormwood_identify_plants2     V:     true    
[00:01:51]:         K:     wormwood_moon_cap_eating     V:     true    
[00:01:51]:         K:     wormwood_mushroomplanter_ratebonus1     V:     true    
[00:01:51]:         K:     wormwood_mushroomplanter_ratebonus2     V:     true    
[00:01:51]:         K:     wormwood_mushroomplanter_upgrade     V:     true    
[00:01:51]:         K:     wormwood_quick_selffertilizer     V:     true    
[00:01:51]:         K:     wormwood_reedscrafting     V:     true    
[00:01:51]:         K:     wormwood_saplingcrafting     V:     true    
[00:01:51]:         K:     wormwood_syrupcrafting     V:     true    
[00:01:51]:     K:     wurt     V:     table: 00000000530436D0    
[00:01:51]:         K:     wurt_amphibian_sanity_1     V:     true    
[00:01:51]:         K:     wurt_amphibian_sanity_2     V:     true    
[00:01:51]:         K:     wurt_amphibian_temperature     V:     true    
[00:01:51]:         K:     wurt_amphibian_thickskin_1     V:     true    
[00:01:51]:         K:     wurt_amphibian_thickskin_2     V:     true    
[00:01:51]:         K:     wurt_civ_2     V:     true    
[00:01:51]:         K:     wurt_civ_3     V:     true    
[00:01:51]:         K:     wurt_lunar_allegiance_1     V:     true    
[00:01:51]:         K:     wurt_mermkingcrown     V:     true    
[00:01:51]:         K:     wurt_mermkingshoulders     V:     true    
[00:01:51]:         K:     wurt_mermkingtrident     V:     true    
[00:01:51]:         K:     wurt_mosquito_craft_1     V:     true    
[00:01:51]:         K:     wurt_mosquito_craft_2     V:     true    
[00:01:51]:         K:     wurt_mosquito_craft_3     V:     true    
[00:01:51]:         K:     wurt_pathfinder     V:     true    
[00:01:51]: Saving skilltree file as a fixup.    
[00:01:51]: Failed to load the data in generickv!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "kvs"] in JSON4Lua.decode_scanString at position 2 : 7    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "669A3770"] in JSON4Lua.decode_scanString at position 2 : 12    0    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "D7A1A9A1"] in JSON4Lua.decode_scanString at position 2 : 12    1    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "4144342"] in JSON4Lua.decode_scanString at position 2 : 11    2    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "60230443"] in JSON4Lua.decode_scanString at position 2 : 12    3    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "DF809124"] in JSON4Lua.decode_scanString at position 2 : 12    4    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "4C2B8B15"] in JSON4Lua.decode_scanString at position 2 : 12    5    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "CF1626"] in JSON4Lua.decode_scanString at position 2 : 10    6    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "9BC37EC7"] in JSON4Lua.decode_scanString at position 2 : 12    7    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "ABE2CCE8"] in JSON4Lua.decode_scanString at position 2 : 12    8    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "DF87DE19"] in JSON4Lua.decode_scanString at position 2 : 12    9    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "15B8981A"] in JSON4Lua.decode_scanString at position 2 : 12    10    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "3DC5793B"] in JSON4Lua.decode_scanString at position 2 : 12    11    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "21D9A5DC"] in JSON4Lua.decode_scanString at position 2 : 12    12    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "8770784D"] in JSON4Lua.decode_scanString at position 2 : 12    13    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "16EEC5E"] in JSON4Lua.decode_scanString at position 2 : 11    14    
[00:01:51]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "5C964CCF"] in JSON4Lua.decode_scanString at position 2 : 12    15    
[00:01:51]: Faild to load the crafting menue profile!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "version"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:51]: Failed to load the loading tips!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "shownloadingtips"] in JSON4Lua.decode_scanString at position 2 : 20    
[00:01:51]: DoLuaFile Error: (null)
[00:01:51]: LuaError but no error string
[00:01:51]: Error loading main.lua
[00:01:51]: Failed mSimulation->Reset()
[00:01:51]: [Workshop] CancelDownloads for all pending downloads
[00:01:51]: Collecting garbage...
[00:01:51]: lua_gc took 0.11 seconds
[00:01:51]: ~ShardLuaProxy()
[00:01:51]: ~cEventLeaderboardProxy()
[00:01:51]: ~ItemServerLuaProxy()
[00:01:51]: ~InventoryLuaProxy()
[00:01:51]: ~NetworkLuaProxy()
[00:01:51]: ~SimLuaProxy()
[00:01:51]: [Workshop] CancelDownloads for all pending downloads
[00:01:51]: lua_close took 0.07 seconds
[00:01:51]: [Workshop] CancelDownloads for all pending downloads
[00:01:51]: [Steam] Auth ticket cancelled
[00:01:52]: CurlRequestManager::ClientThread::Main() complete
[00:01:52]: HttpClient2 discarded 0 callbacks.
[00:01:52]: Shutting down
 

This is the list of things you may be missing GLOBAL on:

image.png.7c10e916c4932304e1aff2383e344a54.png

Alternatively, you can try putting these exact same things right at the top of your modmain file (but below your PrefabFiles table) so all of them are registered as GLOBAL, without having to go find them one by one.

It now gives me this error in my client log now, and that didnt seem to be it. Perhaps it is because i copied some of the code from wigfrids sing animation?

 

LUA ERROR stack traceback:
        ../mods/emily/modmain.lua(252,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(778,1) in function 'RunInEnvironment'
        scripts/mods.lua(579,1) in function 'InitializeModMain'
        scripts/mods.lua(553,1) in function 'LoadMods'
        scripts/main.lua(376,1) in function 'ModSafeStartup'
        scripts/main.lua(506,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
        scripts/modindex.lua(119,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
        scripts/main.lua(505,1) in function 'callback'
        scripts/modindex.lua(735,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(709,1) in function 'Load'
        scripts/main.lua(504,1) in main chunk    
[00:01:28]: [string "scripts/mainfunctions.lua"]:1600: variable 'SetGlobalErrorWidget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(1600,1)
        =[C] in function 'GetPersistentString'
        scripts/quagmire_recipebook.lua(54,1) in function 'Load'
        scripts/main.lua(394,1) in function 'ModSafeStartup'
        scripts/main.lua(506,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
        scripts/modindex.lua(119,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
        scripts/main.lua(505,1) in function 'callback'
        scripts/modindex.lua(735,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(709,1) in function 'Load'
        scripts/main.lua(504,1) in main chunk
[00:01:28]: Faild to load the cookbook!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "filters"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:28]: Failed to load the plantregistry!    function: 0000000015B0CB00    
[00:01:28]: Failed to load the data in skilltree!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "skillxp"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:28]: Trying to apply online cache of skilltree data..    
[00:01:28]: Was a success, using old stored XP values of:    
[00:01:28]:     K:     willow     V:     160    
[00:01:28]:     K:     wilson     V:     160    
[00:01:28]:     K:     winona     V:     8    
[00:01:28]:     K:     wolfgang     V:     42    
[00:01:28]:     K:     woodie     V:     160    
[00:01:28]:     K:     wormwood     V:     111    
[00:01:28]:     K:     wurt     V:     160    
[00:01:28]: Also using old stored skill selection values of:    
[00:01:28]:     K:     willow     V:     table: 0000000050E90000    
[00:01:28]:         K:     willow_allegiance_lunar_bernie     V:     true    
[00:01:28]:         K:     willow_allegiance_lunar_fire     V:     true    
[00:01:28]:         K:     willow_attuned_lighter     V:     true    
[00:01:28]:         K:     willow_bernieai     V:     true    
[00:01:28]:         K:     willow_berniehealth_1     V:     true    
[00:01:28]:         K:     willow_bernieregen_1     V:     true    
[00:01:28]:         K:     willow_bernieregen_2     V:     true    
[00:01:28]:         K:     willow_berniesanity_1     V:     true    
[00:01:28]:         K:     willow_berniesanity_2     V:     true    
[00:01:28]:         K:     willow_controlled_burn_1     V:     true    
[00:01:28]:         K:     willow_embers     V:     true    
[00:01:28]:         K:     willow_fire_ball     V:     true    
[00:01:28]:         K:     willow_fire_burst     V:     true    
[00:01:28]:         K:     willow_fire_frenzy     V:     true    
[00:01:28]:         K:     willow_lightradius_1     V:     true    
[00:01:28]:     K:     wilson     V:     table: 0000000050E90AF0    
[00:01:28]:         K:     wilson_alchemy_1     V:     true    
[00:01:28]:         K:     wilson_alchemy_2     V:     true    
[00:01:28]:         K:     wilson_alchemy_3     V:     true    
[00:01:28]:         K:     wilson_alchemy_4     V:     true    
[00:01:28]:         K:     wilson_alchemy_7     V:     true    
[00:01:28]:         K:     wilson_allegiance_lunar     V:     true    
[00:01:28]:         K:     wilson_beard_1     V:     true    
[00:01:28]:         K:     wilson_beard_2     V:     true    
[00:01:28]:         K:     wilson_beard_4     V:     true    
[00:01:28]:         K:     wilson_beard_7     V:     true    
[00:01:28]:         K:     wilson_torch_1     V:     true    
[00:01:28]:         K:     wilson_torch_2     V:     true    
[00:01:28]:         K:     wilson_torch_4     V:     true    
[00:01:28]:         K:     wilson_torch_5     V:     true    
[00:01:28]:         K:     wilson_torch_7     V:     true    
[00:01:28]:     K:     winona     V:     table: 0000000050E90320    
[00:01:28]:         K:     winona_portable_structures     V:     true    
[00:01:28]:         K:     winona_spotlight_heated     V:     true    
[00:01:28]:     K:     wolfgang     V:     table: 0000000050E91090    
[00:01:28]:         K:     wolfgang_allegiance_lunar_1     V:     true    
[00:01:28]:         K:     wolfgang_critwork_1     V:     true    
[00:01:28]:         K:     wolfgang_critwork_2     V:     true    
[00:01:28]:         K:     wolfgang_dumbbell_crafting     V:     true    
[00:01:28]:         K:     wolfgang_normal_coach     V:     true    
[00:01:28]:         K:     wolfgang_normal_speed     V:     true    
[00:01:28]:         K:     wolfgang_overbuff_1     V:     true    
[00:01:28]:         K:     wolfgang_overbuff_2     V:     true    
[00:01:28]:         K:     wolfgang_planardamage_1     V:     true    
[00:01:28]:     K:     woodie     V:     table: 0000000050E905F0    
[00:01:28]:         K:     woodie_curse_goose_1     V:     true    
[00:01:28]:         K:     woodie_curse_master     V:     true    
[00:01:28]:         K:     woodie_curse_moose_1     V:     true    
[00:01:28]:         K:     woodie_curse_moose_2     V:     true    
[00:01:28]:         K:     woodie_curse_weremeter_1     V:     true    
[00:01:28]:         K:     woodie_curse_weremeter_2     V:     true    
[00:01:28]:         K:     woodie_curse_weremeter_3     V:     true    
[00:01:28]:         K:     woodie_human_lucy_1     V:     true    
[00:01:28]:         K:     woodie_human_lucy_2     V:     true    
[00:01:28]:         K:     woodie_human_lucy_3     V:     true    
[00:01:28]:         K:     woodie_human_quickpicker_1     V:     true    
[00:01:28]:         K:     woodie_human_quickpicker_2     V:     true    
[00:01:28]:         K:     woodie_human_treeguard_1     V:     true    
[00:01:28]:         K:     woodie_human_treeguard_2     V:     true    
[00:01:28]:         K:     woodie_human_treeguard_max     V:     true    
[00:01:28]:     K:     wormwood     V:     table: 0000000050E90140    
[00:01:28]:         K:     wormwood_allegiance_lunar_mutations_1     V:     true    
[00:01:28]:         K:     wormwood_allegiance_lunar_mutations_2     V:     true    
[00:01:28]:         K:     wormwood_allegiance_lunar_mutations_3     V:     true    
[00:01:28]:         K:     wormwood_berrybushcrafting     V:     true    
[00:01:28]:         K:     wormwood_blooming_farmrange1     V:     true    
[00:01:28]:         K:     wormwood_blooming_speed1     V:     true    
[00:01:28]:         K:     wormwood_identify_plants2     V:     true    
[00:01:28]:         K:     wormwood_moon_cap_eating     V:     true    
[00:01:28]:         K:     wormwood_mushroomplanter_ratebonus1     V:     true    
[00:01:28]:         K:     wormwood_mushroomplanter_ratebonus2     V:     true    
[00:01:28]:         K:     wormwood_mushroomplanter_upgrade     V:     true    
[00:01:28]:         K:     wormwood_quick_selffertilizer     V:     true    
[00:01:28]:         K:     wormwood_reedscrafting     V:     true    
[00:01:28]:         K:     wormwood_saplingcrafting     V:     true    
[00:01:28]:         K:     wormwood_syrupcrafting     V:     true    
[00:01:28]:     K:     wurt     V:     table: 0000000050E90780    
[00:01:28]:         K:     wurt_amphibian_sanity_1     V:     true    
[00:01:28]:         K:     wurt_amphibian_sanity_2     V:     true    
[00:01:28]:         K:     wurt_amphibian_temperature     V:     true    
[00:01:28]:         K:     wurt_amphibian_thickskin_1     V:     true    
[00:01:28]:         K:     wurt_amphibian_thickskin_2     V:     true    
[00:01:28]:         K:     wurt_civ_2     V:     true    
[00:01:28]:         K:     wurt_civ_3     V:     true    
[00:01:28]:         K:     wurt_lunar_allegiance_1     V:     true    
[00:01:28]:         K:     wurt_mermkingcrown     V:     true    
[00:01:28]:         K:     wurt_mermkingshoulders     V:     true    
[00:01:28]:         K:     wurt_mermkingtrident     V:     true    
[00:01:28]:         K:     wurt_mosquito_craft_1     V:     true    
[00:01:28]:         K:     wurt_mosquito_craft_2     V:     true    
[00:01:28]:         K:     wurt_mosquito_craft_3     V:     true    
[00:01:28]:         K:     wurt_pathfinder     V:     true    
[00:01:28]: Saving skilltree file as a fixup.    
[00:01:28]: Failed to load the data in generickv!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "kvs"] in JSON4Lua.decode_scanString at position 2 : 7    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "669A3770"] in JSON4Lua.decode_scanString at position 2 : 12    0    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "D7A1A9A1"] in JSON4Lua.decode_scanString at position 2 : 12    1    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "4144342"] in JSON4Lua.decode_scanString at position 2 : 11    2    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "60230443"] in JSON4Lua.decode_scanString at position 2 : 12    3    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "DF809124"] in JSON4Lua.decode_scanString at position 2 : 12    4    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "4C2B8B15"] in JSON4Lua.decode_scanString at position 2 : 12    5    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "CF1626"] in JSON4Lua.decode_scanString at position 2 : 10    6    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "9BC37EC7"] in JSON4Lua.decode_scanString at position 2 : 12    7    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "ABE2CCE8"] in JSON4Lua.decode_scanString at position 2 : 12    8    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "DF87DE19"] in JSON4Lua.decode_scanString at position 2 : 12    9    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "15B8981A"] in JSON4Lua.decode_scanString at position 2 : 12    10    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "3DC5793B"] in JSON4Lua.decode_scanString at position 2 : 12    11    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "21D9A5DC"] in JSON4Lua.decode_scanString at position 2 : 12    12    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "8770784D"] in JSON4Lua.decode_scanString at position 2 : 12    13    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "16EEC5E"] in JSON4Lua.decode_scanString at position 2 : 11    14    
[00:01:28]: Failed to load the bucketdata in ScrapbookPartitions!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "5C964CCF"] in JSON4Lua.decode_scanString at position 2 : 12    15    
[00:01:28]: Faild to load the crafting menue profile!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "version"] in JSON4Lua.decode_scanString at position 2 : 11    
[00:01:28]: Failed to load the loading tips!    false    [string "scripts/json.lua"]:450: Failed to load string [ return "shownloadingtips"] in JSON4Lua.decode_scanString at position 2 : 20    
[00:01:28]: DoLuaFile Error: (null)
[00:01:28]: LuaError but no error string
[00:01:28]: Error loading main.lua
[00:01:28]: Failed mSimulation->Reset()
[00:01:28]: [Workshop] CancelDownloads for all pending downloads
[00:01:28]: Collecting garbage...
[00:01:28]: lua_gc took 0.07 seconds
[00:01:28]: ~ShardLuaProxy()
[00:01:28]: ~cEventLeaderboardProxy()
[00:01:28]: ~ItemServerLuaProxy()
[00:01:28]: ~InventoryLuaProxy()
[00:01:28]: ~NetworkLuaProxy()
[00:01:28]: ~SimLuaProxy()
[00:01:28]: [Workshop] CancelDownloads for all pending downloads
[00:01:28]: lua_close took 0.04 seconds
[00:01:28]: [Workshop] CancelDownloads for all pending downloads
[00:01:28]: [Steam] Auth ticket cancelled
[00:01:29]: CurlRequestManager::ClientThread::Main() complete
[00:01:29]: HttpClient2 discarded 0 callbacks.
[00:01:29]: Shutting down
 

Would it be more easy for you  if i where to send you the modmain file?

modmain.lua

I think I fixed just... about all of the server launch crashes. Right now the microphone doesn't really play an animation when used, so... there's that, but I'm bad at anims! You may have to ask other people on that, sorry.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...