Jump to content

Debugging Help


Recommended Posts

I've added a couple of abilities and new items for my custom character to use. So far, I've had a few errors but I've done pretty good at debugging them. After a bit of back and forth, the character select screen loads up, I select my character and get one more error, this time, I believe it has something to do with one of the core files? Regardless, I can't figure this one out.

Any type of guidance appreciated.

Untitled.png

Link to comment
Share on other sites

Error screen alone, without the mod or the error log, is usually not enough to help people figure what's going on.

 

See here how to find the error log, copy the log so people can see the error, and attach your mod (.zip of the mod). Of course, with the log you could be able to fix it yourself.

Link to comment
Share on other sites

I see. I was hoping that someone would elaborate the error to me and provide some reasons to why it wouldn't be working and I could've worked with that, but I can upload my content in question.

To add other information, I added a custom Desert Goggles and custom Boomerag to the character as well as building a recipe for them. Character also has tuning modifiers but I made sure those work beforehand.

lento_klei.zip

Edited by Dingbat1991
Link to comment
Share on other sites

Actually, I checked the log. Orphaned resources?

 

[00:01:43]:  Manager - ORPHANED UNKNOWN RESOURCES:
[00:01:43]: anim/ds_spider_caves.zip:DS_spider_caves--atlas-0.tex - 1
[00:01:43]: anim/staff_projectile.zip:staff_projectile--atlas-0.tex - 1
[00:01:43]: anim/statue_ruins_small_gem.zip:statue_ruins_small_gem--atlas-0.tex - 1
[00:01:43]: anim/kiki_basic.zip:kiki_basic--atlas-0.tex - 1
[00:01:43]: anim/thulecite.zip:thulecite--atlas-0.tex - 1
[00:01:43]: anim/fire_large_character.zip:fire_large_character--atlas-0.tex - 1
[00:01:43]: anim/hat_winter.zip:hat_winter--atlas-0.tex - 1
[00:01:43]: anim/nitre.zip:nitre--atlas-0.tex - 1
[00:01:43]: anim/tree_leaf_fx_red.zip:tree_leaf_fx_red--atlas-0.tex - 1
[00:01:43]: anim/fossil_spike.zip:fossil_spike--atlas-0.tex - 1
[00:01:43]: anim/werepig_build.zip:werepig_build--atlas-0.tex - 1
[00:01:43]: anim/bat_basic.zip:bat_basic--atlas-0.tex - 1
[00:01:43]: anim/gems.zip:gems--atlas-0.tex - 1
[00:01:43]: anim/hat_catcoon.zip:hat_catcoon--atlas-0.tex - 1
[00:01:43]: anim/kiki_nightmare_skin.zip:kiki_nightmare_skin--atlas-0.tex - 1
[00:01:43]: anim/meat_rack_food.zip:meat_rack_food--atlas-0.tex - 1
[00:01:43]: anim/moonrock_nugget.zip:moonrock_nugget--atlas-0.tex - 1
[00:01:43]: anim/pig_guard_build.zip:pig_guard_build--atlas-0.tex - 1
[00:01:43]: anim/flowers_evil.zip:flowers_evil--atlas-0.tex - 1
[00:01:43]: anim/amulets.zip:amulets--atlas-0.tex - 1
[00:01:43]: anim/statue_ruins.zip:statue_ruins--atlas-0.tex - 1
[00:01:43]: anim/staffs.zip:staffs--atlas-0.tex - 1
[00:01:43]: anim/swap_cane.zip:swap_cane--atlas-0.tex - 1
[00:01:43]: anim/ash.zip:ash--atlas-0.tex - 1
[00:01:43]: anim/fire_large_character.zip:fire_large_character--atlas-1.tex - 1
[00:01:43]: anim/structure_collapse_fx.zip:structure_collapse_fx--atlas-0.tex - 1
[00:01:43]: anim/staff.zip:staff--atlas-0.tex - 1
[00:01:43]: anim/armor_slurtleshell.zip:armor_slurtleshell--atlas-0.tex - 1
[00:01:43]: anim/pig_build.zip:pig_build--atlas-0.tex - 1
[00:01:43]: anim/hat_beefalo.zip:hat_beefalo--atlas-0.tex - 1
[00:01:43]: anim/meat_human.zip:meat_human--atlas-0.tex - 1
[00:01:43]: anim/meat_small.zip:meat_small--atlas-0.tex - 1
[00:01:43]: anim/shadow_insanity1_basic.zip:shadow_insanity1_basic--atlas-0.tex - 1
[00:01:43]: anim/wilsonstatue.zip:wilsonstatue--atlas-0.tex - 1
[00:01:43]: anim/nightmarefuel.zip:nightmarefuel--atlas-0.tex - 1
[00:01:43]: anim/statue_ruins_fx.zip:statue_ruins_fx--atlas-0.tex - 1
[00:01:43]: anim/shadow_insanity2_basic.zip:shadow_insanity2_basic--atlas-0.tex - 1
[00:01:43]: anim/star_cold.zip:star_cold--atlas-0.tex - 1
[00:01:43]: anim/tree_leaf_fx_orange.zip:tree_leaf_fx_orange--atlas-0.tex - 1
[00:01:43]: anim/flower_petals_evil.zip:flower_petals_evil--atlas-0.tex - 1
[00:01:43]: anim/spider_gland.zip:spider_gland--atlas-0.tex - 1
[00:01:43]: anim/statue_ruins.zip:statue_ruins--atlas-1.tex - 1
[00:01:43]: anim/hat_mole.zip:hat_mole--atlas-0.tex - 1
[00:01:43]: anim/star_hot.zip:star_hot--atlas-0.tex - 1
[00:01:43]: anim/charcoal.zip:charcoal--atlas-0.tex - 1
[00:01:43]: anim/flowers.zip:flowers--atlas-0.tex - 1
[00:01:43]: anim/ds_spider2_caves.zip:DS_spider2_caves--atlas-0.tex - 1
[00:01:43]: anim/cutgrass.zip:cutgrass--atlas-0.tex - 1
[00:01:43]: anim/drumstick.zip:drumstick--atlas-0.tex - 1
[00:01:43]: anim/poop.zip:poop--atlas-0.tex - 1
[00:01:43]: anim/statue_ruins_gem.zip:statue_ruins_gem--atlas-0.tex - 1
[00:01:43]: anim/trinkets.zip:trinkets--atlas-0.tex - 1
[00:01:43]: anim/meat.zip:meat--atlas-0.tex - 1
[00:01:43]: anim/swap_staffs.zip:swap_staffs--atlas-0.tex - 1
[00:01:43]: anim/poop_cloud.zip:poop_cloud--atlas-0.tex - 1
[00:01:43]: anim/splash_ocean.zip:splash_ocean--atlas-0.tex - 1
[00:01:43]: anim/pigspotted_build.zip:pigspotted_build--atlas-0.tex - 1
[00:01:43]: anim/marble.zip:marble--atlas-0.tex - 1
[00:01:43]: anim/batwing.zip:batwing--atlas-0.tex - 1
[00:01:43]: anim/spider_spit.zip:spider_spit--atlas-0.tex - 1
[00:01:43]: anim/shadow_insanity1_basic.zip:shadow_insanity1_basic--atlas-1.tex - 1
[00:01:43]: anim/mushrooms.zip:mushrooms--atlas-0.tex - 1
[00:01:43]: anim/log.zip:log--atlas-0.tex - 1
[00:01:43]: anim/smoke_puff_small.zip:smoke_puff_small--atlas-0.tex - 1
[00:01:43]: anim/plant_meat.zip:plant_meat--atlas-0.tex - 1
[00:01:43]: anim/sand_puff.zip:sand_puff--atlas-0.tex - 1
[00:01:43]: anim/spoiled_food.zip:spoiled_food--atlas-0.tex - 1
[00:01:43]: anim/silk.zip:silk--atlas-0.tex - 1
[00:01:43]: anim/hat_walrus.zip:hat_walrus--atlas-0.tex - 1
[00:01:43]: anim/mandrake.zip:mandrake--atlas-0.tex - 1
[00:01:43]: anim/armor_sanity.zip:armor_sanity--atlas-0.tex - 1
[00:01:43]: anim/armor_marble.zip:armor_marble--atlas-0.tex - 1
[00:01:43]: anim/bishop_attack.zip:bishop_attack--atlas-0.tex - 1
[00:01:43]: anim/blueprint_sketch.zip:blueprint_sketch--atlas-0.tex - 1
[00:01:43]: anim/crafting_table.zip:crafting_table--atlas-0.tex - 1
[00:01:43]: anim/torso_amulets.zip:torso_amulets--atlas-0.tex - 1
[00:01:43]: anim/gears.zip:gears--atlas-0.tex - 1
[00:01:43]: anim/die.zip:die--atlas-0.tex - 1
[00:01:43]: anim/winter_ornaments.zip:winter_ornaments--atlas-0.tex - 1
[00:01:43]: anim/tentacle_arm_build.zip:tentacle_arm_build--atlas-0.tex - 1
[00:01:43]: anim/statue_ruins_small.zip:statue_ruins_small--atlas-0.tex - 1
[00:01:43]: anim/batwing.zip:batwing--atlas-1.tex - 1
[00:01:43]: anim/meat_monster.zip:meat_monster--atlas-0.tex - 1
[00:01:43]: anim/twiggy_nut.zip:twiggy_nut--atlas-0.tex - 1
[00:01:43]: CurlRequestManager::ClientThread::Main() complete
[00:01:43]: HttpClient2 discarded 0 callbacks.

