Bot won't work

In das Unterforum "Erledigt" werden alle Beiträge geschoben, die erledigt sind, bspw. bei behobenen Bugs.
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

Re: Bot won't work

Beitrag von Baaam »

For everyone having this issue: It is most likely because of a broken pet data configuration we are using to calculate pet fights. This file is located under "AppData/Roaming/mfbot.de/" (%Appdata%/mfbot.de) and is called PetXml.xml

If it is there and shows a size of 0KB, try to delete it and restart the bot. It should download a new one. If this doesn't help, please let us know! (this is important). Then you can use the attached one in this post and simply replace yours. This way worked for csumega.

We will have a look to handle download errors better in the future so this won't happen anymore.
Dateianhänge
PetXml.xml
(31.21 KiB) 187-mal heruntergeladen
Folgende Benutzer bedankten sich beim Autor Baaam für den Beitrag:
csumega (So 12. Dez 2021, 05:36)
ENTOURLOUPIX
Beiträge: 5
Registriert: Do 2. Dez 2021, 18:59
Hat sich bedankt: 0
Danksagung erhalten: 1 Mal

Re: Bot won't work

Beitrag von ENTOURLOUPIX »

The PetXml.xml file did have a size of 0 kb. I did what you recommended: delete the file and restart mfbot.
Everything is working again, many thanks to you for your help.
Folgende Benutzer bedankten sich beim Autor ENTOURLOUPIX für den Beitrag:
Baaam (Sa 11. Dez 2021, 09:46)
csumega
Beiträge: 3
Registriert: Mo 6. Dez 2021, 17:00
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: Bot won't work

Beitrag von csumega »

Yes, the problem has been resolved, thanks to Baaam's assistance. Follow the guide he posted to fix it.
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

Re: Bot won't work

Beitrag von Baaam »

This issue will be solved in the next version. The bot will

- use a fallback configuration bundled into the bot when the file can't be downloaded or it's empty
- delete empty configuration files in some situations and also use the fallback configuration

Just for clarification: The fallback configuration is mostly the same like the one on our server. Only when there are new dungeons for example it is possible that the server already has a new configuration file so we don't need to publish a whole bot update (which is very time consuming) to add a dungeon.
Gesperrt

Wer ist online?

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