CyrusJazzberry Posted June 19, 2015 Share Posted June 19, 2015 I made a character mod, and it worked perfectly. Functioned well and everything. I thought I'd give my character, Roger, a custom starting weapon; and unbreakable frying pan that deals .2% less damage than the spear. I found a few guides, and cobbled it together. I put it into testing, when it crashed DS:T. NOTE: Roger was made using Example Character. I've included what I think is causing the issue in the attachments.modinfo.luamodmain.luaroger.luarogerpan.lua Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 I've decided to just upload the mod itself.(i couldn't find an edit button) Roger for DST.zip Link to comment Share on other sites More sharing options...
Seiai Posted June 19, 2015 Share Posted June 19, 2015 @SecretCereal, http://forums.kleientertainment.com/topic/50773-guide-modding-practices-introduction-to-modding/ Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 @SecretCereal, http://forums.kleientertainment.com/topic/50773-guide-modding-practices-introduction-to-modding/ It's probably me being stupid, but I read through the guide and couldn't find where the error was. Link to comment Share on other sites More sharing options...
rons0n Posted June 19, 2015 Share Posted June 19, 2015 Just paste your crash log. This makes it so modders can easily pinpoint the error rather than skimming through all the files taking a wild guess. Documents/Klei/DoNotStarveTogether/log.txt and either paste it in spoilers or give us the log.txt I probably can't help you but I can skim through it and see the problem. Maybe. Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 Here's the log.txt. log.txt Link to comment Share on other sites More sharing options...
rons0n Posted June 19, 2015 Share Posted June 19, 2015 (edited) Did you reenact the crash before sending the log? Well regardless I decided to take a look at your character altogether and I noticed that you're lacking the rogerpan.scml file. This is probably it. Edited June 19, 2015 by rons0n Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 (edited) It must've not compiled correctly; I'm looking at the development folder (the folder that i don't put into the mods folder) and the rogerpan.scml is there. Edit: Wait, where should that rogerpan.scml be located? I browsed the folder, and found it in around two locations. Edited June 19, 2015 by SecretCereal Link to comment Share on other sites More sharing options...
Seiai Posted June 19, 2015 Share Posted June 19, 2015 @SecretCereal, yeah, u are missing the spriterfile for when the pan is on the ground. the thread i linked was supposed to teach u how to find the logfile and error, but u obviously didnt look into the logfile from after a crash, this would be it: log.txt "Could not find an asset matching anim/rogerpan.zip in any of the search paths." yes, that's because u are missing the rogerpan.scml in your exported folder. for some reason u have a rogerpan.scml in one of your imagefolders, but that wont work in the exported-folder, cause it uses a different image. u will have to create a rogerpan.scml in Roger for DST\exported\rogerpan\ground_rogerpan using the groundimage there. Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 (edited) Oh! Like I said, I'm stupid. Thanks for the help, guys Edited June 19, 2015 by SecretCereal Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 ACK. Now it's saying it can't find anim/rogerpan.zip. log.txt Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 Okay, after fiddling around with it, it's now telling me it can't find "anim/swap_rogerpan". I've looked at around 3 guides, and followed them all. But it keeps giving me the same error. log.txt Link to comment Share on other sites More sharing options...
Seiai Posted June 19, 2015 Share Posted June 19, 2015 @SecretCereal, attach your mod again, with everything including the animfiles. Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 19, 2015 Author Share Posted June 19, 2015 Here you are. Roger.zip Link to comment Share on other sites More sharing options...
Seiai Posted June 19, 2015 Share Posted June 19, 2015 (edited) @SecretCereal, why do u keep changing stuff that wasn't broken? the swap_rogerpan was working the version u uploaded before, and for some reason u decide to break it now.^^ and why did u create 2 rogerpan.scml now? they overwrite each other, cause they both compile to anim/rogerpan.scml... Edited June 19, 2015 by Seiai Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 20, 2015 Author Share Posted June 20, 2015 (edited) It was a simple mistake; the thing that's tripping me up is swap_rogerpan. The guide I read, http://forums.kleientertainment.com/topic/29427-tutorial-creating-a-handslot-equippable-item-from-scratch/ , details that there should be two swap_myitem folders. The thing that's getting me is where to put the swap_rogerpan.scml, as i've put it in both and they've both turned up the same result. EDIT: the two problematic things are it not being able to find anim/rogerpan and anim/swap_rogerpanEDITEDIT: i'm getting nowhere with this, i fix one error only to fix the other to have the other come back Edited June 20, 2015 by SecretCereal Link to comment Share on other sites More sharing options...
Seiai Posted June 20, 2015 Share Posted June 20, 2015 (edited) The thing that's getting me is where to put the swap_rogerpan.scmlit really doesnt matter where in the exported folder it is, the game just compiles all scml in the exportedfolder into animfiles. but if u keep moving the scml, it doesnt find the pngs anymore, that u used. open the scml with notpad, u will notice a filelist with folders relative to the scml. and u have completely broken them, by moving them around or renameing images after using images in the spriterfiles. i'm getting nowhere with this, i fix one error only to fix the other to have the other come backyeah, cause instead of just fixing that thing i told u to, u mess around with everything else. previously ONLY the roger_pan.scml was missing, and then u decided, to make several, move them around to break the filepath, and also move the swap_pan around to break it... delete all pan-related scml in the exported folder, decide on a structure for where u put the scml and the images, and then create the scmls there... also, u can look into your autocompiler log in SteamApps\common\temp, it will probably tell u about the images that are linked in your scmls but that it cant find anymore, in the lines for your pan. if u cant fix it, attach your mod again. Edited June 20, 2015 by Seiai Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 27, 2015 Author Share Posted June 27, 2015 I've decided to scrap the pan idea; I'll come around to it when I'm more knowledgable on this kind of stuff. Now I'm gonna mess around with custom sounds. Link to comment Share on other sites More sharing options...
Seiai Posted June 27, 2015 Share Posted June 27, 2015 @SecretCereal, u could just directly include this http://forums.kleientertainment.com/files/file/1127-dst-equipable-hand-slot/ into your mod(check if the stick works) and then change it bit by bit to a pan, and check after each step if it still works. Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 27, 2015 Author Share Posted June 27, 2015 So, I downloaded that handheld-example mod, reworked the rogerpan.scml and renamed all the files, and then integrated the two, and now it's returning "Cannot find anim/rogerpan.zip in any of the search paths". The clean, un-compiled mod is below with my log. log.txtroger with frypan.zip Link to comment Share on other sites More sharing options...
Seiai Posted June 28, 2015 Share Posted June 28, 2015 (edited) @SecretCereal,u removed the image of the stick without removing it in the spriterfile. u can see the error in the autocompilerlog, that i told u to look into before. this also tells me, that u didnt do it step by step and try if it still works after each step. : P Edited June 28, 2015 by Seiai Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted June 28, 2015 Author Share Posted June 28, 2015 Yeah, I've been in a rush lately; visiting family soon. I'll fix the error later, thanks! Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted July 2, 2015 Author Share Posted July 2, 2015 I know I've asked this a million times, but I'm still returning "cannot find anim/roger.zip" errors. But here's the funny part; I have not added files, renamed files, or deleted files. I've only edited .png files to update Roger's artwork. I ran it through the autocompiler, and it's churning out anim errors. I've checked out the .scml and everything seems fine. And I still can't understand the log. I've learned to fix a few errors, but this isn't one of them. I think the issue's with the compiler and for some reason it's not compiling the anim folder. As always, I've included the uncompiled mod and the log. roger is so broken.ziplog.txt (This is for the non-frying pan Roger, as I'm still working on that version) Link to comment Share on other sites More sharing options...
rons0n Posted July 3, 2015 Share Posted July 3, 2015 (edited) Im so full of Rasp berry ice tea right now..Mmmm... Anyway you did a copy and paste job of headbase and headbase hat didn't you? They were named exactly the same. Regardless all i did was a quick renaming process on your headbase hat to get them working again. I also worked on your rogerpan thingy. It should work but I didn't put it in your starting inventory. c_give("rogerpan") to see it. roger.zip Edited July 3, 2015 by rons0n Link to comment Share on other sites More sharing options...
CyrusJazzberry Posted July 4, 2015 Author Share Posted July 4, 2015 Im so full of Rasp berry ice tea right now..Mmmm... Anyway you did a copy and paste job of headbase and headbase hat didn't you? They were named exactly the same. Regardless all i did was a quick renaming process on your headbase hat to get them working again. I also worked on your rogerpan thingy. It should work but I didn't put it in your starting inventory. c_give("rogerpan") to see it. I am going to buy you a truck of raspberry ice tea. 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