DreadHeadMafia Posted June 4, 2015 Share Posted June 4, 2015 Hello, I am currently trying to change my Don't Starve mod to Don't Starve Together: however, there seems to be a lot more differences to make than what I thought that im not sure how to convert it into Don't Starve Together. Right now the game crashes because it claims the way I placed the functions of sanity check on isc.lua is a nil value. I was wondering if anyone could look over my mod and tell me the things ill have to change and if I change them what do they need to look like now for converting to Don't Starve Together?a final isaac.zip Link to comment Share on other sites More sharing options...
Seiai Posted June 4, 2015 Share Posted June 4, 2015 (edited) @DreadHeadMafia, u put inst:ListenForEvent("sanitydelta", sanity_check) in your common_postinit , this gets executed on the server AND on the client, but u have to do componentrelevant stuff on the server only(except u have a specific reason to do something on clientside).move this line into the master_postinit after inst.components.eater.spoiled_health = 0 Edited June 4, 2015 by Seiai Link to comment Share on other sites More sharing options...
DreadHeadMafia Posted June 4, 2015 Author Share Posted June 4, 2015 @DreadHeadMafia, u put inst:ListenForEvent("sanitydelta", sanity_check) in your common_postinit , this gets executed on the server AND on the client, but u have to do componentrelevant stuff on the server only(except u have a specific reason to do something on clientside).move this line into the master_postinit after inst.components.eater.spoiled_health = 0 Thank you very much for that, unfortunately I forgot to make the ghost builds and avatars for him as well so im working on that too, but while I do that, can you see if you can find anymore mistakes like the one you mentioned to where it would crash if not converted correctly? Link to comment Share on other sites More sharing options...
rezecib Posted June 4, 2015 Share Posted June 4, 2015 @DreadHeadMafia, The easiest way is to just let it crash and see, because it tells you exactly where the problem is. Link to comment Share on other sites More sharing options...
DreadHeadMafia Posted June 6, 2015 Author Share Posted June 6, 2015 Finally got it to go into the game without crashing, ill have to keep testing it to see all the crashes that may come, but thank you everyone who helped in the mean time. Link to comment 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