AkaiNight Posted December 28, 2019 Share Posted December 28, 2019 I was using a code for little boost for my character it was in modmain.lua but my character has little changes on moon phase so i wanted to edit it depends on moon phase but when i use the same code as i use in character.lua it crashes what can i use instead of if GetWorld.state.isday then or if TheWorld.state.isday then it both crashes Link to comment Share on other sites More sharing options...
Lokoluna Posted December 29, 2019 Share Posted December 29, 2019 Can you give us the crash log? Link to comment Share on other sites More sharing options...
AkaiNight Posted December 29, 2019 Author Share Posted December 29, 2019 7 hours ago, Lokoluna said: Can you give us the crash log? sure Quote [00:00:00]: System Memory: Memory Load: 41% Available Physical Memory: 4777m/8131m Available Page File: 4276m/9749m Available Virtual Memory: 3969m/4095m Available Extended Virtual Memory: 0m [00:00:00]: Process Memory: Peak Working Set Size: 29m Working Set Size: 29m Quota Peak Page Pool Usage: 240k Quota Page Pool Usage: 232k Quota Peak Non Paged Pool Usage:16k Quota Non Paged Pool Usage: 15k Page File Usage: 5m Peak Page File Usage: 5m [00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/ [00:00:00]: Starting Up [00:00:00]: Version: 387834 [00:00:00]: Current time: Sat Dec 28 15:54:33 2019 [00:00:00]: Don't Starve Together: 387834 WIN32_STEAM [00:00:00]: Build Date: 4816 [00:00:00]: Mode: 32-bit [00:00:00]: Parsing command line [00:00:00]: Command Line Arguments: [00:00:00]: Initializing distribution platform [00:00:00]: Initializing Minidump handler [00:00:00]: ....Done [00:00:00]: Steam AppBuildID: 4522784 [00:00:00]: ....Done [00:00:00]: PersistUserStorage is now APP:Klei//DoNotStarveTogether/93988299/ [00:00:00]: Fixing DPI [00:00:00]: ...Done [00:00:00]: THREAD - started 'GAClient' (4132) [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:04]: ProfileIndex:3.15 [00:00:04]: [Connect] PendingConnection::Reset(true) [00:00:04]: Platform: 1 [00:00:04]: THREAD - started 'Ping Job Thread' (4536) [00:00:04]: Network tick rate: U=15(2), D=0 [00:00:04]: Authorized application D:\Programs\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe is enabled in the firewall. [00:00:04]: WindowsFirewall - Application already authorized [00:00:04]: THREAD - started 'StreamInput' (12524) [00:00:04]: loaded ping_cache [00:00:04]: Offline user ID: OU_76561198054254027 [00:00:04]: SteamID: 76561198054254027 [00:00:04]: HardwareStats: OS name Microsoft Windows 10 Pro version 10.0.10586 architecture 64 bit platformSpecific SP 0.0 CPU numCores 6 features SSE,SSE2,SSE3,SSSE3,SSE41,SSE42,AVX name Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz manufacturer GenuineIntel clockSpeed 2808 RAM megsOfRam 8192 GPU name NVIDIA GeForce GTX 1050 Ti driverDate 20191206000000.000000-000 megsOfRam 4095 refreshRate 60 videoModeDescription 1920 x 1080 x 4294967296 renk driverVersion 26.21.14.4166 [00:00:04]: cGame::InitializeOnMainThread [00:00:04]: WindowManager::Initialize [00:00:04]: CreateWindow: Requesting 1269,714 - 5/6/5 - -1/-1/-1 - 0 [00:00:04]: CreateEGLContext: 12 configs found [00:00:04]: 0: 8/8/8 - 0/ 0/ 0 - 0 [00:00:04]: 1: 8/8/8 - 0/16/ 0 - 0 [00:00:04]: 2: 8/8/8 - 0/24/ 0 - 0 [00:00:04]: 3: 8/8/8 - 0/24/ 8 - 0 [00:00:04]: 4: 5/5/5 - 0/ 0/ 0 - 0 [00:00:04]: 5: 5/5/5 - 0/16/ 0 - 0 [00:00:04]: 6: 5/5/5 - 0/24/ 0 - 0 [00:00:04]: 7: 5/5/5 - 0/24/ 8 - 0 [00:00:04]: 8: 8/8/8 - 8/ 0/ 0 - 0 [00:00:04]: 9: 8/8/8 - 8/16/ 0 - 0 [00:00:04]: 10: 8/8/8 - 8/24/ 0 - 0 [00:00:04]: 11: 8/8/8 - 8/24/ 8 - 0 [00:00:05]: SetCommonDefaultControlMapping [00:00:05]: X-pos and Y-pos available (Left Stick) [00:00:05]: Z-pos and Z-rot available (Right Stick) [00:00:05]: GLInfo [00:00:05]: ~~~~~~ [00:00:05]: GL_VENDOR: Google Inc. [00:00:05]: GL_RENDERER: ANGLE (NVIDIA GeForce GTX 1050 Ti) [00:00:05]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249) [00:00:05]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249) [00:00:05]: THREAD - started 'WindowsInputManager' (16020) [00:00:05]: OpenGL extensions (19, 19): [00:00:05]: GL_ANGLE_depth_texture [00:00:05]: GL_ANGLE_framebuffer_blit [00:00:05]: GL_ANGLE_framebuffer_multisample [00:00:05]: GL_ANGLE_instanced_arrays [00:00:05]: GL_ANGLE_pack_reverse_row_order [00:00:05]: GL_ANGLE_texture_compression_dxt3 [00:00:05]: GL_ANGLE_texture_compression_dxt5 [00:00:05]: GL_ANGLE_texture_usage [00:00:05]: GL_ANGLE_translated_shader_source [00:00:05]: GL_EXT_read_format_bgra [00:00:05]: GL_EXT_robustness [00:00:05]: GL_EXT_texture_compression_dxt1 [00:00:05]: GL_EXT_texture_format_BGRA8888 [00:00:05]: GL_EXT_texture_storage [00:00:05]: GL_OES_get_program_binary [00:00:05]: GL_OES_packed_depth_stencil [00:00:05]: GL_OES_rgb8_rgba8 [00:00:05]: GL_OES_standard_derivatives [00:00:05]: GL_OES_texture_npot [00:00:05]: GL_MAX_TEXTURE_SIZE = 16384 [00:00:05]: GL_MAX_TEXTURE_IMAGE_UNITS = 16 [00:00:05]: GL_MAX_RENDERBUFFER_SIZE = 16384 [00:00:05]: GL_MAX_VIEWPORT_DIMS = 16384, 16384 [00:00:05]: GL_MAX_VARYING_VECTORS = 10 [00:00:05]: GL_MAX_VERTEX_ATTRIBS = 16 [00:00:05]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254 [00:00:05]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4 [00:00:05]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221 [00:00:05]: 4 compressed texture formats [00:00:05]: texture format 0x83f0 [00:00:05]: texture format 0x83f1 [00:00:05]: texture format 0x83f2 [00:00:05]: texture format 0x83f3 [00:00:05]: Renderer initialize: Okay [00:00:05]: AnimManager initialize: Okay [00:00:05]: 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]: taskgrouplist: default Together [00:00:05]: taskgrouplist: classic Classic [00:00:05]: taskgrouplist: cave_default Underground [00:00:05]: taskgrouplist: lavaarena_taskset The Forge [00:00:05]: taskgrouplist: quagmire_taskset The Gorge [00:00:05]: running main.lua [00:00:05]: loaded modindex [00:00:05]: ModIndex: Beginning normal load sequence. [00:00:05]: ModIndex:GetModsToLoad inserting moddir, workshop-376333686 [00:00:05]: Could not load mod_config_data/modconfiguration_workshop-376333686 [00:00:05]: Loading mod: workshop-376333686 (Combined Status) Version:1.7.8 [00:00:05]: Mod: workshop-376333686 (Combined Status) Loading modworldgenmain.lua [00:00:05]: Mod: workshop-376333686 (Combined Status) Mod had no modworldgenmain.lua. Skipping. [00:00:05]: Mod: workshop-376333686 (Combined Status) Loading modmain.lua [00:00:05]: ModIndex:GetModsToLoad inserting moddir, workshop-376333686 [00:00:06]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs [00:00:07]: LOADING LUA SUCCESS [00:00:07]: PlayerDeaths loaded morgue 5606 [00:00:07]: PlayerHistory loaded player_history (v2) len:219 [00:00:07]: ServerPreferences loaded server_preferences 2 [00:00:07]: bloom_enabled true [00:00:07]: loaded saveindex [00:00:07]: OnFilesLoaded() [00:00:07]: OnUpdatePurchaseStateComplete [00:00:07]: Klump load on boot started. [00:00:07]: Klump files loaded: 0 [00:00:09]: Mod: workshop-376333686 (Combined Status) Registering prefabs [00:00:09]: Mod: workshop-376333686 (Combined Status) Registering default mod prefab [00:00:09]: Load FE [00:00:09]: Load FE: done [00:00:09]: THREAD - started 'FilesExistAsyncThread' (7672) [00:00:09]: FilesExistAsyncThread started (14501 files)... [00:00:09]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/93988299/client_save/blocklist.txt (Failure) [00:00:09]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/93988299/client_save/adminlist.txt (Failure) [00:00:09]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/93988299/client_save/whitelist.txt (Failure) [00:00:09]: [MOTD] Downloading info from https://motd.klei.com/?game=dst&platform=STEAM&locale=TR&lang=turkish&user=76561198054254027 [00:00:09]: SimLuaProxy::QueryServer() [00:00:09]: Check for write access: TRUE [00:00:09]: Check for read access: TRUE [00:00:09]: ModIndex: Load sequence finished successfully. [00:00:09]: Reset() returning [00:00:10]: ... FilesExistAsyncThread complete [00:00:11]: [MOTD] Downloading image for box1 [00:00:13]: [Steam] Auth Session Ticket requested... [00:00:14]: [Steam] Got Auth Session Ticket [00:00:15]: [200] Account Communication Success (3) [00:00:15]: Logging in as KU_yy8VPGPr [00:00:16]: There is no active event to get the status of. [00:00:16]: loaded inventory_cache_prod [00:00:16]: loaded inventory_cache_prod [00:00:17]: [MOTD] Done Loading. [00:00:20]: Getting top mod details... [00:00:20]: Frontend-Unloading mod 'all'. [00:00:20]: ../mods/workshop-442635304/moreintumbleweed-icon.tex is 200x200 but compressed textures must have power of 2 dimensions. [00:00:20]: ../mods/workshop-623286817/modicon.tex is 200x200 but compressed textures must have power of 2 dimensions. [00:00:20]: ../mods/workshop-1815741984/modicon.tex is 316x316 but compressed textures must have power of 2 dimensions. [00:00:20]: ../mods/workshop-908528377/preview.tex is 200x200 but compressed textures must have power of 2 dimensions. [00:00:20]: FrontendLoadMod Kitsura [00:00:20]: Could not load mod_config_data/modconfiguration_Kitsura [00:00:20]: Fontend-Loading mod: Kitsura (Kitsura FrostFox) Version:q,q [00:00:20]: Mod: Kitsura (Kitsura FrostFox) Loading modworldgenmain.lua [00:00:20]: Mod: Kitsura (Kitsura FrostFox) Mod had no modworldgenmain.lua. Skipping. [00:00:21]: GOT top mod details...50 [00:00:22]: Could not load mod_config_data/modconfiguration_Kitsura [00:00:22]: Network tick rate: U=15(2), D=0 [00:00:22]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:00:22]: About to start a server with the following settings: [00:00:22]: Dedicated: false [00:00:22]: Online: true [00:00:22]: Passworded: false [00:00:22]: ServerPort: 10999 [00:00:22]: SteamAuthPort: 8766 [00:00:22]: SteamMasterServerPort: 27016 [00:00:22]: ClanID: false [00:00:22]: ClanOnly: false [00:00:22]: ClanAdmin: false [00:00:22]: LanOnly: false [00:00:22]: FriendsOnly: false [00:00:22]: EnableAutosaver: true [00:00:22]: EncodeUserPath: true [00:00:22]: PVP: false [00:00:22]: MaxPlayers: 6 [00:00:22]: GameMode: survival [00:00:22]: OverridenDNS: [00:00:22]: PauseWhenEmpty: true [00:00:22]: IdleTimeout: 1800s [00:00:22]: VoteEnabled: false [00:00:22]: InternetBroadcasting: true [00:00:22]: Intent: social [00:00:22]: [Warning] Could not confirm port 10999 is open in the firewall. [00:00:22]: Could not load mod_config_data/modconfiguration_Kitsura [00:00:22]: Online Server Started on port: 10999 [00:00:22]: Collecting garbage... [00:00:22]: lua_gc took 0.03 seconds [00:00:22]: ~ShardLuaProxy() [00:00:22]: ~cEventLeaderboardProxy() [00:00:22]: ~ItemServerLuaProxy() [00:00:22]: ~InventoryLuaProxy() [00:00:22]: ~NetworkLuaProxy() [00:00:22]: ~SimLuaProxy() [00:00:22]: Cancelling LuaQueryCallback handle [11] [00:00:22]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:00:22]: lua_close took 0.04 seconds [00:00:22]: ReleaseAll [00:00:22]: ReleaseAll Finished [00:00:22]: cGame::StartPlaying [00:00:22]: LOADING LUA [00:00:22]: DoLuaFile scripts/main.lua [00:00:22]: DoLuaFile loading buffer scripts/main.lua [00:00:22]: taskgrouplist: default Together [00:00:22]: taskgrouplist: classic Classic [00:00:22]: taskgrouplist: cave_default Underground [00:00:22]: taskgrouplist: lavaarena_taskset The Forge [00:00:22]: taskgrouplist: quagmire_taskset The Gorge [00:00:22]: running main.lua [00:00:22]: unloading prefabs for mod MOD_workshop-376333686 [00:00:22]: loaded modindex [00:00:22]: ModIndex: Beginning normal load sequence. [00:00:22]: ModIndex:GetModsToLoad inserting moddir, Kitsura [00:00:22]: ModIndex:GetModsToLoad inserting moddir, workshop-376333686 [00:00:22]: Could not load mod_config_data/modconfiguration_Kitsura [00:00:22]: Loading mod: Kitsura (Kitsura FrostFox) Version:q,q [00:00:22]: Could not load mod_config_data/modconfiguration_workshop-376333686 [00:00:22]: Loading mod: workshop-376333686 (Combined Status) Version:1.7.8 [00:00:22]: Mod: Kitsura (Kitsura FrostFox) Loading modworldgenmain.lua [00:00:22]: Mod: Kitsura (Kitsura FrostFox) Mod had no modworldgenmain.lua. Skipping. [00:00:22]: Mod: Kitsura (Kitsura FrostFox) Loading modmain.lua [00:00:22]: Mod: workshop-376333686 (Combined Status) Loading modworldgenmain.lua [00:00:22]: Mod: workshop-376333686 (Combined Status) Mod had no modworldgenmain.lua. Skipping. [00:00:22]: Mod: workshop-376333686 (Combined Status) Loading modmain.lua [00:00:22]: ModIndex:GetModsToLoad inserting moddir, Kitsura [00:00:22]: ModIndex:GetModsToLoad inserting moddir, workshop-376333686 [00:00:23]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs [00:00:23]: LOADING LUA SUCCESS [00:00:23]: Registering mod namespace "kitsura" [00:00:23]: PlayerDeaths loaded morgue 5606 [00:00:23]: PlayerHistory loaded player_history (v2) len:219 [00:00:23]: ServerPreferences loaded server_preferences 2 [00:00:23]: bloom_enabled true [00:00:23]: loaded saveindex [00:00:23]: OnFilesLoaded() [00:00:23]: OnUpdatePurchaseStateComplete [00:00:23]: Loading world: session/726E76F9AB3E8C16/0000000002 [00:00:23]: Save file is at version 5.031 [00:00:23]: Klump load on boot started. [00:00:23]: Klump files loaded: 0 [00:00:23]: Unload FE [00:00:23]: Unload FE done [00:00:23]: Mod: Kitsura (Kitsura FrostFox) Registering prefabs [00:00:23]: Mod: Kitsura (Kitsura FrostFox) Registering prefab file: prefabs/kitsura [00:00:23]: Mod: Kitsura (Kitsura FrostFox) kitsura [00:00:23]: Mod: Kitsura (Kitsura FrostFox) Registering prefab file: prefabs/kitsura_none [00:00:23]: Mod: Kitsura (Kitsura FrostFox) alishia_none [00:00:23]: Mod: Kitsura (Kitsura FrostFox) Registering default mod prefab [00:00:24]: Mod: workshop-376333686 (Combined Status) Registering prefabs [00:00:24]: Mod: workshop-376333686 (Combined Status) Registering default mod prefab [00:00:24]: LOAD BE [00:00:27]: LOAD BE: done [00:00:27]: Begin Session: 726E76F9AB3E8C16 [00:00:27]: saving to server_temp/server_save [00:00:27]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) [00:00:27]: MiniMapComponent::AddAtlas( ../mods/Kitsura/images/map_icons/kitsura.xml ) [00:00:27]: Loading 17 new character(s) [00:00:27]: Total 17 character(s) loaded [00:00:28]: Loading Nav Grid [00:00:28]: World generated on version 387834, using seed: 1577346533 [00:00:31]: Reconstructing topology [00:00:31]: ...Sorting points [00:00:31]: ...Sorting edges [00:00:31]: ...Connecting nodes [00:00:31]: ...Validating connections [00:00:31]: ...Housekeeping [00:00:31]: ...Done! [00:00:31]: Truncating to snapshot #2... [00:00:31]: - session/726E76F9AB3E8C16/A7NJO8FMA1JL/0000000003 [00:00:31]: 1 file(s) removed [00:00:31]: 1 uploads added to server. From server_temp [00:00:31]: Telling Client our new session identifier: 726E76F9AB3E8C16 [00:00:31]: Check for write access: TRUE [00:00:31]: Check for read access: TRUE [00:00:31]: ModIndex: Load sequence finished successfully. [00:00:32]: Reset() returning [00:00:33]: Best lobby region is aws/EU (ping 68) [00:00:33]: Registering master server in EU lobby [00:00:33]: Validating portal[1] <-> <nil>[1] (inactive) [00:00:33]: Validating portal[2] <-> <nil>[2] (inactive) [00:00:33]: Validating portal[3] <-> <nil>[3] (inactive) [00:00:33]: Validating portal[4] <-> <nil>[4] (inactive) [00:00:33]: Validating portal[5] <-> <nil>[5] (inactive) [00:00:33]: Validating portal[6] <-> <nil>[6] (inactive) [00:00:33]: Validating portal[7] <-> <nil>[7] (inactive) [00:00:34]: Validating portal[8] <-> <nil>[8] (inactive) [00:00:34]: Validating portal[9] <-> <nil>[9] (inactive) [00:00:34]: Attempting to send resume request [00:00:34]: Resuming user: session/726E76F9AB3E8C16/A7NJO8FMA1JL [00:00:34]: ReceiveResumeNotification [00:00:34]: Deleting user: session/726E76F9AB3E8C16/A7NJO8FMA1JL/0000000003 [00:00:34]: Validating portal[10] <-> <nil>[10] (inactive) [00:00:36]: WARNING! Could not find region 'kitsura.tex' from atlas '../mods/Kitsura/images/names_kitsura.xml'. Is the region specified in the atlas? [00:00:36]: Looking for default texture '' from atlas '../mods/Kitsura/images/names_kitsura.xml'. [00:00:36]: Error Looking for default texture in from atlas '../mods/Kitsura/images/names_kitsura.xml'. [00:00:37]: WARNING! Could not find region 'kitsura.tex' from atlas '../mods/Kitsura/images/names_kitsura.xml'. Is the region specified in the atlas? [00:00:37]: Looking for default texture '' from atlas '../mods/Kitsura/images/names_kitsura.xml'. [00:00:37]: Error Looking for default texture in from atlas '../mods/Kitsura/images/names_kitsura.xml'. [00:00:39]: Spawn request: kitsura from [Host] Kitsura [00:00:39]: Skin request: () (body_trenchcoat_yellow_straw) (hand_webber_gladiator) () (feet_formal_stilettop_black_scribble) [00:00:39]: Could not find anim build FROMNUM [00:00:39]: Could not find anim build FROMNUM [00:00:39]: Could not find anim build FROMNUM [00:00:39]: ERROR!!! Invisible werebeaver is probably about to happen!!! [00:00:39]: ERROR!!! Invisible werebeaver is probably about to happen!!! [00:00:39]: Spawning player at: [Fixed] (-82.00, 0.00, -194.00) [00:00:39]: Serializing user: session/726E76F9AB3E8C16/A7NJO8FMA1JL/0000000003 [00:00:39]: Deserializing tile data (425 x 425) [00:00:43]: Registering master server in EU lobby [00:00:43]: [string "../mods/Kitsura/modmain.lua"]:134: attempt to index global 'GetWorld' (a nil value) LUA ERROR stack traceback: ../mods/Kitsura/modmain.lua:134 in (field) Fn (Lua) <129-250> inst = 126892 - kitsura (valid:true) ../mods/Kitsura/scripts/components/keyhandler.lua:34 in (local) fn (Lua) <29-35> inst = 126892 - kitsura (valid:true) data = table: 7CA0A550 scripts/entityscript.lua:1040 in (method) PushEvent (Lua) <1027-1054> self (valid:true) = DynamicShadow = DynamicShadow (951511B0) inlimbo = false GetMoistureRateScale = function - scripts/prefabs/player_common.lua:146 SetCameraDistance = function - scripts/prefabs/player_common.lua:1018 ScreenFlash = function - scripts/prefabs/player_common.lua:1080 player_classified = 126893 - player_classified (valid:true) playercolour = table: 8A2B8870 level = 0 Light = Light (95150F30) _isrezattuned = false OnRemoveEntity = function - scripts/prefabs/player_common.lua:664 pendingtasks = table: 7A300720 ShowHUD = function - scripts/prefabs/player_common.lua:1000 ShowGiftItemPopUp = function - scripts/prefabs/player_common.lua:1012 sg = sg="wilson", state="idle", time=0.40, tags = "idle,canrotate," IsHUDVisible = function - scripts/prefabs/player_common.lua:990 ApplyScale = function - scripts/prefabs/player_common.lua:1095 SetGhostMode = function - scripts/prefabs/player_common.lua:577 ShowActions = function - scripts/prefabs/player_common.lua:994 HUD = HUD OnWakeUp = function - scripts/prefabs/player_common.lua:865 Transform = Transform (95150E70) actionreplica = table: 7B626B38 event_listening = table: 7A300C98 actioncomponents = table: 7B6262F0 lower_components_shadow = table: 7B626098 GetMaxMoisture = function - scripts/prefabs/player_common.lua:136 CanUseTouchStone = function - scripts/prefabs/player_common.lua:86 updatecomponents = table: 7A2F8B38 ShakeCamera = function - scripts/prefabs/player_common.lua:1038 OnDespawn = function - scripts/prefabs/player_common.lua:887 persists = false MiniMapEntity = MiniMapEntity (95150F50) IsFreezing = function - scripts/prefabs/player_common.lua:106 _OnLoad = function - ../mods/Kitsura/scripts/prefabs/kitsura.lua:31 replica = table: 7B626930 GetTemperature = function - scripts/prefabs/player_common.lua:96 GUID = 126892 ghostenabled = true EnableMovementPrediction = function - scripts/prefabs/player_common.lua:521 worldstatewatching = table: 7A303B50 SetCameraZoomed = function - scripts/prefabs/player_common.lua:1024 Network = Network (95150FF0) GetMoisture = function - scripts/prefabs/player_common.lua:126 OnPreLoad = function - scripts/prefabs/player_common.lua:745 LightWatcher = LightWatcher (95151170) inherentactions = table: 8A52CF00 spawntime = 4.8000002503395 SnapCamera = function - scripts/prefabs/player_common.lua:1030 _OnSave = function - ../mods/Kitsura/scripts/prefabs/kitsura.lua:1298 OnLoad = function - scripts/prefabs/player_common.lua:755 name = Kitsura prefab = kitsura _OnPreLoad = function - ../mods/Kitsura/scripts/prefabs/kitsura.lua:1282 ScreenFade = function - scripts/prefabs/player_common.lua:1071 OnSleepIn = function - scripts/prefabs/player_common.lua:837 SaveForReroll = function - scripts/prefabs/player_common.lua:1128 LoadForReroll = function - scripts/prefabs/player_common.lua:1140 entity = Entity (820C11D0) OnSave = function - scripts/prefabs/player_common.lua:714 children = table: 8399B920 IsCarefulWalking = function - scripts/prefabs/player_common.lua:160 event_listeners = table: 7A300C70 AttachClassified = function - scripts/prefabs/player_common.lua:653 experience = 0 IsActionsVisible = function - scripts/prefabs/player_common.lua:984 AnimState = AnimState (95150D50) Physics = Physic [00:00:43]: [string "../mods/Kitsura/modmain.lua"]:134: attempt to index global 'GetWorld' (a nil value) LUA ERROR stack traceback: ../mods/Kitsura/modmain.lua:134 in (field) Fn (Lua) <129-250> ../mods/Kitsura/scripts/components/keyhandler.lua:34 in (local) fn (Lua) <29-35> scripts/entityscript.lua:1040 in (method) PushEvent (Lua) <1027-1054> ../mods/Kitsura/scripts/components/keyhandler.lua:20 in (local) fn (Lua) <16-26> scripts/entityscript.lua:1040 in (method) PushEvent (Lua) <1027-1054> ../mods/Kitsura/scripts/components/keyhandler.lua:9 in (method) OnRawKey (Lua) <6-13> ../mods/Kitsura/scripts/components/keyhandler.lua:3 in (field) fn (Lua) <3-3> scripts/events.lua:46 in (method) HandleEvent (Lua) <42-49> scripts/input.lua:185 in (method) OnRawKey (Lua) <184-191> scripts/input.lua:396 in () ? (Lua) <395-397> [00:00:43]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen? [00:00:43]: stack traceback: scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665> scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85> scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> [00:00:47]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen? [00:00:47]: stack traceback: scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665> scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> [00:02:50]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen? [00:02:50]: stack traceback: scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665> scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> [00:02:53]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen? [00:02:53]: stack traceback: scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665> scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> [00:02:53]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen? [00:02:53]: stack traceback: scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665> scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> [00:02:54]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen? [00:02:54]: stack traceback: scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627> scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665> scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119> scripts/update.lua:90 in () ? (Lua) <33-129> [00:02:54]: Removing server from EU lobby [00:02:55]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:02:55]: Collecting garbage... [00:02:55]: lua_gc took 0.12 seconds [00:02:55]: ~ShardLuaProxy() [00:02:55]: ~cEventLeaderboardProxy() [00:02:55]: ~ItemServerLuaProxy() [00:02:55]: ~InventoryLuaProxy() [00:02:55]: ~NetworkLuaProxy() [00:02:55]: ~SimLuaProxy() [00:02:55]: Cancelling LuaQueryCallback handle [15] [00:02:55]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:02:55]: lua_close took 0.26 seconds [00:02:56]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:02:56]: [Steam] Auth ticket cancelled [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:02:56]: CurlRequestManager::ClientThread::Main() complete [00:02:56]: HttpClient2 discarded 0 callbacks. [00:02:56]: Shutting down Link to comment Share on other sites More sharing options...
Jessie_ Posted December 29, 2019 Share Posted December 29, 2019 GetWorld is a deprecated function, it just returns the value of TheWorld use this: if GLOBAL.TheWorld.state.isday then Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now