Open Source API & Scrapbook Helper

Was auch immer an Tools für Shakes&Fidget aufkommen, hier können sie vorgestellt werden.
Ruperto
Beiträge: 2
Registriert: So 10. Mär 2024, 22:57
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Open Source API & Scrapbook Helper

Beitrag von Ruperto »

The new version is very good, let's see if MFbot learns to do something like that for the bot with shakes accounts...

The problem is that I think your program used to only enter the account every 10 minutes, when it was time to attack the next opponent, and now it does it constantly, constantly bothering the mfbot and the account itself.
Benutzeravatar
marenga
Beiträge: 14
Registriert: Mi 15. Nov 2023, 09:37
Hat sich bedankt: 5 Mal
Danksagung erhalten: 18 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von marenga »

Ruperto hat geschrieben: So 10. Mär 2024, 23:04 now it does it constantly, constantly bothering the mfbot and the account itself
I can give you a checkbox to disable that behaviour, if you want
Benutzeravatar
marenga
Beiträge: 14
Registriert: Mi 15. Nov 2023, 09:37
Hat sich bedankt: 5 Mal
Danksagung erhalten: 18 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von marenga »

Ruperto hat geschrieben: So 10. Mär 2024, 23:04 let's see if MFbot learns to do something like that for the bot
CrawlerNG has been around for some time and AFAIK, there has been no attempt made by the mfbot devs to integrate any crawling stuff into the bot itself. I guess they want to keep as far away from anything, that involves thousands of requests to the server as possible, to remain "under the radar", to avoid getting shut down.

If they want to though, they hereby have my permission to use/redistribute the HoF backups from my website, which should give them somewhat recent data about the entire server, that they can trivially validate, without any of the risks associated with sending tens of thousands of requests to fetch the HoF data themself on each bot instance. If they want more detailed data (stats, class, etc.), or want to cooperate in any way, they are free to send me a message.
Ruperto
Beiträge: 2
Registriert: So 10. Mär 2024, 22:57
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Open Source API & Scrapbook Helper

Beitrag von Ruperto »

marenga hat geschrieben: So 10. Mär 2024, 23:23
Ruperto hat geschrieben: So 10. Mär 2024, 23:04 now it does it constantly, constantly bothering the mfbot and the account itself
I can give you a checkbox to disable that behaviour, if you want
I think it would be good because as it is now, the program is logging you out of the account every few seconds, it doesn't give you time to do anything at all in the account, it even blocks the mfbot because when it is going to perform an action, Scrapbook Helper has now reconnected.

In the previous version it seems to me that it attacked and then was stopped while the countdown was on, so even if you entered the countdown nothing would happen until those next 10 minutes, in this way the Scrapbook Helper cannot be used except at opportune moments.

About Mfbot, I was referring to being able to configure several accounts in the same mfbot, although unfortunately the project has practically been dead for more than a year.
syty
Beiträge: 2
Registriert: Do 21. Mär 2024, 23:47
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Open Source API & Scrapbook Helper

Beitrag von syty »

i think im retarded. can you make a video how to use it? i cant understand that at all haha
Benutzeravatar
marenga
Beiträge: 14
Registriert: Mi 15. Nov 2023, 09:37
Hat sich bedankt: 5 Mal
Danksagung erhalten: 18 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von marenga »

syty hat geschrieben: Sa 23. Mär 2024, 03:19 can you make a video how to use it? i cant understand that at all haha
I am pretty busy rn, so I don't have the time to make a video for you (maybe someone else?)

The basic idea for the scrapbook stuff is:
1. You login
1.5. If you logged in through a sf/steam/google account, you select your ingame character
2. A list of all players in the HoF gets downloaded from my server
3. It will then calculate how many items per player you are missing in your scrapbook
4. This list will be displayed to you on the right side, sorted by number missing items and filtered by the max-level you set on the left
5. You can then either
- Attack the best player (top of the list) manually by pressing the "attack" button next to them
- Check the auto battle check, to have the tool automatically battle the best player as soon, as it is free to do so (every 10 minutes)
6. You do that until you have filled your scrapbook

If you are playing on a new server, the list from my server might be too old for your liking. In that case, you can:
1. Click clear HoF in the bottom left
2. (Optional) Increase "Threads" to 10 if you want it faster, or change the order in which the HoF is fetched (Top down, random) with the selection below
3. (Optional) Wait until the HoF has been fully refetched with up to date information
4. Attack the best players, as outlined above
5. (Optional) Click Save HoF if you want to store your refetching progress for the next time you use the tool on that server

You can click "back" to see an overview of all your logged in characters and add a new one via "+"
Benutzeravatar
DrexXxus
Beiträge: 19
Registriert: Mi 15. Mär 2023, 14:10
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von DrexXxus »

Thanks a lot. Awesome Work
Folgende Benutzer bedankten sich beim Autor DrexXxus für den Beitrag:
marenga (Do 28. Mär 2024, 01:08)
Quax
Spender
Beiträge: 61
Registriert: Sa 21. Jan 2017, 11:21
Hat sich bedankt: 3 Mal
Danksagung erhalten: 12 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von Quax »

I really like how the new version is working, but I have this same problem with the
Scrapbook Helper and MFBot

viewtopic.php?p=18547#p18547

It works for about 1 hour then Scrapbook Helper dies in an endless "logging in" loop same as in the linked thread.

If I copy the search results from Scrapbook Helper into MFBot Arena Fights I have the same behaviour as described in the thread.

I know this is not an explicit Scrapbook Helper error, but maybe you can help finding a solution.

