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
143 stars 47 forks source link

Roll does not complete, kakera delay does not work correctly. #34

Closed BellaDona007 closed 3 years ago

BellaDona007 commented 3 years ago

Good afternoon,

I am testing the latest version and it is almost 100% thank you very much for all the work done so far. But when starting the roll, after rolling 10x he stopped, I started rolling it manually and he took the kakera from the $embedcolor chosen in the configuration, but then the second problem came, he did not try the following ones, in the first version I used, he tried until he received a message that was not possible, and used that time for a next attempt.

image

EDIT: embedcolor not work :(

vivinano commented 3 years ago

By any chance do you have mudae premium perks ? Like player prem or server prem

Sent from my iPhone

On May 25, 2021, at 2:48 PM, BellaDona007 @.***> wrote:

 Good afternoon,

I am testing the latest version and it is almost 100% thank you very much for all the work done so far. But when starting the roll, after rolling 10x he stopped, I started rolling it manually and he took the kakera from the $embedcolor chosen in the configuration, but then the second problem came, he did not try the following ones, in the first version I used, he tried until he received a message that was not possible, and used that time for a next attempt.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

BellaDona007 commented 3 years ago

By any chance do you have mudae premium perks ? Like player prem or server prem

Rolls per hour: +7 (6 $k + 0 $kl + 1 $kt) = 20 rolls

vivinano commented 3 years ago

ah okay basically the code was added as a safety check to prevent over spamming incase of mudae locking up and causing constant rolling spam so give me a bit to figure out how to get a stable way to get extra rolls

BellaDona007 commented 3 years ago

ah okay basically the code was added as a safety check to prevent over spamming incase of mudae locking up and causing constant rolling spam so give me a bit to figure out how to get a stable way to get extra rolls

If I open a bot without having any roll left, he identifies that it should not continue. Is there no way for it to run until it identifies in the same way?

Any prediction of when embedcolor will work again?

vivinano commented 3 years ago

Yes the safety check was added to keep the bot from spamming just in case something happens using the server setting that are parsed into the bot this didnt take into account extra rolls so a way to keep that safety check in while allowing the bot to roll is what will currently be fixed

BellaDona007 commented 3 years ago

Yes the safety check was added to keep the bot from spamming just in case something happens using the server setting that are parsed into the bot this didnt take into account extra rolls so a way to keep that safety check in while allowing the bot to roll is what will currently be fixed

And the problem with the kakera delay any idea of ​​what is happening?

vivinano commented 3 years ago

what kakera delay ? If it was a previous issue I closed it as there was no response for a while ? Do I need to revisit an issue ?

vivinano commented 3 years ago

if it skips kakera can you confirm that you still had kakera power ?

BellaDona007 commented 3 years ago

if it skips kakera can you confirm that you still had kakera power ?

Yes, he had kakera power full, he only took it once and ignored the others. Another thing that happened now, if you can answer, the claim is extremely slow, even if I put 0 in claim_delay and kak_delay

vivinano commented 3 years ago

when it goes to claim_delay is is effected by if you roll or another person rolls if its something u rolled its instant snipe if its rolled by someone else it waits the time set by server

BellaDona007 commented 3 years ago

when it goes to claim_delay is is effected by if you roll or another person rolls if its something u rolled its instant snipe if its rolled by someone else it waits the time set by server

It was in my roll, I saw it stopped for almost half a second, it was time for someone to click and then the bot click, unfortunately I play with people who are extremely fast since 2018, I would even be able to catch it if I had the mouse over the reaction . Is it possible to make it faster for my rolls or other people's rolls?

vivinano commented 3 years ago

there is a small .5 delay added because in the case of instant snipes becasue instant snipes arent registered by mudae

BellaDona007 commented 3 years ago

Is it possible to decrease to something smaller, but not zero?

vivinano commented 3 years ago

refer to isssue #33

BellaDona007 commented 3 years ago

Thank you very much, I look forward to the kakera delay and the adaptive rolls

vivinano commented 3 years ago

commits were pushed to solve the issue here except for $embedcolor as its not a priority fix there might be bugs just let me know how it goes

BellaDona007 commented 3 years ago

I just tested the roll on a server that has more than 50 rolls, after 20 rolls he used $ru and continued until he got the message "the roulette is limited to 50 uses per hour (high traffic hour). XX min left." I haven't had a chance to test the kakera delay yet

EDIT: Sorry to use this topic for this question, but how do I use a custom emoji for reaction? because by default he uses ❤. I did not understand that: use_emoji - This setting only works if you change the Mudaebot.py code by uncommenting out the line (Custom emojis only)

EDIT2: Apparently the check to continue the roll is not working so well. He stops a few times, and right now he used $ru and stopped, which makes him very suspicious, it would not be possible to do the same before, where he expected the message "the roulette is limited to X uses per hour (high traffic hour). XX min left. "

vivinano commented 3 years ago

Edit1: i set it to default emoji because it was more general when in terms of multiserver you can change each instance of ❤️ to whatever emoji u want if its a custom emoji its need both emojiname : emojiid

Edit2: turn tyco to "False" and it should go back

BellaDona007 commented 3 years ago

refer to isssue #33

I tried to make it as fast as possible, the bot is still very slow to get things, if it is on a server where only I play, it serves, but if it is on a competitive server it will always lose, even to get the freekakera is fine slow always losing and being the last to react

claim_delay 0 time.sleep(.1)

image

vivinano commented 3 years ago

so does your competitive server have no snipe protection ? and its a free for all ?

BellaDona007 commented 3 years ago

No, everything is free togglesnipe 0 kakerasnipe 0

vivinano commented 3 years ago

and about how long does it wait to snipe ?

BellaDona007 commented 3 years ago

and about how long does it wait to snipe ?

It seems from the log a and almost 2 seconds, even with

claim_delay 0 time.sleep(.1)

In the old bot when discord.py supported it it didn't happen, it was extremely fast

vivinano commented 3 years ago

no that just means that its hitting 2 checks character and series check

vivinano commented 3 years ago

the original issue of the rolling not completing should now be resolved in the most recent commit

it now will roll until either it sees the '2 ROLLS LEFT' warning if the user has $rollsleft enabled at which point it will only roll 2 more times, or in the worst case, rolls until it sees the message 'the roulette is limited to X uses per hour'

BellaDona007 commented 3 years ago

the original issue of the rolling not completing should now be resolved in the most recent commit

it now will roll until either it sees the '2 ROLLS LEFT' warning if the user has $rollsleft enabled at which point it will only roll 2 more times, or in the worst case, rolls until it sees the message 'the roulette is limited to X uses per hour'

I will test for about 3 hours with an account with 70 rolls, another with 20 and another with 17