Jump to content

Crash upon spawning mob


Recommended Posts

Hello everyone! I'm making a humanoïd follower but (probably because it's been a while...) I keep on crashing my game! The log seems to be a total ***** when it comes to helping me and I can't see a clear problem in the code. So, I hope that someone would be kind enough to gift me with a bit of awesomeness and tell me what I did so freakishly wrong. =D

 

Here's the log :

 

 
 


[00:00:00]: Starting Up
[00:00:00]: Version: 161456
[00:00:00]: Current time: Tue Dec 29 21:10:22 2015

[00:00:00]: Don't Starve Together: 161456 WIN32_STEAM
NNN Build Date: 2015-12-24_15-06-32
[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: 912665
[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' (4740)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:17]: ProfileIndex:3.91
[00:00:17]: [CONNECT] PendingConnection::Reset(true)
[00:00:17]: Network tick rate: U=15(2), D=0
[00:00:17]: Network tick rate: U=15(2), D=0
[00:00:17]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Beta\bin\dontstarve_steam.exe is enabled in the firewall.
[00:00:17]: WindowsFirewall - Application already authorized
[00:00:17]: loaded ping_cache
[00:00:17]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)
[00:00:17]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)
[00:00:17]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)
[00:00:17]: Offline user name: OU_76561198062373436
[00:00:17]: SteamID: 76561198062373436
[00:00:17]: cGame::InitializeOnMainThread
[00:00:17]: WindowManager::Initialize
[00:00:17]: CreateWindow: Requesting 2556,1378 - 5/6/5 - -1/-1/-1 - 0
[00:00:17]: CreateEGLContext: 12 configs found
[00:00:17]:      0: 8/8/8 -  0/ 0/ 0 - 0
[00:00:17]:      1: 8/8/8 -  0/16/ 0 - 0
[00:00:17]:      2: 8/8/8 -  0/24/ 0 - 0
[00:00:17]:      3: 8/8/8 -  0/24/ 8 - 0
[00:00:17]:      4: 5/5/5 -  0/ 0/ 0 - 0
[00:00:17]:      5: 5/5/5 -  0/16/ 0 - 0
[00:00:17]:      6: 5/5/5 -  0/24/ 0 - 0
[00:00:17]:      7: 5/5/5 -  0/24/ 8 - 0
[00:00:17]:      8: 8/8/8 -  8/ 0/ 0 - 0
[00:00:17]:      9: 8/8/8 -  8/16/ 0 - 0
[00:00:17]:     10: 8/8/8 -  8/24/ 0 - 0
[00:00:17]:     11: 8/8/8 -  8/24/ 8 - 0
[00:00:17]: RestoreWindowPosition
[00:00:17]:    Saved Client Pos (0 x 30)
[00:00:17]:    Adjusted Window Pos (-8 x 0)
[00:00:17]: EnsureWindowOnScreen
[00:00:17]:    All good.
[00:00:17]: GLInfo
[00:00:17]: ~~~~~~
[00:00:17]: GL_VENDOR: Google Inc.
[00:00:17]: GL_RENDERER: ANGLE (NVIDIA GeForce GTX 680MX)
[00:00:17]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
[00:00:17]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
[00:00:17]: OpenGL extensions (19, 19):
[00:00:17]: GL_ANGLE_depth_texture
[00:00:17]: GL_ANGLE_framebuffer_blit
[00:00:17]: GL_ANGLE_framebuffer_multisample
[00:00:17]: GL_ANGLE_instanced_arrays
[00:00:17]: GL_ANGLE_pack_reverse_row_order
[00:00:17]: GL_ANGLE_texture_compression_dxt3
[00:00:17]: GL_ANGLE_texture_compression_dxt5
[00:00:17]: GL_ANGLE_texture_usage
[00:00:17]: GL_ANGLE_translated_shader_source
[00:00:17]: GL_EXT_read_format_bgra
[00:00:17]: GL_EXT_robustness
[00:00:17]: GL_EXT_texture_compression_dxt1
[00:00:17]: GL_EXT_texture_format_BGRA8888
[00:00:17]: GL_EXT_texture_storage
[00:00:17]: GL_OES_get_program_binary
[00:00:17]: GL_OES_packed_depth_stencil
[00:00:17]: GL_OES_rgb8_rgba8
[00:00:17]: GL_OES_standard_derivatives
[00:00:17]: GL_OES_texture_npot
[00:00:17]: THREAD - started 'WindowsInputManager' (1472)
[00:00:17]: GL_MAX_TEXTURE_SIZE = 16384
[00:00:17]: GL_MAX_TEXTURE_IMAGE_UNITS = 16
[00:00:17]: GL_MAX_RENDERBUFFER_SIZE = 16384
[00:00:17]: GL_MAX_VIEWPORT_DIMS = 16384, 16384
[00:00:17]: GL_MAX_VARYING_VECTORS = 10
[00:00:17]: GL_MAX_VERTEX_ATTRIBS = 16
[00:00:17]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254
[00:00:17]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
[00:00:17]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
[00:00:17]: 4 compressed texture formats
[00:00:17]: texture format 0x83f0
[00:00:17]: texture format 0x83f1
[00:00:17]: texture format 0x83f2
[00:00:17]: texture format 0x83f3
[00:00:17]: Renderer initialize: Okay
[00:00:18]: AnimManager initialize: Okay
[00:00:18]: Buffers initialize: Okay
[00:00:18]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:18]: GameSpecific initialize: Okay
[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]: scripts/main.lua(166,1) running main.lua
    
