edbazelaire / dofusBot

2 stars 0 forks source link

TypeError: Bot.__init__() got an unexpected keyword argument 'region_name' #8

Open SlackySlav opened 1 year ago

SlackySlav commented 1 year ago

As titled the script never runs and keeps giving this error, I tried to work around it but I couldn't, the code is massive. Such a shame that a project this big might never see light. The error is produced when running the main.py script.

edbazelaire commented 1 year ago

Hey, the "main.py" is not up to date with the recent changes. Use "multicompte.py". I only made this project for myself so i've not been "super clean" with branches, README and other stuffs.

You will have to set a few configurations to make it work. You will need to connect all your accounts on your AnkamaLauncher window and have it open (make sure that it stays open when an account is logged, threw game parameters). Your multiple accounts will have game id (#...). Set your "data/JobRoutines.py" file as i did.

With the id linked to a CharName and a JobRoutine, the program will be able find your accounts in the "multiplayer" section of the game to log your sets of teams (BotManager(teams= [...])). This was made to be able to switch accounts to avoid detection from other players (boy, they do not like bots) and avoid bans. By the way, i hope you know how ban works, Ankama is not joking around with bots, you can end up having your main chars ban even if you did not bot with them. I suggest to take heavy precaution (thats why i stopped the project btw, the safe transfer of the money was a pain, and automise it would take too much work)

Enjoy

Le dim. 12 févr. 2023 à 03:46, SlackySlav @.***> a écrit :

As titled the script never runs and keeps giving this error, I tried to work around it but I couldn't, the code is massive. Such a shame that a project this big might never see light. The error is produced when running the main.py script.

— Reply to this email directly, view it on GitHub https://github.com/edbazelaire/dofusBot/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4OPU4H22ZVZI52QTCZ2PN3WXBFI3ANCNFSM6AAAAAAUZBH2O4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>