Jump to content

Recommended Posts

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: post-386246-0-34776100-1436577394_thumb.

 

I don't entirely understand what that means, so any help would be lovely jubly.

For those whom it may concern, 

modinfo.lua

modmain.lua

speech_Tom.lua

 

Cheers, Tom.

  • Developer
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 by ImDaMisterL

@LittleTom

COMBAT_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.

@LittleTom

COMBAT_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!

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: post-386246-0-12757700-1436597863_thumb.

 

ugghhhh... I have less idea about this one than the last.

@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?

[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 = nil

scripts/mainfunctions.lua:73 in (global) RegisterPrefabs (Lua) <68-83>

   arg = nil

   i = 1

   prefab = Prefab frontend - 

   i = 53

   asset = table: 0F71E120

scripts/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 = frontend

scripts/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:916

scripts/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...

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...

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.

@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 by Blueberrys

@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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...