Jump to content

Can you help me with, everything?


TheFriday

Recommended Posts

Hello, I'm Friday.

 

I'm new to this community. I really enjoy Don't Starve and DST! I've been trying to make custom content with very minimal success. I made this thread in hopes someone could help me.

 

I have a very limited experience with coding/scripting. I can read something and have a general idea of what it does, but I cannot write it. I've been trying to the best of my ability to learn and understand all the things that go into creating a custom character in Don't Starve, and I just cannot get the hang of it. I always run into something that makes the character unusable.

 

I've used several tutorials from this site. Including TheDanaAddams' guide here;

http://tinyurl.com/ngxnwxc

 

And tried to the best of my ability to use Dleowolf's Extended Sample Character Template here;

http://tinyurl.com/kaadsz3

 

Although different, they are both super useful! But I am still unable to create a working character.

 

Right now the issue I have is that when I launch Don't Starve and start a world with my character (after successfully enabling it), once it loads and should start the game it instead closes. Presuming this is a crash, I have no idea what is triggering or causing it.

 

I have Don't Starve Mod Tools installed and enabled on my Steam account, so every time I launch the game it does it's thing. I utterly have no idea what it really does or what I can do with it.

(Other than it compiling some files automatically which is super useful)

 

I apologize that I'm inexperienced, and I am really open to any help that I can receive. Thank you so much!

Link to comment
Share on other sites

can you launch the game and replicate the crash and then post the log.txt file from your documents folder?

the directory location is pc/documents/klei/donotstarve/log.txt

i had this error and ill look at my post of what i fixed and then look at your log and see if its a similar issue.

Link to comment
Share on other sites

Yes, this is what I have

 

Starting up
Don't Starve: 115739 WIN32_STEAM
Build Date: 2014-11-04_16-15-32
THREAD - started 'GAClient' (21280)
HttpClient::ClientThread::Main()
cGame::InitializeOnMainThread
WindowManager::Initialize
RestoreWindowPosition
Saved Client Pos (0 x 22)
Adjusted Window Pos (-8 x -8)
EnsureWindowOnScreen
All good.
GLInfo
~~~~~~
GL_VENDOR: Google Inc.
GL_RENDERER: ANGLE (Intel® HD Graphics Family)
GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
THREAD - started 'WindowsInputManager' (23196)
OpenGL extensions (19, 19):
GL_ANGLE_depth_texture
GL_ANGLE_framebuffer_blit
GL_ANGLE_framebuffer_multisample
GL_ANGLE_instanced_arrays
GL_ANGLE_pack_reverse_row_order
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_ANGLE_texture_usage
GL_ANGLE_translated_shader_source
GL_EXT_read_format_bgra
GL_EXT_robustness
GL_EXT_texture_compression_dxt1
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_storage
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_npot
GL_MAX_TEXTURE_SIZE = 8192
GL_MAX_TEXTURE_IMAGE_UNITS = 16
GL_MAX_RENDERBUFFER_SIZE = 8192
GL_MAX_VIEWPORT_DIMS = 8192, 8192
GL_MAX_VARYING_VECTORS = 10
GL_MAX_VERTEX_ATTRIBS = 16
GL_MAX_VERTEX_UNIFORM_VECTORS = 254
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
4 compressed texture formats
texture format 0x83f0
texture format 0x83f1
texture format 0x83f2
texture format 0x83f3
cDontStarveGame::DoGameSpecificInitialize()
cGame::StartPlaying
LOADING LUA
DoLuaFile scripts/main.lua
DoLuaFile loading buffer scripts/main.lua
scripts/main.lua(161,1) running main.lua

scripts/modindex.lua(311,1) loaded modindex
scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence.

scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_extended sample character
scripts/mods.lua(152,1) Loading mod: extended sample character (Extended Sample Character)
scripts/mods.lua(179,1) Mod: extended sample character (Extended Sample Character) Loading modworldgenmain.lua
scripts/mods.lua(187,1) Mod: extended sample character (Extended Sample Character) Mod had no modworldgenmain.lua. Skipping.
scripts/mods.lua(179,1) Mod: extended sample character (Extended Sample Character) Loading modmain.lua
LOADING LUA SUCCESS
scripts/playerdeaths.lua(74,1) PlayerDeaths could not load morgue
scripts/playerprofile.lua(480,1) loaded profile
scripts/playerprofile.lua(544,1) bloom_enabled false
scripts/saveindex.lua(99,1) loaded saveindex
scripts/gamelogic.lua(1172,1) OnFilesLoaded()
scripts/gamelogic.lua(1161,1) OnUpdatePurchaseStateComplete
scripts/gamelogic.lua(117,1) Unload BE
Could not unload undefined prefab 0x4374c56c (yellowstaff)
Could not unload undefined prefab 0x303bfdce (axe)
Could not unload undefined prefab 0x378bda50 (wall_wood_item)
Could not unload undefined prefab 0x8cc766ef (pumpkin_lantern)
Could not unload undefined prefab 0xfdcabd86 (earmuffshat)
Could not unload undefined prefab 0x7f46d7c0 (batbat)
Could not unload undefined prefab 0xcceee6c3 (cutstone)
Could not unload undefined prefab 0xaf34ecc0 (trunkvest_winter)
Could not unload undefined prefab 0x875750ea (turf_road)
Could not unload undefined prefab 0x4aeb6641 (armordragonfly)
Could not unload undefined prefab 0xcd7669e5 (nightsword)
Could not unload undefined prefab 0x1daa5ab7 (turf_carpetfloor)
Could not unload undefined prefab 0xefa57cea (bandage)
Could not unload undefined prefab 0xde4bc7e7 (wall_hay_item)
Could not unload undefined prefab 0xe51acd32 (lightning_rod)
Could not unload undefined prefab 0x947bfcb8 (lightning_rod_placer)
Could not unload undefined prefab 0x68ba7100 (researchlab2)
Could not unload undefined prefab 0x3386a16a (researchlab2_placer)
Could not unload undefined prefab 0x3f5176c5 (firepit)
Could not unload undefined prefab 0x8a462465 (firepit_placer)
Could not unload undefined prefab 0x75370b6 (papyrus)
Could not unload undefined prefab 0xbea16a01 (hambat)
Could not unload undefined prefab 0xeb646050 (icehat)
Could not unload undefined prefab 0x10473739 (spear)
Could not unload undefined prefab 0x8d44bbad (cookpot)
Could not unload undefined prefab 0x30d2f57d (cookpot_placer)
Could not unload undefined prefab 0x89c20b1b (telebase)
Could not unload undefined prefab 0x868a468f (telebase_placer)
Could not unload undefined prefab 0x9d92cce (purpleamulet)
Could not unload undefined prefab 0xcf1626 (rabbithouse)
Could not unload undefined prefab 0x1aa31ec4 (rabbithouse_placer)
Could not unload undefined prefab 0xe474f23c (armormarble)
Could not unload undefined prefab 0x3ccdbe75 (icestaff)
Could not unload undefined prefab 0x68ba7101 (researchlab3)
Could not unload undefined prefab 0xd6985329 (researchlab3_placer)
Could not unload undefined prefab 0x21bf03b1 (thulecite)
Could not unload undefined prefab 0x539e9e8a (trunkvest_summer)
Could not unload undefined prefab 0xf4eb0943 (shovel)
Could not unload undefined prefab 0x761a1799 (gunpowder)
Could not unload undefined prefab 0x9a99c7b7 (armorgrass)
Could not unload undefined prefab 0xda17c8e8 (armorslurper)
Could not unload undefined prefab 0x47611d71 (sweatervest)
Could not unload undefined prefab 0x85181f7c (minerhat)
Could not unload undefined prefab 0xe8f381a1 (turf_checkerfloor)
Could not unload undefined prefab 0xd3671c87 (rainhat)
Could not unload undefined prefab 0x2e264dbc (blowdart_pipe)
Could not unload undefined prefab 0x2f0f89cb (reflectivevest)
Could not unload undefined prefab 0xc4101586 (hammer)
Could not unload undefined prefab 0x41ba89b5 (nightmarefuel)
Could not unload undefined prefab 0xfbaefa0e (rainometer)
Could not unload undefined prefab 0xeea990dc (rainometer_placer)
Could not unload undefined prefab 0x7fcb037d (greenstaff)
Could not unload undefined prefab 0x7fceff10 (featherfan)
Could not unload undefined prefab 0x3c935451 (eyeturret_item)
Could not unload undefined prefab 0xcba65752 (amulet)
Could not unload undefined prefab 0xe16c07d0 (ruinshat)
Could not unload undefined prefab 0xd2c60301 (dragonflychest)
Could not unload undefined prefab 0xa72c4129 (dragonflychest_placer)
Could not unload undefined prefab 0xb1591875 (greenamulet)
Could not unload undefined prefab 0xdac7fbf5 (birdcage)
Could not unload undefined prefab 0xe1f9b335 (birdcage_placer)
Could not unload undefined prefab 0x68ba7102 (researchlab4)
Could not unload undefined prefab 0x79aa04e8 (researchlab4_placer)
Could not unload undefined prefab 0x2c158f7c (torch)
Could not unload undefined prefab 0x265d1455 (turf_woodfloor)
Could not unload undefined prefab 0x9a0ed246 (yellowamulet)
Could not unload undefined prefab 0xb4e674c6 (hawaiianshirt)
Could not unload undefined prefab 0xc78d9876 (siestahut)
Could not unload undefined prefab 0xb22fa874 (siestahut_placer)
Could not unload undefined prefab 0xce5a342e (firesuppressor)
Could not unload undefined prefab 0xbbba0ebc (firesuppressor_placer)
Could not unload undefined prefab 0x9a6718eb (resurrectionstatue)
Could not unload undefined prefab 0x6b0c64bf (resurrectionstatue_placer)
Could not unload undefined prefab 0xdfb37276 (telestaff)
Could not unload undefined prefab 0x3f6c9ebb (diviningrod)
Could not unload undefined prefab 0xa6b98890 (beargervest)
Could not unload undefined prefab 0xe5936c6a (firestaff)
Could not unload undefined prefab 0x34fb4f82 (pitchfork)
Could not unload undefined prefab 0x3d4d1dc6 (bedroll_straw)
Could not unload undefined prefab 0xadfdb7ae (armor_sanity)
Could not unload undefined prefab 0x76d26529 (bugnet)
Could not unload undefined prefab 0x5ce426c4 (blowdart_fire)
Could not unload undefined prefab 0x4740cff7 (tent)
Could not unload undefined prefab 0xb4d742b3 (tent_placer)
Could not unload undefined prefab 0x8a2d55ba (catcoonhat)
Could not unload undefined prefab 0x4116c653 (raincoat)
Could not unload undefined prefab 0x62a5e7fe (nightlight)
Could not unload undefined prefab 0x185806ec (nightlight_placer)
Could not unload undefined prefab 0xa1e54a85 (goldenaxe)
Could not unload undefined prefab 0xe6af29d2 (compass)
Could not unload undefined prefab 0x19c004b2 (pighouse)
Could not unload undefined prefab 0x469fe538 (pighouse_placer)
Could not unload undefined prefab 0xca16846d (boards)
Could not unload undefined prefab 0xfa14dec6 (birdtrap)
Could not unload undefined prefab 0x7c11af2 (treasurechest)
Could not unload undefined prefab 0xd411bef8 (treasurechest_placer)
Could not unload undefined prefab 0xef21c9f2 (rope)
Could not unload undefined prefab 0xb981ecda (fast_farmplot)
Could not unload undefined prefab 0x6c77c310 (fast_farmplot_placer)
Could not unload undefined prefab 0xbcfca634 (strawhat)
Could not unload undefined prefab 0x111db7ae (footballhat)
Could not unload undefined prefab 0x1eee0485 (transistor)
Could not unload undefined prefab 0x1cd9e60e (razor)
Could not unload undefined prefab 0x1541c9cc (armorruins)
Could not unload undefined prefab 0xe87e06c0 (icebox)
Could not unload undefined prefab 0xf2bd1baa (icebox_placer)
Could not unload undefined prefab 0x36768a92 (orangestaff)
Could not unload undefined prefab 0x2ca456a0 (orangeamulet)
Could not unload undefined prefab 0xff7a976 (staff_tornado)
Could not unload undefined prefab 0xd8067599 (beehat)
Could not unload undefined prefab 0xc22935e4 (icepack)
Could not unload undefined prefab 0x739fbe3c (homesign)
Could not unload undefined prefab 0x33fdbd2e (homesign_placer)
Could not unload undefined prefab 0x1c42203 (bell)
Could not unload undefined prefab 0x15220700 (backpack)
Could not unload undefined prefab 0xa8b25abc (wall_ruins_item)
Could not unload undefined prefab 0x3ede96f8 (nightstick)
Could not unload undefined prefab 0xd5201c09 (beebox)
Could not unload undefined prefab 0x753b7621 (beebox_placer)
Could not unload undefined prefab 0xb918c5fd (fishingrod)
Could not unload undefined prefab 0x651e3e9e (eyebrellahat)
Could not unload undefined prefab 0x92ccc001 (coldfirepit)
Could not unload undefined prefab 0x21e04429 (coldfirepit_placer)
Could not unload undefined prefab 0x5a59f5cc (goldenshovel)
Could not unload undefined prefab 0x2e54b535 (cane)
Could not unload undefined prefab 0xb6201ac9 (onemanband)
Could not unload undefined prefab 0x4685284 (umbrella)
Could not unload undefined prefab 0xda1f7edf (winterometer)
Could not unload undefined prefab 0x955229cb (winterometer_placer)
Could not unload undefined prefab 0xe2bfa46 (tophat)
Could not unload undefined prefab 0xacbea762 (fertilizer)
Could not unload undefined prefab 0x3949a42 (meatrack)
Could not unload undefined prefab 0x56340ba8 (meatrack_placer)
Could not unload undefined prefab 0x6dda899f (watermelonhat)
Could not unload undefined prefab 0x94cf6c04 (goldenpickaxe)
Could not unload undefined prefab 0x86860bc2 (boomerang)
Could not unload undefined prefab 0xb1fa364d (pickaxe)
Could not unload undefined prefab 0x3cb06493 (healingsalve)
Could not unload undefined prefab 0x39311b4d (grass_umbrella)
Could not unload undefined prefab 0x37c31aa6 (lantern)
Could not unload undefined prefab 0xbc429ef3 (bushhat)
Could not unload undefined prefab 0x80cb1e18 (featherhat)
Could not unload undefined prefab 0x3edae42e (multitool_axe_pickaxe)
Could not unload undefined prefab 0x7f2d088c (armorwood)
Could not unload undefined prefab 0x46094f1b (beefalohat)
Could not unload undefined prefab 0xf8e41fa9 (bedroll_furry)
Could not unload undefined prefab 0xcda99af6 (winterhat)
Could not unload undefined prefab 0x1c48b877 (campfire)
Could not unload undefined prefab 0xdfe3a33 (campfire_placer)
Could not unload undefined prefab 0x4d9a964d (trap)
Could not unload undefined prefab 0x68370bd6 (trap_teeth)
Could not unload undefined prefab 0x4058bc0 (molehat)
Could not unload undefined prefab 0xcad92460 (flowerhat)
Could not unload undefined prefab 0xec43b9f4 (sewing_kit)
Could not unload undefined prefab 0xfb180669 (blowdart_sleep)
Could not unload undefined prefab 0x38967bb2 (researchlab)
Could not unload undefined prefab 0x77e9ae38 (researchlab_placer)
Could not unload undefined prefab 0x8bbc7f55 (beemine)
Could not unload undefined prefab 0xdf13a0c1 (ruins_bat)
Could not unload undefined prefab 0x22ec3802 (wall_stone_item)
Could not unload undefined prefab 0x8d60ee3a (coldfire)
Could not unload undefined prefab 0xe72d29b0 (coldfire_placer)
Could not unload undefined prefab 0x263bc4d5 (slow_farmplot)
Could not unload undefined prefab 0x321f7255 (slow_farmplot_placer)
Could not unload undefined prefab 0xe5071541 (nightmare_timepiece)
Could not unload undefined prefab 0xc3bf310c (blueamulet)
Could not unload undefined prefab 0x2ae7e3b3 (purplegem)
Could not unload undefined prefab 0x6f21e747 (piggyback)
Could not unload undefined prefab 0xf0330963 (panflute)
Could not unload undefined prefab 0xdb20fa95 (heatrock)
Could not unload undefined prefab 0x1153dbb9 (pottedfern)
Could not unload undefined prefab 0xf2102a71 (pottedfern_placer)
Could not unload undefined prefab 0x33ab6997 (hud)
Could not unload undefined prefab 0x3364203d (forest)
Could not unload undefined prefab 0x2e5cb72d (cave)
Could not unload undefined prefab 0x40b82ff2 (maxwell)
Could not unload undefined prefab 0xbddda476 (fire)
Could not unload undefined prefab 0x1078732c (character_fire)
Could not unload undefined prefab 0x427b5b39 (shatter)
scripts/gamelogic.lua(120,1) Unload BE done
scripts/dlcsupport.lua(24,1) Load scripts/DLC001_prefab_files
HttpClientWriteCallback (0x022F3207, 1, 16, 0x06F2FB90)
HttpClientWriteCallback READ 16 (16 total)
scripts/mods.lua(269,1) Mod: extended sample character (Extended Sample Character) Registering prefabs
scripts/mods.lua(275,1) Mod: extended sample character (Extended Sample Character) Registering prefab file: prefabs/esctemplate
scripts/mods.lua(279,1) Mod: extended sample character (Extended Sample Character) esctemplate
scripts/mods.lua(292,1) Mod: extended sample character (Extended Sample Character) Registering default mod prefab
scripts/gamelogic.lua(132,1) Load FE
scripts/gamelogic.lua(136,1) Load FE: done
scripts/screens/mainscreen.lua(576,1) platform_motd table: 114A99D0
SimLuaProxy::QueryServer()
scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully.

