Connection error

Fehler der Release-Versionen
ac1dburn
Beiträge: 6
Registriert: Do 23. Nov 2017, 12:19
Hat sich bedankt: 0
Danksagung erhalten: 0

Connection error

Beitrag von ac1dburn »

Hi
This error message just appeared today on Romanian server: the given key was not present in the dictionary.

Took a look at logs and this started with the following messages:

Code: Alles auswählen

20220322 14:09:17 Warn Core Server down. Waiting 30 seconds..
...
Message was: The remote server returned an error: (404) Not Found.
...
20220322 14:50:18 Warn Core Trying to send again..
20220322 14:50:18 Info Core Logging in...
20220322 14:50:19 Error Core Input string was not in a correct format.
Message: Input string was not in a correct format.
HResult: -2146233033
Source: mscorlib
StackTrace:    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at de.mfbot.MFBot_NG.Basisbibliothek.PetCollectionResponse..ctor(String rawData, Account acc) in File60:line 112
   at de.mfbot.MFBot_NG.Basisbibliothek.Response..ctor(String rawData, Account acc, Boolean newResponse, Command cmd, Boolean plaintext) in File153:line 515
   at de.mfbot.MFBot_NG.Basisbibliothek.CharResponse..ctor(String rawData, Account acc, Boolean ownAccount, Boolean newResponse, Boolean _otheraccount) in File65:line 333
   at de.mfbot.MFBot_NG.Basisbibliothek.LoginResponse..ctor(String rawData, Account acc) in File66:line 41
   at de.mfbot.MFBot_NG.Basisbibliothek.Response.createResponse(String rawData, Command request, Account acc) in File153:line 141
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.K(Account J, Command M) in File154:line 728
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.send(Account acc, Command cmd) in File154:line 632
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.login(Account acc) in File154:line 475
   at de.mfbot.MFBot_NG.Basisbibliothek.Account.login(Boolean relog) in File0:line 1685
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.send(Account acc, Command cmd) in File154:line 575
TargetSite: Void StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
...
20220322 16:37:56 Info Core Logging in...
20220322 16:37:57 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.LoginResponse..ctor(String rawData, Account acc) in File66:line 41
   at de.mfbot.MFBot_NG.Basisbibliothek.Response.createResponse(String rawData, Command request, Account acc) in File153:line 141
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.K(Account J, Command M) in File154:line 728
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.send(Account acc, Command cmd) in File154:line 632
   at de.mfbot.MFBot_NG.Basisbibliothek.Server.login(Account acc) in File154:line 475
   at de.mfbot.MFBot_NG.Basisbibliothek.Account.login(Boolean relog) in File0:line 1685
   at de.mfbot.MFBot_NG.Basisbibliothek.Account.start() in File0:line 1740
   at A.FHK.RHK.G()
   at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper.ML.J() in File162:line 242
TargetSite: Void ThrowKeyNotFoundException()
Benutzeravatar
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: Connection error

Beitrag von Robin »

Hi there,

this kind error usually gets thrown if the game server itself (not the game) is currently offline or just reports back a problem.
Does the issue still occur? If so, on which server?

Regards,
Robin
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
ac1dburn
Beiträge: 6
Registriert: Do 23. Nov 2017, 12:19
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Connection error

Beitrag von ac1dburn »

The issue is on s1.sfgame.ro
The server is online... i can play but the bot wont work. The server went down when this 1st happened but after coming online the bot refused to work.
I think it might have to do with the client version, because on the uk server it shows client v11.100.220302.1 world v1921 and on the culpit server shows the same client but with a different world number, world v1919. Also in the last 2 days since i got the error the game seems to be messed up (cannot write to chat sometimes, the hall of fame is scrambled, the arena shows low level players, etc)
ac1dburn
Beiträge: 6
Registriert: Do 23. Nov 2017, 12:19
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Connection error

Beitrag von ac1dburn »

From what i heard on the Dirscord channel. the following servers got migrated to the new backend:

S1.JP S1.RU S1.BR S1.RO S1.IN S2.TR S2.BR S2.PT S3.TR S5.HU
S5.GR S7.PT S11.PL S18.PL S26.PL S27.PL S28.PL S29.PL S31.DE TV2.DK SPEED

I guess thats why the bot doesn't work. We will wait for a new version.
bot420
Beiträge: 33
Registriert: Do 6. Apr 2017, 19:07
Hat sich bedankt: 3 Mal
Danksagung erhalten: 6 Mal

Re: Connection error

Beitrag von bot420 »

Any prediction on this? When will it function properly?
Ty
Benutzeravatar
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: Connection error

Beitrag von Robin »

Hi there,

could you please try the current beta version (see https://www.mfbot.de/en/version-5-4-2b1-beta-notice/) and report back if there are still any problems?

Regards, Robin
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
user007
Beiträge: 4
Registriert: Di 17. Mai 2022, 07:11
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Connection error

Beitrag von user007 »

Hello,

I am also experiencing the same error on w38.
Through the browser the game works normally.
I tried the beta version but also the same error.

Greetings.

EDIT:
Just to add, 2 days ago everything was working OK. Since yesterday there is a problem.
magyar
Beiträge: 6
Registriert: Mo 16. Mai 2022, 21:51
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Connection error

Beitrag von magyar »

Hello!
try this:
Due to the new backend update, the bot (5.4.1.0.wisteria) is not working properly.
My experience: half of the characters enter and work, the other half do not.
My comment and fix:
For non-working characters in the .ini file, replacing the "CRYPID" and "CRYPKEY" lines will fix the problem.
It must be replaced with code that is in the form of a working character.

That's how I solved it and stayed with version 5.4.1.0.wisteria for now.
Currently this way all characters enter and work
user007
Beiträge: 4
Registriert: Di 17. Mai 2022, 07:11
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Connection error

Beitrag von user007 »

magyar hat geschrieben: Di 17. Mai 2022, 16:30 My comment and fix:
For non-working characters in the .ini file, replacing the "CRYPID" and "CRYPKEY" lines will fix the problem.
It must be replaced with code that is in the form of a working character.
Thanks for the suggestion, but unfortunately this does not solve the problem. After swapping "CRYPID" and "CRYPKEY" from working char and starting MFBot, the same error still pops up, and after closing it changes to the old data in *.ini
user007
Beiträge: 4
Registriert: Di 17. Mai 2022, 07:11
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Connection error

Beitrag von user007 »

user007 hat geschrieben: Di 17. Mai 2022, 07:14 Hello,

I am also experiencing the same error on w38.
Through the browser the game works normally.
I tried the beta version but also the same error.

Greetings.

EDIT:
Just to add, 2 days ago everything was working OK. Since yesterday there is a problem.
Problem solved...

I didn't come up with the simplest idea, which is deleting the account from MFBot and adding it again, WORKS! :)
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste