Fredson Posted January 8, 2015 Share Posted January 8, 2015 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/007000A1BA1B2F0CTelling Client our new session identifier: 007000A1BA1B2F0CModIndex: Load sequence finished successfully. Reset() returningQueryServerComplete no callbackThis is in string 53 in modmain.lua 52 function sSwitch(player)53 if local.components.sweaterswitch then54 local.components.sweaterswitch:RanSweater()55 end56 endWhat is wrong with it ? is there a soilution ? Link to comment https://forums.kleientertainment.com/forums/topic/48690-dst-custom-character-crash-after-choosing-it/ Share on other sites More sharing options...
Developer Wade Posted January 8, 2015 Developer Share Posted January 8, 2015 You'll have to ask the people in the Mods forum to see if they can offer any suggestions as to what could be wrong. I'll move your thread over to the forum. Link to comment https://forums.kleientertainment.com/forums/topic/48690-dst-custom-character-crash-after-choosing-it/#findComment-598863 Share on other sites More sharing options...
Fredson Posted January 8, 2015 Author Share Posted January 8, 2015 ok thanks Link to comment https://forums.kleientertainment.com/forums/topic/48690-dst-custom-character-crash-after-choosing-it/#findComment-598882 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now