Reset() returning
QueryServerComplete no callback
HttpClientWriteCallback (0x022F3164, 1, 1273, 0x06F2FB90)
HttpClientWriteCallback READ 1273 (1273 total)
scripts/screens/mainscreen.lua(576,1) platform_motd table: 1149B880
scripts/mods.lua(304,1) unloading prefabs for mod MOD_extended sample character
Collecting garbage...
lua_gc took 0.02 seconds
~SimLuaProxy()
lua_close took 0.02 seconds
ReleaseAll
ReleaseAll Finished
cGame::StartPlaying
LOADING LUA
DoLuaFile scripts/main.lua
DoLuaFile loading buffer scripts/main.lua
scripts/main.lua(161,1) running main.lua

scripts/modindex.lua(311,1) loaded modindex
scripts/modindex.lua(75,1) ModIndex: Beginning normal load sequence.

scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_extended sample character
scripts/mods.lua(152,1) Loading mod: extended sample character (Extended Sample Character)
scripts/mods.lua(179,1) Mod: extended sample character (Extended Sample Character) Loading modworldgenmain.lua
scripts/mods.lua(187,1) Mod: extended sample character (Extended Sample Character) Mod had no modworldgenmain.lua. Skipping.
scripts/mods.lua(179,1) Mod: extended sample character (Extended Sample Character) Loading modmain.lua
LOADING LUA SUCCESS
scripts/playerdeaths.lua(74,1) PlayerDeaths could not load morgue
scripts/playerprofile.lua(480,1) loaded profile
scripts/playerprofile.lua(544,1) bloom_enabled false
scripts/saveindex.lua(99,1) loaded saveindex
scripts/gamelogic.lua(1162,1) OnFilesLoaded()
scripts/gamelogic.lua(1151,1) OnUpdatePurchaseStateComplete
scripts/gamelogic.lua(148,1) Unload FE
scripts/gamelogic.lua(150,1) Unload FE done
scripts/mods.lua(269,1) Mod: extended sample character (Extended Sample Character) Registering prefabs
scripts/mods.lua(275,1) Mod: extended sample character (Extended Sample Character) Registering prefab file: prefabs/esctemplate
scripts/mods.lua(279,1) Mod: extended sample character (Extended Sample Character) esctemplate
scripts/mods.lua(292,1) Mod: extended sample character (Extended Sample Character) Registering default mod prefab
scripts/gamelogic.lua(164,1) LOAD BE
Could not preload undefined prefab 0x350a87f2 (note)
Could not preload undefined prefab 0x350a87f2 (note)
Could not preload undefined prefab 0x350a87f2 (note)
scripts/gamelogic.lua(172,1) LOAD BE: done
MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
MiniMapComponent::AddAtlas( ../mods/extended sample character/images/map_icons/esctemplate.xml )
...ded sample character/scripts/prefabs/esctemplate.lua:58: attempt to index field 'dapperness' (a nil value)
LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/extended sample character/scripts/prefabs/esctemplate.lua(58,1) in function 'customfn'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/prefabs/player_common.lua(309,1) in function 'fn'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(127,1)
=[C] in function 'SpawnPrefab'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(161,1) in function 'SpawnPrefab'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(466,1) in function 'PopulateWorld'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(832,1) in function 'DoInitGame'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1008,1) in function 'cb'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(512,1)
=[C] in function 'GetPersistentString'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(489,1) in function 'GetSaveData'
...
=[C] in function 'GetPersistentString'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(91,1) in function 'Load'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1179,1) in function 'callback'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(574,1) in function 'Set'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(458,1)
=[C] in function 'GetPersistentString'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(456,1) in function 'Load'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1178,1) in main chunk
=[C] in function 'require'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(652,1)
scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen
...amapps/common/dont_starve/data/scripts/gamelogic.lua:467: could not spawn player character
LUA ERROR stack traceback:
=[C] in function 'assert'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(467,1) in function 'PopulateWorld'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(832,1) in function 'DoInitGame'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1008,1) in function 'cb'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(512,1)
=[C] in function 'GetPersistentString'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(489,1) in function 'GetSaveData'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1010,1) in function 'DoLoadWorld'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1057,1) in function 'LoadSlot'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1123,1) in function 'DoResetAction'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1158,1) in function 'complete_callback'
...
=[C] in function 'GetPersistentString'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(91,1) in function 'Load'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1179,1) in function 'callback'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(574,1) in function 'Set'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(458,1)
=[C] in function 'GetPersistentString'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(456,1) in function 'Load'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1178,1) in main chunk
=[C] in function 'require'
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(652,1)
scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully.
 

