Jump to content

Can u fix my problem ?


Recommended Posts

I was starting my game and enabled my mod (a character) that I have created, though it crashed. I tried loading it multiple times - it wouldn't work. It would only work when I disabled my mod, meaning that the game itself is fine.

From what I can see in the log, the error is in the script, however I'm not sure how to fix it without making more problems in my game.

[00:00:00]: 
System Memory:
    Memory Load: 52%
    Available Physical Memory: 3871m/8080m
    Available Page File: 10305m/17296m
    Available Virtual Memory: 3948m/4095m
    Available Extended Virtual Memory: 0m
[00:00:00]: 
Process Memory:
    Peak Working Set Size: 31m
    Working Set Size: 31m
    Quota Peak Page Pool Usage: 263k
    Quota Page Pool Usage: 262k
    Quota Peak Non Paged Pool Usage:19k
    Quota Non Paged Pool Usage: 18k
    Page File Usage: 6m
    Peak Page File Usage: 6m
[00:00:00]: PersistRootStorage is now APP:Klei//DoNotStarveTogether/ 
[00:00:00]: Starting Up
[00:00:00]: Version: 298000
[00:00:00]: Current time: Sat Dec 15 20:18:57 2018

[00:00:00]: Don't Starve Together: 298000 WIN32_STEAM
[00:00:00]: Build Date: 3673
[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: 3366554
[00:00:00]: ....Done
[00:00:00]: PersistUserStorage is now APP:Klei//DoNotStarveTogether/ 
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (16772)
[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:01]: Failed to communicate with routing cluster 'ggru'.
[00:00:01]: Failed to communicate with routing cluster 'ghel'.
[00:00:03]: Ping measurement completed
[00:00:03]: Ping location: lhr=9+0,ams=15+1/15+0,fra=25+2/22+0,lux=23+2,par=27+2,vie=40+4/31+0,sto=35+3/36+1,waw=38+3/37+0,sto2=36+3/38+0,iad=94+9/80+0,sgp=183+18/186+28,gru=204+20/224+0
[00:00:06]: ProfileIndex:4.53
[00:00:06]: [Connect] PendingConnection::Reset(true)
[00:00:06]: Platform: 1
[00:00:06]: Network tick rate: U=15(2), D=0
[00:00:06]: THREAD - started 'Ping Job Thread' (16008)
[00:00:07]: Authorized application C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe is enabled in the firewall.
[00:00:07]: WindowsFirewall - Application already authorized
[00:00:07]: could not load ping_cache
[00:00:07]: Offline user ID: OU_76561198284803493
[00:00:07]: THREAD - started 'StreamInput' (11732)
[00:00:07]: SteamID: 76561198284803493
[00:00:07]: HardwareStats:
  OS                        
    name                      Microsoft Windows 10 Home
    version                   10.0.17134
    architecture              64-bit
    platformSpecific          SP 0.0
  CPU                       
    numCores                  4
    features                  SSE,SSE2,SSE3,SSSE3,SSE41,SSE42,AVX
    name                      Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
    manufacturer              GenuineIntel
    clockSpeed                3201
  RAM                       
    megsOfRam                 8192
  GPU                       
    name                      NVIDIA GeForce GTX 960
    driverDate                20171114000000.000000-000
    megsOfRam                 2048
    refreshRate               74
    videoModeDescription      1920 x 1080 x 4294967296 colors
    driverVersion             23.21.13.8831

[00:00:07]: cGame::InitializeOnMainThread
[00:00:07]: WindowManager::Initialize
[00:00:07]: CreateWindow: Requesting 1280,720 - 5/6/5 - -1/-1/-1 - 0
[00:00:07]: CreateEGLContext: 12 configs found
[00:00:07]:      0: 8/8/8 -  0/ 0/ 0 - 0
[00:00:07]:      1: 8/8/8 -  0/16/ 0 - 0
[00:00:07]:      2: 8/8/8 -  0/24/ 0 - 0
[00:00:07]:      3: 8/8/8 -  0/24/ 8 - 0
[00:00:07]:      4: 5/5/5 -  0/ 0/ 0 - 0
[00:00:07]:      5: 5/5/5 -  0/16/ 0 - 0
[00:00:07]:      6: 5/5/5 -  0/24/ 0 - 0
[00:00:07]:      7: 5/5/5 -  0/24/ 8 - 0
[00:00:07]:      8: 8/8/8 -  8/ 0/ 0 - 0
[00:00:07]:      9: 8/8/8 -  8/16/ 0 - 0
[00:00:07]:     10: 8/8/8 -  8/24/ 0 - 0
[00:00:07]:     11: 8/8/8 -  8/24/ 8 - 0
[00:00:07]: GLInfo
[00:00:07]: ~~~~~~
[00:00:07]: GL_VENDOR: Google Inc.
[00:00:07]: GL_RENDERER: ANGLE (NVIDIA GeForce GTX 960)
[00:00:07]: GL_VERSION: OpenGL ES 2.0 (ANGLE 1.0.0.2249)
[00:00:07]: GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 (ANGLE 1.0.0.2249)
[00:00:07]: THREAD - started 'WindowsInputManager' (15916)
[00:00:07]: OpenGL extensions (19, 19):
[00:00:07]: GL_ANGLE_depth_texture
[00:00:07]: GL_ANGLE_framebuffer_blit
[00:00:07]: GL_ANGLE_framebuffer_multisample
[00:00:07]: GL_ANGLE_instanced_arrays
[00:00:07]: GL_ANGLE_pack_reverse_row_order
[00:00:07]: GL_ANGLE_texture_compression_dxt3
[00:00:07]: GL_ANGLE_texture_compression_dxt5
[00:00:07]: GL_ANGLE_texture_usage
[00:00:07]: GL_ANGLE_translated_shader_source
[00:00:07]: GL_EXT_read_format_bgra
[00:00:07]: GL_EXT_robustness
[00:00:07]: GL_EXT_texture_compression_dxt1
[00:00:07]: GL_EXT_texture_format_BGRA8888
[00:00:07]: GL_EXT_texture_storage
[00:00:07]: GL_OES_get_program_binary
[00:00:07]: GL_OES_packed_depth_stencil
[00:00:07]: GL_OES_rgb8_rgba8
[00:00:07]: GL_OES_standard_derivatives
[00:00:07]: GL_OES_texture_npot
[00:00:07]: GL_MAX_TEXTURE_SIZE = 16384
[00:00:07]: GL_MAX_TEXTURE_IMAGE_UNITS = 16
[00:00:07]: GL_MAX_RENDERBUFFER_SIZE = 16384
[00:00:07]: GL_MAX_VIEWPORT_DIMS = 16384, 16384
[00:00:07]: GL_MAX_VARYING_VECTORS = 10
[00:00:07]: GL_MAX_VERTEX_ATTRIBS = 16
[00:00:07]: GL_MAX_VERTEX_UNIFORM_VECTORS = 254
[00:00:07]: GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 4
[00:00:07]: GL_MAX_FRAGMENT_UNIFORM_VECTORS = 221
[00:00:07]: 4 compressed texture formats
[00:00:07]: texture format 0x83f0
[00:00:07]: texture format 0x83f1
[00:00:07]: texture format 0x83f2
[00:00:07]: texture format 0x83f3
[00:00:07]: Renderer initialize: Okay
[00:00:07]: AnimManager initialize: Okay
[00:00:07]: Buffers initialize: Okay
[00:00:08]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:08]: GameSpecific initialize: Okay
[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]:   taskgrouplist:    default    Together    
[00:00:08]:   taskgrouplist:    classic    Classic    
[00:00:08]:   taskgrouplist:    cave_default    Underground    
[00:00:08]:   taskgrouplist:    lavaarena_taskset    The Forge    
[00:00:08]:   taskgrouplist:    quagmire_taskset    The Gorge    
[00:00:08]: running main.lua
    
