LittleTom Posted July 11, 2015 Share Posted July 11, 2015 Hey Guys, I tried making my own character mod for DST using Delo Wolf's template (http://forums.kleientertainment.com/topic/46849-tutorial-using-extended-sample-character-template/), did all the file renaming and custom dialogue *shudders*... the only problem is that I keep getting this crash error when loading the mod: I don't entirely understand what that means, so any help would be lovely jubly.For those whom it may concern, modinfo.luamodmain.luaspeech_Tom.lua Cheers, Tom. Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/ Share on other sites More sharing options...
Developer ImDaMisterL Posted July 11, 2015 Developer Share Posted July 11, 2015 (edited) There's an error at line 95, near the ANNOUNCE_NONIGHTSIESTA.You appear to be missing a "}" to close the speech. Hmm... Actually, I don't know what's wrong...Let me check the code, hopefully someone more experienced than me will come here and help you more than I ever would be able to. Solved already. Thank you, programmer that is better than me and looked more at the strings than I did.It's just not my job, y'know? Not my area of expertise... for now... Edited July 11, 2015 by ImDaMisterL Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653461 Share on other sites More sharing options...
Blueberrys Posted July 11, 2015 Share Posted July 11, 2015 @LittleTomCOMBAT_QUIT = "Nope, Nope, Nope, Nope."{ GENERIC = "Top banter!", PIG = "Toodleoo!", PREY = "Ugh, You're like chrome and I'm like internet explorer.", SPIDER = "Ya nasty.", SPIDER_WARRIOR = "Shoo, you ugly mofo!",},I think you meant to make COMBAT_QUIT a table. Remove the string. Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653464 Share on other sites More sharing options...
LittleTom Posted July 11, 2015 Author Share Posted July 11, 2015 @LittleTomCOMBAT_QUIT = "Nope, Nope, Nope, Nope."{ GENERIC = "Top banter!", PIG = "Toodleoo!", PREY = "Ugh, You're like chrome and I'm like internet explorer.", SPIDER = "Ya nasty.", SPIDER_WARRIOR = "Shoo, you ugly mofo!",},I think you meant to make COMBAT_QUIT a table. Remove the string.^ this is true, thanks There's an error at line 95, near the ANNOUNCE_NONIGHTSIESTA.You appear to be missing a "}" to close the speech. Hmm... Actually, I don't know what's wrong...Let me check the code, hopefully someone more experienced than me will come here and help you more than I ever would be able to. Solved already. Thank you, programmer that is better than me and looked more at the strings than I did.It's just not my job, y'know? Not my area of expertise... for now...Yeah I looked there and couldn't see anything... but thanks! Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653504 Share on other sites More sharing options...
LittleTom Posted July 11, 2015 Author Share Posted July 11, 2015 Okay so now there is no error, however when I load up a world and select "Tom - The Cynical One" the game just black screens, no error, no crash, just a black screen... any ideas? Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653505 Share on other sites More sharing options...
Mobbstar Posted July 11, 2015 Share Posted July 11, 2015 @LittleTom, get your log.txt Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653512 Share on other sites More sharing options...
LittleTom Posted July 11, 2015 Author Share Posted July 11, 2015 Okay so now there is no error, however when I load up a world and select "Tom - The Cynical One" the game just black screens, no error, no crash, just a black screen... any ideas? ooooookay so because of this error ^^ I started again, keeping only my speech file, I followed all the instructions given on this post: http://forums.kleientertainment.com/topic/46849-tutorial-using-extended-sample-character-template/ but now I have this error: ugghhhh... I have less idea about this one than the last. Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653515 Share on other sites More sharing options...
LittleTom Posted July 11, 2015 Author Share Posted July 11, 2015 @LittleTom, get your log.txt I decided to restart and now have this error when I simply enable the mod, or open the game if I don't disable it before I close the game.would it still be beneficial to check the log with this new error? Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653517 Share on other sites More sharing options...
LittleTom Posted July 11, 2015 Author Share Posted July 11, 2015 [00:00:11]: ModIndex:GetModsToLoad inserting moddir, Tom The Cynical One [00:00:11]: Could not load mod_config_data/modconfiguration_Tom The Cynical One [00:00:11]: Loading mod: Tom The Cynical One Version:1.1.4 [00:00:11]: Mod: Tom The Cynical One Loading modworldgenmain.lua [00:00:11]: Mod: Tom The Cynical One Mod had no modworldgenmain.lua. Skipping. [00:00:11]: Mod: Tom The Cynical One Loading modmain.lua [00:00:12]: LOADING LUA SUCCESS[00:00:12]: PlayerDeaths loaded morgue 1407 [00:00:12]: loaded profile [00:00:12]: bloom_enabled false [00:00:12]: loaded saveindex [00:00:12]: OnFilesLoaded() [00:00:12]: OnUpdatePurchaseStateComplete [00:00:12]: [string "scripts/util.lua"]:396: Could not find an asset matching bigportraits/Tom.xml in any of the search paths.LUA ERROR stack traceback:=[C]:-1 in (global) assert © <-1--1>scripts/util.lua:396 in (global) resolvefilepath (Lua) <391-399> filepath = bigportraits/Tom.xml resolved = nilscripts/mainfunctions.lua:73 in (global) RegisterPrefabs (Lua) <68-83> arg = nil i = 1 prefab = Prefab frontend - i = 53 asset = table: 0F71E120scripts/mainfunctions.lua:100 in (global) LoadPrefabFile (Lua) <87-107> filename = prefabs/frontend fn = function - scripts/prefabs/frontend.lua:0 r = nil ret = table: 0F71D838 i = 1 val = Prefab frontend - scripts/gamelogic.lua:165 in (upvalue) LoadAssets (Lua) <121-216> asset_set = FRONTEND load_frontend = true in_backend = false in_frontend = true i = 149 file = frontendscripts/gamelogic.lua:906 in (upvalue) DoResetAction (Lua) <828-913>scripts/gamelogic.lua:924 in (local) complete_callback (Lua) <916-925>scripts/upsell.lua:27 in (global) UpdateGamePurchasedState (Lua) <11-30> complete_callback = function - scripts/gamelogic.lua:916scripts/gamelogic.lua:939 in (upvalue) callback (Lua) <927-940>scripts/saveindex.lua:97 in () ? (Lua) <69-98> load_success = true str = return { I do believe the big portrait is the issue... Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653518 Share on other sites More sharing options...
LittleTom Posted July 11, 2015 Author Share Posted July 11, 2015 Okay so I did some digging around and fixed the error issue, now we're back to black screen when loading into the world, the log says it can't find the prefab file needed for the mod even though it's sitting right there with the correct name and everything... Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653522 Share on other sites More sharing options...
Blueberrys Posted July 11, 2015 Share Posted July 11, 2015 would it still be beneficial to check the log with this new error? The log is always beneficial. says it can't find the prefab file needed for the mod even though it's sitting right there with the correct name and everything... If it can't find the prefab, it's because something is wrong with it. Check all the spellings and capitalizations. Provide the file(s) if you still can't find the error. Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653585 Share on other sites More sharing options...
LittleTom Posted July 12, 2015 Author Share Posted July 12, 2015 I think it might have something to do with this:local MakePlayerCharacter = require "prefabs/player_common" but here's the file because I'm unsure... tom.luamodmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653722 Share on other sites More sharing options...
Blueberrys Posted July 12, 2015 Share Posted July 12, 2015 (edited) @LittleTom And the log?Most likely you need to change "Tom" to "tom" in the prefab file.return MakePlayerCharacter("Tom", prefabs, assets, common_postinit, master_postinit, start_inv)-No, leave MakePlayerCharacter as it is was before you broke it. Edited July 12, 2015 by Blueberrys Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653759 Share on other sites More sharing options...
LittleTom Posted July 13, 2015 Author Share Posted July 13, 2015 @LittleTom And the log?Most likely you need to change "Tom" to "tom" in the prefab file.return MakePlayerCharacter("Tom", prefabs, assets, common_postinit, master_postinit, start_inv)-No, leave MakePlayerCharacter as it is was before you broke it. Cheers dude, it worked!thanks for all the help. Link to comment https://forums.kleientertainment.com/forums/topic/56065-a-new-modder-in-a-spot-of-bother/#findComment-653910 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