Sysa Posted January 10, 2016 Share Posted January 10, 2016 I'm developing a character mod and have some problems with it.When I scroll characters in the select screen, everything is okay, but when I reach my mode character, there is this error: [00:00:47]: ../mods/Vasily the Homeless/images/names_Vasily.xmlLUA ERROR stack traceback: scripts/widgets/image.lua(34,1) in function 'SetTexture' scripts/screens/lobbyscreen.lua(691,1) in function 'SetPortraitImage' scripts/screens/lobbyscreen.lua(191,1) in function 'onChanged' scripts/widgets/dressuppanel.lua(413,1) in function 'onchangedfn' scripts/widgets/animspinner.lua(512,1) in function 'OnChanged' scripts/widgets/animspinner.lua(501,1) in function 'Changed' scripts/widgets/animspinner.lua(472,1) in function 'SetSelectedIndex' scripts/widgets/animspinner.lua(571,1) in function 'SetOptions' scripts/widgets/dressuppanel.lua(693,1) in function 'Reset' scripts/widgets/dressuppanel.lua(646,1) in function 'UpdateSpinners'... scripts/widgets/widget.lua(116,1) in function 'OnControl' scripts/widgets/widget.lua(116,1) in function 'OnControl' scripts/widgets/widget.lua(116,1) in function 'OnControl' scripts/widgets/widget.lua(116,1) in function 'OnControl' scripts/widgets/widget.lua(116,1) in function 'OnControl' scripts/widgets/widget.lua(116,1) in function 'OnControl' scripts/screens/lobbyscreen.lua(479,1) in function 'OnControl' scripts/frontend.lua(329,1) in function 'OnControl' scripts/input.lua(158,1) in function 'OnControl' scripts/input.lua(358,1) Link to comment Share on other sites More sharing options...
Mobbstar Posted January 10, 2016 Share Posted January 10, 2016 First of all, DST has its seperate modding forum, this is DS singleplayer. Make sure that image exists (both TEX and XML file). Link to comment Share on other sites More sharing options...
Sysa Posted January 11, 2016 Author Share Posted January 11, 2016 Oooh, God bless you yes, there was a mistake in the XML's code, many thanks.First of all, DST has its seperate modding forum, this is DS singleplayer. Make sure that image exists (both TEX and XML file). Link to comment Share on other sites More sharing options...
Sysa Posted January 12, 2016 Author Share Posted January 12, 2016 I have a new problem: after selecting the character, when you should spawn, game just stops on this screen mod's name is "Vasily" log.txt :[00:00:00]: Starting Up[00:00:00]: Version: 162028[00:00:00]: Current time: Tue Jan 12 23:14:56 2016[00:00:00]: Don't Starve Together: 162028 WIN32_STEAMNNN Build Date: 2016-01-08_17-15-11[00:00:00]: Parsing command line[00:00:00]: Command Line Arguments: [00:00:00]: Initializing Minidump handler[00:00:00]: ....Done[00:00:00]: Initializing Steam[00:00:00]: Steam AppBuildID: 924438[00:00:00]: Steam BetaName(Branch): [][00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (224)[00:00:00]: CurlRequestManager::ClientThread::Main()[00:00:02]: ProfileIndex:4.37[00:00:02]: [CONNECT] PendingConnection::Reset(true)[00:00:02]: Network tick rate: U=15(2), D=0[00:00:02]: Network tick rate: U=15(2), D=0[00:00:02]: Authorized application E:\GG\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe is enabled in the firewall.[00:00:02]: WindowsFirewall - Application already authorized[00:00:02]: loaded ping_cache[00:00:02]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)[00:00:02]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)[00:00:02]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)[00:00:02]: Offline user name: OU_76561198095296538[00:00:02]: SteamID: 76561198095296538[00:00:02]: cGame::InitializeOnMainThread[00:00:02]: WindowManager::Initialize[00:00:02]: CreateWindow: Requesting 1920,1080 - 5/6/5 - -1/-1/-1 - 0[00:00:02]: CreateEGLContext: 12 configs found[00:00:02]: 0: 8/8/8 - 0/ 0/ 0 - 0[00:00:02]: 1: 8/8/8 - 0/16/ 0 - 0[00:00:02]: 2: 8/8/8 - 0/24/ 0 - 0[00:00:02]: 3: 8/8/8 - 0/24/ 8 - 0[00:00:02]: 4: 5/5/5 - 0/ 0/ 0 - 0[00:00:02]: 5: 5/5/5 - 0/16/ 0 - 0[00:00:02]: 6: 5/5/5 - 0/24/ 0 - 0[00:00:02]: 7: 5/5/5 - 0/24/ 8 - 0[00:00:02]: 8: 8/8/8 - 8/ 0/ 0 - 0[00:00:02]: 9: 8/8/8 - 8/16/ 0 - 0[00:00:02]: 10: 8/8/8 - 8/24/ 0 - 0[00:00:02]: 11: 8/8/8 - 8/24/ 8 - 0[00:00:02]: WindowManager::SetFullscreen(0, 1920, 1080, 60)[00:00:03]: GLInfo[00:00:03]: ~~~~~~[00:00:03]: GL_VENDOR: Google Inc.[00:00:03]: GL_RENDERER: ANGLE (NVIDIA GeForce GTX 960)[00:00:03]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)[00:00:03]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)[00:00:03]: THREAD - started 'WindowsInputManager' (2108)[00:00:03]: OpenGL extensions (19, 19):[00:00:03]: GL_ANGLE_depth_texture[00:00:03]: GL_ANGLE_framebuffer_blit[00:00:03]: GL_ANGLE_framebuffer_multisample[00:00:03]: GL_ANGLE_instanced_arrays[00:00:03]: GL_ANGLE_pack_reverse_row_order[00:00:03]: GL_ANGLE_texture_compression_dxt3[00:00:03]: GL_ANGLE_texture_compression_dxt5[00:00:03]: GL_ANGLE_texture_usage[00:00:03]: GL_ANGLE_translated_shader_source[00:00:03]: GL_EXT_read_format_bgra[00:00:03]: GL_EXT_robustness[00:00:03]: GL_EXT_texture_compression_dxt1[00:00:03]: GL_EXT_texture_format_BGRA8888[00:00:03]: GL_EXT_texture_storage[00:00:03]: GL_OES_get_program_binary[00:00:03]: GL_OES_packed_depth_stencil[00:00:03]: GL_OES_rgb8_rgba8[00:00:03]: GL_OES_standard_derivatives[00:00:03]: GL_OES_texture_npot[00:00:03]: GL_MAX_TEXTURE_SIZE = 16384[00:00:03]: GL_MAX_TEXTURE_IMAGE_UNITS = 16[00:00:03]: GL_MAX_RENDERBUFFER_SIZE = 16384[00:00:03]: GL_MAX_VIEWPORT_DIMS = 16384, 16384[00:00:03]: GL_MAX_VARYING_VECTORS = 10[00:00:03]: GL_MAX_VERTEX_ATTRIBS = 16[00:00:03]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254[00:00:03]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4[00:00:03]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221[00:00:03]: 4 compressed texture formats[00:00:03]: texture format 0x83f0[00:00:03]: texture format 0x83f1[00:00:03]: texture format 0x83f2[00:00:03]: texture format 0x83f3[00:00:03]: Renderer initialize: Okay[00:00:03]: AnimManager initialize: Okay[00:00:03]: Buffers initialize: Okay[00:00:03]: 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]: scripts/main.lua(166,1) running main.lua [00:00:03]: loaded modindex [00:00:03]: ModIndex: Beginning normal load sequence. [00:00:05]: LOADING LUA SUCCESS[00:00:05]: PlayerDeaths loaded morgue 1906 [00:00:05]: PlayerHistory loaded player_history 1215 [00:00:05]: bloom_enabled true [00:00:05]: loaded saveindex [00:00:05]: OnFilesLoaded() [00:00:05]: OnUpdatePurchaseStateComplete [00:00:07]: Load FE [00:00:07]: Load FE: done [00:00:07]: SimLuaProxy::QueryServer()[00:00:07]: ModIndex: Load sequence finished successfully. [00:00:07]: Reset() returning[00:00:45]: [200] Account Failed (6): "E_EXPIRED_TOKEN"[00:00:45]: [Steam] Auth Session Ticket requested...[00:00:46]: [Steam] Got Auth Session Ticket[00:00:46]: cSteamAccountCommunication::SendRequest Clobbering current response[00:00:46]: [200] Account Communication Success (3)[00:00:46]: loaded inventory_cache[00:00:47]: loaded inventory_cache[00:00:48]: SimLuaProxy::QueryServer()[00:00:54]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}[00:01:00]: CURL ERROR: Operation timed out after 0 milliseconds with 0 out of 0 bytes received[00:01:00]: Network tick rate: U=15(2), D=0[00:01:00]: About to start a server with the following settings:[00:01:00]: Dedicated: false[00:01:00]: Online: true[00:01:00]: Passworded: false[00:01:00]: ServerPort: 10999[00:01:00]: SteamAuthPort: 8766[00:01:00]: SteamMasterServerPort: 27016[00:01:00]: ClanID: false[00:01:00]: ClanOnly: false[00:01:00]: ClanAdmin: false[00:01:00]: LanOnly: false[00:01:00]: EnablePunchthrough: false[00:01:00]: EnableAutosaver: true[00:01:00]: PVP: false[00:01:00]: MaxPlayers: 6[00:01:00]: GameMode: survival[00:01:00]: OverridenDNS: [00:01:00]: PauseWhenEmpty: false[00:01:00]: InternetBroadcasting: true[00:01:00]: Intent: cooperative[00:01:00]: [Warning] Could not confirm port 10999 is open in the firewall. [00:01:01]: Could not load mod_config_data/modconfiguration_Vasily the Homeless [00:01:01]: Online Server Started on port: 10999[00:01:02]: Could not load mod_config_data/modconfiguration_Vasily the Homeless [00:01:02]: Not applying world gen overrides. [00:01:02]: Collecting garbage...[00:01:02]: lua_gc took 0.01 seconds[00:01:02]: ~ShardLuaProxy()[00:01:02]: ~InventoryLuaProxy()[00:01:02]: ~NetworkLuaProxy()[00:01:02]: ~SimLuaProxy()[00:01:02]: SteamWorkshop::CancelDownloads clearing all unfinished downloads[00:01:02]: lua_close took 0.02 seconds[00:01:02]: ReleaseAll[00:01:02]: ReleaseAll Finished[00:01:02]: cGame::StartPlaying[00:01:03]: LOADING LUA[00:01:03]: DoLuaFile scripts/main.lua[00:01:03]: DoLuaFile loading buffer scripts/main.lua[00:01:03]: scripts/main.lua(166,1) running main.lua [00:01:03]: loaded modindex [00:01:03]: ModIndex: Beginning normal load sequence. [00:01:03]: ModIndex:GetModsToLoad inserting moddir, Vasily the Homeless [00:01:03]: Could not load mod_config_data/modconfiguration_Vasily the Homeless [00:01:03]: Loading mod: Vasily the Homeless Version:1.0 [00:01:03]: Mod: Vasily the Homeless Loading modworldgenmain.lua [00:01:03]: Mod: Vasily the Homeless Mod had no modworldgenmain.lua. Skipping. [00:01:03]: Mod: Vasily the Homeless Loading modmain.lua [00:01:03]: LOADING LUA SUCCESS[00:01:03]: PlayerDeaths loaded morgue 1906 [00:01:03]: PlayerHistory loaded player_history 1215 [00:01:03]: bloom_enabled true [00:01:03]: loaded saveindex [00:01:03]: OnFilesLoaded() [00:01:03]: OnUpdatePurchaseStateComplete [00:01:03]: Load Slot: ... generating new world [00:01:03]: WorldSim::SimThread::SimThread()[00:01:03]: ABOUT TO INSTALL STACKTRACE[00:01:03]: DoLuaFile scripts/stacktrace.lua[00:01:03]: DoLuaFile loading buffer scripts/stacktrace.lua[00:01:03]: INSTALLED STACKTRACE[00:01:03]: WorldSim::SimThread::SimThread() complete[00:01:03]: THREAD - started 'WorldSim' (6564)[00:01:03]: WorldSim::SimThread::Main()[00:01:03]: DoLuaFile scripts/worldgen_main.lua[00:01:03]: DoLuaFile loading buffer scripts/worldgen_main.lua[00:01:03]: ModIndex: Load sequence finished successfully. [00:01:03]: Reset() returning[00:01:03]: DLC enabled : false [00:01:03]: ModIndex:GetModsToLoad inserting modname, Vasily the Homeless [00:01:03]: Loading mod: Vasily the Homeless Version:1.0 [00:01:03]: Mod: Vasily the Homeless Loading modworldgenmain.lua [00:01:03]: Mod: Vasily the Homeless Mod had no modworldgenmain.lua. Skipping. [00:01:03]: scripts/worldgen_main.lua(80,1) running worldgen_main.lua [00:01:03]: scripts/worldgen_main.lua(82,1) SEED = 1452629759 [00:01:03]: scripts/worldgen_main.lua(439,1) Generating world with these parameters: [00:01:03]: scripts/worldgen_main.lua(440,1) level_type survival [00:01:03]: scripts/worldgen_main.lua(441,1) current_level 1 [00:01:03]: scripts/worldgen_main.lua(442,1) customizationpresets: [00:01:03]: scripts/worldgen_main.lua(444,1) worldgen_choices: [00:01:03]: K: presetdata V table: 1664E3C8 [00:01:03]: K: overrides V table: 1664E440 [00:01:03]: K: location V: forest [00:01:03]: K: text V: Together Forever [00:01:03]: K: data V: SURVIVAL_TOGETHER [00:01:03]: K: desc V: The multiplayer Don't Starve experience. [00:01:03]: K: tweak V table: 1664E490 [00:01:03]: scripts/worldgen_main.lua(467,1) ######### Generating SURVIVAL Mode Level######## [00:01:03]: scripts/worldgen_main.lua(475,1) WORLDGEN PRESET: SURVIVAL_TOGETHER [00:01:03]: scripts/worldgen_main.lua(483,1) WORLDGEN LEVEL ID: 1 [00:01:03]: scripts/worldgen_main.lua(490,1) ######### Generating Normal Mode Together Forever Level SURVIVAL_TOGETHER######## [00:01:03]: Maxwell3 added to Magic meadow [00:01:03]: Chessy_6 added to Make a pick [00:01:03]: ChessSpot3 added to The hunters [00:01:03]: Warzone_2 added to The hunters [00:01:03]: Chessy_2 added to The hunters [00:01:03]: scripts/worldgen_main.lua(525,1) ***************************** [00:01:03]: scripts/worldgen_main.lua(526,1) Final Worldgen Choices: [00:01:03]: K: level_id V: 1 [00:01:03]: K: presetdata V table: 1664E3C8 [00:01:03]: K: overrides V table: 1664E440 [00:01:03]: K: location V: forest [00:01:03]: K: text V: Together Forever [00:01:03]: K: data V: SURVIVAL_TOGETHER [00:01:03]: K: desc V: The multiplayer Don't Starve experience. [00:01:03]: K: preset V: SURVIVAL_TOGETHER [00:01:03]: K: finaltweak V table: 15D92810 [00:01:03]: K: tweak V table: 1664E490 [00:01:03]: scripts/worldgen_main.lua(528,1) ***************************** [00:01:03]: Creating story... [00:01:03]: LinkNodesByKeys [00:01:03]: Finding valid start task... [00:01:03]: ...picked Make a pick [00:01:03]: Has start node Clearing [00:01:03]: Baking map... 350 [00:01:03]: [WorldSimActual::GenerateVoronoiMap][00:01:03]: GenerateVoronoiMap [1]:[00:01:03]: ...Done.[00:01:03]: [AddEmptyNodes][00:01:03]: GenerateVoronoiMap [100]:[00:01:05]: ...Done.[00:01:05]: [WorldSimActual::GenerateVoronoiMap] complete [success][00:01:05]: [WorldSimActual::ConvertToTileMap][00:01:05]: [ConvertToTileMap][00:01:05]: [WorldSimActual::ConvertToTileMap] complete[00:01:05]: [WorldSimActual::SeparateIslands][00:01:05]: [SeparateIslands][00:01:05]: [WorldSimActual::SeparateIslands] complete[00:01:05]: Map Baked! [00:01:05]: [WorldSimActual::ForceConnectivity][00:01:05]: [GenerateLandmasses][00:01:05]: [MergeConnectedLandmasses] true[00:01:05]: [WorldSimActual::ForceConnectivity] complete[00:01:05]: [GetWormholesExtra] connected 0 unconnected 1[00:01:05]: [GetWormholesExtra] after: connected 1 unconnected 0[00:01:05]: [GetWormholesExtra] pushed 0 wormholes[00:01:05]: [WorldSimActual::DrawRoads][00:01:05]: [DrawRoads][00:01:05]: [WorldSimActual::DrawRoads] complete[00:01:05]: Encoding... [00:01:05]: Encoding... DONE [00:01:05]: Checking Tags [00:01:05]: Populating voronoi... [00:01:05]: Warning! Could not find a spot for LivingTree in node For a nice walk:4:DeepForest [00:01:05]: disconnected tiles... 0 [00:01:05]: Done forest map gen! [00:01:05]: scripts/worldgen_main.lua(248,1) Checking map... [00:01:05]: scripts/worldgen_main.lua(604,1) Generation complete [00:01:05]: WorldSim::SimThread::Main() complete[00:01:05]: Serializing world: session/61566DDBF95EC03D/0000000002[00:01:05]: Unload FE [00:01:05]: Unload FE done [00:01:06]: Mod: Vasily the Homeless Registering prefabs [00:01:06]: Mod: Vasily the Homeless Registering prefab file: prefabs/Vasily [00:01:06]: Mod: Vasily the Homeless Vasily [00:01:06]: Mod: Vasily the Homeless Registering prefab file: prefabs/Vasily_none [00:01:06]: Mod: Vasily the Homeless Vasily_none [00:01:06]: Mod: Vasily the Homeless Registering default mod prefab [00:01:06]: LOAD BE [00:01:08]: LOAD BE: done [00:01:08]: Begin Session: 61566DDBF95EC03D[00:01:08]: saving to server_temp/server_save [00:01:08]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )[00:01:08]: MiniMapComponent::AddAtlas( ../mods/Vasily the Homeless/images/map_icons/Vasily.xml )[00:01:08]: Could not preload undefined prefab 0x1872ccf0 (FROMNUM)[00:01:08]: Loading Nav Grid [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab) [00:01:09]: Can't find prefab spawnpoint [00:01:09]: SpawnSaveRecord [nil, spawnpoint] FAILED [00:01:10]: Reconstructing topology [00:01:10]: ...Sorting points [00:01:10]: ...Sorting edges [00:01:10]: ...Connecting nodes [00:01:10]: ...Validating connections [00:01:10]: ...Housekeeping [00:01:10]: ...Done! [00:01:10]: 1 uploads added to server. From server_temp[00:01:10]: Telling Client our new session identifier: 61566DDBF95EC03D[00:01:11]: [SHARD] Registering portal ID #1 [00:01:11]: Validating ID 1: world: <nil> (auto) available: false receives: 1 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #2 [00:01:11]: Validating ID 2: world: <nil> (auto) available: false receives: 2 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #3 [00:01:11]: Validating ID 3: world: <nil> (auto) available: false receives: 3 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #4 [00:01:11]: Validating ID 4: world: <nil> (auto) available: false receives: 4 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #5 [00:01:11]: Validating ID 5: world: <nil> (auto) available: false receives: 5 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #6 [00:01:11]: Validating ID 6: world: <nil> (auto) available: false receives: 6 status: inactive (disabled by prefab) [00:01:11]: Attempting to send resume request[00:01:11]: Received request to resume from: session/61566DDBF95EC03D/KU_fPbrPZS4_[00:01:11]: ReceiveResumeNotification[00:01:11]: Deleting user session from session/61566DDBF95EC03D/KU_fPbrPZS4_/0000000003[00:01:11]: [SHARD] Registering portal ID #7 [00:01:11]: Validating ID 7: world: <nil> (auto) available: false receives: 7 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #8 [00:01:11]: Validating ID 8: world: <nil> (auto) available: false receives: 8 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #9 [00:01:11]: Validating ID 9: world: <nil> (auto) available: false receives: 9 status: inactive (disabled by prefab) [00:01:11]: [SHARD] Registering portal ID #10 [00:01:11]: Validating ID 10: world: <nil> (auto) available: false receives: 10 status: inactive (disabled by prefab) [00:02:27]: Received request to spawn as (Vasily_none) Vasily from ANUS.Mushi[Host][00:02:27]: Received clothing request () () () ()[00:02:27]: Invalid spawn request received, defaulting to: Vasily () () () () ()[00:02:27]: Can't find prefab vasily [00:02:45]: Could not unload undefined prefab 0x1872ccf0 (FROMNUM)[00:02:45]: unloading prefabs for mod MOD_Vasily the Homeless [00:02:45]: Collecting garbage...[00:02:45]: lua_gc took 0.06 seconds[00:02:45]: ~ShardLuaProxy()[00:02:45]: ~InventoryLuaProxy()[00:02:45]: ~NetworkLuaProxy()[00:02:45]: ~SimLuaProxy()[00:02:45]: SteamWorkshop::CancelDownloads clearing all unfinished downloads[00:02:45]: lua_close took 0.12 seconds[00:02:46]: [Steam] Auth ticket cancelled[00:02:46]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:46]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:46]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:46]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:46]: CurlRequestManager::ClientThread::Main() complete[00:02:46]: HttpClient2 discarded 1 callbacks.[00:02:46]: Shutting down prefab :local MakePlayerCharacter = require "prefabs/player_common"local assets = { Asset("SCRIPT", "scripts/prefabs/player_common.lua"),}local prefabs = {}-- Custom starting itemslocal start_inv = {}-- When the character is revived from humanlocal function onbecamehuman(inst) -- Set speed when reviving from ghost (optional) inst.components.locomotor:SetExternalSpeedMultiplier(inst, "Vasily_speed_mod", 1)endlocal function onbecameghost(inst) -- Remove speed modifier when becoming a ghost inst.components.locomotor:RemoveExternalSpeedMultiplier(inst, "Vasily_speed_mod")end-- When loading or spawning the characterlocal function onload(inst) inst:ListenForEvent("ms_respawnedfromghost", onbecamehuman) if not inst:HasTag("playerghost") then onbecamehuman(inst) endend-- This initializes for both the server and client. Tags can be added here.local common_postinit = function(inst) -- Minimap icon inst.MiniMapEntity:SetIcon( "Vasily.tex" )end-- This initializes for the server only. Components are added here.local master_postinit = function(inst) -- choose which sounds this character will play inst.soundsname = "wilson" -- Uncomment if "wathgrithr"(Wigfrid) or "webber" voice is used --inst.talker_path_override = "dontstarve_DLC001/characters/" -- Stats inst.components.health:SetMaxHealth(150) inst.components.hunger:SetMax(100) inst.components.sanity:SetMax(120) -- Damage multiplier (optional) inst.components.combat.damagemultiplier = 0.75 -- Hunger rate (optional) inst.components.hunger.hungerrate = 0.5 * TUNING.WILSON_HUNGER_RATE inst.OnLoad = onload inst.OnNewSpawn = onload endreturn MakePlayerCharacter("Vasily", prefabs, assets, common_postinit, master_postinit, start_inv) prefab_none :local assets ={ Asset( "ANIM", "anim/Vasily.zip" ), Asset( "ANIM", "anim/ghost_Vasily_build.zip" ),}local skins ={ normal_skin = "Vasily", ghost_skin = "ghost_Vasily_build",}local base_prefab = "Vasily"local tags = {"VASILY", "CHARACTER"}return CreatePrefabSkin("Vasily_none",{ base_prefab = base_prefab, skins = skins, assets = assets, tags = tags, skip_item_gen = true, skip_giftable_gen = true,}) Link to comment Share on other sites More sharing options...
Muche Posted January 12, 2016 Share Posted January 12, 2016 (edited) From log: [00:02:27]: Can't find prefab vasilyFrom prefab: return MakePlayerCharacter("Vasily", prefabs, assets, common_postinit, master_postinit, start_inv)From scripts/mainfunctions.lua function SpawnPrefabFromSim(name) name = string.sub(name, string.find(name, "[^/]*$")) name = string.lower(name) local prefab = Prefabs[name] if prefab == nil then print( "Can't find prefab " .. tostring(name) ) return -1 endMy guess is the problem is the uppercase V in Vasily. Edited January 12, 2016 by Muche Link to comment Share on other sites More sharing options...
Sysa Posted January 12, 2016 Author Share Posted January 12, 2016 yes, you were right, thanks, beautiful man My guess is the problem is the uppercase V in Vasily. Link to comment 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