[00:00:08]: loaded modindex    
[00:00:08]: WARNING: icon paths for mod workshop-478005098 (Craftable Gears) 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:08]: ModIndex:GetModsToLoad inserting moddir,     utterson    
[00:00:08]: ModIndex: Detected bad load, disabling all mods.    
[00:00:08]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs
[00:00:10]: LOADING LUA SUCCESS
[00:00:10]: PlayerDeaths could not load morgue    
[00:00:10]: PlayerHistory loaded player_history (v1) len:235    
[00:00:10]: ServerPreferences could not load server_preferences    
[00:00:10]: bloom_enabled    false    
[00:00:10]: loaded saveindex    
[00:00:10]: OnFilesLoaded()    
[00:00:10]: OnUpdatePurchaseStateComplete    
[00:00:10]: Klump load on boot started.    
[00:00:10]: Klump files loaded:     0    
[00:00:11]:     Load FE    
[00:00:12]:     Load FE: done    
[00:00:12]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/client_save/blocklist.txt (Failure)
[00:00:12]: THREAD - started 'FilesExistAsyncThread' (16848)
[00:00:12]: OnLoadPermissionList: APP:Klei//DoNotStarveTogether/client_save/adminlist.txt (Failure)
[00:00:12]: FilesExistAsyncThread started (19890 files)...
[00:00:12]: OnLoadUserIdList: APP:Klei//DoNotStarveTogether/client_save/whitelist.txt (Failure)
[00:00:12]: [MOTD] Downloading info    
[00:00:12]: SimLuaProxy::QueryServer()
[00:00:12]: ModIndex: Load sequence finished successfully.    
[00:00:12]: Reset() returning
[00:00:13]: ... FilesExistAsyncThread complete
[00:00:14]: [MOTD] Downloading image for box1
[00:00:16]: [Steam] Auth Session Ticket requested...
[00:00:16]: [MOTD] Done Loading.    
[00:00:16]: [Steam] Got Auth Session Ticket
[00:00:17]: [200] Account Communication Success (3)
[00:00:17]: Logging in as KU_FIpfAAJ2
[00:00:17]: There is no active event to get the status of.
[00:00:18]: loaded inventory_cache_prod
[00:00:18]: loaded inventory_cache_prod
[00:00:20]: Getting top mod details...
[00:00:20]: Frontend-Unloading mod 'all'.    
[00:00:21]: FrontendLoadMod    utterson    
[00:00:21]: Could not load mod_config_data/modconfiguration_utterson    
[00:00:21]: Fontend-Loading mod: utterson (Mr. Utterson) Version:1.2.4.2    
[00:00:21]: Mod: utterson (Mr. Utterson)    Loading modworldgenmain.lua    
[00:00:21]: Mod: utterson (Mr. Utterson)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:21]: GOT top mod details...50
[00:00:24]:    EResult 15, 680670714
[00:00:24]: Failed getting mod details.
[00:00:25]:    EResult 15, 676238953
[00:00:25]: Failed getting mod details.
[00:00:25]: Could not load mod_config_data/modconfiguration_utterson    
[00:00:25]: Network tick rate: U=15(2), D=0
[00:00:25]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:25]: About to start a server with the following settings:
[00:00:25]:   Dedicated: false
[00:00:25]:   Online: true
[00:00:25]:   Passworded: false
[00:00:25]:   ServerPort: 10999
[00:00:25]:   SteamAuthPort: 8766
[00:00:25]:   SteamMasterServerPort: 27016
[00:00:25]:   ClanID: false
[00:00:25]:   ClanOnly: false
[00:00:25]:   ClanAdmin: false
[00:00:25]:   LanOnly: false
[00:00:25]:   FriendsOnly: true
[00:00:25]:   EnableAutosaver: true
[00:00:25]:   EncodeUserPath: true
[00:00:25]:   PVP: false
[00:00:25]:   MaxPlayers: 6
[00:00:25]:   GameMode: survival
[00:00:25]:   OverridenDNS: 
[00:00:25]:   PauseWhenEmpty: true
[00:00:25]:   IdleTimeout: 1800s
[00:00:25]:   VoteEnabled: false
[00:00:25]:   InternetBroadcasting: true
[00:00:25]:   Intent: cooperative
[00:00:25]: [Warning] Could not confirm port 10999 is open in the firewall. 
[00:00:25]: Could not load mod_config_data/modconfiguration_utterson    
[00:00:25]: Online Server Started on port: 10999
[00:00:25]: Collecting garbage...
[00:00:25]: lua_gc took 0.02 seconds
[00:00:25]: ~ShardLuaProxy()
[00:00:25]: ~cEventLeaderboardProxy()
[00:00:25]: ~ItemServerLuaProxy()
[00:00:25]: ~InventoryLuaProxy()
[00:00:25]: ~NetworkLuaProxy()
[00:00:25]: ~SimLuaProxy()
[00:00:25]: Cancelling LuaQueryCallback handle [11]
[00:00:25]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:25]: lua_close took 0.04 seconds
[00:00:25]: ReleaseAll
[00:00:25]: ReleaseAll Finished
[00:00:25]: cGame::StartPlaying
[00:00:26]: LOADING LUA
[00:00:26]: DoLuaFile scripts/main.lua
[00:00:26]: DoLuaFile loading buffer scripts/main.lua
[00:00:26]:   taskgrouplist:    default    Together    
[00:00:26]:   taskgrouplist:    classic    Classic    
[00:00:26]:   taskgrouplist:    cave_default    Underground    
[00:00:26]:   taskgrouplist:    lavaarena_taskset    The Forge    
[00:00:26]:   taskgrouplist:    quagmire_taskset    The Gorge    
[00:00:26]: running main.lua
    
