DarkFenikkusu Posted February 24, 2015 Share Posted February 24, 2015 I just started doing a mod, to adding a new Character. At first I had a lot of crashes, but were able to fix them by myself.I'm finally able to see the character in the selection screen, but if I select him the game don't really connect me to the created world.I'm hearing sounds from the birds and the sound of the fire from the character selection, while having a black screen. log.txt Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616234 Share on other sites More sharing options...
Blueberrys Posted February 24, 2015 Author Share Posted February 24, 2015 So it is not the missing comma that makes that problem? Probably not. Though I'm not sure what's causing it. Is that still happening with the version you posted? And for the second one, in the file called "anim" for my mod I have the animation for the character, and the file for its special item. And in the subfolder for my item I have a media file called "anim," and one called "build." Isn't that all I need? I'm not sure I understood correctly. As previously mentioned, if you don't have the file swap_hunting_dart.zip inside "..\YourModFolder\anim" then it won't work.Alternately, you can also change "anim/swap_hunting_dart.zip" in your code to the correct relative path. Ex, "ItemSubFolder/anim/swap_hunting_dart.zip". Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616255 Share on other sites More sharing options...
Blueberrys Posted February 24, 2015 Author Share Posted February 24, 2015 @DarkFenikkusu I can't download your log for some reason. "Sorry, you don't have permission for that!" Anyone else having this issue? Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616256 Share on other sites More sharing options...
seronis Posted February 24, 2015 Share Posted February 24, 2015 @DarkFenikkusu I can't download your log for some reason. "Sorry, you don't have permission for that!" Anyone else having this issue?Same problem here. Personally I think text uploads should always be one at gist.github.com an file uploads at mega.co.nz to avoid problems like this Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616259 Share on other sites More sharing options...
Blueberrys Posted February 24, 2015 Author Share Posted February 24, 2015 Same problem here. Personally I think text uploads should always be one at gist.github.com an file uploads at mega.co.nz to avoid problems like this I agree with the text uploads, especially since it's easier to see them directly without downloading.As for file uploads on other sites, I feel less inclined to download something if I have to keep another tab open, navigate through multiple pages, or complete a captcha. Since everyone has their own favorite upload site and won't stick to just one, I think it would be best to keep uploads right here on the forum. Is there any place to report forum bugs? @DarkFenikkusu Please paste your log at github or pastebin. Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616273 Share on other sites More sharing options...
DarkFenikkusu Posted February 24, 2015 Share Posted February 24, 2015 So this should work, right? https://gist.github.com/anonymous/4d28ba1cbd42803aabb2So this should work, right? https://gist.github.com/anonymous/4d28ba1cbd42803aabb2 Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616285 Share on other sites More sharing options...
Blueberrys Posted February 24, 2015 Author Share Posted February 24, 2015 @DarkFenikkusu Yes, it does.Can't find prefab chrI'm assuming you didn't name your character prefab "chr", but accidentally wrote that (or left it there) when initializing. May I see your modmain? Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616298 Share on other sites More sharing options...
DarkFenikkusu Posted February 24, 2015 Share Posted February 24, 2015 https://gist.github.com/anonymous/3a89c709ea14430d795b Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616343 Share on other sites More sharing options...
Dwim Posted February 24, 2015 Share Posted February 24, 2015 (edited) I am no longer having the first problem... weird. And you were correct on the second one... I am missing a ton of assets, I have bunch of work to do I guess... Thank you so much for your help! Edited February 24, 2015 by Dwim Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616369 Share on other sites More sharing options...
Dwim Posted February 24, 2015 Share Posted February 24, 2015 (edited) Dang, I fixed the missing asset problem, I think (I added the swap animation and the inventory image.) Yet now when I enable the mod, the game just closes. So I checked my log so I could fix the problem, yet it doesn't show a problem in the log, the log just ends abruptly. What sort of problem causes this? The log tells me nothing.I will attach the log so you can look at it if you are interested (in pastebin, as it seems that that is what you prefer, downloading it is definitely annoying.) http://pastebin.com/Gq38CGsW Edited February 24, 2015 by Dwim Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616377 Share on other sites More sharing options...
Blueberrys Posted February 24, 2015 Author Share Posted February 24, 2015 @DarkFenikkusu Wait.. you really named your character prefab "chr"? Short for "Chris", I presume? In that case, do you have a file called "chr.lua" in "..\YourMod\scripts\prefabs\"? Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616379 Share on other sites More sharing options...
Blueberrys Posted February 24, 2015 Author Share Posted February 24, 2015 @Dwim Yeah, it was probably an error from a previous attempt at using the mod during the same game instance. The log resets only when you restart the game completely (close and open it). Hmm. Interesting. Never seen that before. Disable all other mods and try running it again? Wait a few seconds after it crashes before opening the log. Thanks for using pastebin btw, I appreciate the accommodation. Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616381 Share on other sites More sharing options...
Dwim Posted February 25, 2015 Share Posted February 25, 2015 Still isn't working. It probably is due to my most probably horribly incorrect coding for my item (I just copied the code for the blow dart, deleted all the stuff about fire and sleeping, and added some of my own code.) Can broken .luas cause silent crashes? My .lua is definitely full of problems. Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616405 Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Author Share Posted February 25, 2015 (edited) @Dwim Post the log again, please. Edit: And yes, it can cause silent crashes. That's happened to me loads of times. I meant that the log being cut off is something that shouldn't happen. Edited February 25, 2015 by Blueberrys Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616414 Share on other sites More sharing options...
Dwim Posted February 25, 2015 Share Posted February 25, 2015 Here it is! http://pastebin.com/e95cGgra Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616443 Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Author Share Posted February 25, 2015 @Dwim Hmm. Would you happen to have rog compatibility set to false in your modinfo? Please follow these steps for further debugging. Remove all mods from your mods folder (you can keep them in another folder temporarily), leave only your mod in there. Ensure the game is completely closed. Add this line to the bottom of your modmain:print("Mod execution complete")Run the game and test the mod. Then post your log again. Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616464 Share on other sites More sharing options...
Dwim Posted February 25, 2015 Share Posted February 25, 2015 (edited) I tried what you suggested, yet I cannot seem to get rid of the mods. I delete the folders, yet as soon as I start up the game, they come back... I feel violated haha. Edit: Unsubscribed and deleted each one... what a drag. Tried starting it up again after doing what you suggested, still did not work, same problem. This is very frustrating, as it isn't showing any problem in the logs, it still just cuts off. Edited February 25, 2015 by Dwim Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616486 Share on other sites More sharing options...
DarkFenikkusu Posted February 25, 2015 Share Posted February 25, 2015 @DarkFenikkusu Wait.. you really named your character prefab "chr"? Short for "Chris", I presume? In that case, do you have a file called "chr.lua" in "..\YourMod\scripts\prefabs\"? That is right. The idea for "chr", short for "Chris", came up at the Tutorial I used to create this mod. Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616501 Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Author Share Posted February 25, 2015 @Dwim Wow, haha. Well, I'm sorry, but I really don't know what's causing it. Is the log less cluttered now without the mods? I can try looking through it again if you post it. @DarkFenikkusu Then, do you have "chr.lua" in your mod? Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616513 Share on other sites More sharing options...
DarkFenikkusu Posted February 25, 2015 Share Posted February 25, 2015 I do Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616521 Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Author Share Posted February 25, 2015 @DarkFenikkusu And it's in the correct location? May I see the code for char.lua and your modmain? Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616522 Share on other sites More sharing options...
DarkFenikkusu Posted February 25, 2015 Share Posted February 25, 2015 Thats the "chr.lua", which is in "Don't Starve Together Beta/mods/xyz/scripts/prefabs"https://gist.github.com/anonymous/811ef479f7afaa394c2c and that's my "modmain.lua", which is in "Don't Starve Together Beta/mods/xyz"https://gist.github.com/anonymous/080bb2d34909913408d9 Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616524 Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Author Share Posted February 25, 2015 @DarkFenikkusu At the end of char.lua, changereturn MakePlayerCharacter("wod", prefabs, assets, fn)toreturn MakePlayerCharacter("char", prefabs, assets, fn) Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616537 Share on other sites More sharing options...
DarkFenikkusu Posted February 25, 2015 Share Posted February 25, 2015 I did. If I now select my custom character there is no blackscreen anymore, no theres an new error message. Here's the log. https://gist.github.com/anonymous/7a684d3e2820e80eafa8 Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616539 Share on other sites More sharing options...
DarkFenikkusu Posted February 25, 2015 Share Posted February 25, 2015 If it helps you, I also did a screenshot of the error warning ingame : http://puu.sh/gbOzK/8ec7423d2b.jpg Link to comment https://forums.kleientertainment.com/forums/topic/50197-support-game-crash-post-here-for-help/page/3/#findComment-616543 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