rons0n Posted October 7, 2015 Share Posted October 7, 2015 (edited) I have a report that someone notices this character crashes whenever she resurrects. The character is suppose to resurrect after a certain time but it's now crashing.AddPrefabPostInit("pearl", function(inst) if GetModConfigData("Resurrection") == "Yes" then inst:ListenForEvent("ms_becameghost", function() -- when players dies inst:DoTaskInTime(5, function() -- you can change the time (now 5 seconds) inst:PushEvent("respawnfromghost", {source={name="Pearl's Gift"}}) end) end) endend) Crash Log:[00:00:00]: Starting Up[00:00:00]: Version: 152232[00:00:00]: Current time: Wed Oct 07 09:06:41 2015[00:00:00]: Don't Starve Together: 152232 WIN32_STEAMNNN Build Date: 2015-10-06_11-20-24[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: 803833[00:00:00]: Steam BetaName(Branch): [cavesbeta][00:00:00]: ....Done[00:00:00]: Fixing DPI[00:00:00]: ...Done[00:00:00]: THREAD - started 'GAClient' (7204)[00:00:00]: HttpClient2::ClientThread::Main()[00:00:02]: ProfileIndex:12.01[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 C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together Beta\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_76561198162990845[00:00:02]: SteamID: 76561198162990845[00:00:02]: cGame::InitializeOnMainThread[00:00:02]: WindowManager::Initialize[00:00:02]: CreateWindow: Requesting 1364,767 - 5/6/5 - -1/-1/-1 - 0[00:00:02]: CreateEGLContext: 16 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 - 1/ 0/ 0 - 0[00:00:02]: 6: 5/5/5 - 0/16/ 0 - 0[00:00:02]: 7: 5/5/5 - 1/16/ 0 - 0[00:00:02]: 8: 5/5/5 - 0/24/ 0 - 0[00:00:02]: 9: 5/5/5 - 1/24/ 0 - 0[00:00:02]: 10: 5/5/5 - 0/24/ 8 - 0[00:00:02]: 11: 5/5/5 - 1/24/ 8 - 0[00:00:02]: 12: 8/8/8 - 8/ 0/ 0 - 0[00:00:02]: 13: 8/8/8 - 8/16/ 0 - 0[00:00:02]: 14: 8/8/8 - 8/24/ 0 - 0[00:00:02]: 15: 8/8/8 - 8/24/ 8 - 0[00:00:02]: RestoreWindowPosition[00:00:02]: Saved Client Pos (48 x 58)[00:00:02]: Adjusted Window Pos (40 x 27)[00:00:02]: EnsureWindowOnScreen[00:00:02]: All good.[00:00:02]: GLInfo[00:00:02]: ~~~~~~[00:00:02]: GL_VENDOR: Google Inc.[00:00:02]: GL_RENDERER: ANGLE (AMD Radeon R7 200 Series)[00:00:02]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)[00:00:02]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)[00:00:02]: THREAD - started 'WindowsInputManager' (6456)[00:00:02]: OpenGL extensions (21, 21):[00:00:02]: GL_ANGLE_depth_texture[00:00:02]: GL_ANGLE_framebuffer_blit[00:00:02]: GL_ANGLE_framebuffer_multisample[00:00:02]: GL_ANGLE_instanced_arrays[00:00:02]: GL_ANGLE_pack_reverse_row_order[00:00:02]: GL_ANGLE_texture_compression_dxt3[00:00:02]: GL_ANGLE_texture_compression_dxt5[00:00:02]: GL_ANGLE_texture_usage[00:00:02]: GL_ANGLE_translated_shader_source[00:00:02]: GL_EXT_read_format_bgra[00:00:02]: GL_EXT_robustness[00:00:02]: GL_EXT_texture_compression_dxt1[00:00:02]: GL_EXT_texture_format_BGRA8888[00:00:02]: GL_EXT_texture_storage[00:00:02]: GL_OES_get_program_binary[00:00:02]: GL_OES_packed_depth_stencil[00:00:02]: GL_OES_rgb8_rgba8[00:00:02]: GL_OES_standard_derivatives[00:00:02]: GL_OES_texture_float_linear[00:00:02]: GL_OES_texture_half_float_linear[00:00:02]: GL_OES_texture_npot[00:00:02]: GL_MAX_TEXTURE_SIZE = 16384[00:00:02]: GL_MAX_TEXTURE_IMAGE_UNITS = 16[00:00:02]: GL_MAX_RENDERBUFFER_SIZE = 16384[00:00:02]: GL_MAX_VIEWPORT_DIMS = 16384, 16384[00:00:02]: GL_MAX_VARYING_VECTORS = 10[00:00:02]: GL_MAX_VERTEX_ATTRIBS = 16[00:00:02]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254[00:00:02]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4[00:00:02]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221[00:00:02]: 4 compressed texture formats[00:00:02]: texture format 0x83f0[00:00:02]: texture format 0x83f1[00:00:02]: texture format 0x83f2[00:00:02]: texture format 0x83f3[00:00:03]: Renderer initialize: Okay[00:00:04]: AnimManager initialize: Okay[00:00:04]: Buffers initialize: Okay[00:00:05]: cDontStarveGame::DoGameSpecificInitialize()[00:00:05]: GameSpecific initialize: Okay[00:00:05]: cGame::StartPlaying[00:00:05]: LOADING LUA[00:00:05]: DoLuaFile scripts/main.lua[00:00:05]: DoLuaFile loading buffer scripts/main.lua[00:00:05]: scripts/main.lua(171,1) running main.lua [00:00:05]: loaded modindex [00:00:05]: ModIndex: Beginning normal load sequence. [00:00:05]: WARNING: icon paths for mod Custom Emotes (Emotes Tutorial) are not valid. Got icon_atlas="preview.xml" and icon="preview.tex".Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua. [00:00:09]: LOADING LUA SUCCESS[00:00:09]: PlayerDeaths loaded morgue 5869 [00:00:09]: PlayerHistory loaded player_history_staging 3681 [00:00:09]: loaded profile [00:00:09]: bloom_enabled false [00:00:09]: loaded saveindex [00:00:09]: OnFilesLoaded() [00:00:09]: OnUpdatePurchaseStateComplete [00:00:11]: Load FE [00:00:11]: Load FE: done [00:00:11]: SimLuaProxy::QueryServer()[00:00:11]: SimLuaProxy::QueryServer()[00:00:11]: ModIndex: Load sequence finished successfully. [00:00:11]: Reset() returning[00:00:13]: [200] Account Communication Success (6)[00:00:13]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_Gl4sTPnP[00:00:13]: [Steam] Auth Session Ticket requested...[00:00:13]: [Steam] Got Auth Session Ticket[00:00:14]: SimLuaProxy::QueryServer()[00:00:14]: SimLuaProxy::QueryServer()[00:00:16]: QueryStats: { "req":"modrank", "field":"Session.Loads.Mods.list", "fieldop":"unwind", "linkpref":"external", "limit": 20}[00:00:21]: CURL ERROR: Connection timed out after 5000 milliseconds[00:00:29]: Network tick rate: U=15(2), D=0[00:00:29]: [Warning] Could not confirm port 10999 is open in the firewall. [00:00:29]: loaded mod_config_data/modconfiguration_workshop-476797459_staging [00:00:29]: Online Server Started on port: 10999[00:00:31]: loaded mod_config_data/modconfiguration_workshop-476797459_staging [00:00:31]: Not applying world gen overrides. [00:00:31]: Collecting garbage...[00:00:31]: lua_gc took 0.05 seconds[00:00:31]: ~ShardLuaProxy()[00:00:31]: ~NetworkLuaProxy()[00:00:31]: ~SimLuaProxy()[00:00:31]: SteamWorkshop::CancelDownloads clearing all unfinished downloads[00:00:31]: lua_close took 0.08 seconds[00:00:31]: ReleaseAll[00:00:31]: ReleaseAll Finished[00:00:31]: cGame::StartPlaying[00:00:31]: LOADING LUA[00:00:31]: DoLuaFile scripts/main.lua[00:00:31]: DoLuaFile loading buffer scripts/main.lua[00:00:31]: scripts/main.lua(171,1) running main.lua [00:00:31]: loaded modindex [00:00:31]: ModIndex: Beginning normal load sequence. [00:00:31]: WARNING: icon paths for mod Custom Emotes (Emotes Tutorial) are not valid. Got icon_atlas="preview.xml" and icon="preview.tex".Please ensure that these point to valid files in your mod folder, or else comment out those lines from your modinfo.lua. [00:00:31]: ModIndex:GetModsToLoad inserting moddir, workshop-476797459 [00:00:31]: loaded mod_config_data/modconfiguration_workshop-476797459_staging [00:00:31]: Loading mod: workshop-476797459 (Pearl) Version:1.1.4 [00:00:31]: Mod: workshop-476797459 (Pearl) Loading modworldgenmain.lua [00:00:31]: Mod: workshop-476797459 (Pearl) Mod had no modworldgenmain.lua. Skipping. [00:00:31]: Mod: workshop-476797459 (Pearl) Loading modmain.lua [00:00:32]: LOADING LUA SUCCESS[00:00:32]: PlayerDeaths loaded morgue 5869 [00:00:32]: PlayerHistory loaded player_history_staging 3681 [00:00:32]: loaded profile [00:00:32]: bloom_enabled false [00:00:32]: loaded saveindex [00:00:32]: OnFilesLoaded() [00:00:32]: OnUpdatePurchaseStateComplete [00:00:32]: Load Slot: ... generating new world [00:00:32]: WorldSim::SimThread::SimThread()[00:00:32]: ABOUT TO INSTALL STACKTRACE[00:00:32]: DoLuaFile scripts/stacktrace.lua[00:00:32]: DoLuaFile loading buffer scripts/stacktrace.lua[00:00:32]: INSTALLED STACKTRACE[00:00:32]: WorldSim::SimThread::SimThread() complete[00:00:32]: THREAD - started 'WorldSim' (6796)[00:00:32]: WorldSim::SimThread::Main()[00:00:32]: DoLuaFile scripts/worldgen_main.lua[00:00:32]: DoLuaFile loading buffer scripts/worldgen_main.lua[00:00:32]: ModIndex: Load sequence finished successfully. [00:00:32]: Reset() returning[00:00:32]: DLC enabled : false [00:00:32]: ModIndex:GetModsToLoad inserting modname, workshop-476797459 [00:00:32]: Loading mod: workshop-476797459 (Pearl) Version:1.1.4 [00:00:32]: Mod: workshop-476797459 (Pearl) Loading modworldgenmain.lua [00:00:32]: Mod: workshop-476797459 (Pearl) Mod had no modworldgenmain.lua. Skipping. [00:00:33]: scripts/worldgen_main.lua(80,1) running worldgen_main.lua [00:00:33]: scripts/worldgen_main.lua(82,1) SEED = 1444234033 [00:00:33]: K: level_type V: survival [00:00:33]: K: current_level V: 1 [00:00:33]: K: profiledata V table: 17F51B38 [00:00:33]: K: controls V table: 17F51A48 [00:00:33]: K: unlocked_worldgen V table: 17F51CF0 [00:00:33]: K: preset V table: 17F51BB0 [00:00:33]: K: A Cold Reception V: true [00:00:33]: K: customizationpresets V: return { { basepreset="SURVIVAL_TOGETHER", data="CUSTOM_PRESET_1", desc="Custom preset 1. Your world, your rules!", overrides={ { "start_setpeice", "DefaultStart" }, { "start_node", "Clearing" }, { "season_start", "autumn" }, { "world_size", "large" }, { "cave_entrance", "never" }, { "branching", "default" }, { "loop", "default" }, { "autumn", "default" }, { "winter", "default" }, { "spring", "default" }, { "summer", "default" }, { "day", "default" }, { "weather", "default" }, { "lightning", "default" }, { "frograin", "default" }, { "wildfires", "default" }, { "touchstone", "default" }, { "boons", "default" }, { "flowers", "default" }, { "grass", "default" }, { "sapling", "default" }, { "marshbush", "default" }, { "tumbleweed", "default" }, { "reeds", "default" }, { "trees", "default" }, { "flint", "default" }, { "rock", "default" }, { "rock_ice", "default" }, { "meteorspawner", "default" }, { "meteorshowers", "default" }, { "berrybush", "default" }, { "carrot", "default" }, { "mushroom", "default" }, { "cactus", "default" }, { "rabbits", "default" }, { "moles", "default" }, { "butterfly", "default" }, { "birds", "default" }, { "buzzard", "default" }, { "catcoon", "default" }, { "perd", "default" }, { "pigs", "default" }, { "lightninggoat", "default" }, { "beefalo", "default" }, { "beefaloheat", "default" }, { "hunt", "default" }, { "alternatehunt", "default" }, { "penguins", "default" }, { "frogs", "default" }, { "bees", "default" }, { "angrybees", "default" }, { "tallbirds", "default" }, { "spiders", "default" }, { "hounds", "default" }, { "houndmound", "default" }, { "merm", "default" }, { "tentacles", "default" }, { "chess", "default" }, { "lureplants", "default" }, { "walrus", "default" }, { "liefs", "default" }, { "deciduousmonster", "default" }, { "krampus", "default" }, { "bearger", "default" }, { "deerclops", "default" }, { "goosemoose", "default" }, { "dragonfly", "default" } }, text="Custom Preset 1" }, { basepreset="SURVIVAL_TOGETHER", data="CUSTOM_PRESET_2", desc="Custom preset 2. Your world, your rules!", overrides={ { "carrot", "often" }, { "berrybush", "often" }, { "krampus", "rare" }, { "bearger", "never" }, { "hounds", "never" }, { "houndmound", "rare" }, { "merm", "rare" }, { "liefs", "never" }, { "deciduousmonster", "never" }, { "beefalo", "often" }, { "rabbits", "often" }, { "beefaloheat", "rare" }, { "alternatehunt", "often" } }, text="Custom Preset 2" }, { basepreset="SURVIVAL_TOGETHER", data="CUSTOM_PRESET_3", desc="Custom preset 3. Your world, your rules!", overrides={ { "carrot", "often" }, { "berrybush", "often" }, { "krampus", "rare" }, { "bearger", "never" }, { "hounds", "never" }, { "houndmound", "rare" }, { "merm", "rare" }, { "liefs", "never" }, { "deciduousmonster", "never" }, { "beefalo", "often" }, { "rabbits", "often" }, { "beefaloheat", "rare" }, { "alternatehunt", "often" }, { "grass", "often" }, { "flowers", "always" }, { "rock", "often" }, { "sapling", "often" }, { "spring", "noseason" }, { "world_size", "medium" }, { "summer", "noseason" }, { "winter", "noseason" } }, text="Custom Preset 3" }, { basepreset="SURVIVAL_TOGETHER", data="CUSTOM_PRESET_4", desc="Custom preset 4. Your world, your rules!", overrides={ { "start_setpeice", "DefaultStart" }, { "start_node", "Clearing" }, { "season_start", "autumn" }, { "wor[00:00:33]: K: render_quality V: 1 [00:00:33]: K: device_caps_a V: 1444181764 [00:00:33]: K: xp V: 0 [00:00:33]: K: device_caps_b V: 2 [00:00:33]: K: starts V: 53 [00:00:33]: K: serverfilters V: return { { data="arcade", name="search" }, { data="ANY", name="GAMEMODE" }, { data="ANY", name="SEASON" }, { data="ANY", name="HASPVP" }, { data="ANY", name="MODSENABLED" }, { data="ANY", name="HASPASSWORD" }, { data="ANY", name="ISDEDICATED" }, { data="ANY", name="HASCHARACTER" }, { data="ANY", name="FRIENDSONLY" }, { data="ANY", name="CLANONLY" }, { data=true, name="ISFULL" }, { data="ANY", name="MINOPENSLOTS" }, { data=true, name="ISEMPTY" } } [00:00:33]: K: characterinthrone V: waxwell [00:00:33]: K: saw_display_adjustment_popup V: false [00:00:33]: K: autosave V: true [00:00:33]: K: unlocked_characters V table: 17F51B10 [00:00:33]: K: wilson V: true [00:00:33]: K: wendy V: true [00:00:33]: K: wx78 V: true [00:00:33]: K: willow V: true [00:00:33]: K: wickerbottom V: true [00:00:33]: K: wolfgang V: true [00:00:33]: K: DLCEnabled V table: 17F51750 [00:00:33]: K: 1 V: false [00:00:33]: K: world_gen_choices V table: 17F517A0 [00:00:33]: K: presetdata V table: 17F514A8 [00:00:33]: K: data V: SURVIVAL_TOGETHER [00:00:33]: K: text V: Together Forever [00:00:33]: K: overrides V table: 17F51958 [00:00:33]: K: desc V: The multiplayer Don't Starve experience. [00:00:33]: K: actualpreset V: SURVIVAL_TOGETHER [00:00:33]: K: tweak V table: 17F516D8 [00:00:33]: scripts/worldgen_main.lua(461,1) ######### Generating SURVIVAL Mode Level######## [00:00:33]: scripts/worldgen_main.lua(469,1) WORLDGEN PRESET: SURVIVAL_TOGETHER [00:00:33]: scripts/worldgen_main.lua(477,1) WORLDGEN LEVEL ID: 1 [00:00:33]: scripts/worldgen_main.lua(484,1) ######### Generating Normal Mode Together Forever Level SURVIVAL_TOGETHER######## [00:00:33]: Chessy_3 added to Mole Colony Rocks [00:00:33]: Warzone_3 added to The hunters [00:00:33]: Maxwell5 added to Squeltch [00:00:33]: Maxwell7 added to Forest hunters [00:00:33]: ChessSpot3 added to Speak to the king [00:00:33]: Creating story... [00:00:33]: LinkNodesByKeys [00:00:33]: Finding valid start task... [00:00:33]: ...picked Make a pick [00:00:33]: Has start node Clearing [00:00:33]: Baking map... 350 [00:00:33]: [WorldSimActual::GenerateVoronoiMap][00:00:33]: GenerateVoronoiMap [1]:[00:00:33]: ...Done.[00:00:33]: [AddEmptyNodes][00:00:33]: GenerateVoronoiMap [100]:[00:00:39]: ...Done.[00:00:39]: [WorldSimActual::GenerateVoronoiMap] complete [success][00:00:39]: [WorldSimActual::ConvertToTileMap][00:00:39]: [ConvertToTileMap][00:00:39]: [WorldSimActual::ConvertToTileMap] complete[00:00:39]: [WorldSimActual::SeparateIslands][00:00:39]: [SeparateIslands][00:00:39]: [WorldSimActual::SeparateIslands] complete[00:00:39]: Map Baked! [00:00:39]: [WorldSimActual::ForceConnectivity][00:00:39]: [GenerateLandmasses][00:00:39]: [MergeConnectedLandmasses] true[00:00:39]: [WorldSimActual::ForceConnectivity] complete[00:00:39]: [GetWormholesExtra] connected 0 unconnected 1[00:00:39]: [GetWormholesExtra] after: connected 1 unconnected 0[00:00:39]: [GetWormholesExtra] pushed 0 wormholes[00:00:39]: [WorldSimActual::DrawRoads][00:00:39]: [DrawRoads][00:00:39]: [WorldSimActual::DrawRoads] complete[00:00:39]: Encoding... [00:00:39]: Encoding... DONE [00:00:39]: Checking Tags [00:00:39]: Populating voronoi... [00:00:40]: Warning! Could not find a spot for MooseNest in node Magic meadow:0:Pondopolis [00:00:40]: disconnected tiles... 0 [00:00:41]: Done forest map gen! [00:00:41]: scripts/worldgen_main.lua(248,1) Checking map... [00:00:41]: scripts/worldgen_main.lua(596,1) Generation complete [00:00:41]: WorldSim::SimThread::Main() complete[00:00:41]: Serializing world session to session/085002F2EE339850/0000000002[00:00:42]: Unload FE [00:00:42]: Unload FE done [00:00:43]: Mod: workshop-476797459 (Pearl) Registering prefabs [00:00:43]: Mod: workshop-476797459 (Pearl) Registering prefab file: prefabs/pearl [00:00:43]: Mod: workshop-476797459 (Pearl) pearl [00:00:43]: Mod: workshop-476797459 (Pearl) Registering prefab file: prefabs/pearlspear [00:00:43]: Mod: workshop-476797459 (Pearl) pearlspear [00:00:43]: Mod: workshop-476797459 (Pearl) Registering prefab file: prefabs/pearlspear_projectile [00:00:43]: Mod: workshop-476797459 (Pearl) pearlspear_projectile [00:00:43]: Mod: workshop-476797459 (Pearl) Registering prefab file: prefabs/lightfuel [00:00:43]: Mod: workshop-476797459 (Pearl) lightfuel [00:00:43]: Mod: workshop-476797459 (Pearl) Registering prefab file: prefabs/pearlsword [00:00:43]: Mod: workshop-476797459 (Pearl) pearlsword [00:00:43]: Mod: workshop-476797459 (Pearl) Registering default mod prefab [00:00:44]: LOAD BE [00:00:49]: LOAD BE: done [00:00:49]: Begin Session: 085002F2EE339850[00:00:50]: saving to server_temp/server_save [00:00:50]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )[00:00:50]: MiniMapComponent::AddAtlas( ../mods/workshop-476797459/images/map_icons/pearl.xml )[00:00:51]: Loading Nav Grid [00:00:54]: Can't find prefab randomtreeandleif [00:00:54]: SpawnSaveRecord [nil, RandomTreeAndLeif] FAILED [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:55]: Validating -1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:00:59]: Reconstructing topology [00:00:59]: ...Sorting points [00:00:59]: ...Sorting edges [00:01:00]: ...Connecting nodes [00:01:00]: ...Validating connections [00:01:00]: ...Housekeeping [00:01:00]: ...Done! [00:01:00]: 1 uploads added to server. From server_temp[00:01:00]: Telling Client our new session identifier: 085002F2EE339850[00:01:02]: Creating Steam Room[00:01:03]: [SHARD] Registering portal ID #1 [00:01:03]: Validating 1, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #2 [00:01:03]: Validating 2, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #3 [00:01:03]: Validating 3, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #4 [00:01:03]: Validating 4, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #5 [00:01:03]: Validating 5, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #6 [00:01:03]: Validating 6, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #7 [00:01:03]: Validating 7, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #8 [00:01:03]: Validating 8, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #9 [00:01:03]: Validating 9, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: [SHARD] Registering portal ID #10 [00:01:03]: Validating 10, which is disabled by prefab: status: INACTIVE world: <nil> available: false [00:01:03]: Attempting to send resume request[00:01:03]: ReceiveResumeRequest[00:01:03]: Received request to resume from: session/085002F2EE339850/KU_Gl4sTPnP_[00:01:03]: OnResumeRequestLoadComplete - UserID KU_Gl4sTPnP[00:01:03]: ReceiveResumeNotification[00:01:03]: Deleting user session from session/085002F2EE339850/KU_Gl4sTPnP_/0000000003[00:01:04]: Console_CreateRoom: roomName Silhh's World created for id 109775242392493897[00:01:12]: Received request to spawn as pearl from Silhh[Host][00:01:12]: [Fixed] SPAWNING PLAYER AT: (212.00, 0.00, 36.00) [00:01:12]: Serializing user session to session/085002F2EE339850/KU_Gl4sTPnP_/0000000003[00:01:12]: Loading minimap from session/085002F2EE339850/KU_Gl4sTPnP_/minimap[00:01:12]: Clearing minimap[00:02:04]: Could not find anim [death] in bank [ghost][00:02:04]: Serializing user minimap to session/085002F2EE339850/KU_Gl4sTPnP_/minimap[00:02:04]: Serializing user session to session/085002F2EE339850/KU_Gl4sTPnP_/0000000003[00:02:04]: SAVING Morgue 39 [00:02:09]: [string "scripts/prefabs/player_common.lua"]:882: attempt to index field 'components' (a nil value)LUA ERROR stack traceback:scripts/prefabs/player_common.lua:882 in (local) fn (Lua) <844-884> inst = 108190 - pearl (valid:true) data = table: 48970718scripts/entityscript.lua:942 in (method) PushEvent (Lua) <936-959> self (valid:true) = DynamicShadow = DynamicShadow (486C8DF8) inlimbo = false GetMoistureRateScale = function - scripts/prefabs/player_common.lua:86 SetCameraDistance = function - scripts/prefabs/player_common.lua:1173 ScreenFlash = function - scripts/prefabs/player_common.lua:1229 player_classified = 108191 - player_classified (valid:true) playercolour = table: 46ADF368 AnimState = AnimState (486C9058) Light = Light (486C91F8) _isrezattuned = false OnRemoveEntity = function - scripts/prefabs/player_common.lua:564 pendingtasks = table: 47844608 ShowHUD = function - scripts/prefabs/player_common.lua:1167 sg = sg="wilsonghost", state="talk", time=0.63, tags = "busy,idle,talking," IsHUDVisible = function - scripts/prefabs/player_common.lua:1157 ApplyScale = function - scripts/prefabs/player_common.lua:1244 SetGhostMode = function - scripts/prefabs/player_common.lua:472 ShowActions = function - scripts/prefabs/player_common.lua:1161 HUD = HUD OnWakeUp = function - scripts/prefabs/player_common.lua:1090 Transform = Transform (486C8C58) actionreplica = table: 478440B8 event_listening = table: 47844F90 actioncomponents = table: 47843E88 lower_components_shadow = table: 47843AF0 GetMaxMoisture = function - scripts/prefabs/player_common.lua:76 prefab = pearl updatecomponents = table: 4791DD10 ShakeCamera = function - scripts/prefabs/player_common.lua:1187 OnDespawn = function - scripts/prefabs/player_common.lua:1108 persists = false MiniMapEntity = MiniMapEntity (486C9498) IsFreezing = function - scripts/prefabs/player_common.lua:46 _OnLoad = function - ../mods/workshop-476797459/scripts/prefabs/pearl.lua:80 OnSetSkin = function - scripts/prefabs/player_common.lua:1135 replica = table: 47843FF0 GetTemperature = function - scripts/prefabs/player_common.lua:36 OnSleepIn = function - scripts/prefabs/player_common.lua:1062 ghostenabled = true EnableMovementPrediction = function - scripts/prefabs/player_common.lua:433 worldstatewatching = table: 46ADDEA0 Network = Network (486C9218) GetMoisture = function - scripts/prefabs/player_common.lua:66 LightWatcher = LightWatcher (486C91D8) inherentactions = table: 477092B0 spawntime = 17.300000902265 SnapCamera = function - scripts/prefabs/player_common.lua:1179 ScreenFade = function - scripts/prefabs/player_common.lua:1220 rezsource = Pearl's Gift OnSave = function - scripts/prefabs/player_common.lua:994 entity = Entity (455B64A8) Physics = Physics (3194F058) children = table: 484DB990 AttachClassified = function - scripts/prefabs/player_common.lua:553 GUID = 108190 IsActionsVisible = function - scripts/prefabs/player_common.lua:1151 name = Silhh SoundEmitter = SoundEmitter (486C8E78) IsOverheating = function - scripts/prefabs/player_common.lua:56 laststuntime = 66.466670133173 userid = KU_Gl4sTPnP soundsname = willow OnLoad = function - scripts/prefabs/player_common.lua:1016 DetachClassified = function - scripts/prefabs/player_common.lua:559 components = table: 47843F00 event_listeners = table: 47844680 event = respawnfromghost data = table: 48970718 listeners = table: 476BABF8 entity = 108190 - pearl (valid:true) fns = table: 476BB008 i = 1 fn = function - scripts/prefabs/player_common.lua:844../mods/workshop-476797459/modmain.lua:43 in (field) fn (Lua) <42-44>scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225> self = running [00:02:09]: [string "scripts/prefabs/player_common.lua"]:882: attempt to index field 'components' (a nil value)LUA ERROR stack traceback: scripts/prefabs/player_common.lua:882 in (local) fn (Lua) <844-884> scripts/entityscript.lua:942 in (method) PushEvent (Lua) <936-959> ../mods/workshop-476797459/modmain.lua:43 in (field) fn (Lua) <42-44> scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225> scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412> scripts/update.lua:162 in () ? (Lua) <146-219> [00:02:09]: SCRIPT ERROR! Showing error screen [00:02:46]: Force aborting... Another issue is my Health Penalty code is no longer working too:local function HealthPostInit(self) local OldRecalculatePenalty = self.RecalculatePenalty local function RecalculatePenalty(self, forceupdatewidget) local mult = GLOBAL.TUNING.REVIVE_HEALTH_PENALTY_AS_MULTIPLE_OF_EFFIGY mult = mult * GLOBAL.TUNING.EFFIGY_HEALTH_PENALTY local maxrevives = (self.maxhealth - 50)/mult if self.numrevives > maxrevives then self.numrevives = maxrevives end OldRecalculatePenalty(self, forceupdatewidget) end self.RecalculatePenalty = RecalculatePenaltyendAddComponentPostInit('health', HealthPostInit) No idea why they don't work now, I'm a bit confused but any help would be appreciated. Edited October 7, 2015 by rons0n Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/ Share on other sites More sharing options...
DarkXero Posted October 7, 2015 Share Posted October 7, 2015 inst:PushEvent("respawnfromghost", {source={name="Pearl's Gift",components={}}})Since the check goes from data.source to data.source.components.attunable. As for the old penalty...function Health:RecalculatePenalty() --deprecated, keeping the function around so mods don't crashendNow you havefunction Health:SetPenalty(penalty) --Penalty should never be less than 0% or ever above 75%. self.penalty = math.clamp(penalty, 0, TUNING.MAXIMUM_HEALTH_PENALTY)end Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/#findComment-678535 Share on other sites More sharing options...
rons0n Posted October 7, 2015 Author Share Posted October 7, 2015 @DarkXero, Thanks so much! Though embarassing enough, how do I use the Health:SetPenalty? I tried but I seem to have gotten some things mixed up.. Sorry for the obviousBut I do give thanks for your leniency torwards me~ Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/#findComment-678546 Share on other sites More sharing options...
DarkXero Posted October 7, 2015 Share Posted October 7, 2015 @rons0n, what is that code supposed to do? Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/#findComment-678550 Share on other sites More sharing options...
rons0n Posted October 7, 2015 Author Share Posted October 7, 2015 @DarkXero, After a certain amount of deaths I want the penalty to stop indefinitely.I have some characters that are below 100 hp and the penalties are just too harsh after multiple deaths.The code I used before made it so after a couple of deaths it'll stop at 50HP and stay 50 even after dying time after time. Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/#findComment-678556 Share on other sites More sharing options...
DarkXero Posted October 7, 2015 Share Posted October 7, 2015 @rons0n, as it is now, Pearl (with 300 max health), shouldn't go lower than 75 health.(Max penalty of 0.75; 300 - 0.75*300 = 75) For a 100 max health character,inst.components.health.SetPenalty = function(self, penalty) self.penalty = math.clamp(penalty, 0, 0.5)endso penalty doesn't exceed 0.5. Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/#findComment-678557 Share on other sites More sharing options...
rons0n Posted October 7, 2015 Author Share Posted October 7, 2015 @DarkXero, Sorry, I should've clarified that the two problems did not correlate with each other. My Apologies. But thank you for pointing that out! Now I have a better understanding on what to do. As usual, much appreciated! Link to comment https://forums.kleientertainment.com/forums/topic/58361-code-is-outdated2-problems/#findComment-678559 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