Link to comment
Share on other sites

hmm. i looked at what was wrong with mine. have you renamed your builds and made sure that it was all lowercase except for the parts that requires capitals? what was wrong with mine was i named my characters prefab name as Cbk, and when i changed it to cbk, it fixed it oddly. if anything, Mobbstar probably knows alot about some of these issues. also since you are working with the extended template, you could also try talking to DragonDePlatino. i work with the outdated sample character mod, and DragonDePlatino would be able to assist you much further. what is your characters name and their abbreviation? and i noticed you tried something with dapperness? could you attach your prefab file so that i may see if you have any errors that stick out to me.

Link to comment
Share on other sites

I tested this character before I made any changes at all, and it worked. Without changing any names of files or directories, I changed some prefabs and artwork. Other than that, I don't remember changing anything at all.

 

I feel like if I were to come right out and ask certain people for help as I am so new to the forums and/or community it would be more trouble to them. I would like to not annoy anyone.

 

From what I can assess "Dapperness" is a level in which you gain sanity back over time. Maxwell uses this, and his level is set at 20. He gains sanity pretty steadily. I have made no changes to the dapperness component, just tried to use it in the character. I will attach the dapperness.lua file to this post.

dapperness.lua

Link to comment
Share on other sites

i am well aware of the dapperness. lol. im currently using it very impulsively. so you havent changed any names in it? and all you have done is modified the artwork and added the dapperness of waxwell into your character? also, you are trying to make this for only the base game and not DST right? either way i can try to help. i would like to look at your prefab and skim it over.