[00:00:26]: loaded modindex    
[00:00:26]: WARNING: icon paths for mod workshop-478005098 (Craftable Gears) 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:26]: ModIndex: Beginning normal load sequence.
    
[00:00:26]: ModIndex:GetModsToLoad inserting moddir,     utterson    
[00:00:26]: Could not load mod_config_data/modconfiguration_utterson    
[00:00:26]: Loading mod: utterson (Mr. Utterson) Version:1.2.4.2    
[00:00:26]: Mod: utterson (Mr. Utterson)    Loading modworldgenmain.lua    
[00:00:26]: Mod: utterson (Mr. Utterson)      Mod had no modworldgenmain.lua. Skipping.    
[00:00:26]: Mod: utterson (Mr. Utterson)    Loading modmain.lua    
[00:00:26]: MOD ERROR: utterson (Mr. Utterson): Mod: utterson (Mr. Utterson)    
[00:00:26]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs
[00:00:26]: error loading module 'speech_utterson' from file '../mods/utterson\scripts\speech_utterson.lua':
    [string "cannot OLDFILEACCESSMETHOD @../mods/utterson\scripts\speech_utt..."]:2043: '}' expected (to close '{' at line 301) near 'WINTER_FOOD3'
LUA ERROR stack traceback:
        =[C] ?
        =[C] in function 'require'
        ../mods/utterson/modmain.lua(54,1) in main chunk
        =[C] in function 'xpcall'
        scripts/util.lua(711,1) in function 'RunInEnvironment'
        scripts/mods.lua(513,1) in function 'InitializeModMain'
        scripts/mods.lua(487,1) in function 'LoadMods'
        scripts/main.lua(302,1) in function 'ModSafeStartup'
        scripts/main.lua(375,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(26,1) in function 'SavePersistentString'
        scripts/modindex.lua(80,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(67,1) in function 'BeginStartupSequence'
        scripts/main.lua(374,1) in function 'callback'
        scripts/modindex.lua(545,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(519,1) in function 'Load'
        scripts/main.lua(373,1) in main chunk
[00:00:26]: [string "scripts/mainfunctions.lua"]:1079: variable 'global_error_widget' is not declared
LUA ERROR stack traceback:
        =[C] in function 'error'
        scripts/strict.lua(23,1)
        scripts/mainfunctions.lua(1079,1)
        =[C] in function 'GetPersistentString'
        scripts/quagmire_recipebook.lua(54,1) in function 'Load'
        scripts/main.lua(320,1) in function 'ModSafeStartup'
        scripts/main.lua(375,1)
        =[C] in function 'SetPersistentString'
        scripts/mainfunctions.lua(26,1) in function 'SavePersistentString'
        scripts/modindex.lua(80,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(67,1) in function 'BeginStartupSequence'
        scripts/main.lua(374,1) in function 'callback'
        scripts/modindex.lua(545,1)
        =[C] in function 'GetPersistentString'
        scripts/modindex.lua(519,1) in function 'Load'
        scripts/main.lua(373,1) in main chunk
[00:00:26]: DoLuaFile Error: (null)
[00:00:26]: LuaError but no error string
[00:00:26]: Error loading main.lua
[00:00:26]: Failed mSimulation->Reset()
[00:00:26]: Error during game restart!
[00:00:27]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:27]: Collecting garbage...
[00:00:27]: lua_gc took 0.03 seconds
[00:00:27]: ~ShardLuaProxy()
[00:00:27]: ~cEventLeaderboardProxy()
[00:00:27]: ~ItemServerLuaProxy()
[00:00:27]: ~InventoryLuaProxy()
[00:00:27]: ~NetworkLuaProxy()
[00:00:27]: ~SimLuaProxy()
[00:00:27]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:27]: lua_close took 0.01 seconds
[00:00:28]: ModWorkshop::CancelDownloads clearing all unfinished downloads
[00:00:28]: [Steam] Auth ticket cancelled
[00:00:28]: CurlRequestManager::ClientThread::Main() complete
[00:00:28]: HttpClient2 discarded 0 callbacks.
[00:00:28]: steamnetworkingsockets_lowlevel.cpp (88) : Assertion Failed: SteamDatagramTransportLock held for 251.1ms!
[00:00:28]: Shutting down

Link to comment
Share on other sites

It tells you what's wrong in the error line.

 [string "cannot OLDFILEACCESSMETHOD @../mods/utterson\scripts\speech_utt..."]:2043: '}' expected (to close '{' at line 301) near 

There is either a missing comma or missing bracket in your speech file somewhere around line 301. Now, it indicates that it's at line 301, but that's the line with the bracket that is not properly closed, so it might be several lines away from it, but it gives you a center-point to search up and down from.

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