Results 1 to 6 of 6

Thread: ArguementException: An Element with the same key already exists in the directory

  1. #1
    Refugee
    Join Date
    May 2019
    Posts
    8
    Rep Power
    0

    ArguementException: An Element with the same key already exists in the directory

    Ive checked the file integrity, No modded files, I think it has to do with it trying to load the "day data" twice
    Initialize engine version: 2018.2.0f2 (787658998520)
    Forcing GfxDevice: Direct3D 11
    GfxDevice: creating device client; threaded=1
    Direct3D:
    Version: Direct3D 11.0 [level 11.1]
    Renderer: Radeon (TM) RX 480 Graphics (ID=0x67df)
    Vendor:
    VRAM: 8139 MB
    Driver: 22.19.677.257

    .....
    .....
    2019-05-12T22:54:45 17.344 INF StartAsServer
    2019-05-12T22:54:50 22.164 INF Block IDs with mapping
    2019-05-12T22:54:50 22.164 INF BlockIDs from Mapping
    2019-05-12T22:54:51 22.701 INF Item IDs with mapping
    2019-05-12T22:54:51 22.702 INF ItemIDs from Mapping
    2019-05-12T22:54:53 24.923 INF createWorld: Livezo Mountains, Personal, GameModeSurvival
    2019-05-12T22:54:53 25.082 INF Started thread ChunkRegeneration
    2019-05-12T22:54:53 25.082 INF Started thread ChunkCalc
    2019-05-12T22:54:54 25.448 INF World.Load: Livezo Mountains
    2019-05-12T22:54:54 25.459 INF BloodMoon SetDay: day 56, last day 49, freq 7, range 0
    2019-05-12T22:54:54 25.462 INF BloodMoon SetDay: day 56, last day 49, freq 7, range 0

    ArgumentException: An element with the same key already exists in the dictionary.
    at System.Collections.Generic.Dictionary`2[System.Int32,System.String].Add (Int32 key, System.String value) [0x00000] in <filename unknown>:0
    at SleeperVolume.Read (System.IO.BinaryReader _br) [0x00000] in <filename unknown>:0
    at World.ReadSleeperVolumes (System.IO.BinaryReader _br) [0x00000] in <filename unknown>:0
    at World+<LoadWorld>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
    at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
    UnityEngine.MonoBehaviour:StartCoroutineManaged2(I Enumerator)
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerat or)
    <createWorld>c__Iterator7:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumera tor, IntPtr)

    (Filename: Line: -1)

    2019-05-12T22:54:54 25.735 INF AstarManager Init
    NullReferenceException: Object reference not set to an instance of an object
    at AstarManager.Awake () [0x00000] in <filename unknown>:0
    UnityEngine.GameObject:Internal_AddComponentWithTy pe(Type)
    UnityEngine.GameObject:AddComponent(Type)
    UnityEngine.GameObject:AddComponent()
    AstarManager:Init(GameObject)
    <createWorld>c__Iterator7:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumera tor, IntPtr)

    (Filename: Line: -1)

    2019-05-12T22:54:59 30.486 INF Weather Packages Created FROM BIOMES
    2019-05-12T22:54:59 30.792 INF createWorld() done
    2019-05-12T22:54:59 30.793 INF Loading players.xml
    2019-05-12T22:54:59 30.981 INF Created player with id=171
    2019-05-12T22:54:59 31.072 INF Loaded player
    NullReferenceException: Object reference not set to an instance of an object
    at GameManager+<StartAsServer>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0
    at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0

    (Filename: Line: -1)

    2019-05-12T22:56:28 120.369 INF Preparing quit
    2019-05-12T22:56:28 120.370 INF Disconnect
    2019-05-12T22:56:28 120.373 INF NET: Stopping server protocols
    2019-05-12T22:56:28 120.381 INF NET: LiteNetLib server stopped
    2019-05-12T22:56:28 120.381 INF [Steamworks.NET] NET: Server stopped
    2019-05-12T22:56:28 120.382 INF [NET] ServerShutdown
    2019-05-12T22:56:28 120.383 INF SaveAndCleanupWorld
    2019-05-12T22:56:29 120.399 ERR Disconnecting failed:
    2019-05-12T22:56:29 120.399 EXC Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    at World.Save () [0x00000] in <filename unknown>:0
    Attached Images Attached Images
    Last edited by TheLostOne21; 05-13-2019 at 04:55 AM. Reason: Added Log/More Concise

  2. #2
    Refugee
    Join Date
    May 2019
    Posts
    8
    Rep Power
    0
    GamePref.BloodMoonFrequency = 7
    GamePref.BloodMoonRange = 0
    GamePref.BloodMoonWarning = 8
    GamePref.BuildCreate = False
    GamePref.ConnectToServerIP = 127.0.0.1
    GamePref.ConnectToServerPort = 26900
    GamePref.ControlPanelEnabled = False
    GamePref.ControlPanelPort = 8080
    GamePref.CraftTimer =
    GamePref.CreateLevelDim = 8
    GamePref.CreateLevelName = My Level
    GamePref.CreativeMenuEnabled = False
    GamePref.DayCount = 3
    GamePref.DayLightLength = 16
    GamePref.DayNightLength = 60
    GamePref.DebugMenuEnabled = False
    GamePref.DebugMenuShowTasks = False
    GamePref.DebugStopEnemiesMoving = False
    GamePref.DropOnDeath = 0
    GamePref.DropOnQuit = 0
    GamePref.DynamicSpawner =
    GamePref.EACEnabled = False
    GamePref.EnemyDifficulty = 0
    GamePref.EnemySpawnMode = True
    GamePref.FavoriteServersList =
    GamePref.FragLimit = 20
    GamePref.GameDifficulty = 2
    GamePref.GameGuidClient =
    GamePref.GameMode = GameModeSurvival
    GamePref.GameName = Personal
    GamePref.GameNameClient = My Game
    GamePref.GameVersion = Alpha 17.2
    GamePref.GameWorld = Livezo Mountains
    GamePref.HideCommandExecutionLog = 0
    GamePref.JoiningOptions = True
    GamePref.LandClaimCount = 1
    GamePref.LandClaimDeadZone = 30
    GamePref.LandClaimDecayMode = 0
    GamePref.LandClaimExpiryTime = 5
    GamePref.LandClaimOfflineDurabilityModifier = 4
    GamePref.LandClaimOnlineDurabilityModifier = 4
    GamePref.LandClaimSize = 41
    GamePref.LastGameResetRevision = 13
    GamePref.LastLoadedPrefab =
    GamePref.LastLoadedPrefabSize =
    GamePref.LootAbundance = 100
    GamePref.LootRespawnDays = 10
    GamePref.LootTimer =
    GamePref.MatchLength = 10
    GamePref.MaxSpawnedAnimals = 50
    GamePref.MaxSpawnedZombies = 60
    GamePref.MaxUncoveredMapChunksPerPlayer = 524288
    GamePref.NoGraphicsMode = False
    GamePref.OptionsAA = 1
    GamePref.OptionsAllowController = True
    GamePref.OptionsAmbientVolumeLevel = 1
    GamePref.OptionsAudioOcclusion = False
    GamePref.OptionsBackgroundGlobalOpacity = 0.75
    GamePref.OptionsBloom = True
    GamePref.OptionsControllerVibration = True
    GamePref.OptionsDeferredLighting = True
    GamePref.OptionsDOF = False
    GamePref.OptionsDynamicMusicEnabled = False
    GamePref.OptionsDynamicMusicVolume = 0
    GamePref.OptionsFieldOfView = 65
    GamePref.OptionsFieldOfViewNew = 65
    GamePref.OptionsForegroundGlobalOpacity = 1
    GamePref.OptionsGamma = 0.6206896
    GamePref.OptionsGraphicsQuality = 1
    GamePref.OptionsGrassDistance = 1
    GamePref.OptionsHudOpacity = 1
    GamePref.OptionsHudSize = 2
    GamePref.OptionsImageEffects = True
    GamePref.OptionsInterfaceSensitivity = 0.75
    GamePref.OptionsInvertMouse = False
    GamePref.OptionsJournalPopup = True
    GamePref.OptionsLODDistance = 0.5
    GamePref.OptionsMicVolumeLevel = 0.75
    GamePref.OptionsMotionBlur = 1
    GamePref.OptionsMouseSensitivity = 0.3
    GamePref.OptionsMusicVolumeLevel = 0
    GamePref.OptionsObjectBlur = False
    GamePref.OptionsOverallAudioVolumeLevel = 1
    GamePref.OptionsPlayerModel = playerMale
    GamePref.OptionsPlayerModelTexture = Player/Male/Player_male
    GamePref.OptionsPOICulling = 0
    GamePref.OptionsReflectedShadows = False
    GamePref.OptionsReflectionBounces = 1
    GamePref.OptionsReflectionCullList = Default
    GamePref.OptionsReflectionFarClip = 100
    GamePref.OptionsReflectionQuality = 2

  3. #3
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,050
    Rep Power
    1
    What's your config file look like?

  4. #4
    Refugee
    Join Date
    May 2019
    Posts
    8
    Rep Power
    0
    The Config File under 7 Days to Die > Data > Config? What exactly would you like me to post? Sorry Im newto the forum.

  5. #5
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,050
    Rep Power
    1
    Sorry, I deal with dedicated servers too much lately. You don't technically have a config file for the SP client. I'd verify the files, as it would appear a setting in the base config is messed up.

  6. #6
    Refugee
    Join Date
    May 2019
    Posts
    8
    Rep Power
    0
    No problem, Ive verified the integrity through steam and it says theyre all functional, but ill go through them manually and try to see whats up, I wish they had error pointers that'd make life so easy. If I switch out my main.ttw the world will load restarting at day 1, but now trees spawn and its super glitchy. I think my main.ttw got corrupted tbh.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •