Virtualburn Posted July 25, 2020 Share Posted July 25, 2020 A couple of players mentioned they couldn't bring up the ESC menu and it just showed the console. They had to ALT + F4 to exit the game. I had the same issue today and checking the logs there seemed to be an issue with 'loot.xml' being referenced by 2 different mods ( 'Cruiser' and 'GTX M3' ) so I removed these mods to check and now I got a server error and the server won't start correctly, so I removed all mods to try a fresh start and still no joy. ArgumentException: An item with the same key has already been added. Key: -159, 28, 838 at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at PowerManager.AddPowerNode (PowerItem node, PowerItem parent) [0x00046] in <8422025950ac4ac0a661ab795300a0e6>:0 at PowerManager.Read (System.IO.BinaryReader br) [0x0003b] in <8422025950ac4ac0a661ab795300a0e6>:0 at PowerManager.LoadPowerManager () [0x00099] in <8422025950ac4ac0a661ab795300a0e6>:0 at GameManager+<StartAsServer>d__137.MoveNext () [0x0023e] in <8422025950ac4ac0a661ab795300a0e6>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5e1dfb686eb345078a588df96401afcc>:0 (Filename: <567df3e0919241ba98db88bec4c6696f> Line: 0) Not sure what to do now as I don't currently have any mods present so thought the issue should go away. These were the mods being loaded. No apparent errors. 2020-07-25T15:44:06 1.064 INF [MODS] Start loading 2020-07-25T15:44:06 1.070 INF [MODS] Trying to load from folder: Cruiser 2020-07-25T15:44:06 1.092 INF [MODS] Loaded Mod: Cruiser (1.1) 2020-07-25T15:44:06 1.092 INF [MODS] Trying to load from folder: Expanded_Decorative_Vedui42 2020-07-25T15:44:06 1.100 INF [MODS] Loaded Mod: Expanded_DecorativeBlocks_Vedui42 (1.1.1) 2020-07-25T15:44:06 1.100 INF [MODS] Trying to load from folder: Guccis-Go-Solar 2020-07-25T15:44:06 1.111 INF [MODS] Loaded Mod: Go Solar (1.0) 2020-07-25T15:44:06 1.112 INF [MODS] Trying to load from folder: Harry's Better Supply Drops 2020-07-25T15:44:06 1.123 INF [MODS] Loaded Mod: Harry's_Better_Supply_Drops (A19) 2020-07-25T15:44:06 1.124 INF [MODS] Trying to load from folder: JaxTeller718_BackpackStashAll 2020-07-25T15:44:06 1.138 INF [MODS] Loaded Mod: JaxTeller718_BackpackStashAll (A19) 2020-07-25T15:44:06 1.138 INF [MODS] Trying to load from folder: JunctionBox 2020-07-25T15:44:06 1.149 INF [MODS] Loaded Mod: JunctionBox (1.02) 2020-07-25T15:44:06 1.150 INF [MODS] Trying to load from folder: KHA19-3SlotForge 2020-07-25T15:44:06 1.160 INF [MODS] Loaded Mod: Khaine's 3-slot Forge Input (1.0.0) 2020-07-25T15:44:06 1.160 INF [MODS] Trying to load from folder: KHA19-AlwaysOpenTrader 2020-07-25T15:44:06 1.174 INF [MODS] Loaded Mod: Always Open Trader (1.0) 2020-07-25T15:44:06 1.174 INF [MODS] Trying to load from folder: More Skill Points 2020-07-25T15:44:06 1.183 INF [MODS] Loaded Mod: More Skill Points Per Level (1.0) 2020-07-25T15:44:06 1.183 INF [MODS] Trying to load from folder: PaintJob 2020-07-25T15:44:06 1.197 INF [MODS] Loaded Mod: PaintJob (1.9) 2020-07-25T15:44:06 1.197 INF [MODS] Trying to load from folder: PhD Bigger Backpack and Secure Storage Chests 1.0 (A19) 2020-07-25T15:44:06 1.204 INF [MODS] Loaded Mod: PhD Bigger Backpack and Secure Storage Chests (1.0) 2020-07-25T15:44:06 1.204 INF [MODS] Trying to load from folder: PhD Bigger Vehicle Storage 1.0 (A19) 2020-07-25T15:44:06 1.215 INF [MODS] Loaded Mod: PhD Bigger Vehicle Storage (1.0) 2020-07-25T15:44:06 1.215 INF [MODS] Trying to load from folder: PhD Just Better 1.5.3 - No WalkRun Bonus (A19) 2020-07-25T15:44:06 1.227 INF [MODS] Loaded Mod: PhD Just Better (1.5.3) 2020-07-25T15:44:06 1.227 INF [MODS] Trying to load from folder: PhD Nailgun 1.5.1 (A19) 2020-07-25T15:44:06 1.235 INF [MODS] Loaded Mod: PhD Nailgun (1.5) 2020-07-25T15:44:06 1.235 INF [MODS] Trying to load from folder: Stallionsdens No Digging Zombies 2020-07-25T15:44:06 1.247 INF [MODS] Loaded Mod: Stallionsden (A19) 2020-07-25T15:44:06 1.247 INF [MODS] Trying to load from folder: Stallionsdens Nuclear Power 2020-07-25T15:44:06 1.255 INF [MODS] Loaded Mod: Stallionsdens Nuclear Power (A19) 2020-07-25T15:44:06 1.255 INF [MODS] Trying to load from folder: WorkingWoodBurningStove 2020-07-25T15:44:06 1.265 INF [MODS] Loaded Mod: Working_WoodBurning_Stove (A19) 2020-07-25T15:44:06 1.265 INF [MODS] Trying to load from folder: Z2 2020-07-25T15:44:06 1.270 WRN Unknown element found: DMT (file C:/SERVICES/ni1890120_1_SHARE/ftproot/sevendaysexperimental/7DaysToDieServer_Data/../Mods\Z2/ModInfo.xml, line 11) 2020-07-25T15:44:06 1.273 INF [MODS] Loaded Mod: Z2 (19.0.Release3) 2020-07-25T15:44:06 1.274 INF [MODS] Initializing mod code 2020-07-25T15:44:06 1.274 INF [MODS] Loading done 2020-07-25T15:44:06 1.276 INF [MODS] Loading localization from mod: Cruiser 2020-07-25T15:44:06 1.289 INF [MODS] Loading localization from mod: PaintJob 2020-07-25T15:44:06 1.296 INF [MODS] Loading localization from mod: PhD Just Better 2020-07-25T15:44:06 1.306 INF [MODS] Loading localization from mod: Stallionsdens Nuclear Power 2020-07-25T15:44:06 1.315 INF [MODS] Loading localization from mod: Working_WoodBurning_Stove 2020-07-25T15:44:06 1.320 INF [MODS] Loading localization from mod: Z2 Actually looking again at one of the previous logs maybe it wasn't the mods as they were listed as a warning only. Yet the same error appears after. 2020-07-25T14:58:50 46.415 WRN XML patch for "loot.xml" from mod "Cruiser" did not apply: <append xpath="/lootcontainers/lootgroup[@name='vehicleParts']" 2020-07-25T14:58:50 46.425 WRN XML patch for "loot.xml" from mod "DMS_M3GTR" did not apply: <append xpath="/lootcontainers/lootgroup[@name='vehicleParts']" ArgumentException: An item with the same key has already been added. Key: -159, 28, 838 at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at PowerManager.AddPowerNode (PowerItem node, PowerItem parent) [0x00046] in <8422025950ac4ac0a661ab795300a0e6>:0 at PowerManager.Read (System.IO.BinaryReader br) [0x0003b] in <8422025950ac4ac0a661ab795300a0e6>:0 at PowerManager.LoadPowerManager () [0x00099] in <8422025950ac4ac0a661ab795300a0e6>:0 at GameManager+<StartAsServer>d__137.MoveNext () [0x0023e] in <8422025950ac4ac0a661ab795300a0e6>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5e1dfb686eb345078a588df96401afcc>:0 (Filename: <567df3e0919241ba98db88bec4c6696f> Line: 0) Link to comment Share on other sites More sharing options...
xyth Posted July 25, 2020 Share Posted July 25, 2020 Remove all mods. validate game install. Load one mod at a time, and check for errors. With so many mods, most of which might not even be updated for the latest release, there is no other way to check for conflicts. Link to comment Share on other sites More sharing options...
Virtualburn Posted July 25, 2020 Author Share Posted July 25, 2020 Found this regarding the error on the net : https://pingperfect.com/index.php/knowledgebase/341/7-Days-to-Die--ArgumentException-An-element-with-the-same-key-already-exists-in-the-dictionary.html 1. Stop your server. 2. Go to File Manager\Saves\WorldName\YourGameName 3. Locate the Power.dat file and click the globe beside it to download a copy. (for backup purposes) 4. Tick the box to the left of the Power.dat file 5. Click Delete (on the bar near the top) 6. Start your server and check the logs to see if the error returns. 7. If the error doesn't return then try connecting to the server. The interesting thing when I looked for this file is that around the time of the error it looks like this was auto-renamed. 2 minutes ago, xyth said: Remove all mods. validate game install. Load one mod at a time, and check for errors. With so many mods, most of which might not even be updated for the latest release, there is no other way to check for conflicts. This is a dedicated server - not sure how I validate the install other than locally. As I stated above the error has persisted even after removing all the mods. As you've recommended, I was about to start adding them back one by one to see which may have been causing the problem. Link to comment Share on other sites More sharing options...
Virtualburn Posted July 25, 2020 Author Share Posted July 25, 2020 Okay so I manually renamed the 'power.dat' file and the server has started without any mods. 2020-07-25T16:39:50 111.438 INF BloodMoon starting for day 50 2020-07-25T16:39:50 111.497 INF [DECO] written 0 2020-07-25T16:39:51 112.328 INF StartGame done 2020-07-25T16:39:51 112.331 INF [Steamworks.NET] GameServer.Init successful 2020-07-25T16:39:51 112.349 INF [Steamworks.NET] Making server public 2020-07-25T16:39:52 113.282 INF [Steamworks.NET] GameServer.LogOn successful, SteamID=90137403022423043, public IP=4*.25*.23*.3* Re-uploaded all mods and server seems to have started fine so it does look like the issue was 'power.dat' Link to comment Share on other sites More sharing options...
Virtualburn Posted July 25, 2020 Author Share Posted July 25, 2020 Now have this weird issue of not being able to press the ESC key again which was the original problem - the console just flashes up this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.