[00:00:00]: System Memory: Memory Load: 54% Available Physical Memory: 3708m/8066m Available Page File: 2721m/8761m Available Virtual Memory: 3984m/4095m Available Extended Virtual Memory: 0m [00:00:00]: Process Memory: Peak Working Set Size: 30m Working Set Size: 30m Quota Peak Page Pool Usage: 220k Quota Page Pool Usage: 215k Quota Peak Non Paged Pool Usage:17k Quota Non Paged Pool Usage: 17k Page File Usage: 5m Peak Page File Usage: 5m [00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/392675857/Cluster_2/Caves/ [00:00:00]: Starting Up [00:00:00]: Version: 408761 [00:00:00]: Current time: Wed May 06 11:21:45 2020 [00:00:00]: Don't Starve Together: 408761 WIN32 [00:00:00]: Build Date: 5259 [00:00:00]: Mode: 32-bit [00:00:00]: Parsing command line [00:00:00]: Command Line Arguments: -monitor_parent_process 19472 -persistent_storage_root APP:Klei/ -conf_dir DoNotStarveTogether -cluster Cluster_2 -ownernetid 76561198352941585 -ownerdir 392675857 -backup_log_count 10 -backup_log_period 0 -shard Caves -sigprefix DST_Slave -region EU [00:00:00]: Initializing distribution platform [00:00:00]: Initializing Minidump handler [00:00:00]: ....Done [00:00:00]: ....Done [00:00:00]: Fixing DPI [00:00:00]: ...Done [00:00:00]: THREAD - started 'GAClient' (3432) [00:00:00]: CurlRequestManager::ClientThread::Main() [00:00:00]: Mounting file system databundles/klump.zip successful. [00:00:00]: Mounting file system databundles/shaders.zip successful. [00:00:00]: Mounting file system databundles/fonts.zip successful. [00:00:00]: Mounting file system databundles/anim_dynamic.zip successful. [00:00:00]: Mounting file system databundles/bigportraits.zip successful. [00:00:00]: Mounting file system databundles/images.zip successful. [00:00:00]: Mounting file system databundles/scripts.zip successful. [00:00:00]: ProfileIndex:4.43 [00:00:00]: [Connect] PendingConnection::Reset(true) [00:00:00]: THREAD - started 'Ping Job Thread' (1452) [00:00:00]: Platform: 1 [00:00:00]: Network tick rate: U=15(2), D=0 [00:00:00]: Network tick rate: U=15(2), D=0 [00:00:00]: [Warning] Authorized application F:\steam\steamapps\common\Don't Starve Together\bin\dontstarve_dedicated_server_nullrenderer.exe is not setup in the firewall. [00:00:00]: Authorized application F:\steam\steamapps\common\Don't Starve Together\bin\dontstarve_dedicated_server_nullrenderer.exe is now enabled in the firewall. [00:00:00]: Overriding region to EU [00:00:00]: THREAD - started 'StreamInput' (2856) [00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/392675857/client_save/blocklist.txt (Failure) [00:00:00]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/392675857/client_save/adminlist.txt (Failure) [00:00:00]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/392675857/client_save/whitelist.txt (Failure) [00:00:00]: Offline user ID: OU_76561198352941585 [00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/392675857/Cluster_2/cluster_token.txt [00:00:00]: Token retrieved from: APP:Klei//DoNotStarveTogether/392675857/Cluster_2/cluster_token.txt [00:00:00]: HardwareStats: OS name Microsoft Windows 10 家庭中文版 version 10.0.18362 architecture 64 位 platformSpecific SP 0.0 CPU numCores 2 features SSE,SSE2,SSE3,SSSE3,SSE41,SSE42,AVX name Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz manufacturer GenuineIntel clockSpeed 2712 RAM megsOfRam 8192 GPU name AMD Radeon(TM) 530 driverDate 20180725000000.000000-000 megsOfRam 2048 refreshRate 60 videoModeDescription 1366 x 768 x 4294967296 种颜色 driverVersion 24.20.11016.11001 [00:00:00]: cGame::InitializeOnMainThread [00:00:00]: Renderer initialize: Okay [00:00:00]: AnimManager initialize: Okay [00:00:00]: Buffers initialize: Okay [00:00:00]: cDontStarveGame::DoGameSpecificInitialize() [00:00:00]: GameSpecific initialize: Okay [00:00:00]: cGame::StartPlaying [00:00:00]: LOADING LUA [00:00:00]: DoLuaFile scripts/main.lua [00:00:00]: DoLuaFile loading buffer scripts/main.lua [00:00:00]: Translator:LoadPOFile - loading file: scripts/languages/chinese_s.po [00:00:02]: taskgrouplist: default 联机版 [00:00:02]: taskgrouplist: classic 经典 [00:00:02]: taskgrouplist: cave_default 地下 [00:00:02]: taskgrouplist: lavaarena_taskset 熔炉 [00:00:02]: taskgrouplist: quagmire_taskset 暴食 [00:00:02]: running main.lua [00:00:02]: loaded modindex [00:00:02]: WARNING: icon paths for mod workshop-1320638127 (不重复选人) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.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:02]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:03]: DownloadMods(0) [00:00:03]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs [00:00:04]: LOADING LUA SUCCESS [00:00:04]: PlayerDeaths could not load morgue [00:00:04]: PlayerHistory could not load player_history [00:00:04]: ServerPreferences could not load server_preferences [00:00:04]: bloom_enabled false [00:00:04]: loaded saveindex [00:00:04]: OnFilesLoaded() [00:00:04]: OnUpdatePurchaseStateComplete [00:00:04]: Klump load on boot started. [00:00:04]: Klump files loaded: 0 [00:00:06]: Load FE [00:00:07]: Load FE: done [00:00:07]: THREAD - started 'FilesExistAsyncThread' (9680) [00:00:07]: FilesExistAsyncThread started (15361 files)... [00:00:07]: Check for write access: TRUE [00:00:07]: Check for read access: TRUE [00:00:07]: ModIndex: Load sequence finished successfully. [00:00:07]: Reset() returning [00:00:07]: [IPC] Signal 'DST_Slave_Kill' opened #00000560 [00:00:07]: [IPC] Registering handler for signal #00000560 [00:00:07]: [IPC] Handle #00000560 added to the Eventhandles [00:00:07]: [IPC] Signal 'DST_Slave_Starting' opened #00000568 [00:00:07]: [IPC] Sending signal... #00000568 [00:00:08]: [200] Account Communication Success (6) [00:00:08]: Received (KU_3RvV9S99) from TokenPurpose [00:00:08]: Starting Dedicated Server Game [00:00:08]: Network tick rate: U=15(2), D=0 [00:00:08]: About to start a server with the following settings: [00:00:08]: Dedicated: true [00:00:08]: Online: true [00:00:08]: Passworded: true [00:00:08]: ServerPort: 10998 [00:00:08]: SteamAuthPort: 8767 [00:00:08]: SteamMasterServerPort: 27017 [00:00:08]: ClanID: false [00:00:08]: ClanOnly: false [00:00:08]: ClanAdmin: false [00:00:08]: LanOnly: false [00:00:08]: FriendsOnly: false [00:00:08]: EnableAutosaver: true [00:00:08]: EncodeUserPath: true [00:00:08]: PVP: false [00:00:08]: MaxPlayers: 6 [00:00:08]: GameMode: survival [00:00:08]: OverridenDNS: [00:00:08]: PauseWhenEmpty: true [00:00:08]: IdleTimeout: 1800s [00:00:08]: VoteEnabled: false [00:00:08]: InternetBroadcasting: true [00:00:08]: Intent: social [00:00:08]: [Warning] Could not confirm port 10998 is open in the firewall. [00:00:08]: Online Server Started on port: 10998 [00:00:08]: Collecting garbage... [00:00:08]: lua_gc took 0.08 seconds [00:00:08]: ~ShardLuaProxy() [00:00:08]: ~cEventLeaderboardProxy() [00:00:08]: ~ItemServerLuaProxy() [00:00:08]: ~InventoryLuaProxy() [00:00:08]: ~NetworkLuaProxy() [00:00:08]: ~SimLuaProxy() [00:00:08]: Cancelling LuaQueryCallback handle [1] [00:00:08]: FilesExistAsyncThread aborted. [00:00:08]: ... FilesExistAsyncThread complete [00:00:08]: lua_close took 0.13 seconds [00:00:08]: ReleaseAll [00:00:08]: ReleaseAll Finished [00:00:08]: cGame::StartPlaying [00:00:08]: LOADING LUA [00:00:08]: DoLuaFile scripts/main.lua [00:00:08]: DoLuaFile loading buffer scripts/main.lua [00:00:08]: Translator:LoadPOFile - loading file: scripts/languages/chinese_s.po [00:00:10]: taskgrouplist: default 联机版 [00:00:10]: taskgrouplist: classic 经典 [00:00:10]: taskgrouplist: cave_default 地下 [00:00:10]: taskgrouplist: lavaarena_taskset 熔炉 [00:00:10]: taskgrouplist: quagmire_taskset 暴食 [00:00:10]: running main.lua [00:00:10]: loaded modindex [00:00:10]: WARNING: icon paths for mod workshop-1320638127 (不重复选人) are not valid. Got icon_atlas="modicon.xml" and icon="modicon.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:11]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:11]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs [00:00:11]: LOADING LUA SUCCESS [00:00:11]: PlayerDeaths could not load morgue [00:00:11]: PlayerHistory could not load player_history [00:00:11]: ServerPreferences could not load server_preferences [00:00:11]: bloom_enabled false [00:00:11]: loaded saveindex [00:00:11]: OnFilesLoaded() [00:00:11]: OnUpdatePurchaseStateComplete [00:00:11]: Loading world: session/00932A56D354D041/0000000006 [00:00:11]: Save file is at version 5.04 [00:00:11]: Klump load on boot started. [00:00:11]: Klump files loaded: 0 [00:00:12]: Unload FE [00:00:12]: Unload FE done [00:00:13]: LOAD BE [00:00:19]: LOAD BE: done [00:00:19]: Begin Session: 00932A56D354D041 [00:00:20]: saving to server_temp/server_save [00:00:20]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) [00:00:20]: Loading 16 new character(s) [00:00:20]: Total 16 character(s) loaded [00:00:28]: Loading Nav Grid [00:00:28]: World generated on version 408761, using seed: 1588733041 [00:00:28]: setting summerlength 15 [00:00:28]: setting isnightmaredawn false [00:00:28]: setting elapseddaysinseason 0 [00:00:28]: setting isfullmoon false [00:00:28]: setting moisture 81.443840026855 [00:00:28]: setting springlength 20 [00:00:28]: setting isnightmarewild false [00:00:28]: setting moonphase new [00:00:28]: setting precipitationrate 0 [00:00:28]: setting iswet false [00:00:28]: setting isnewmoon false [00:00:28]: setting iswinter false [00:00:28]: setting israining false [00:00:28]: setting isnightmarewarn false [00:00:28]: setting precipitation none [00:00:28]: setting cavephase dusk [00:00:28]: setting moistureceil 663.52124023438 [00:00:28]: setting isday false [00:00:28]: setting iscaveday false [00:00:28]: setting season autumn [00:00:28]: setting timeinphase 0.41610955132378 [00:00:28]: setting temperature 17.901609458011 [00:00:28]: setting isnightmarecalm true [00:00:28]: setting isnight true [00:00:28]: setting isdusk false [00:00:28]: setting iscavedusk true [00:00:28]: setting isautumn true [00:00:28]: setting issnowing false [00:00:28]: setting iswaxingmoon true [00:00:28]: setting pop 0.12274488756093 [00:00:28]: setting snowlevel 0 [00:00:28]: setting issnowcovered false [00:00:28]: setting autumnlength 20 [00:00:28]: setting phase night [00:00:28]: setting nightmaretime 325.76718139648 [00:00:28]: setting winterlength 15 [00:00:28]: setting isspring false [00:00:28]: setting nightmarephase calm [00:00:28]: setting remainingdaysinseason 20 [00:00:28]: setting cycles 0 [00:00:28]: setting iscavenight false [00:00:28]: setting nightmaretimeinphase 0.90490883721246 [00:00:28]: setting wetness 0 [00:00:28]: setting time 0.65604108174642 [00:00:28]: setting issummer false [00:00:28]: [Shard] Slave is waiting for LUA... [00:00:33]: Reconstructing topology [00:00:33]: ...Sorting points [00:00:33]: ...Sorting edges [00:00:33]: ...Connecting nodes [00:00:33]: ...Validating connections [00:00:33]: ...Housekeeping [00:00:33]: ...Done! [00:00:33]: 1 uploads added to server. From server_temp [00:00:33]: About to start a shard with these settings: [00:00:33]: ShardName: Caves [00:00:33]: ShardID: 2690070593 [00:00:33]: ShardRole: SLAVE [00:00:33]: MasterHost: 127.0.0.1 [00:00:33]: MasterBind: (null) [00:00:33]: MasterPort: 10888 [00:00:33]: [Shard] Connecting to master... [00:00:33]: Telling Client our new session identifier: 00932A56D354D041 [00:00:33]: Check for write access: TRUE [00:00:33]: Check for read access: TRUE [00:00:33]: ModIndex: Load sequence finished successfully. [00:00:33]: Reset() returning [00:00:33]: [Steam] SteamGameServer_Init(8767, 10998, 27017) [00:00:34]: [Steam] SteamGameServer_Init success [00:00:34]: [Shard] Sending slave information to master... [00:00:34]: Validating portal[5] <-> 1[5] (inactive) [00:00:34]: Validating portal[3] <-> 1[3] (inactive) [00:00:34]: Validating portal[7] <-> 1[7] (inactive) [00:00:34]: Validating portal[6] <-> 1[6] (inactive) [00:00:34]: Validating portal[8] <-> 1[8] (inactive) [00:00:34]: Validating portal[1] <-> 1[1] (inactive) [00:00:34]: Validating portal[2] <-> 1[2] (inactive) [00:00:34]: Validating portal[9] <-> 1[9] (inactive) [00:00:34]: Validating portal[10] <-> 1[10] (inactive) [00:00:34]: Validating portal[4] <-> 1[4] (inactive) [00:00:34]: Registering slave in EU lobby [00:00:35]: Gameserver logged on to Steam, assigned identity steamid:90135043259041796 [00:00:36]: [Shard] Slave is now ready! [00:00:36]: Registering slave in EU lobby [00:00:36]: World 1 is now connected [00:00:36]: Validating portal[5] <-> 1[5] (active) [00:00:36]: Validating portal[3] <-> 1[3] (active) [00:00:36]: Validating portal[7] <-> 1[7] (active) [00:00:36]: Validating portal[6] <-> 1[6] (active) [00:00:36]: Validating portal[8] <-> 1[8] (active) [00:00:36]: Validating portal[1] <-> 1[1] (active) [00:00:36]: Validating portal[2] <-> 1[2] (active) [00:00:36]: Validating portal[9] <-> 1[9] (active) [00:00:36]: Validating portal[10] <-> 1[10] (active) [00:00:36]: Validating portal[4] <-> 1[4] (active) [00:00:37]: [Shard] Slave LUA is now ready! [00:00:37]: [IPC] Signal 'DST_Slave_Ready' opened #000006B4 [00:00:37]: [IPC] Sending signal... #000006B4 [00:00:37]: Sim paused [00:00:43]: [Shard] Received forward request #1 for (KU_3RvV9S99) [00:00:43]: Sim unpaused [00:00:50]: New incoming connection 127.0.0.1|60332 <8229244791339329640> [00:00:50]: Client connected from [LAN] 127.0.0.1|60332 <8229244791339329640> [00:00:50]: ValidateGameSessionToken pgs-usc^KU_3RvV9S99^DontStarveTogether^X3I5y/dLhB26XOyiz4qhnsbVYrCRh+qiCZsmf4q4kFM= for <8229244791339329640> [00:00:50]: Client authenticated: (KU_3RvV9S99) . [00:00:50]: [Steam] Authenticated host '76561198352941585' [00:00:54]: There is no active event to validate against. [00:00:54]: [Shard] Completed incoming migration #1 for (KU_3RvV9S99) [00:01:13]: Resuming user: session/00932A56D354D041/A7GDNPFIBGI9/0000000005 [00:01:13]: Spawning player at: [Load] (-272.50, 0.00, -372.09) [00:01:37]: [(KU_3RvV9S99) .] ReceiveRemoteExecute(local player = UserToPlayer('KU_3RvV9S99') if player == nil then UserToPlayer("KU_3RvV9S99").components.talker:Say("该玩家与你不在同一世界!命令无法生效。") end local function onturnon(inst) if inst._stage == 3 then if inst.AnimState:IsCurrentAnimation("proximity_pre") or inst.AnimState:IsCurrentAnimation("proximity_loop") or inst.AnimState:IsCurrentAnimation("place3") then inst.AnimState:PushAnimation("proximity_pre") else inst.AnimState:PlayAnimation("proximity_pre") end inst.AnimState:PushAnimation("proximity_loop", true) end end local function onturnoff(inst) if inst._stage == 3 then inst.AnimState:PlayAnimation("proximity_pst") inst.AnimState:PushAnimation("idle3", false) end end if player ~= nil and player.Transform then if "lightbulb" == "klaus" then local pos = player:GetPosition() local minplayers = math.huge local spawnx, spawnz FindWalkableOffset(pos, math.random() * 2 * PI, 33, 16, true, true, function(pt) local count = #FindPlayersInRangeSq(pt.x, pt.y, pt.z, 625) if count < minplayers then minplayers = count spawnx, spawnz = pt.x, pt.z return count <= 0 end return false end) if spawnx == nil then local offset = FindWalkableOffset(pos, math.random() * 2 * PI, 3, 8, false, true) if offset ~= nil then spawnx, spawnz = pos.x + offset.x, pos.z + offset.z end end local klaus = SpawnPrefab("klaus") klaus.Transform:SetPosition(spawnx or pos.x, 0, spawnz or pos.z) klaus:SpawnDeer() klaus.components.knownlocations:RememberLocation("spawnpoint", pos, false) klaus.components.spawnfader:FadeIn() else local x,y,z = player.Transform:GetWorldPosition() for i = 1, 10 or 1 do local inst = SpawnPrefab("lightbulb", "lightbulb", nil, "KU_3RvV9S99") if inst ~= nil and inst.components then if inst.components.skinner ~= nil and IsRestrictedCharacter(inst.prefab) then inst.components.skinner:SetSkinMode("normal_skin") end if inst.components.inventoryitem ~= nil then if player.components and player.components.inventory then player.components.inventory:GiveItem(inst) end else inst.Transform:SetPosition(x,y,z) if "lightbulb" == "deciduoustree" then inst:StartMonster(true) end end if not inst.components.health then if inst.components.perishable then inst.components.perishable:SetPercent(1) end if inst.components.finiteuses then inst.components.finiteuses:SetPercent(1) end if inst.components.fueled then inst.components.fueled:SetPercent(1) end if inst.components.temperature then inst.components.temperature:SetTemperature(25) end if 1 ~= 1 and inst.components.follower then inst.components.follower:SetLeader(player) end if "lightbulb" == "moon_altar" then inst._stage =3 inst.AnimState:PlayAnimation("idle3") inst:AddComponent("prototyper") inst.components.prototyper.trees = TUNING.PROTOTYPER_TREES.MOON_ALTAR_FULL inst.components.prototyper.onturnon = onturnon inst.components.prototyper.onturnoff = onturnoff inst.components.lootdropper:SetLoot({ "moon_altar_idol", "moon_altar_glass", "moon_altar_seed" }) end end end end end end) @(-252.94, -373.47) [00:01:37]: [(KU_3RvV9S99) .] ReceiveRemoteExecute(local player = UserToPlayer('KU_3RvV9S99') if player == nil then UserToPlayer("KU_3RvV9S99").components.talker:Say("该玩家与你不在同一世界!命令无法生效。") end local function onturnon(inst) if inst._stage == 3 then if inst.AnimState:IsCurrentAnimation("proximity_pre") or inst.AnimState:IsCurrentAnimation("proximity_loop") or inst.AnimState:IsCurrentAnimation("place3") then inst.AnimState:PushAnimation("proximity_pre") else inst.AnimState:PlayAnimation("proximity_pre") end inst.AnimState:PushAnimation("proximity_loop", true) end end local function onturnoff(inst) if inst._stage == 3 then inst.AnimState:PlayAnimation("proximity_pst") inst.AnimState:PushAnimation("idle3", false) end end if player ~= nil and player.Transform then if "lightbulb" == "klaus" then local pos = player:GetPosition() local minplayers = math.huge local spawnx, spawnz FindWalkableOffset(pos, math.random() * 2 * PI, 33, 16, true, true, function(pt) local count = #FindPlayersInRangeSq(pt.x, pt.y, pt.z, 625) if count < minplayers then minplayers = count spawnx, spawnz = pt.x, pt.z return count <= 0 end return false end) if spawnx == nil then local offset = FindWalkableOffset(pos, math.random() * 2 * PI, 3, 8, false, true) if offset ~= nil then spawnx, spawnz = pos.x + offset.x, pos.z + offset.z end end local klaus = SpawnPrefab("klaus") klaus.Transform:SetPosition(spawnx or pos.x, 0, spawnz or pos.z) klaus:SpawnDeer() klaus.components.knownlocations:RememberLocation("spawnpoint", pos, false) klaus.components.spawnfader:FadeIn() else local x,y,z = player.Transform:GetWorldPosition() for i = 1, 10 or 1 do local inst = SpawnPrefab("lightbulb", "lightbulb", nil, "KU_3RvV9S99") if inst ~= nil and inst.components then if inst.components.skinner ~= nil and IsRestrictedCharacter(inst.prefab) then inst.components.skinner:SetSkinMode("normal_skin") end if inst.components.inventoryitem ~= nil then if player.components and player.components.inventory then player.components.inventory:GiveItem(inst) end else inst.Transform:SetPosition(x,y,z) if "lightbulb" == "deciduoustree" then inst:StartMonster(true) end end if not inst.components.health then if inst.components.perishable then inst.components.perishable:SetPercent(1) end if inst.components.finiteuses then inst.components.finiteuses:SetPercent(1) end if inst.components.fueled then inst.components.fueled:SetPercent(1) end if inst.components.temperature then inst.components.temperature:SetTemperature(25) end if 1 ~= 1 and inst.components.follower then inst.components.follower:SetLeader(player) end if "lightbulb" == "moon_altar" then inst._stage =3 inst.AnimState:PlayAnimation("idle3") inst:AddComponent("prototyper") inst.components.prototyper.trees = TUNING.PROTOTYPER_TREES.MOON_ALTAR_FULL inst.components.prototyper.onturnon = onturnon inst.components.prototyper.onturnoff = onturnoff inst.components.lootdropper:SetLoot({ "moon_altar_idol", "moon_altar_glass", "moon_altar_seed" }) end end end end end end) @(-252.94, -373.47) [00:01:37]: [(KU_3RvV9S99) .] ReceiveRemoteExecute(local player = UserToPlayer('KU_3RvV9S99') if player == nil then UserToPlayer("KU_3RvV9S99").components.talker:Say("该玩家与你不在同一世界!命令无法生效。") end local function onturnon(inst) if inst._stage == 3 then if inst.AnimState:IsCurrentAnimation("proximity_pre") or inst.AnimState:IsCurrentAnimation("proximity_loop") or inst.AnimState:IsCurrentAnimation("place3") then inst.AnimState:PushAnimation("proximity_pre") else inst.AnimState:PlayAnimation("proximity_pre") end inst.AnimState:PushAnimation("proximity_loop", true) end end local function onturnoff(inst) if inst._stage == 3 then inst.AnimState:PlayAnimation("proximity_pst") inst.AnimState:PushAnimation("idle3", false) end end if player ~= nil and player.Transform then if "lightbulb" == "klaus" then local pos = player:GetPosition() local minplayers = math.huge local spawnx, spawnz FindWalkableOffset(pos, math.random() * 2 * PI, 33, 16, true, true, function(pt) local count = #FindPlayersInRangeSq(pt.x, pt.y, pt.z, 625) if count < minplayers then minplayers = count spawnx, spawnz = pt.x, pt.z return count <= 0 end return false end) if spawnx == nil then local offset = FindWalkableOffset(pos, math.random() * 2 * PI, 3, 8, false, true) if offset ~= nil then spawnx, spawnz = pos.x + offset.x, pos.z + offset.z end end local klaus = SpawnPrefab("klaus") klaus.Transform:SetPosition(spawnx or pos.x, 0, spawnz or pos.z) klaus:SpawnDeer() klaus.components.knownlocations:RememberLocation("spawnpoint", pos, false) klaus.components.spawnfader:FadeIn() else local x,y,z = player.Transform:GetWorldPosition() for i = 1, 10 or 1 do local inst = SpawnPrefab("lightbulb", "lightbulb", nil, "KU_3RvV9S99") if inst ~= nil and inst.components then if inst.components.skinner ~= nil and IsRestrictedCharacter(inst.prefab) then inst.components.skinner:SetSkinMode("normal_skin") end if inst.components.inventoryitem ~= nil then if player.components and player.components.inventory then player.components.inventory:GiveItem(inst) end else inst.Transform:SetPosition(x,y,z) if "lightbulb" == "deciduoustree" then inst:StartMonster(true) end end if not inst.components.health then if inst.components.perishable then inst.components.perishable:SetPercent(1) end if inst.components.finiteuses then inst.components.finiteuses:SetPercent(1) end if inst.components.fueled then inst.components.fueled:SetPercent(1) end if inst.components.temperature then inst.components.temperature:SetTemperature(25) end if 1 ~= 1 and inst.components.follower then inst.components.follower:SetLeader(player) end if "lightbulb" == "moon_altar" then inst._stage =3 inst.AnimState:PlayAnimation("idle3") inst:AddComponent("prototyper") inst.components.prototyper.trees = TUNING.PROTOTYPER_TREES.MOON_ALTAR_FULL inst.components.prototyper.onturnon = onturnon inst.components.prototyper.onturnoff = onturnoff inst.components.lootdropper:SetLoot({ "moon_altar_idol", "moon_altar_glass", "moon_altar_seed" }) end end end end end end) @(-252.94, -373.47) [00:02:24]: [Steam] SendUserDisconnect for '76561198352941585' [00:02:25]: Serializing user: session/00932A56D354D041/A7GDNPFIBGI9/0000000007 [00:02:25]: Sim paused [00:02:25]: [Shard] We have been disconnected from the master. Waiting to reconnect... [00:02:26]: [IPC] Received shutdown signal. [00:02:26]: Serializing world: session/00932A56D354D041/0000000007 [00:02:26]: [Shard] Stopping shard mode [00:02:27]: Collecting garbage... [00:02:27]: lua_gc took 0.09 seconds [00:02:27]: ~ShardLuaProxy() [00:02:27]: ~cEventLeaderboardProxy() [00:02:27]: ~ItemServerLuaProxy() [00:02:27]: ~InventoryLuaProxy() [00:02:27]: ~NetworkLuaProxy() [00:02:27]: ~SimLuaProxy() [00:02:27]: lua_close took 0.18 seconds [00:02:27]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:27]: CurlRequestManager::ClientThread::Main() complete [00:02:27]: HttpClient2 discarded 0 callbacks. [00:02:27]: Shutting down