Characters missing

Antworten
martybrown12
Beiträge: 4
Registriert: Do 3. Jan 2019, 09:51
Hat sich bedankt: 3 Mal
Danksagung erhalten: 0

Characters missing

Beitrag von martybrown12 »

Dear MFBot Team!

My MFBot automatically upgraded from a 5.0 beta (I think it was Jasmin or something like that) to 5.1.
The problem is, after I restarted the bot, all characters name starting after the letter "E" are missing.
They are in the Acc.ini file, I tried redownloading the newest bot, but the problem is still the same.
I don't want to try putting them in one by one, because it would take me a day or so, because 204 accounts are missing in total.
If something is not clear, please tell me as soon as possible.

Looking forward to your answer,

Regards: Marty
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: Characters missing

Beitrag von Robin »

Hi Marty!
No matter what you do now, don't try to restart the bot!
We are of course sorry for what happened, you have a few possibilities left if you didn't do any backups by yourself:
Look whether the Acc.ini.bak is intact (unlikely since you restarted the bot already once), if there is nothing to find have a look in the backup folder, there might be still a good Acc.ini.
The thing is, the bot also trys do load backups if it recognizes that the current Acc.ini is broken - did the bot even recognize that? You can see that e.g. in the log files.

Regards,
Robin
Folgende Benutzer bedankten sich beim Autor Robin für den Beitrag:
martybrown12 (Do 3. Jan 2019, 10:43)
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
martybrown12
Beiträge: 4
Registriert: Do 3. Jan 2019, 09:51
Hat sich bedankt: 3 Mal
Danksagung erhalten: 0

Re: Characters missing

Beitrag von martybrown12 »

Thank you for your fast answer!

In the backup folder, there is the one, which is used now, and it is no different from the original Acc.ini.
In the log , it says it only identifies the other accounts, and only starts with them. Maybe because I deleted the older version, and I only have it from the newest one.

EDIT: there is something about "Debug" ,and the name of the first account, which starts with "F".
Is there any other thing I am missing?

Regards: Marty
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: Characters missing

Beitrag von Robin »

Hi Marty,
I think, at this point there is not much you can do about it, as sorry as I am.
Could you please explain the "something" a bit? At the moment I don't really know what you mean :-D

Regards,
Robin
Folgende Benutzer bedankten sich beim Autor Robin für den Beitrag:
martybrown12 (Do 3. Jan 2019, 14:13)
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
martybrown12
Beiträge: 4
Registriert: Do 3. Jan 2019, 09:51
Hat sich bedankt: 3 Mal
Danksagung erhalten: 0

Re: Characters missing

Beitrag von martybrown12 »