[00:00:18]: loaded modindex    
[00:00:18]: ModIndex: Beginning normal load sequence.
    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-345692228    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-347360448    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-352373173    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-365119238    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-369083187    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-376333686    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-394612159    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-416991215    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-496048926    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-506021221    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-345692228    
[00:00:18]: Loading mod: workshop-345692228 (Minimap HUD) Version:1.0.4b    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-347360448    
[00:00:18]: Loading mod: workshop-347360448 (DST Where's My Beefalo?) Version:1.4    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-352373173    
[00:00:18]: Loading mod: workshop-352373173 (Gesture Wheel) Version:1.4.2    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-365119238    
[00:00:18]: Loading mod: workshop-365119238 (SmartCrockPot) Version:4.02    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-369083187    
[00:00:18]: Loading mod: workshop-369083187 (NO RELEASE DEPLOYABLES) Version:1.0.5.1b    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-376333686    
[00:00:18]: Loading mod: workshop-376333686 (Always On Status) Version:1.2b1    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-394612159    
[00:00:18]: Loading mod: workshop-394612159 (Auto ReTrap) Version:1.02    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-416991215    
[00:00:18]: Loading mod: workshop-416991215 (Dusk and Night Music) Version:1.1.2    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-496048926    
[00:00:18]: Loading mod: workshop-496048926 (No Mods Warning - Client) Version:1.0.1    
[00:00:18]: Could not load mod_config_data/modconfiguration_workshop-506021221    
[00:00:18]: Loading mod: workshop-506021221 (DST Patch Francais) Version:4.4    
[00:00:18]: Mod: workshop-365119238 (SmartCrockPot)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-365119238 (SmartCrockPot)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-365119238 (SmartCrockPot)    Loading modmain.lua    
[00:00:18]: modimport: ../mods/workshop-365119238/modmain_segments/containerwidgetfunction.lua    
[00:00:18]: modimport: ../mods/workshop-365119238/modmain_segments/containers_setup.lua    
[00:00:18]: modimport: ../mods/workshop-365119238/modmain_segments/action_predict.lua    
[00:00:18]: WARNING: Positional Action parameters are deprecated. Please pass action a table instead.    
[00:00:18]: Action defined at     ../mods/workshop-365119238/modmain_segments/action_predict.lua:1 in (local) result (main) <0-0>    
[00:00:18]: Mod: workshop-376333686 (Always On Status)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-376333686 (Always On Status)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-376333686 (Always On Status)    Loading modmain.lua    
[00:00:18]: Mod: workshop-496048926 (No Mods Warning - Client)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-496048926 (No Mods Warning - Client)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-496048926 (No Mods Warning - Client)    Loading modmain.lua    
[00:00:18]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)    Loading modmain.lua    
[00:00:18]: Mod: workshop-345692228 (Minimap HUD)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-345692228 (Minimap HUD)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-345692228 (Minimap HUD)    Loading modmain.lua    
[00:00:18]: Mod: workshop-416991215 (Dusk and Night Music)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-416991215 (Dusk and Night Music)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-416991215 (Dusk and Night Music)    Loading modmain.lua    
[00:00:18]: Mod: workshop-347360448 (DST Where's My Beefalo?)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-347360448 (DST Where's My Beefalo?)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-347360448 (DST Where's My Beefalo?)    Loading modmain.lua    
[00:00:18]: Mod: workshop-506021221 (DST Patch Francais)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-506021221 (DST Patch Francais)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-506021221 (DST Patch Francais)    Loading modmain.lua    
[00:00:18]: Translator:LoadPOFile - loading file: ../mods/workshop-506021221/DSTFR.po    
[00:00:18]: Mod: workshop-394612159 (Auto ReTrap)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-394612159 (Auto ReTrap)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-394612159 (Auto ReTrap)    Loading modmain.lua    
[00:00:18]: Mod: workshop-352373173 (Gesture Wheel)    Loading modworldgenmain.lua    
[00:00:18]: Mod: workshop-352373173 (Gesture Wheel)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:18]: Mod: workshop-352373173 (Gesture Wheel)    Loading modmain.lua    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-345692228    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-347360448    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-352373173    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-365119238    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-369083187    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-376333686    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-394612159    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-416991215    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-496048926    
[00:00:18]: ModIndex:GetModsToLoad inserting moddir,     workshop-506021221    
[00:00:20]: LOADING LUA SUCCESS
[00:00:20]: PlayerDeaths loaded morgue    5509    
[00:00:20]: PlayerHistory loaded player_history    694    
[00:00:20]: bloom_enabled    false    
[00:00:20]: loaded saveindex    
[00:00:20]: OnFilesLoaded()    
[00:00:20]: OnUpdatePurchaseStateComplete    
[00:00:21]: Mod: workshop-365119238 (SmartCrockPot)    Registering prefabs    
[00:00:21]: Mod: workshop-365119238 (SmartCrockPot)      Registering default mod prefab    
[00:00:21]: Mod: workshop-376333686 (Always On Status)    Registering prefabs    
[00:00:21]: Mod: workshop-376333686 (Always On Status)      Registering default mod prefab    
[00:00:21]: Mod: workshop-496048926 (No Mods Warning - Client)    Registering prefabs    
[00:00:21]: Mod: workshop-496048926 (No Mods Warning - Client)      Registering default mod prefab    
[00:00:21]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)    Registering prefabs    
[00:00:21]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)      Registering default mod prefab    
[00:00:21]: Mod: workshop-345692228 (Minimap HUD)    Registering prefabs    
[00:00:21]: Mod: workshop-345692228 (Minimap HUD)      Registering default mod prefab    
[00:00:21]: Mod: workshop-416991215 (Dusk and Night Music)    Registering prefabs    
[00:00:21]: Mod: workshop-416991215 (Dusk and Night Music)      Registering default mod prefab    
[00:00:21]: Mod: workshop-347360448 (DST Where's My Beefalo?)    Registering prefabs    
[00:00:21]: Mod: workshop-347360448 (DST Where's My Beefalo?)      Registering default mod prefab    
[00:00:21]: Mod: workshop-506021221 (DST Patch Francais)    Registering prefabs    
[00:00:21]: Mod: workshop-506021221 (DST Patch Francais)      Registering default mod prefab    
[00:00:21]: Mod: workshop-394612159 (Auto ReTrap)    Registering prefabs    
[00:00:21]: Mod: workshop-394612159 (Auto ReTrap)      Registering default mod prefab    
[00:00:21]: Mod: workshop-352373173 (Gesture Wheel)    Registering prefabs    
[00:00:21]: Mod: workshop-352373173 (Gesture Wheel)      Registering default mod prefab    
[00:00:22]:     Load FE    
[00:00:22]:     Load FE: done    
[00:00:22]: SimLuaProxy::QueryServer()
[00:00:22]: ModIndex: Load sequence finished successfully.    
[00:00:22]: Reset() returning
[00:00:24]: [200] Account Communication Success (6)
[00:00:24]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_Z-I45r8r
[00:00:24]: [Steam] Auth Session Ticket requested...
[00:00:24]: loaded inventory_cache
[00:00:24]: [Steam] Got Auth Session Ticket
[00:00:25]: saved inventory_cache
[00:00:25]: saved inventory_cache_sig
[00:00:25]: SimLuaProxy::QueryServer()
[00:00:26]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}
[00:00:26]: ../mods/Kerrigan/modicon.tex is 120x104 but compressed textures must have power of 2 dimensions.
[00:00:26]: Network tick rate: U=15(2), D=0
[00:00:26]: About to start a server with the following settings:
[00:00:26]:   Dedicated: false
[00:00:26]:   Online: true
[00:00:26]:   Passworded: false
[00:00:26]:   ServerPort: 10999
[00:00:26]:   SteamAuthPort: 8766
[00:00:26]:   SteamMasterServerPort: 27016
[00:00:26]:   ClanID: false
[00:00:26]:   ClanOnly: false
[00:00:26]:   ClanAdmin: false
[00:00:26]:   LanOnly: true
[00:00:26]:   EnablePunchthrough: false
[00:00:26]:   EnableAutosaver: true
[00:00:26]:   PVP: false
[00:00:26]:   MaxPlayers: 6
[00:00:26]:   GameMode: survival
[00:00:26]:   OverridenDNS: 
[00:00:26]:   PauseWhenEmpty: false
[00:00:26]:   InternetBroadcasting: true
[00:00:26]:   Intent: madness
[00:00:26]: [Warning] Could not confirm port 10999 is open in the firewall. 
[00:00:26]: Could not load mod_config_data/modconfiguration_Thibaud for DST    
[00:00:26]: Online Server Started on port: 10999
[00:00:28]: Could not load mod_config_data/modconfiguration_Thibaud for DST    
[00:00:28]: unloading prefabs for mod MOD_workshop-365119238    
[00:00:28]: unloading prefabs for mod MOD_workshop-376333686    
[00:00:28]: unloading prefabs for mod MOD_workshop-496048926    
[00:00:28]: unloading prefabs for mod MOD_workshop-369083187    
[00:00:28]: unloading prefabs for mod MOD_workshop-345692228    
[00:00:28]: unloading prefabs for mod MOD_workshop-416991215    
[00:00:28]: unloading prefabs for mod MOD_workshop-347360448    
[00:00:28]: unloading prefabs for mod MOD_workshop-506021221    
[00:00:28]: unloading prefabs for mod MOD_workshop-394612159    
[00:00:28]: unloading prefabs for mod MOD_workshop-352373173    
[00:00:28]: Collecting garbage...
[00:00:28]: lua_gc took 0.02 seconds
[00:00:28]: ~ShardLuaProxy()
[00:00:28]: ~InventoryLuaProxy()
[00:00:28]: ~NetworkLuaProxy()
[00:00:28]: ~SimLuaProxy()
[00:00:28]: SteamWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:28]: lua_close took 0.02 seconds
[00:00:28]: ReleaseAll
[00:00:28]: ReleaseAll Finished
[00:00:28]: cGame::StartPlaying
[00:00:28]: LOADING LUA
[00:00:28]: DoLuaFile scripts/main.lua
[00:00:28]: DoLuaFile loading buffer scripts/main.lua
[00:00:28]: scripts/main.lua(166,1) running main.lua
    
[00:00:28]: loaded modindex    
[00:00:28]: ModIndex: Beginning normal load sequence.
    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     Thibaud for DST    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-345692228    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-347360448    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-352373173    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-365119238    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-369083187    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-376333686    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-394612159    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-416991215    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-496048926    
[00:00:28]: ModIndex:GetModsToLoad inserting moddir,     workshop-506021221    
[00:00:28]: Could not load mod_config_data/modconfiguration_Thibaud for DST    
[00:00:28]: Loading mod: Thibaud for DST (Thibaud) Version:1.1.3    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-345692228    
[00:00:28]: Loading mod: workshop-345692228 (Minimap HUD) Version:1.0.4b    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-347360448    
[00:00:28]: Loading mod: workshop-347360448 (DST Where's My Beefalo?) Version:1.4    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-352373173    
[00:00:28]: Loading mod: workshop-352373173 (Gesture Wheel) Version:1.4.2    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-365119238    
[00:00:28]: Loading mod: workshop-365119238 (SmartCrockPot) Version:4.02    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-369083187    
[00:00:28]: Loading mod: workshop-369083187 (NO RELEASE DEPLOYABLES) Version:1.0.5.1b    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-376333686    
[00:00:28]: Loading mod: workshop-376333686 (Always On Status) Version:1.2b1    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-394612159    
[00:00:28]: Loading mod: workshop-394612159 (Auto ReTrap) Version:1.02    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-416991215    
[00:00:28]: Loading mod: workshop-416991215 (Dusk and Night Music) Version:1.1.2    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-496048926    
[00:00:28]: Loading mod: workshop-496048926 (No Mods Warning - Client) Version:1.0.1    
[00:00:28]: Could not load mod_config_data/modconfiguration_workshop-506021221    
[00:00:28]: Loading mod: workshop-506021221 (DST Patch Francais) Version:4.4    
[00:00:28]: Mod: workshop-365119238 (SmartCrockPot)    Loading modworldgenmain.lua    
[00:00:28]: Mod: workshop-365119238 (SmartCrockPot)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:28]: Mod: workshop-365119238 (SmartCrockPot)    Loading modmain.lua    
[00:00:28]: modimport: ../mods/workshop-365119238/modmain_segments/containerwidgetfunction.lua    
[00:00:28]: modimport: ../mods/workshop-365119238/modmain_segments/containers_setup.lua    
[00:00:28]: modimport: ../mods/workshop-365119238/modmain_segments/action_predict.lua    
[00:00:28]: WARNING: Positional Action parameters are deprecated. Please pass action a table instead.    
[00:00:28]: Action defined at     ../mods/workshop-365119238/modmain_segments/action_predict.lua:1 in (local) result (main) <0-0>    
[00:00:28]: Mod: workshop-376333686 (Always On Status)    Loading modworldgenmain.lua    
[00:00:28]: Mod: workshop-376333686 (Always On Status)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:28]: Mod: workshop-376333686 (Always On Status)    Loading modmain.lua    
[00:00:29]: Mod: Thibaud for DST (Thibaud)    Loading modworldgenmain.lua    
[00:00:29]: Mod: Thibaud for DST (Thibaud)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: Thibaud for DST (Thibaud)    Loading modmain.lua    
[00:00:29]: modimport: ../mods/Thibaud for DST/libs/env.lua    
[00:00:29]: Mod: workshop-496048926 (No Mods Warning - Client)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-496048926 (No Mods Warning - Client)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-496048926 (No Mods Warning - Client)    Loading modmain.lua    
[00:00:29]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)    Loading modmain.lua    
[00:00:29]: Mod: workshop-345692228 (Minimap HUD)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-345692228 (Minimap HUD)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-345692228 (Minimap HUD)    Loading modmain.lua    
[00:00:29]: Mod: workshop-416991215 (Dusk and Night Music)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-416991215 (Dusk and Night Music)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-416991215 (Dusk and Night Music)    Loading modmain.lua    
[00:00:29]: Mod: workshop-347360448 (DST Where's My Beefalo?)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-347360448 (DST Where's My Beefalo?)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-347360448 (DST Where's My Beefalo?)    Loading modmain.lua    
[00:00:29]: Mod: workshop-506021221 (DST Patch Francais)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-506021221 (DST Patch Francais)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-506021221 (DST Patch Francais)    Loading modmain.lua    
[00:00:29]: Translator:LoadPOFile - loading file: ../mods/workshop-506021221/DSTFR.po    
[00:00:29]: Mod: workshop-394612159 (Auto ReTrap)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-394612159 (Auto ReTrap)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-394612159 (Auto ReTrap)    Loading modmain.lua    
[00:00:29]: Mod: workshop-352373173 (Gesture Wheel)    Loading modworldgenmain.lua    
[00:00:29]: Mod: workshop-352373173 (Gesture Wheel)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:29]: Mod: workshop-352373173 (Gesture Wheel)    Loading modmain.lua    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     Thibaud for DST    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-345692228    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-347360448    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-352373173    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-365119238    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-369083187    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-376333686    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-394612159    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-416991215    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-496048926    
[00:00:29]: ModIndex:GetModsToLoad inserting moddir,     workshop-506021221    
[00:00:29]: LOADING LUA SUCCESS
[00:00:29]: PlayerDeaths loaded morgue    5509    
[00:00:29]: PlayerHistory loaded player_history    694    
[00:00:29]: bloom_enabled    false    
[00:00:29]: loaded saveindex    
[00:00:29]: OnFilesLoaded()    
[00:00:29]: OnUpdatePurchaseStateComplete    
[00:00:29]:     Unload FE    
[00:00:29]:     Unload FE done    
[00:00:30]: Mod: workshop-365119238 (SmartCrockPot)    Registering prefabs    
[00:00:30]: Mod: workshop-365119238 (SmartCrockPot)      Registering default mod prefab    
[00:00:30]: Mod: workshop-376333686 (Always On Status)    Registering prefabs    
[00:00:30]: Mod: workshop-376333686 (Always On Status)      Registering default mod prefab    
[00:00:30]: Mod: Thibaud for DST (Thibaud)    Registering prefabs    
[00:00:30]: Mod: Thibaud for DST (Thibaud)      Registering prefab file: prefabs/thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)        thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)      Registering prefab file: prefabs/pencil_thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)        pencil_thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)      Registering prefab file: prefabs/wurm_thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)        wurm_thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)      Registering prefab file: prefabs/clone_thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)        clone_thibaud    
[00:00:30]: Mod: Thibaud for DST (Thibaud)      Registering default mod prefab    
[00:00:30]: Mod: workshop-496048926 (No Mods Warning - Client)    Registering prefabs    
[00:00:30]: Mod: workshop-496048926 (No Mods Warning - Client)      Registering default mod prefab    
[00:00:30]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)    Registering prefabs    
[00:00:30]: Mod: workshop-369083187 (NO RELEASE DEPLOYABLES)      Registering default mod prefab    
[00:00:30]: Mod: workshop-345692228 (Minimap HUD)    Registering prefabs    
[00:00:30]: Mod: workshop-345692228 (Minimap HUD)      Registering default mod prefab    
[00:00:30]: Mod: workshop-416991215 (Dusk and Night Music)    Registering prefabs    
[00:00:30]: Mod: workshop-416991215 (Dusk and Night Music)      Registering default mod prefab    
[00:00:30]: Mod: workshop-347360448 (DST Where's My Beefalo?)    Registering prefabs    
[00:00:30]: Mod: workshop-347360448 (DST Where's My Beefalo?)      Registering default mod prefab    
[00:00:30]: Mod: workshop-506021221 (DST Patch Francais)    Registering prefabs    
[00:00:30]: Mod: workshop-506021221 (DST Patch Francais)      Registering default mod prefab    
[00:00:30]: Mod: workshop-394612159 (Auto ReTrap)    Registering prefabs    
[00:00:30]: Mod: workshop-394612159 (Auto ReTrap)      Registering default mod prefab    
[00:00:30]: Mod: workshop-352373173 (Gesture Wheel)    Registering prefabs    
[00:00:30]: Mod: workshop-352373173 (Gesture Wheel)      Registering default mod prefab    
[00:00:30]:     LOAD BE    
[00:00:31]:     LOAD BE: done    
[00:00:32]: Deserialize world session from session/46AB1BD0D0CDCD7C/0000000002    
[00:00:32]: Save file is at version 1    
[00:00:32]: Begin Session: 46AB1BD0D0CDCD7C
[00:00:32]: saving to server_temp/server_save    
[00:00:32]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/Thibaud for DST/images/map_icons/thibaud.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/koalefant_winter.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/koalefant_summer.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/babybeefalo.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/beefalo.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/Goose.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/dragonfly.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/deerclops.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/bearger.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/carrot_planted.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/chester_eyebone.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/flint.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/rabbithole.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/rocky.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/red_mushroom.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/green_mushroom.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/blue_mushroom.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/lightninggoat.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/mandrake.xml )
[00:00:32]: MiniMapComponent::AddAtlas( ../mods/workshop-347360448/minimap/molehill.xml )
[00:00:32]: Could not preload undefined prefab 0x1872ccf0 (FROMNUM)
[00:00:32]: Loading Nav Grid    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Validating ID -1: world: <nil> (auto) available: false receives: -1 status: inactive (disabled by prefab)    
[00:00:33]: Can't find prefab spawnpoint    
[00:00:33]: SpawnSaveRecord [nil, spawnpoint] FAILED    
[00:00:34]: Reconstructing topology    
[00:00:34]:     ...Sorting points    
[00:00:34]:     ...Sorting edges    
[00:00:34]:     ...Connecting nodes    
[00:00:34]:     ...Validating connections    
[00:00:34]:     ...Housekeeping    
[00:00:34]:     ...Done!    
[00:00:34]: Truncating to snapshot #2...
[00:00:34]:  - session/46AB1BD0D0CDCD7C/KU_Z-I45r8r_/0000000003
[00:00:34]:    1 file(s) removed
[00:00:34]: 1 uploads added to server. From server_temp
[00:00:34]: Telling Client our new session identifier: 46AB1BD0D0CDCD7C
[00:00:34]: ModIndex: Load sequence finished successfully.    
[00:00:34]: Reset() returning
[00:00:35]: [SHARD] Registering portal ID #1    
[00:00:35]: Validating ID 1: world: <nil> (auto) available: false receives: 1 status: inactive (disabled by prefab)    
[00:00:35]: Attempting to send resume request
[00:00:35]: Received request to resume from: session/46AB1BD0D0CDCD7C/KU_Z-I45r8r_
[00:00:35]: ReceiveResumeNotification
[00:00:35]: Deleting user minimap from session/46AB1BD0D0CDCD7C/KU_Z-I45r8r_/minimap
[00:00:35]: Deleting user session from session/46AB1BD0D0CDCD7C/KU_Z-I45r8r_/0000000003
[00:00:35]: [SHARD] Registering portal ID #2    
[00:00:35]: Validating ID 2: world: <nil> (auto) available: false receives: 2 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #3    
[00:00:35]: Validating ID 3: world: <nil> (auto) available: false receives: 3 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #4    
[00:00:35]: Validating ID 4: world: <nil> (auto) available: false receives: 4 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #5    
[00:00:35]: Validating ID 5: world: <nil> (auto) available: false receives: 5 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #6    
[00:00:35]: Validating ID 6: world: <nil> (auto) available: false receives: 6 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #7    
[00:00:35]: Validating ID 7: world: <nil> (auto) available: false receives: 7 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #8    
[00:00:35]: Validating ID 8: world: <nil> (auto) available: false receives: 8 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #9    
[00:00:35]: Validating ID 9: world: <nil> (auto) available: false receives: 9 status: inactive (disabled by prefab)    
[00:00:35]: [SHARD] Registering portal ID #10    
[00:00:35]: Validating ID 10: world: <nil> (auto) available: false receives: 10 status: inactive (disabled by prefab)    
[00:00:37]: WARNING! Could not find region 'FROMNUM' from atlas 'FROMNUM'. Is the region specified in the atlas?
[00:00:37]: Looking for default texture 'FROMNUM' from atlas 'FROMNUM'.
[00:00:39]: Received request to spawn as () thibaud from Thibooms[Host]
[00:00:39]: Received clothing request () () () ()
[00:00:39]: Validated skin: thibaud () () () () ()
[00:00:39]: Could not find anim build FROMNUM
[00:00:39]: Could not find anim bank [FROMNUM]
[00:00:39]: [Fixed] SPAWNING PLAYER AT: (-240.00, 0.00, -180.00)    
[00:00:39]: Serializing user: session/46AB1BD0D0CDCD7C/KU_Z-I45r8r_/0000000003
[00:00:39]: WARNING! Could not find region 'FROMNUM' from atlas 'FROMNUM'. Is the region specified in the atlas?
[00:00:39]: Looking for default texture 'FROMNUM' from atlas 'FROMNUM'.
[00:00:39]: Loading minimap from session/46AB1BD0D0CDCD7C/KU_Z-I45r8r_/minimap
[00:00:39]: Clearing minimap
[00:00:46]: Assert failure 'mTrans' at ..\source\game\components\PhysicsComponent.cpp(143): Trace follows...

 

Here's the prefab :

 

 
 

 





--Here we list any assets required by our prefab.
local assets=
{
    --this is the name of the Spriter file.
    Asset("ANIM", "anim/clone_thibaud.zip"),
}

local brain = require("brains/clone_thibaudbrain")

--This function creates a new entity based on a prefab.
local function init_prefab()

    --First we create an entity.
    local inst = CreateEntity()

    MakeCharacterPhysics(inst, 75, .5)
    inst.Physics:SetCollisionGroup(COLLISION.CHARACTERS)
    inst.Physics:ClearCollisionMask()
    inst.Physics:CollidesWith(COLLISION.WORLD)
    inst.Physics:CollidesWith(COLLISION.OBSTACLES)
    inst.Physics:CollidesWith(COLLISION.CHARACTERS)
    
    inst.Transform:SetFourFaced()
    
    --The bank name is the name of the Spriter file.
    anim:SetBank("clone_thibaud")

    --The build name is the name of the animation folder in spriter.
    anim:SetBuild("clone_thibaud")

    inst.entity:AddSoundEmitter()
    inst.entity:AddDynamicShadow()
    inst.DynamicShadow:SetSize(2.5, .75)
    inst.entity:AddMiniMapEntity()
    inst.entity:AddNetwork()
    inst.entity:AddLightWatcher()
        
    inst:AddComponent("health")
    inst.components.health:SetMaxHealth(TUNING.CHESTER_HEALTH)

    --[NEW] We need to add a 'locomotor' component otherwise our creature can't walk around the world.
    inst:AddComponent("locomotor")
    inst.components.locomotor.walkspeed = 6
    inst.components.locomotor.runspeed = 6

    inst:SetStateGraph("SGclone_thibaud")

    
    --return our new entity so that it can be added to the world.
    return inst
end

--Here we register our new prefab so that it can be used in game.
return Prefab( "monsters/clone_thibaud", init_prefab, assets, nil)

 

Here's the brain : (which I don't beleive to be affecting anything)

 

 
 






