Don't Starve Together

Don't Starve Together

My Pet
This topic has been locked
Lulu_mocha 20 May, 2020 @ 12:56pm
Dedicated Severs getting errors after new update
Please see below.
------------------------------------------------------

error calling PrefabPostInit: winona in mod workshop-1898077974 (My Pet):
[string "../mods/workshop-1898077974/modmain.lua"]:1312: attempt to index field 'MYPET' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1898077974/modmain.lua(1312,1)
=(tail call) ?
=[C] in function 'xpcall'
scripts/mods.lua(162,1) in function 'mod'
scripts/mainfunctions.lua(267,1)
=[C] in function 'SpawnPrefab'
scripts/mainfunctions.lua(306,1) in function 'old_SpawnPrefab'
../mods/workshop-609675532/modmain.lua(303,1) in function 'SpawnPrefab'
scripts/mainfunctions.lua(1485,1)
=[C] in function 'DeserializeUserSession'
scripts/mainfunctions.lua(1481,1) in function 'RestoreSnapshotUserSession'
...
=[C] in function 'GetPersistentString'
scripts/saveindex.lua(278,1) in function 'Load'
scripts/gamelogic.lua(1128,1) in function 'callback'
scripts/playerprofile.lua(1034,1) in function 'Set'
scripts/playerprofile.lua(889,1)
=[C] in function 'GetPersistentString'
scripts/playerprofile.lua(887,1) in function 'Load'
scripts/gamelogic.lua(1127,1) in main chunk
=[C] in function 'require'
scripts/mainfunctions.lua(940,1)
[00:00:26]: Disabling workshop-1898077974 (My Pet) because it had an error.
[00:00:26]: [string "../mods/workshop-1898077974/modmain.lua"]:1312: attempt to index field 'MYPET' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1898077974/modmain.lua(1312,1)
=(tail call) ?
=[C] in function 'xpcall'
scripts/mods.lua(162,1) in function 'mod'
scripts/mainfunctions.lua(267,1)
=[C] in function 'SpawnPrefab'
scripts/mainfunctions.lua(306,1) in function 'old_SpawnPrefab'
../mods/workshop-609675532/modmain.lua(303,1) in function 'SpawnPrefab'
scripts/mainfunctions.lua(1485,1)
=[C] in function 'DeserializeUserSession'
scripts/mainfunctions.lua(1481,1) in function 'RestoreSnapshotUserSession'
...
=[C] in function 'GetPersistentString'
scripts/saveindex.lua(278,1) in function 'Load'
scripts/gamelogic.lua(1128,1) in function 'callback'
scripts/playerprofile.lua(1034,1) in function 'Set'
scripts/playerprofile.lua(889,1)
=[C] in function 'GetPersistentString'
scripts/playerprofile.lua(887,1) in function 'Load'
scripts/gamelogic.lua(1127,1) in main chunk
=[C] in function 'require'
scripts/mainfunctions.lua(940,1)
[00:00:26]: [string "../mods/workshop-1898077974/modmain.lua"]:1312: attempt to index field 'MYPET' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-1898077974/modmain.lua(1312,1)
=(tail call) ?
=[C] in function 'xpcall'
scripts/mods.lua(162,1) in function 'mod'
scripts/mainfunctions.lua(267,1)
=[C] in function 'SpawnPrefab'
scripts/mainfunctions.lua(306,1) in function 'old_SpawnPrefab'
../mods/workshop-609675532/modmain.lua(303,1) in function 'SpawnPrefab'
scripts/mainfunctions.lua(1485,1)
=[C] in function 'DeserializeUserSession'
scripts/mainfunctions.lua(1481,1) in function 'RestoreSnapshotUserSession'
...
=[C] in function 'GetPersistentString'
scripts/saveindex.lua(278,1) in function 'Load'
scripts/gamelogic.lua(1128,1) in function 'callback'
scripts/playerprofile.lua(1034,1) in function 'Set'
scripts/playerprofile.lua(889,1)
=[C] in function 'GetPersistentString'
scripts/playerprofile.lua(887,1) in function 'Load'
scripts/gamelogic.lua(1127,1) in main chunk
=[C] in function 'require'
scripts/mainfunctions.lua(940,1)
< >
Showing 1-4 of 4 comments
Cleyven  [developer] 21 May, 2020 @ 10:33am 
Hi Lulu_mocha, thank you for your report.
We were having some issues replicating the error, so it was taking longer to sort out the problem. We have now replicated the problem and we believe we have found a solution so we will update the mod as soon as we can.
In the meantime, to solve your problem without the update, you can go to the mod configuration and change the option related to the “Hotkey button” and press accept (it will probably prompt you to accept or not the changes, so just say yes to the changes).
You can change the “Hotkey button” to any letter you want, the problem is not related to the letter you choose but to the fact that it’s picking an old option from the previous version.
Let me know if this sorts the issue.

I apologise for the problems this has caused.
Kyoshiro  [developer] 22 May, 2020 @ 3:41pm 
Hello Lulu_mocha-san,

Thank you for reporting the error. Please check the mod again to see if there are any errors.
Lulu_mocha 23 May, 2020 @ 1:53pm 
Hello Cleyven and Kyōshirō,

Thank you for the replies!

I will test it again when I have free time and let you guys know the results.

Have a good day!
Kyoshiro  [developer] 23 May, 2020 @ 5:25pm 
Thank you Lulu_mocha-san responded. Hope good results. Wish you a good day.
Last edited by Kyoshiro; 23 May, 2020 @ 5:25pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50