vivinano / MudaeAutoBot

python bot that uses strictly the **Discord API** to Roll,Claim,and Kakera Snipe in Mudae. 5/10/21 project converted over to discum library
Apache License 2.0
150 stars 49 forks source link

Setup help #108

Closed BlamoThePollo closed 3 years ago

BlamoThePollo commented 3 years ago

image These are my settings And after I run the program(both cmd and IDE), it goes "entering heartbeat" and begins to spam me in cmd prompt infinitely, but on IDE it spams me shortly and gives me a few errors.. image image

Also, I'm a bit confused how the "min-kak" setting works, depending on its value will the bot automatically claim any character more than min-kak? Or will it only be looking for wishlist characters worth more than min-kak? Either way, if a specifically listed character / series is worth less than min-kak will the bot still claim it?

Thanks, I appreciate your work and efforts.

vivinano commented 3 years ago

Yes so it seems like you have a older version of discum which is why it is giving errors

And yes min kak is a separate sniping option so it will not limit other sniping method if you have a character that is worth 1 kak it will still snipe is because atleast 1 will be true

Sent from my iPhone

On Sep 28, 2021, at 10:11 PM, BlamoThePollo @.***> wrote:



These are my settings And after I run the program(both cmd and IDE), it goes "entering heartbeat" and begins to spam me in cmd prompt infinitely, but on IDE it spams me shortly and gives me a few errors..

Also, I'm a bit confused how the "min-kak" setting works, depending on its value will the bot automatically claim any character more than min-kak? Or will it only be looking for wishlist characters worth more than min-kak? Either way, if a specifically listed character / series is worth less than min-kak will the bot still claim it?

Thanks, I appreciate your work and efforts.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

BlamoThePollo commented 3 years ago

Took me a while but I managed to get the correct version of discum and now your program is up and running! Does it also snipe wishlist characters (Regardless of kakera/if i listed it)? And also what would be the minimum time to be able to get it as fast as possible? (My server has no timer and I set it to 1 as you recommended it but I think it is slower than my friends reaction), can I set it to a float value?

vivinano commented 3 years ago

currently there is a small delay added of like .5 seconds but other than that all snipe timers are automated in the current version so it will do the math and see what timer is on what server no need to worry about that per say

you can think of timing in stages Computer Processing speed (how fast your personal computer can run all this codes and the various checks) > Wait .sleep function if needed > Discord Interaction (speed at which the Discum library functions out of my control and your connection to discord servers > Mudae (time Mudae sees that you have reacted)

Normal interaction for human can be seen as Roll > See X > Reacts > Mudae(too fast or too slow)

ultimately the person rolling will always get priority as there are way less steps to do

the bot usually wins when it comes if someone rolls and someone other than the roller wants to claim X character

if you need more of an explanation just let me know

as for Wished All functions are considered one check so if kak_value > min_kak is one check another will be if username in message.content is the wish check , if series_name in series_list and finally if name in Embed.name so if it passes even one of those check it will snipe

/\/\/\/\/\

just this section above of how the code works but there are other "safety checks" that happen ultimately it usually will not effect you but it is more of a safety code that makes you look like less of a bot it's really think of it as magic behind the scenes but basically It will only snipe if you have a claim Available so No Claim its will ignore all until you can claim again

BlamoThePollo commented 3 years ago

Program has been working pretty well so far, I do recieve this error in command prompt occasionally image But it hasnt caused any major issues with it yet.

Was also wondering if there is anyway I can make the program even faster? To the point where it could steal a character from whoever was rolling.

vivinano commented 3 years ago

Delete every function that is not needed so it doesn’t have to run thru code

You could also update to the developmental version to possibly speed up discord interactions

And that error is usually a thing when you get a message from mudae that doesn’t have an embed

Sent from my iPhone

On Sep 29, 2021, at 6:23 PM, BlamoThePollo @.***> wrote:

 Program has been working pretty well so far, I do recieve this error in command prompt occasionally

But it hasnt caused any major issues with it yet.

Was also wondering if there is anyway I can make the program even faster? To the point where it could steal a character from whoever was rolling.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

BlamoThePollo commented 3 years ago

Would you mind outlining which functions I can delete without any issues? Currently im only checking for if the kakera value of the character > min value or if the character is one of my listed characters or from a listed series, and reacting to the character if so. I am also having the bot react to kakera depending on its color. I believe that the wait function / setting is unnecessary in my situation, and the automatic rolling / claiming at the end of each 3 hour period as I am not using that either. And what would I be updating to the developmental version and how would I do that?

Also, even if i were to do so, by how much would this speed up my claim time?

vivinano commented 3 years ago

That would fall into the realm of me personally designing the app. I can say that kakera sniping and claim sniping are on the same thread. You can delete the wish sniping , char sniping etc.

As for developmental version of discum that is a discum dev question as He/she has told me to us about the developmental version so you can contact them also to update

As for time saved this is variable and based on many factors like processing speed , internet connection , mudae so can’t really give you a estimate without testing on your machine

Sent from my iPhone

On Sep 29, 2021, at 7:46 PM, BlamoThePollo @.***> wrote:

 Would you mind outlining which functions I can delete without any issues? Currently im only checking for if the kakera value of the character > min value or if the character is one of my listed characters or from a listed series, and reacting to the character if so. I am also having the bot react to kakera depending on its color. I believe that the wait function / setting is unnecessary in my situation, and the automatic rolling / claiming at the end of each 3 hour period as I am not using that either. And what would I be updating to the developmental version and how would I do that?

Also, even if i were to do so, by how much would this speed up my claim time?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

BlamoThePollo commented 3 years ago

Alright, I appreciate it!

vivinano commented 3 years ago

No problem let me know if there are any more issues or more features you would like to add. Remember to star to repo if you haven't it's a free way to let me know that my project is well received. I will be closing this issue as of now thank you