require "behaviours/follow"
require "behaviours/wander"

local Clone_ThibaudBrain = Class(Brain, function(self, inst)
    Brain._ctor(self, inst)
    self.mytarget = nil
end)

local MIN_FOLLOW = 0
local MAX_FOLLOW = 11
local MED_FOLLOW = 6
local MAX_WANDER_DIST = 10
local MAX_CHASE_TIME = 6

function Clone_ThibaudBrain:SetTarget(target)
    self.listenerfunc = function() self.mytarget = nil end
    if target ~= self.target then
        if self.mytarget then
            self.inst:RemoveEventCallback("onremove", self.listenerfunc, self.mytarget)
        end
        if target then
            self.inst:ListenForEvent("onremove", self.listenerfunc, target)
        end
    end
    self.mytarget = target
end

function Clone_ThibaudBrain:OnStart()
    local root = PriorityNode(
    {
        ChaseAndAttack(self.inst, MAX_CHASE_TIME),
        Follow(self.inst, function() return self.inst.components.follower.leader end, MIN_FOLLOW, MED_FOLLOW, MAX_FOLLOW, true),
        Wander(self.inst, function() if self.mytarget then return Point(self.mytarget.Transform:GetWorldPosition()) end end, MAX_WANDER_DIST)        
    }, 1)
        
    self.bt = BT(self.inst, root)
end

return Clone_ThibaudBrain

 

 

And here's the stategraph : (which I don't beleive to be affecting anything either)

 

 
 








require("stategraphs/commonstates")

local actionhandlers = 
{    

}

local events=
{
    CommonHandlers.OnStep(),
    CommonHandlers.OnLocomote(true,true),
    CommonHandlers.OnSleep(),
    CommonHandlers.OnFreeze(),

    EventHandler("doattack", function(inst) if not inst.components.health:IsDead() then inst.sg:GoToState("attack") end end),
    EventHandler("death", function(inst) inst.sg:GoToState("death") end),
    EventHandler("attacked", function(inst) if inst.components.health:GetPercent() > 0 and not inst.sg:HasStateTag("attack") then inst.sg:GoToState("hit") end end),
    

}

local states=
{
    State{
        name = "idle",
        tags = {"idle", "canrotate"},
        
        onenter = function(inst, pushanim)
            inst.Physics:Stop()
            inst.AnimState:PlayAnimation("idle_loop")
            
            if not inst.sg.mem.pant_ducking or inst.sg:InNewState() then
                inst.sg.mem.pant_ducking = 1
            end
        end,
        
        events=
        {
            EventHandler("animover", function(inst) inst.sg:GoToState("idle") end),
        },

        timeline=
        {
            TimeEvent(7*FRAMES, function(inst) 
                inst.sg.mem.pant_ducking = inst.sg.mem.pant_ducking or 1
                inst.SoundEmitter:PlaySound("dontstarve/creatures/chester/pant", nil, inst.sg.mem.pant_ducking) 
                if inst.sg.mem.pant_ducking and inst.sg.mem.pant_ducking > .35 then
                    inst.sg.mem.pant_ducking = inst.sg.mem.pant_ducking - .05
                end
            end),
        },        
   },
    
    State{
        name = "attack",
        tags = {"attack"},
        
        onenter = function(inst)    
            inst.SoundEmitter:PlaySound("dontstarve/creatures/koalefant/angry")
            inst.components.combat:StartAttack()
            inst.Physics:Stop()
            inst.AnimState:PlayAnimation("atk_pre")
            inst.AnimState:PushAnimation("atk", false)
        end,
        
        
        timeline=
        {
            TimeEvent(15*FRAMES, function(inst) inst.components.combat:DoAttack() end),
        },
        
        events=
        {
            EventHandler("animqueueover", function(inst) inst.sg:GoToState("idle") end),
        },
    },   

    State{
        name = "death",
        tags = {"busy"},
        
        onenter = function(inst)
            inst.SoundEmitter:PlaySound("dontstarve/creatures/chester/death")
            inst.AnimState:PlayAnimation("death")
            inst.Physics:Stop()
            RemovePhysicsColliders(inst)            
        end,
    },
 }