This is what the log file shows, I think it is partly Hungarian, but I don't think that is the problem here.
SPOILER
#### Log für: General
#### Log kezdete : 2019. 01. 03. 8:52:35
#### Bot verzió: 5.1.0.0
#####################################################
20190103 08:52:36 Debug Database opening sqlite
20190103 08:52:36 Debug Database sqlite path is C:\Users\BenMan\Downloads\mfbot\bot.dat
20190103 08:52:37 Debug Database sqlite successfully opened
20190103 08:52:37 Debug Database current DB version is 8
20190103 08:52:40 Debug Core Couldn't add account because of empty adress on F---@.SFGAME.HU
Debug:F---@.SFGAME.HU, ini section stuff count: 226
StackTrace: a következő helyen: System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
a következő helyen: System.Environment.get_StackTrace()
a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.Bot.W(IniSection W) hely: File99, sor: 181
a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.Bot.load() hely: File99, sor: 160
a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.Bot.get_CurrentBot() hely: File99, sor: 53
a következő helyen: MFBot_1701_E.SettingsFormParts.globalSettings.SettingRemoteAccess.X(Object W, EventArgs V)
a következő helyen: System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
a következő helyen: System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
a következő helyen: System.Activator.CreateInstance(Type type, Boolean nonPublic)
a következő helyen: System.Activator.CreateInstance(Type type)
a következő helyen: MFBot_1701_E.FrmSettings..ctor(List`1 W)
a következő helyen: MFBot_1701_E.FrmSettings..ctor()
a következő helyen: MFBot_1701_E.FrmMain..ctor()
a következő helyen: MFBot_1701_E.Program.Run()
a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) hely: File98, sor: 364
a következő helyen: MFBot_1701_E.Program.W(String[] W)
20190103 08:52:40 HeavyError Core Loaded backup because the original Acc.ini was considered invalid!
20190103 08:52:36 Debug Database opening sqlite
20190103 08:52:36 Debug Database sqlite path is C:\Users\BenMan\Downloads\mfbot\bot.dat
20190103 08:52:37 Debug Database sqlite successfully opened
20190103 08:52:37 Debug Database current DB version is 8
20190103 08:52:40 Debug Core Couldn't add account because of empty adress on F---@.SFGAME.HU
20190103 08:52:40 Debug Core Debug:F---@.SFGAME.HU, ini section stuff count: 226
20190103 08:52:40 Debug Core StackTrace: a következő helyen: System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
20190103 08:52:40 Debug Core a következő helyen: System.Environment.get_StackTrace()
20190103 08:52:40 Debug Core a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.Bot.W(IniSection W) hely: File99, sor: 181
20190103 08:52:40 Debug Core a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.Bot.load() hely: File99, sor: 160
20190103 08:52:40 Debug Core a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.Bot.get_CurrentBot() hely: File99, sor: 53
20190103 08:52:40 Debug Core a következő helyen: MFBot_1701_E.SettingsFormParts.globalSettings.SettingRemoteAccess.X(Object W, EventArgs V)
20190103 08:52:40 Debug Core a következő helyen: System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
20190103 08:52:40 Debug Core a következő helyen: System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
20190103 08:52:40 Debug Core a következő helyen: System.Activator.CreateInstance(Type type, Boolean nonPublic)
20190103 08:52:40 Debug Core a következő helyen: System.Activator.CreateInstance(Type type)
20190103 08:52:40 Debug Core a következő helyen: MFBot_1701_E.FrmSettings..ctor(List`1 W)
20190103 08:52:40 Debug Core a következő helyen: MFBot_1701_E.FrmSettings..ctor()
20190103 08:52:40 Debug Core a következő helyen: MFBot_1701_E.FrmMain..ctor()
20190103 08:52:40 Debug Core a következő helyen: MFBot_1701_E.Program.Run()
20190103 08:52:40 Debug Core a következő helyen: de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) hely: File98, sor: 364
20190103 08:52:40 Debug Core a következő helyen: MFBot_1701_E.Program.W(String[] W)
20190103 08:52:40 HeavyError Core Loaded backup because the original Acc.ini was considered invalid!
######################### Closed ############################
I hope this helps,

Regards: Marty
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: Characters missing

Beitrag von Robin »

Hi Marty,
the log says, the bot loaded the backup actually because it recognized that the Acc.ini is damaged, unfortunately the backup didn't seem to have everything, either.
The positive thing seems to be that all 224 accounts you added once are still there, only the address is missing. Now you could readd all accounts to the bot, but that with getting your settings back to the old ones could take a while.
It would be a faster way to just go through the Acc.ini and add the missing "URL=sX.sfgame.hu" entry and/or the SX.SFGAME.HU behind the section names - depending on what's missing - to the accounts.

Regards,
Robin
Folgende Benutzer bedankten sich beim Autor Robin für den Beitrag:
martybrown12 (Do 3. Jan 2019, 14:13)
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
martybrown12
Beiträge: 4
Registriert: Do 3. Jan 2019, 09:51
Hat sich bedankt: 3 Mal
Danksagung erhalten: 0

Re: Characters missing

Beitrag von martybrown12 »

Dear Robin,

Thank you so much,it works now!

There were some accounts that somehow doubled in the Acc.ini, and had no url with them. I deleted them all.
Also, there were some accounts too, which were not doubled, but the same informations were missing too.
I don't know, what causes these problems, maybe it is just my fault.

Anyways, thank you again!

Regards: Marty
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: Characters missing

Beitrag von Robin »

Hi Marty,
I'm really glad that it worked, make sure to backup the Acc.ini in case that happens again.
It's most probably not your fault, the bot sometimes just crushes the file, that is mainly the reason the bot is even able to load backups automatically, if they are working.

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
Antworten

Wer ist online?

Mitglieder in diesem Forum: Bing [Bot] und 2 Gäste