Jump to content

Recommended Posts

Ok, so I fixed all problems regarding trying to find nonexistent files, and I also used the logs to find out I needed to change some .tex fies to 2D. And it worked. Done.

But when I started to load a world with the character, it crashed?

Link to the new files: http://www.mediafire.com/?mz41ti26bjwn25y


Also, here is the error message I found in the logs:

.lua(141,1) Loading mod: Spawn Character 2 (Spawn Character2)
scripts/mods.lua(165,1) Mod: Spawn Character 2 (Spawn Character2) Loading modworldgenmain.lua
scripts/mods.lua(173,1) Mod: Spawn Character 2 (Spawn Character2)  Mod had no modworldgenmain.lua. Skipping.
scripts/mods.lua(165,1) Mod: Spawn Character 2 (Spawn Character2) Loading modmain.lua
scripts/mods.lua(255,1) Mod: Spawn Character 2 (Spawn Character2) Registering prefabs
scripts/mods.lua(261,1) Mod: Spawn Character 2 (Spawn Character2)  Registering prefab file: prefabs/wod
scripts/mods.lua(265,1) Mod: Spawn Character 2 (Spawn Character2)    Spawn
scripts/mods.lua(278,1) Mod: Spawn Character 2 (Spawn Character2)  Registering default mod prefab
LOADING LUA SUCCESS
scripts/playerdeaths.lua(74,1) PlayerDeaths could not load morgue
scripts/playerprofile.lua(268,1) loaded profile
scripts/playerprofile.lua(313,1) bloom_enabled true
scripts/saveindex.lua(75,1) loaded saveindex
scripts/gamelogic.lua(1046,1) OnFilesLoaded()
scripts/gamelogic.lua(1035,1) OnUpdatePurchaseStateComplete
scripts/gamelogic.lua(94,1) Unload FE
scripts/gamelogic.lua(96,1) Unload FE done
scripts/gamelogic.lua(98,1) LOAD BE
scripts/gamelogic.lua(101,1) LOAD BE: done
MiniMapComponent::SetAtlasInfo( minimap/minimap_data.xml )
Could not preload undefined prefab 0x3b0850ac (wod)
scripts/mainfunctions.lua(85,1) Can't find prefab wod
...amapps/common/dont_starve/data/scripts/gamelogic.lua:385: 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(385,1) in function 'PopulateWorld'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(736,1) in function 'DoInitGame'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(894,1) in function 'cb'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(367,1)
        =[C] in function 'GetPersistentString'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(344,1) in function 'GetSaveData'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(896,1) in function 'DoLoadWorld'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(943,1) in function 'LoadSlot'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1007,1) in function 'DoResetAction'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1042,1) in function 'complete_callback'
...
        =[C] in function 'GetPersistentString'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/saveindex.lua(67,1) in function 'Load'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1063,1) in function 'callback'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(335,1) in function 'Set'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(248,1)
        =[C] in function 'GetPersistentString'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/playerprofile.lua(246,1) in function 'Load'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/gamelogic.lua(1062,1) in main chunk
        =[C] in function 'require'
        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(602,1)
scripts/frontend.lua(475,1) SCRIPT ERROR! Showing error screen
scripts/modindex.lua(67,1) ModIndex: Load sequence finished successfully.

 

Could not preload undefined prefab 0x3b0850ac (wod)
scripts/mainfunctions.lua(85,1) Can't find prefab wod
 
here, replace wod with your character's prefab file's name

 

Yes, but all the files are named wod... Even the scripts/prefabs/ .lua files is called wod. So whats the problem?

  • Developer

I think it's because in 'wod.lua' you call 'MakePlayerCharacter("Spawn", prefabs, assets, fn)' and in 'modmain.lua' you call 'AddModCharacter("wod")'.  I believe those two names need to match.

Actually there might be another problem because this is what it looks like:

 

post-283016-0-41147300-1381779228_thumb.

It looks like something is wrong with your 'anim/wod.zip' file.  I'd suggest going through the steps in the Artist's Guide to Character/Item Modding and that should fix it up.

I'll fix that. But for some reason I can't even get it to start without it crashing still. I went to scripts/prefabs/wod.lua and changed the wod to spawn...

http://imgur.com/psAm1kx

  • Developer

I'll fix that. But for some reason I can't even get it to start without it crashing still. I went to scripts/prefabs/wod.lua and changed the wod to spawn...

http://imgur.com/psAm1kx

Check your log file.  There was one other lua error I had to fix.

  • Developer

What could it be then and how do I fix it? 

I got it working.  The problem was that your .tex file wasn't named correctly and that it was saved exported as '1d' instead of '2d'.  Here's a working file and a screenshot to match :-).

 

 

wod.zip

 

post-283016-0-48364200-1381904940_thumb.

I got it working.  The problem was that your .tex file wasn't named correctly and that it was saved exported as '1d' instead of '2d'.  Here's a working file and a screenshot to match :-).

 

 

attachicon.gifwod.zip

 

attachicon.gifwod.jpg

Oh my gosh :DDDDD Thank you so much! :joyous:

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