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
149 stars 49 forks source link

Slow claim when a wish appear, even if i got it in the JSON #98

Closed xd-mau5 closed 3 years ago

xd-mau5 commented 3 years ago

I put a wish in my settings but when they appear the bot have a second or sometimes more delay to claim it, even if is my wish and i got it in the settings. image image I lost this wish to someone. image

vivinano commented 3 years ago

what is the claim sniping setting on your channel ? the bot tries to figure out the most optimal time to snipe the character

xd-mau5 commented 3 years ago

Rolls sniping: **4** ($togglesnipe) => **8** sec.

 "claim_delay":0,
   "kak_delay":0,
vivinano commented 3 years ago

so the bot was able to add the reaction tho correct ? as it should have attempted to snipe when it saw your name on the message.content

there is a .5 flat delay added to snipes just to ensure that mudae fully recognizes a character is rolled and is able to be sniped.

any other types of delay is from connection speed to the discord api.

as for the few seconds the 1 sec via the name list it has to process all the names 1 by 1 til it get to "Ichinose" which is at the bottom of your list

xd-mau5 commented 3 years ago

so the bot was able to add the reaction tho correct ? as it should have attempted to snipe when it saw your name on the message.content

It was slow, even i was watching the rolls i can react faster to claim it

there is a .5 flat delay added to snipes just to ensure that mudae fully recognizes a character is rolled and is able to be sniped.

There is a way i can modify this?

as for the few seconds the 1 sec via the name list it has to process all the names 1 by 1 til it get to "Ichinose" which is at the bottom of your list

i wanna ask if the bot detects my wishes automatically or if he reads firts the JSON.

vivinano commented 3 years ago

image

the time.sleep(.5) can be modified to your liking

image image

Anything on your wishlist that shows your name on it will be wished on and based on your screen it was able to find it

also based on timestamps alone. the bot found the wish character @11:13 and 55 seconds and an attempt was made so threortically the attempt was sent thru the discord api at 11:13:55.5 anything else is connection based as I do not control the interaction with the API that will be a thing to take up with the Developer Discum

they do have a Developmental Version which I was told was faster if you would like to upgrade to that version

vivinano commented 3 years ago

ive added a log report function so it should tell you relative time that it snipe x character so you can use it as a reference for how long before a reaction is added