fuzzyjowls Posted November 9, 2013 Share Posted November 9, 2013 I've recently been work'n on making an equip-able item for a new character. So, I've been following this tut: http://forums.kleientertainment.com/index.php?/topic/29427-tutorial-creating-a-handslot-equippable-item-from-scratch/ And right around "part 2" of this tut I go test my item to see if it's work'n and it crashes. Not sure why, but here's what I think to be the important part of the log. THANKS! scripts/mods.lua(290,1) unloading prefabs for mod MOD_Flintlock Pistol (All That's Maxwell) scripts/mods.lua(290,1) unloading prefabs for mod MOD_Zulu The Hunter(All That's Maxwell) Collecting garbage...lua_gc took 0.03 seconds~SimLuaProxy()lua_close took 0.02 secondsOrphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. HttpClient::ClientThread::Main() completeShutting down Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 I don't think that log helps a lot. Can you upload your mod somewhere? Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 Sorry bout the log, but here's the dropbox:https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboL Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 Sorry bout the log, but here's the dropbox:https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboLHave you already tried commenting out the loading of assets that don't exist like *cough* proposed in the tutorial *cough* ?Also the folder should be called prefabS. When you follow a tutorial you should read really closely and check everything twice : P Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 Okay, I deleted the directed lines in the pistol.lua and the when I go to test it, I still get problems:I pressed `, opening the command thing, typed in DebugSpawn ("pistol") and Wilson's inventory disappears completely...DropBox: https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboL Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 Okay, I deleted the directed lines in the pistol.lua and the when I go to test it, I still get problems:I pressed `, opening the command thing, typed in DebugSpawn ("pistol") and Wilson's inventory disappears completely...DropBox: https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboLWhen I say "comment out lines x-y" then I mean "comment out", not delete. And you should of course keep in mind that if you deviate from the file I posted in the tutorial that line numbers don't match up, you deleted crucial parts of the file. So I would suggest redoing the stuff and not deviating from the tutorial which is basically a standard strategy for following tutorials : P Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 ...I'm a noob, what's commenting out? Link to comment Share on other sites More sharing options...
Craig_Perry Posted November 9, 2013 Share Posted November 9, 2013 ...I'm a noob, what's commenting out?putting "-" before a line of code EDIT; it may be "--" I don't mod really Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 Okay, back on track, thanks. Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 @MalacathUm, sorry, one more issue: I followed the tutorial to the very end, however My pistol is invisible while in hand. DropBox: https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboL Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 @MalacathUm, sorry, one more issue: I followed the tutorial to the very end, however My pistol is invisible while in hand. DropBox: https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboLWrong structure. Your swap_pistol.scml should be in a folder containg the folder called "swap_pistol" which contains the image. The scml shouldn't be in the same folder as the image. Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 DS still crashes, stating that "Could not find an asset matching anim/swap_pistol.zip in any of the search paths.", Why's it say this? Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 DS still crashes, stating that "Could not find an asset matching anim/swap_pistol.zip in any of the search paths.", Why's it say this?You also don't have a pistol.tex and no pistol.zip so I guess you don't have the mod tools installed? Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 I have the tools installed. I was never instructed to make a tex or zip for the pistol, although I did see the textool referenced in the end of part 2. :/ What do I do? Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 I have the tools installed. I was never instructed to make a tex or zip for the pistol, although I did see the textool referenced in the end of part 2. :/ What do I do?I'm not talking about TEX-Tools by Matt I'm talking about Don't Starve Mod Tools by Klei and let me quote myself here. To successfuly finish this tutorial you will need:-the "Don't Starve Mod Tools" which you can download from SteamSee, no TEX-Tools : P Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 Yeah, I downloaded those too. Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 Yeah, I downloaded those too.And when you start DS something like this shows up? Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 Yessum Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 YessumHmmm, can you please update your DP folder in that case, I'll take a look. Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 mk, here you go:https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboL Link to comment Share on other sites More sharing options...
Developer Cheerio Posted November 9, 2013 Developer Share Posted November 9, 2013 mk, here you go:https://www.dropbox.com/sh/ax4eugcmtbj8d90/_XqTz4vboLIt seems like it's actually breaking building the waverly mod and not his mod. Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 What do you mean? Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 It seems like it's actually breaking building the waverly mod and not his mod.If you refer to the screenshot in my post then that was just an old screen I had lying around to see if a cmd window pops up for him. Sorry for the confusing : / Link to comment Share on other sites More sharing options...
fuzzyjowls Posted November 9, 2013 Author Share Posted November 9, 2013 ...So the pistol not show'n up in Wilson's hand, how do I fix that? Link to comment Share on other sites More sharing options...
Malacath Posted November 9, 2013 Share Posted November 9, 2013 ...So the pistol not show'n up in Wilson's hand, how do I fix that?Patience... You did two things wrong:-you apparently deleted files from a folder so that the scml referenced missing files (I didn't have a problem with this anymore but it seemed in this case it wouldn't work) so I rebuilt your file-you didn't correctly copy the following lineowner.AnimState:OverrideSymbol("swap_object", "swap_pistol", "swap_pistol")Here's the fixed mod for reference.The thing is tiny though so you should consider scaling up the image (not in Spriter, that won't do a damn thing)pistol.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.