Thanks
Quax
Benutzeravatar
marenga
Beiträge: 14
Registriert: Mi 15. Nov 2023, 09:37
Hat sich bedankt: 5 Mal
Danksagung erhalten: 18 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von marenga »

Quax hat geschrieben: Mi 27. Mär 2024, 19:40 I really like how the new version is working, but I have this same problem with the
Scrapbook Helper and MFBot

viewtopic.php?p=18547#p18547

It works for about 1 hour then Scrapbook Helper dies in an endless "logging in" loop same as in the linked thread.

If I copy the search results from Scrapbook Helper into MFBot Arena Fights I have the same behaviour as described in the thread.

I know this is not an explicit Scrapbook Helper error, but maybe you can help finding a solution.

Thanks
Quax
If your scrapbook-helper log file contains any:

"Update ignored success" -> ResponseVal { value: "false,"status":401,"data":{"error":"access_denied","error_description":"The resource owner or authorization server denied the request.","hint":"Access token could not be verified","message":"The resource owner or authorization server denied the request."}}", sub_key: "" }

lines, I would expect it to be this underlying here: https://github.com/the-marenga/sf-scrap ... /issues/49

The server just response with a "success", which means everything worked, but includes an error message as a bonus info. This gets ignored, because that is not the usual place, where error messages are...
Assuming the mfbot handles that response similarly, both will be stuck in a loop of:
-> trying to login -> get success from the server -> think they logged in successfully-> unable to actually do anything -> trying to login again

I have not fixed that issue, so I can not say for certain, but based on the log error of that person, I think the solution would be to renew the SSO credentials, which should make all sso account work again. Basically loggin in the SSO account again, instead of the individual characters of that account: https://github.com/the-marenga/sf-api/b ... C1-L337C69

If your log file does not contain this line, or your account is not even a SSO account, feel free to open an issue on my github page with your log file, so I can better track down the problem. I am just completely guessing with my explanation here
Quax
Spender
Beiträge: 61
Registriert: Sa 21. Jan 2017, 11:21
Hat sich bedankt: 3 Mal
Danksagung erhalten: 12 Mal

Re: Open Source API & Scrapbook Helper

Beitrag von Quax »

The last log lines look look this

2024-03-27 12:09:31 | WARN | sf_api::gamestate:1177 | Update ignored usersettings -> ResponseVal { value: "en/0/3/0/0", sub_key: "" }
2024-03-27 12:09:31 | WARN | sf_api::gamestate:1177 | Update ignored mailinvoice -> ResponseVal { value: "", sub_key: "" }
2024-03-27 12:09:33 | WARN | sf_scrapbook_helper::message:271 | Crawler was unable to do: Character("XXXXXX", QueID(0)) on f9sfgamenet
2024-03-27 12:09:51 | WARN | sf_api::session:250 | Untested S&F Server version: 2002
2024-03-27 12:09:51 | WARN | sf_api::gamestate:1177 | Update ignored usersettings -> ResponseVal { value: "de/0/3/0/b", sub_key: "" }
2024-03-27 12:09:51 | WARN | sf_api::gamestate:1177 | Update ignored mailinvoice -> ResponseVal { value: "", sub_key: "" }
2024-03-27 12:09:57 | WARN | sf_scrapbook_helper::message:1302 | Unable to poll AccountIdent { server_id: ServerID(8881926695090859522), account: AccountID(0) }
2024-03-27 12:10:01 | WARN | sf_api::session:250 | Untested S&F Server version: 2002
2024-03-27 12:10:01 | WARN | sf_api::gamestate:1177 | Update ignored mailinvoice -> ResponseVal { value: "", sub_key: "" }
2024-03-27 12:10:01 | WARN | sf_api::gamestate:1177 | Update ignored usersettings -> ResponseVal { value: "de/0/3/0/b", sub_key: "" }
2024-03-27 12:10:07 | WARN | sf_scrapbook_helper::message:1302 | Unable to poll AccountIdent { server_id: ServerID(8881926695090859522), account: AccountID(0) }
2024-03-27 12:10:11 | INFO | sf_scrapbook_helper::message:1179 | Relogin success
2024-03-27 12:10:13 | WARN | sf_api::session:250 | Untested S&F Server version: 2002
2024-03-27 12:10:13 | WARN | sf_api::gamestate:1177 | Update ignored usersettings -> ResponseVal { value: "de/0/3/0/b", sub_key: "" }
2024-03-27 12:10:13 | WARN | sf_api::gamestate:1177 | Update ignored mailinvoice -> ResponseVal { value: "", sub_key: "" }
2024-03-27 12:10:20 | WARN | sf_scrapbook_helper::message:1302 | Unable to poll AccountIdent { server_id: ServerID(8881926695090859522), account: AccountID(0) }
2024-03-27 12:10:24 | WARN | sf_api::session:250 | Untested S&F Server version: 2002
2024-03-27 12:10:24 | WARN | sf_api::gamestate:1177 | Update ignored usersettings -> ResponseVal { value: "de/0/3/0/b", sub_key: "" }
2024-03-27 12:10:24 | WARN | sf_api::gamestate:1177 | Update ignored mailinvoice -> ResponseVal { value: "", sub_key: "" }
2024-03-27 12:10:29 | WARN | sf_scrapbook_helper::message:1302 | Unable to poll AccountIdent { server_id: ServerID(8881926695090859522), account: AccountID(0) }
2024-03-27 12:10:34 | INFO | sf_scrapbook_helper::message:1179 | Relogin success
Antworten

Wer ist online?

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