Link to comment
Share on other sites

I added a lot of different things to the character such as changing the health, damage, sanity, etc. Other than that and art, I don't remember changing anything.

 

I am only trying to make this character for Don't Starve single player and not DST right now. I would like to to work in DST when it's finished, though. Is this difficult to do?

 

 

This is what is in the .lua file inside of the 'prefabs' folder for my custom character.


local MakePlayerCharacter = require "prefabs/player_common"


local assets = {

Asset( "ANIM", "anim/player_basic.zip" ),
Asset( "ANIM", "anim/player_idles_shiver.zip" ),
Asset( "ANIM", "anim/player_actions.zip" ),
Asset( "ANIM", "anim/player_actions_axe.zip" ),
Asset( "ANIM", "anim/player_actions_pickaxe.zip" ),
Asset( "ANIM", "anim/player_actions_shovel.zip" ),
Asset( "ANIM", "anim/player_actions_blowdart.zip" ),
Asset( "ANIM", "anim/player_actions_eat.zip" ),
Asset( "ANIM", "anim/player_actions_item.zip" ),
Asset( "ANIM", "anim/player_actions_uniqueitem.zip" ),
Asset( "ANIM", "anim/player_actions_bugnet.zip" ),
Asset( "ANIM", "anim/player_actions_fishing.zip" ),
Asset( "ANIM", "anim/player_actions_boomerang.zip" ),
Asset( "ANIM", "anim/player_bush_hat.zip" ),
Asset( "ANIM", "anim/player_attacks.zip" ),
Asset( "ANIM", "anim/player_idles.zip" ),
Asset( "ANIM", "anim/player_rebirth.zip" ),
Asset( "ANIM", "anim/player_jump.zip" ),
Asset( "ANIM", "anim/player_amulet_resurrect.zip" ),
Asset( "ANIM", "anim/player_teleport.zip" ),
Asset( "ANIM", "anim/wilson_fx.zip" ),
Asset( "ANIM", "anim/player_one_man_band.zip" ),
Asset( "ANIM", "anim/shadow_hands.zip" ),
Asset( "SOUND", "sound/sfx.fsb" ),
Asset( "SOUND", "sound/wilson.fsb" ),
Asset( "ANIM", "anim/beard.zip" ),

Asset( "ANIM", "anim/esctemplate.zip" ),
}
local prefabs = {}
local start_inv = {
-- Custom starting items
}

