Error trying to add char from SF account
-
- Beiträge: 15
- Registriert: Mi 4. Aug 2021, 08:41
- Hat sich bedankt: 2 Mal
- Danksagung erhalten: 1 Mal
Error trying to add char from SF account
I have tried this on two different Windows machines and get the same error when trying to import from SF account. As soon as I press Login / Load character button it fails.
The second machine never had mfbot installed, so there could be nothing cached anywhere.
#####################################################
#### Log for: General
#### Log Start: 11/09/2023 08.09.04
#### Bot version: MFBot 5.6.2.0 (Chinook)
#####################################################
20230911 08:09:12 Warn Core Form is already running.
Message: Form is already running.
HResult: -2146233079
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.RunInNewThread(Form form, Boolean isBackground) in File165:line 497
at A.BCT.G()
at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) in File165:line 451
TargetSite: Void RunInNewThread(System.Windows.Forms.Form, Boolean)
20230911 08:09:38 Error Core The method or operation is not implemented.
Message: The method or operation is not implemented.
HResult: -2147467263
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Server.GetDomainFromId(Int32 serverId) in File195:line 906
at A.OKT.DKT.Q()
at A.OKT.KKT.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
TargetSite: System.String GetDomainFromId(Int32)
20230911 08:09:12 Warn Core Form is already running.
Message: Form is already running.
HResult: -2146233079
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.RunInNewThread(Form form, Boolean isBackground) in File165:line 497
at A.BCT.G()
at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) in File165:line 451
TargetSite: Void RunInNewThread(System.Windows.Forms.Form, Boolean)
20230911 08:09:38 Error Core The method or operation is not implemented.
Message: The method or operation is not implemented.
HResult: -2147467263
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Server.GetDomainFromId(Int32 serverId) in File195:line 906
at A.OKT.DKT.Q()
at A.OKT.KKT.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
TargetSite: System.String GetDomainFromId(Int32)
######################### Closed ############################
The second machine never had mfbot installed, so there could be nothing cached anywhere.
#####################################################
#### Log for: General
#### Log Start: 11/09/2023 08.09.04
#### Bot version: MFBot 5.6.2.0 (Chinook)
#####################################################
20230911 08:09:12 Warn Core Form is already running.
Message: Form is already running.
HResult: -2146233079
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.RunInNewThread(Form form, Boolean isBackground) in File165:line 497
at A.BCT.G()
at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) in File165:line 451
TargetSite: Void RunInNewThread(System.Windows.Forms.Form, Boolean)
20230911 08:09:38 Error Core The method or operation is not implemented.
Message: The method or operation is not implemented.
HResult: -2147467263
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Server.GetDomainFromId(Int32 serverId) in File195:line 906
at A.OKT.DKT.Q()
at A.OKT.KKT.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
TargetSite: System.String GetDomainFromId(Int32)
20230911 08:09:12 Warn Core Form is already running.
Message: Form is already running.
HResult: -2146233079
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.RunInNewThread(Form form, Boolean isBackground) in File165:line 497
at A.BCT.G()
at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) in File165:line 451
TargetSite: Void RunInNewThread(System.Windows.Forms.Form, Boolean)
20230911 08:09:38 Error Core The method or operation is not implemented.
Message: The method or operation is not implemented.
HResult: -2147467263
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Server.GetDomainFromId(Int32 serverId) in File195:line 906
at A.OKT.DKT.Q()
at A.OKT.KKT.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
TargetSite: System.String GetDomainFromId(Int32)
######################### Closed ############################
- Robin
- Administrator
- Beiträge: 1723
- Registriert: So 30. Jun 2013, 18:12
- Wohnort: Rheinland-Pfalz
- Hat sich bedankt: 303 Mal
- Danksagung erhalten: 354 Mal
Re: Error trying to add char from SF account
Hi there,
the StackTrace you've attached indicates some kind of problem with a server you're trying to add.
Could you tell us the world you're trying to add?
Regards,
Robin
the StackTrace you've attached indicates some kind of problem with a server you're trying to add.
Could you tell us the world you're trying to add?
Regards,
Robin
MFBot-Version | Code-Zeilen* | In Dateien* | Letzte Version |
MFBot 1.5.x | 6485 | 1 | Juli 2013 |
MFBot 2.x | 14363 | 16 | März 2014 |
MFBot 3.x | 22095 | 36 | März 2015 |
MFBot 4.x | 55242 | 241 | Juli 2018 |
MFBot 5.x | 66000 | 440 | Tbc |
-
- Beiträge: 15
- Registriert: Mi 4. Aug 2021, 08:41
- Hat sich bedankt: 2 Mal
- Danksagung erhalten: 1 Mal
-
- Beiträge: 15
- Registriert: Mi 4. Aug 2021, 08:41
- Hat sich bedankt: 2 Mal
- Danksagung erhalten: 1 Mal
Re: Error trying to add char from SF account
To correct myself
The sf account has 2 characters. 1 on f2 and on 1 on f1.
I try to login on the sf account in the Import SSO Account dialog box. Here, I do not choose the character or the server.
I never get to see the list of possible characters and select one. The program fails right after I press "Login / Load Characters" button.
The sf account has 2 characters. 1 on f2 and on 1 on f1.
I try to login on the sf account in the Import SSO Account dialog box. Here, I do not choose the character or the server.
I never get to see the list of possible characters and select one. The program fails right after I press "Login / Load Characters" button.
-
- Beiträge: 15
- Registriert: Mi 4. Aug 2021, 08:41
- Hat sich bedankt: 2 Mal
- Danksagung erhalten: 1 Mal
Re: Error trying to add char from SF account
I also tried to delete the f1 character and try again... result is the same
-
- Beiträge: 15
- Registriert: Mi 4. Aug 2021, 08:41
- Hat sich bedankt: 2 Mal
- Danksagung erhalten: 1 Mal
Re: Error trying to add char from SF account
I dont know what did the trick, but I actually managed to add that account on a computer...
What I noticed was that at startup, when I had to select the language a dialog box showed up with multiple (maybe 6) languages and with the flag on the left of the buttons.
Normally, every time I try to run MFBot for the first time it will give me only the German choice or - if I download the English resources and create the en-folder, I get to choose German or English. However, here I never see the flags.
As mentioned, I managed to actually load my char from my SSO account on that specific computer (I have tried it before where it failed as for the other machines). I honestly do not know what the difference has been.
I hoped everything was fine and I finally could copy the complete folder (including acc.ini) to the machine intended to run the bot. However, doing that, when I try to start up the MFBot I get the following error:
#####################################################
#### Log for: General
#### Log Start: 06/10/2023 15.14.30
#### Bot version: MFBot 5.6.2.0 (Chinook)
#####################################################
20231006 15:14:32 Debug Database opening sqlite
20231006 15:14:32 Debug Database sqlite path is C:\p\mfbot2\bot.dat
20231006 15:14:32 Debug Database Opening sqlite database..
20231006 15:14:32 Debug Database sqlite validation successfull
20231006 15:14:32 Debug Database current DB version is 10
20231006 15:15:02 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.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId() in File195:line 220
at de.mfbot.MFBot_NG.Basisbibliothek.Server.QP.Q(SFAccountLinkedCharacter Q) in File195:line 599
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.T(Account Q, SsoAccountSettings X) in File195:line 602
at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin(Account acc) in File195:line 571
at de.mfbot.MFBot_NG.Basisbibliothek.Server.login(Account acc) in File195:line 534
at de.mfbot.MFBot_NG.Basisbibliothek.Account.login(Boolean relog) in File0:line 1765
at A.VNT.INT.Q()
at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper.MP.Q() in File203:line 242
TargetSite: Void ThrowKeyNotFoundException()
20231006 15:14:32 Debug Database opening sqlite
20231006 15:14:32 Debug Database sqlite path is C:\p\mfbot2\bot.dat
20231006 15:14:32 Debug Database Opening sqlite database..
20231006 15:14:32 Debug Database sqlite validation successfull
20231006 15:14:32 Debug Database current DB version is 10
20231006 15:15:02 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.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId() in File195:line 220
at de.mfbot.MFBot_NG.Basisbibliothek.Server.QP.Q(SFAccountLinkedCharacter Q) in File195:line 599
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.T(Account Q, SsoAccountSettings X) in File195:line 602
at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin(Account acc) in File195:line 571
at de.mfbot.MFBot_NG.Basisbibliothek.Server.login(Account acc) in File195:line 534
at de.mfbot.MFBot_NG.Basisbibliothek.Account.login(Boolean relog) in File0:line 1765
at A.VNT.INT.Q()
at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper.MP.Q() in File203:line 242
TargetSite: Void ThrowKeyNotFoundException()
######################### Closed ############################
What I noticed was that at startup, when I had to select the language a dialog box showed up with multiple (maybe 6) languages and with the flag on the left of the buttons.
Normally, every time I try to run MFBot for the first time it will give me only the German choice or - if I download the English resources and create the en-folder, I get to choose German or English. However, here I never see the flags.
As mentioned, I managed to actually load my char from my SSO account on that specific computer (I have tried it before where it failed as for the other machines). I honestly do not know what the difference has been.
I hoped everything was fine and I finally could copy the complete folder (including acc.ini) to the machine intended to run the bot. However, doing that, when I try to start up the MFBot I get the following error:
#####################################################
#### Log for: General
#### Log Start: 06/10/2023 15.14.30
#### Bot version: MFBot 5.6.2.0 (Chinook)
#####################################################
20231006 15:14:32 Debug Database opening sqlite
20231006 15:14:32 Debug Database sqlite path is C:\p\mfbot2\bot.dat
20231006 15:14:32 Debug Database Opening sqlite database..
20231006 15:14:32 Debug Database sqlite validation successfull
20231006 15:14:32 Debug Database current DB version is 10
20231006 15:15:02 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.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId() in File195:line 220
at de.mfbot.MFBot_NG.Basisbibliothek.Server.QP.Q(SFAccountLinkedCharacter Q) in File195:line 599
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.T(Account Q, SsoAccountSettings X) in File195:line 602
at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin(Account acc) in File195:line 571
at de.mfbot.MFBot_NG.Basisbibliothek.Server.login(Account acc) in File195:line 534
at de.mfbot.MFBot_NG.Basisbibliothek.Account.login(Boolean relog) in File0:line 1765
at A.VNT.INT.Q()
at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper.MP.Q() in File203:line 242
TargetSite: Void ThrowKeyNotFoundException()
20231006 15:14:32 Debug Database opening sqlite
20231006 15:14:32 Debug Database sqlite path is C:\p\mfbot2\bot.dat
20231006 15:14:32 Debug Database Opening sqlite database..
20231006 15:14:32 Debug Database sqlite validation successfull
20231006 15:14:32 Debug Database current DB version is 10
20231006 15:15:02 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.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId() in File195:line 220
at de.mfbot.MFBot_NG.Basisbibliothek.Server.QP.Q(SFAccountLinkedCharacter Q) in File195:line 599
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at de.mfbot.MFBot_NG.Basisbibliothek.Server.T(Account Q, SsoAccountSettings X) in File195:line 602
at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin(Account acc) in File195:line 571
at de.mfbot.MFBot_NG.Basisbibliothek.Server.login(Account acc) in File195:line 534
at de.mfbot.MFBot_NG.Basisbibliothek.Account.login(Boolean relog) in File0:line 1765
at A.VNT.INT.Q()
at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper.MP.Q() in File203:line 242
TargetSite: Void ThrowKeyNotFoundException()
######################### Closed ############################
- Robin
- Administrator
- Beiträge: 1723
- Registriert: So 30. Jun 2013, 18:12
- Wohnort: Rheinland-Pfalz
- Hat sich bedankt: 303 Mal
- Danksagung erhalten: 354 Mal
Re: Error trying to add char from SF account
This is a sign that the MFBot seems to be blocked from accessing our server - maybe antivirus software stepping in because it's unknown behavior for it.Normally, every time I try to run MFBot for the first time it will give me only the German choice or - if I download the English resources and create the en-folder, I get to choose German or English. However, here I never see the flags.
One of the files the bot tries to download is the update for the current server configuration, including the server IDs you can't seem to retrieve.
Usually this is an issue with current console versions, but since the bot tries to download this file to AppData, you can, too!
Downloading the file from https://s2.mfbot.de/api/botinterface/sfgame_cfg.php and saving it to %AppData%\mfbot.de\sfconfig.json (the changed file ending is important here) manually (for example via right click -> "Save link as") should work.
Regards,
Robin
- Folgende Benutzer bedankten sich beim Autor Robin für den Beitrag:
- hackandslash (Fr 6. Okt 2023, 22:51)
MFBot-Version | Code-Zeilen* | In Dateien* | Letzte Version |
MFBot 1.5.x | 6485 | 1 | Juli 2013 |
MFBot 2.x | 14363 | 16 | März 2014 |
MFBot 3.x | 22095 | 36 | März 2015 |
MFBot 4.x | 55242 | 241 | Juli 2018 |
MFBot 5.x | 66000 | 440 | Tbc |
-
- Beiträge: 15
- Registriert: Mi 4. Aug 2021, 08:41
- Hat sich bedankt: 2 Mal
- Danksagung erhalten: 1 Mal
Re: Error trying to add char from SF account
Indeed. That was the trick Robin
Thank you so much!!!
Maybe the firewall prevents some protocols? I doubt it is the endpoint that is filtered.
Thank you so much!!!
Maybe the firewall prevents some protocols? I doubt it is the endpoint that is filtered.
Wer ist online?
Mitglieder in diesem Forum: Bing [Bot] und 1 Gast