CommonStates.AddWalkStates(
    states,
    {
        walktimeline = 
        { 
            TimeEvent(10*FRAMES, PlayFootstep),
            TimeEvent(15*FRAMES, function(inst) 
                if math.random(1,3) == 2 then
                    inst.SoundEmitter:PlaySound("dontstarve/creatures/koalefant/walk")
                end
            end ),
            TimeEvent(40*FRAMES, PlayFootstep),
        }
    })
    
CommonStates.AddRunStates(
    states,
    {
        runtimeline = 
        { 
            TimeEvent(2*FRAMES, PlayFootstep),
        }
    })

CommonStates.AddSimpleState(states,"hit", "hit", {"hit", "busy"})

CommonStates.AddSleepStates(states,
{
    sleeptimeline = 
    {
        TimeEvent(46*FRAMES, function(inst) inst.SoundEmitter:PlaySound("dontstarve/creatures/koalefant/grunt") end)
    },
})
CommonStates.AddFrozenStates(states)
    
return StateGraph("clone_thibaud", states, events, "idle", actionhandlers)

 

 

Thank you for your time :)

I'm sorry about the spoilers. I can't seem to make it work since the forum got updated. Now I'm pillaring spoilers for some reason. What I did was  (spoiler) stuff  (/spoiler) but with the right brackets and then do it again.