Link to comment
Share on other sites

@Dingbat1991 Your lento_goggles prefab is why it's exploding.

    local function lento_goggles()
        local inst = simple(lento_goggles_custom_init)
        
        inst.entity:SetPristine()
        if not TheWorld.ismastersim then
            return inst
        end

        inst.components.equippable.dapperness = TUNING.DAPPERNESS_TINY

        --inst:AddComponent("fueled")
        --inst.components.fueled.fueltype = FUELTYPE.USAGE
        --inst.components.fueled:InitializeFuelLevel(TUNING.GOGGLES_PERISHTIME * 10)
        --inst.components.fueled:SetDepletedFn(--[[generic_perish]]inst.Remove)

        return inst
    end
	
return Prefab("lento_goggles", lento_goggles, assets)

Added Pristine state and put the function in the Prefab function call.

 

This is also missing a lot of setup stuff found in prefab files.

I'd suggest looking at Klei's prefab files for how they're structured and replicate it.

Edited by CarlZalph
Link to comment
Share on other sites

Thank you for the help, but now I can't get a server started once again. This one I too can't figure out:

LUA ERROR stack traceback:
        ../mods/lento/modmain.lua(104,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(630,1) in function 'RunInEnvironment'
        scripts/mods.lua(483,1) in function 'InitializeModMain'
        scripts/mods.lua(457,1) in function 'LoadMods'
        scripts/main.lua(251,1) in function 'ModSafeStartup'
        scripts/main.lua(306,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(22,1) in function 'SavePersistentString'
        scripts/modindex.lua(76,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(63,1) in function 'BeginStartupSequence'
        scripts/main.lua(305,1) in function 'callback'
        scripts/modindex.lua(516,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(490,1) in function 'Load'
        scripts/main.lua(304,1) in main chunk
[00:00:31]: [string "scripts/mainfunctions.lua"]:963: variable 'global_error_widget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(963,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(22,1) in function 'SavePersistentString'
        scripts/modindex.lua(76,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(63,1) in function 'BeginStartupSequence'
        scripts/main.lua(305,1) in function 'callback'
        scripts/modindex.lua(516,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(490,1) in function 'Load'
        scripts/main.lua(304,1) in main chunk
[00:00:31]: DoLuaFile Error: (null)
[00:00:31]: LuaError but no error string
[00:00:31]: Error loading main.lua
[00:00:31]: Failed mSimulation->Reset()
[00:00:31]: Error during game restart!
[00:00:36]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:36]: Collecting garbage...
[00:00:36]: lua_gc took 0.02 seconds
[00:00:36]: ~ShardLuaProxy()
[00:00:36]: ~ItemServerLuaProxy()
[00:00:36]: ~InventoryLuaProxy()
[00:00:36]: ~NetworkLuaProxy()
[00:00:36]: ~SimLuaProxy()
[00:00:36]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:36]: lua_close took 0.01 seconds
[00:00:36]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:36]: [Steam] Auth ticket cancelled
[00:00:36]:  Manager - ORPHANED UNKNOWN RESOURCES:
[00:00:36]: shaders/ui_yuv.ksh - 1
[00:00:36]: CurlRequestManager::ClientThread::Main() complete
[00:00:36]: HttpClient2 discarded 0 callbacks.
[00:00:36]: Shutting down

Quote

 

This is also missing a lot of setup stuff found in prefab files.

I'd suggest looking at Klei's prefab files for how they're structured and replicate it.

 

You might have to be more specific with this one for me. I'm trying the best I can, but ultimately, I'm no programmer.

Link to comment
Share on other sites

Ok, I think there was more code I had to add to the goggles so maybe that's what you meant? Just one question however: What is "symname" and what do I name it? How is that different from "fname"?

Edited by Dingbat1991
Link to comment
Share on other sites

4 hours ago, Dingbat1991 said:

Ok, I think there was more code I had to add to the goggles so maybe that's what you meant?

Yes, it was probably that.

 

4 hours ago, Dingbat1991 said:

Just one question however: What is "symname" and what do I name it? How is that different from "fname"?

Looking in files, seems that symname is used only for hats. As far as i understand, they use the symname for the bank name, and the fname for the build name. Ok i'm not sure i will be clear, but you have theses lines

    local fname = "hat_"..name
    local symname = name.."hat"
    local prefabname = symname

It's just a way to don't have to write the same stuff again and again, instead each time they need to write "use this as a bank" they write "symname" and anytime they need to write "use this as a build" they write fname. Not sure about this, it's how i understand this.

Link to comment
Share on other sites

So I completely rewrote the Lento Goggles asset since that's what I assume was the problem, but I'm still getting error prompts on server loadups. The client log isn't helping me either. I don't know what to do at this point.

 

[00:00:01]: cGame::InitializeOnMainThread
[00:00:01]: WindowManager::Initialize
[00:00:01]: CreateWindow: Requesting 1920,1080 - 5/6/5 - -1/-1/-1 - 0
[00:00:01]: CreateEGLContext: 12 configs found
[00:00:01]:      0: 8/8/8 -  0/ 0/ 0 - 0
[00:00:01]:      1: 8/8/8 -  0/16/ 0 - 0
[00:00:01]:      2: 8/8/8 -  0/24/ 0 - 0
[00:00:01]:      3: 8/8/8 -  0/24/ 8 - 0
[00:00:01]:      4: 5/5/5 -  0/ 0/ 0 - 0
[00:00:01]:      5: 5/5/5 -  0/16/ 0 - 0
[00:00:01]:      6: 5/5/5 -  0/24/ 0 - 0
[00:00:01]:      7: 5/5/5 -  0/24/ 8 - 0
[00:00:01]:      8: 8/8/8 -  8/ 0/ 0 - 0
[00:00:01]:      9: 8/8/8 -  8/16/ 0 - 0
[00:00:01]:     10: 8/8/8 -  8/24/ 0 - 0
[00:00:01]:     11: 8/8/8 -  8/24/ 8 - 0
[00:00:01]: WindowManager::SetFullscreen(0, 1920, 1080, 60)
[00:00:01]: GLInfo
[00:00:01]: ~~~~~~
[00:00:01]: GL_VENDOR: Google Inc.
[00:00:01]: GL_RENDERER: ANGLE (NVIDIA GeForce GTX 950)
[00:00:01]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
[00:00:01]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
[00:00:01]: THREAD - started 'WindowsInputManager' (7040)
[00:00:01]: OpenGL extensions (19, 19):
[00:00:01]: GL_ANGLE_depth_texture
[00:00:01]: GL_ANGLE_framebuffer_blit
[00:00:01]: GL_ANGLE_framebuffer_multisample
[00:00:01]: GL_ANGLE_instanced_arrays
[00:00:01]: GL_ANGLE_pack_reverse_row_order
[00:00:01]: GL_ANGLE_texture_compression_dxt3
[00:00:01]: GL_ANGLE_texture_compression_dxt5
[00:00:01]: GL_ANGLE_texture_usage
[00:00:01]: GL_ANGLE_translated_shader_source
[00:00:01]: GL_EXT_read_format_bgra
[00:00:01]: GL_EXT_robustness
[00:00:01]: GL_EXT_texture_compression_dxt1
[00:00:01]: GL_EXT_texture_format_BGRA8888
[00:00:01]: GL_EXT_texture_storage
[00:00:01]: GL_OES_get_program_binary
[00:00:01]: GL_OES_packed_depth_stencil
[00:00:01]: GL_OES_rgb8_rgba8
[00:00:01]: GL_OES_standard_derivatives
[00:00:01]: GL_OES_texture_npot
[00:00:01]: GL_MAX_TEXTURE_SIZE = 16384
[00:00:01]: GL_MAX_TEXTURE_IMAGE_UNITS = 16
[00:00:01]: GL_MAX_RENDERBUFFER_SIZE = 16384
[00:00:01]: GL_MAX_VIEWPORT_DIMS = 16384, 16384
[00:00:01]: GL_MAX_VARYING_VECTORS = 10
[00:00:01]: GL_MAX_VERTEX_ATTRIBS = 16
[00:00:01]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254
[00:00:01]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
[00:00:01]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
[00:00:01]: 4 compressed texture formats
[00:00:01]: texture format 0x83f0
[00:00:01]: texture format 0x83f1
[00:00:01]: texture format 0x83f2
[00:00:01]: texture format 0x83f3
[00:00:02]: Renderer initialize: Okay
[00:00:02]: AnimManager initialize: Okay
[00:00:02]: Buffers initialize: Okay
[00:00:02]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:03]: GameSpecific initialize: Okay
[00:00:03]: cGame::StartPlaying
[00:00:03]: LOADING LUA
[00:00:03]: DoLuaFile scripts/main.lua
[00:00:03]: DoLuaFile loading buffer scripts/main.lua
[00:00:03]: running main.lua
    
[00:00:03]: loaded modindex    
[00:00:03]: ModIndex:GetModsToLoad inserting moddir,     lento    
[00:00:03]: ModIndex: Detected bad load, disabling all mods.    
[00:00:05]: LOADING LUA SUCCESS
[00:00:05]: PlayerDeaths loaded morgue    3308    
[00:00:05]: PlayerHistory loaded player_history    7923    
[00:00:05]: bloom_enabled    false    
[00:00:05]: loaded saveindex    
[00:00:05]: OnFilesLoaded()    
[00:00:05]: OnUpdatePurchaseStateComplete    
[00:00:06]:     Load FE    
[00:00:07]:     Load FE: done    
[00:00:07]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/client_save/blocklist.txt (Failure)
[00:00:07]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/client_save/adminlist.txt (Failure)
[00:00:07]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/client_save/whitelist.txt (Failure)
[00:00:07]: SimLuaProxy::QueryServer()
[00:00:07]: ModIndex: Load sequence finished successfully.    
[00:00:07]: Reset() returning
[00:00:09]: [Steam] Auth Session Ticket requested...
[00:00:10]: [Steam] Got Auth Session Ticket
[00:00:10]: [200] Account Communication Success (3)
[00:00:10]: loaded inventory_cache
[00:00:10]: Logging in as KU_7p7JZsaZ
[00:00:10]: loaded inventory_cache
[00:00:12]: SimLuaProxy::QueryServer()
[00:00:13]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}
[00:00:13]: Frontend-Unloading mod 'all'.    
[00:00:14]: FrontendLoadMod    lento    
[00:00:14]: Could not load mod_config_data/modconfiguration_lento    
[00:00:14]: Fontend-Loading mod: lento (Lento) Version:0.95    
[00:00:14]: Mod: lento (Lento)    Loading modworldgenmain.lua    
[00:00:14]: Mod: lento (Lento)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:16]: Could not load mod_config_data/modconfiguration_lento    
[00:00:16]: Network tick rate: U=15(2), D=0
[00:00:16]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:16]: About to start a server with the following settings:
[00:00:16]:   Dedicated: false
[00:00:16]:   Online: true
[00:00:16]:   Passworded: false
[00:00:16]:   ServerPort: 10999
[00:00:16]:   SteamAuthPort: 8766
[00:00:16]:   SteamMasterServerPort: 27016
[00:00:16]:   ClanID: false
[00:00:16]:   ClanOnly: false
[00:00:16]:   ClanAdmin: false
[00:00:16]:   LanOnly: true
[00:00:16]:   FriendsOnly: false
[00:00:16]:   EnableAutosaver: true
[00:00:16]:   PVP: false
[00:00:16]:   MaxPlayers: 1
[00:00:16]:   GameMode: survival
[00:00:16]:   OverridenDNS:
[00:00:16]:   PauseWhenEmpty: true
[00:00:16]:   VoteEnabled: false
[00:00:16]:   InternetBroadcasting: true
[00:00:16]:   Intent: social
[00:00:16]: [Warning] Could not confirm port 10999 is open in the firewall.
[00:00:16]: Could not load mod_config_data/modconfiguration_lento    
[00:00:16]: Online Server Started on port: 10999
[00:00:18]: Collecting garbage...
[00:00:18]: lua_gc took 0.04 seconds
[00:00:18]: ~ShardLuaProxy()
[00:00:18]: ~ItemServerLuaProxy()
[00:00:18]: ~InventoryLuaProxy()
[00:00:18]: ~NetworkLuaProxy()
[00:00:18]: ~SimLuaProxy()
[00:00:18]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:18]: lua_close took 0.03 seconds
[00:00:18]: ReleaseAll
[00:00:18]: ReleaseAll Finished
[00:00:18]: cGame::StartPlaying
[00:00:18]: LOADING LUA
[00:00:18]: DoLuaFile scripts/main.lua
[00:00:18]: DoLuaFile loading buffer scripts/main.lua
[00:00:18]: running main.lua
    
