Jump to content

Recommended Posts

Hello!

I've made a dont starve character compatible with dst, it worked fine without his extra items, but when addinf the extra items, after choosing it crashes and shows this log:


Disabling Mabel Pines because it had an error.
[string "../mods/Mabel Pines/modmain.lua"]:53: attempt to index local 'player' (a nil value)
LUA ERROR stack traceback:
        ../mods/Mabel Pines/modmain.lua(53,1)
        =(tail call) ?
        =[C] in function 'xpcall'
        scripts/mods.lua(105,1)
        scripts/mods.lua(547,1) in function 'SimPostInit'
        scripts/gamelogic.lua(881,1) in function 'DoInitGame'
        scripts/gamelogic.lua(957,1) in function 'cb'
        scripts/saveindex.lua(415,1)
        =[C] in function 'GetPersistentString'
        scripts/saveindex.lua(385,1) in function 'GetSaveDataFile'
        scripts/saveindex.lua(422,1) in function 'GetSaveData'
...
        =[C] in function 'GetPersistentString'
        scripts/saveindex.lua(90,1) in function 'Load'
        scripts/gamelogic.lua(1135,1) in function 'callback'
        scripts/playerprofile.lua(645,1) in function 'Set'
        scripts/playerprofile.lua(528,1)
        =[C] in function 'GetPersistentString'
        scripts/playerprofile.lua(526,1) in function 'Load'
        scripts/gamelogic.lua(1134,1) in main chunk
        =[C] in function 'require'
        scripts/mainfunctions.lua(677,1)
SCRIPT ERROR! Showing error screen
1 uploads added to server. From server/007000A1BA1B2F0C
Telling Client our new session identifier: 007000A1BA1B2F0C
ModIndex: Load sequence finished successfully.
 
Reset() returning
QueryServerComplete no callback

This is in string 53 in modmain.lua 

52 function sSwitch(player)
53    if local.components.sweaterswitch then
54       local.components.sweaterswitch:RanSweater()
55    end
56 end

What is wrong with it ? is there a soilution ?

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...