Seite 1 von 1

The given key was not present in the dictionary.

Verfasst: Fr 18. Aug 2023, 23:20
von Iron1009
Hi, I'm working on a VPS machine with ubuntu 22.04.3 LTS So far, the S5 EU server has been working fine, the S6 EU server unfortunately comes up with the following problem: PM Error Core General, The given key was not present in the dictionary. at System.Collections.Generic....
It's similiar to this, but different ID's.
Bezczelny hat geschrieben: Mi 2. Aug 2023, 16:49 I don't know german (but have translator! :V) but I can add one more error from my own: (ARM64 version)

Code: Alles auswählen

20230802 14:15:42 Error Core The given key was not present in the dictionary.
Message: The given key was not present in the dictionary.
HResult: -2146232969
Source: mscorlib
StackTrace:   at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId () [0x0000b] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Server+<>c__DisplayClass81_0.<executeSsoLogin>b__2 (de.mfbot.MFBot_NG.Basisbibliothek.ServerCommunication.SSO.SFAccountLinkedCharacter c) [0x0001f] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <abeb153532fb46718501a600866a8d76>:0 
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <abeb153532fb46718501a600866a8d76>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.executeSsoLogin (de.mfbot.MFBot_NG.Basisbibliothek.Account acc, de.mfbot.MFBot_NG.Basisbibliothek.SsoAccountSettings ssoAccountSettings) [0x00093] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin (de.mfbot.MFBot_NG.Basisbibliothek.Account acc) [0x00044] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.login (de.mfbot.MFBot_NG.Basisbibliothek.Account acc) [0x00035] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Account.login (System.Boolean relog) [0x000c3] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Account.start () [0x00008] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.Bot+<>c__DisplayClass46_0.<startAccount>b__0 () [0x00000] in <ae72cf24789d4398ba6879e4643b7754>:0 
  at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper+<>c__DisplayClass27_0.<createThread>b__0 () [0x00000] in <ae72cf24789d4398ba6879e4643b7754>:0 
TargetSite: Int32 get_Item(System.String)
The same thing (I think) is happening in windows version (from 5.5.0 to now), I have autologin for all my characters in account but randomly some character receive error "An item with the same key has already been added" and is not logging in. I need to manualy Logout and Login them again (which is impossible in console version, am I right?).
And so on. I've seen similar topics on the forum, but I couldn't find a clear answer. Is a console version update required? The PC version works flawlessly.

Re: The given key was not present in the dictionary.

Verfasst: Sa 19. Aug 2023, 09:32
von Deathrayne
in the console you can enter /help to get all the commands.
To logout Characters you type /logout Name@S?.Sfggame.eu or /logout all to logout all characters
/login Name@S?.Sfggame.eu is the same

I did get the error for the S6 Server too in the Konsole version.
so i run my s6 char in the Windows version at the moment

Re: The given key was not present in the dictionary.

Verfasst: Sa 19. Aug 2023, 10:31
von Iron1009
As I saw in one of the topics, it is probably due to the lack of updating the relevant libraries for the new server. Looking forward to hearing from @Robin about an update to the console version then.
Windows version working fine and no problem.

Re: The given key was not present in the dictionary.

Verfasst: Di 22. Aug 2023, 08:29
von Iron1009
Bild

Re: The given key was not present in the dictionary.

Verfasst: Fr 13. Okt 2023, 12:27
von WhatSoupGuy
Hello Guys!

I have the same problem, just with on Win 10 with the mf application. (5.6.2)
I tried to remove the application and reinitialize the files with the .exe (also removed the files from the Local and Roaming folders)
This problem only occurs with the SSO account profile. The other characters can login except this one.
If I try to load other character with this SSO the bot throw an error with that "method or operation is not implemented"
It is only works after i deleted all the files, after that reauthenticate with the SSO account and add the character. BUT if i close the bot and reopen it again it is broke again :/

Re: The given key was not present in the dictionary.

Verfasst: Fr 5. Apr 2024, 11:59
von DrFreeze
Any updates on this? This still happens to me. I have 4 characters of which 3 are bound to an SSO account. Of those 3 only 1 logs in properly on linux.