By the way, yes the prefab is correctly listed in the modmain, with a comma at the end.

Edited by Thibooms
Link to comment
Share on other sites

There's missing stuff here.

Thing is crashing because it's missing the inst.entity:AddTransform() most likely.

--Here we list any assets required by our prefab.
local assets = {
	--this is the name of the Spriter file.
	Asset("ANIM", "anim/clone_thibaud.zip"),
}

local brain = require("brains/clone_thibaudbrain")

--This function creates a new entity based on a prefab.
local function init_prefab()
	--First we create an entity.
	local inst = CreateEntity()

	inst.entity:AddTransform()
	inst.entity:AddAnimState()
	inst.entity:AddSoundEmitter()
	inst.entity:AddDynamicShadow()
	inst.entity:AddMiniMapEntity()
	inst.entity:AddNetwork()

	--Initialize physics
	MakeCharacterPhysics(inst, 75, .5)
	inst.Physics:SetCollisionGroup(COLLISION.CHARACTERS)
	inst.Physics:ClearCollisionMask()
	inst.Physics:CollidesWith(COLLISION.WORLD)
	inst.Physics:CollidesWith(COLLISION.OBSTACLES)
	inst.Physics:CollidesWith(COLLISION.CHARACTERS)

	--Initialize transform
	inst.Transform:SetFourFaced()

	--Initialize animstate
	--The bank name is the name of the Spriter file.
	inst.AnimState:SetBank("clone_thibaud")
	--The build name is the name of the animation folder in spriter.
	inst.AnimState:SetBuild("clone_thibaud")
	--Make it play a basic animation when it appears
	inst.AnimState:PlayAnimation("idle")

	--Initialize the shadow that follows the entity
	inst.DynamicShadow:SetSize(2.5, 0.75)

	--Initialize minimap icon
	--Set image for minimap
	inst.MiniMapEntity:SetIcon("glommer.png")
	--Set priority so stuff like trees don't block it
	inst.MiniMapEntity:SetPriority(5)

	--Tags
	inst:AddTag("monster")
	inst:AddTag("scarytoprey")

	--Up to here, entity is same for client and host
	inst.entity:SetPristine()

	if not TheWorld.ismastersim then
		return inst
	end

	--Health
	inst:AddComponent("health")
	inst.components.health:SetMaxHealth(TUNING.CHESTER_HEALTH)

	--Combat, for basic fighting code
	inst:AddComponent("combat")

	--[NEW] We need to add a 'locomotor' component otherwise our creature can't walk around the world.
	inst:AddComponent("locomotor")
	inst.components.locomotor.walkspeed = 6
	inst.components.locomotor.runspeed = 6

	--Stategraph must be built after locomotor
	inst:SetStateGraph("SGclone_thibaud")

	--Brain
	inst:SetBrain(brain)

	--return our new entity so that it can be added to the world.
	return inst
end

--Here we register our new prefab so that it can be used in game.
return Prefab("monsters/clone_thibaud", init_prefab, assets)

 

Edited by DarkXero
Link to comment
Share on other sites

1 minute ago, Aquaterion said:
56 minutes ago, Thibooms said:

@DarkXero, no I don't think that's the problem because it's got that right at the start. It's right under 



local inst = CreateEntity()

:)

that's his version, not yours, yours doesnt have the inst.entity:AddTransform()  line. FacePalm

Thank you. I know facepalmed as well. Let me take this rocket anf fly to a new planet

============================33000000000>

(I know, that's some fine art right there)

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