local fn = function(inst)

-- choose which sounds this character will play
inst.soundsname = "maxwell"

-- Minimap icon
inst.MiniMapEntity:SetIcon( "esctemplate.tex" )

-- Stats
inst.components.health:SetMaxHealth(300)
inst.components.hunger:SetMax(200)
inst.components.sanity:SetMax(200)

inst.components.sanity.night_drain_mult = .5

inst.components.locomotor.walkspeed = 5
inst.components.locomotor.runspeed = 9

inst.components.combat.damagemultiplier = 300

inst.components.hunger.hungerrate = .5

inst.components.dapperness.dapperness = 0
end

return MakePlayerCharacter("esctemplate", prefabs, assets, fn, start_inv)
Link to comment
Share on other sites

looking again at your log it says this

MiniMapComponent::AddAtlas( ../mods/extended sample character/images/map_icons/esctemplate.xml )
...ded sample character/scripts/prefabs/esctemplate.lua:58: attempt to index field 'dapperness' (a nil value)
LUA ERROR stack traceback:

what this means is dapperness in your character file returned a nil value. i had an issue like this similar to this when working with DST compatability. try setting a number besides 0 to the dapperness. if you plan to keep it at 0, then you can just remove this line of code since its pretty much filler without it effecting anything. im not sure this is what breaks your character, but sometimes the code is odd. ive had some odd stuff fix my code too :D tell me if changing that number to greater than 0 fixes it at all.

Link to comment
Share on other sites

I did change the number from 0 to 10, and it still crashed like before.

 

I removed the dapperness line entirely and the character now works along with all of the effects, but the art I changed is not working, it is the same as it was before I had changed any of it at all

Link to comment
Share on other sites

alright. let me look at my code for a sec about the dapperness.

what you had wrong about the dapper, was it wasnt the dapperness component u needed to cite, it was the sanity.

here is my dapper code (anything above 4 is waaay too much.)

inst.components.sanity.dapperness = 12

type it into your code exactly like this. change the number that suites your character. send a personal msg to DragonDePlatino about the extended template as i have no experience with it. im glad i could help. msg me if you have any other questions :D

Link to comment
Share on other sites

Thank you so much WitchDocter! You really helped me. I understand prefabs a little bit more now. I'm still not sure what the Don't Starve Mod Tools does (other than auto-compiling) but nevertheless thank you. I probably won't contact DragonDePlatino personally until I feel more comfortable to do so.

Link to comment
Share on other sites

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.

×
  • Create New...