[00:00:18]: loaded modindex    
[00:00:18]: ModIndex: Beginning normal load sequence.
    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     lento    
[00:00:18]: Could not load mod_config_data/modconfiguration_lento    
[00:00:18]: Loading mod: lento (Lento) Version:0.95    
[00:00:18]: Mod: lento (Lento)    Loading modworldgenmain.lua    
[00:00:18]: Mod: lento (Lento)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: lento (Lento)    Loading modmain.lua    
[00:00:18]: MOD ERROR: lento (Lento): Mod: lento (Lento)    
[00:00:18]: [string "../mods/lento/modmain.lua"]:104: attempt to index field 'WILSON' (a nil value)
LUA ERROR stack traceback:
        ../mods/lento/modmain.lua(104,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(630,1) in function 'RunInEnvironment'
        scripts/mods.lua(483,1) in function 'InitializeModMain'
        scripts/mods.lua(457,1) in function 'LoadMods'
        scripts/main.lua(251,1) in function 'ModSafeStartup'
        scripts/main.lua(306,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(22,1) in function 'SavePersistentString'
        scripts/modindex.lua(76,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(63,1) in function 'BeginStartupSequence'
        scripts/main.lua(305,1) in function 'callback'
        scripts/modindex.lua(516,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(490,1) in function 'Load'
        scripts/main.lua(304,1) in main chunk
[00:00:18]: [string "scripts/mainfunctions.lua"]:963: variable 'global_error_widget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(963,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(22,1) in function 'SavePersistentString'
        scripts/modindex.lua(76,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(63,1) in function 'BeginStartupSequence'
        scripts/main.lua(305,1) in function 'callback'
        scripts/modindex.lua(516,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(490,1) in function 'Load'
        scripts/main.lua(304,1) in main chunk
[00:00:18]: DoLuaFile Error: (null)
[00:00:18]: LuaError but no error string
[00:00:18]: Error loading main.lua
[00:00:18]: Failed mSimulation->Reset()
[00:00:18]: Error during game restart!
[00:00:19]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:19]: Collecting garbage...
[00:00:20]: lua_gc took 0.02 seconds
[00:00:20]: ~ShardLuaProxy()
[00:00:20]: ~ItemServerLuaProxy()
[00:00:20]: ~InventoryLuaProxy()
[00:00:20]: ~NetworkLuaProxy()
[00:00:20]: ~SimLuaProxy()
[00:00:20]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:20]: lua_close took 0.01 seconds
[00:00:20]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:20]: [Steam] Auth ticket cancelled
[00:00:20]:  Manager - ORPHANED UNKNOWN RESOURCES:
[00:00:20]: shaders/ui_yuv.ksh - 1
[00:00:20]: CurlRequestManager::ClientThread::Main() complete
[00:00:20]: HttpClient2 discarded 0 callbacks.
[00:00:20]: Shutting down

 

 

lento_klei.zip

Link to comment
Share on other sites

That directs to a global character string for Wilson. Is that not a thing in the game? I'll disable it and report back if anything.

EDIT: Okay, made progress (Thank you so much). There are still some unrelated errors but it looks like something I can figure out. I'll report back on a status later.

Edited by Dingbat1991
Link to comment
Share on other sites

ALMOST THERE!

The character's new items work with just one last thing. The animation for the custom boomerang doesn't show. It does however appear in the inventory and in Lento's hand. Let me know if you need an updated zip.

Goggles work, but I need to play around with positioning a little. Is it possible for them to sit over the face layers?

EDIT: Disregard last question about the goggles. The facial features are placed lower than usual and that kinda messes things up a little for me. Just need additional info for the boomerang.

Edited by Dingbat1991
Link to comment
Share on other sites

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
 Share

×
  • Create New...