Nixeld / 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
15 stars 2 forks source link

4 issues i saw #24

Open TarotOfficial opened 3 weeks ago

TarotOfficial commented 3 weeks ago

1-/ha doesnt work its only using $ha and when me and other ppl rolling at the same time and rolls doesnt work it doesnt send this bugged roll.(i think it can be fixed with "/" rolling and it would be better)

2-Even if i close random rolling its still rolling at random times. For example next roll reset 900 seconds later but its using 1200 seconds later and when its use it gives 80mins later.

3-Lets say at one server they have 3 different channel for mudae rolling and im using these channel's id at channel ids on settings json file and writing 1 of the channel's id at slash rolling id but its still rolling other 2 channels too.(am i doing something wrong? idk.)

4-Claim and kakera delay doesnt work.

nasseralharbi12 commented 3 weeks ago

Same here Ignore kakera sometimes Roll in random even when random roll set on false Ignore min kakera

but everything else is good

PwccaCode commented 3 weeks ago

i have to also comment about the issues regarding ignoring kakera value of cards.

Take a look at this example roll card

While rolling card with 300 kakera value appeared. in my configs i empty character list and grab anything above 200 kakera.

even still the card was not even recognized.

same for cards of value above 900

asuna appeared 1004 kakera value bot also did not even register.

Any chance this is a problem with my config instead of the bot? does the server being premium affects it?

TarotOfficial commented 3 weeks ago

i have to also comment about the issues regarding ignoring kakera value of cards.

Take a look at this example roll card

While rolling card with 300 kakera value appeared. in my configs i empty character list and grab anything above 200 kakera.

even still the card was not even recognized.

same for cards of value above 900

asuna appeared 1004 kakera value bot also did not even register.

Any chance this is a problem with my config instead of the bot? does the server being premium affects it?

i haven't that problem actually. Did you wrote your channels and user infofmations in user folder?

nasseralharbi12 commented 3 weeks ago

i have to also comment about the issues regarding ignoring kakera value of cards. Take a look at this example roll card While rolling card with 300 kakera value appeared. in my configs i empty character list and grab anything above 200 kakera. even still the card was not even recognized. same for cards of value above 900 asuna appeared 1004 kakera value bot also did not even register. Any chance this is a problem with my config instead of the bot? does the server being premium affects it?

i haven't that problem actually. Did you wrote your channels and user infofmations in user folder?

What the user folder should contain? Only username and email ?

TarotOfficial commented 3 weeks ago

i have to also comment about the issues regarding ignoring kakera value of cards. Take a look at this example roll card While rolling card with 300 kakera value appeared. in my configs i empty character list and grab anything above 200 kakera. even still the card was not even recognized. same for cards of value above 900 asuna appeared 1004 kakera value bot also did not even register. Any chance this is a problem with my config instead of the bot? does the server being premium affects it?

i haven't that problem actually. Did you wrote your channels and user infofmations in user folder?

What the user folder should contain? Only username and email ?

no isnt it saying "showed name, ussername and user id" it should shows only these.

PwccaCode commented 3 weeks ago

i did not write anything in user folder

TarotOfficial commented 3 weeks ago

i did not write anything in user folder

image image make these

PwccaCode commented 3 weeks ago

I did write what you asked but it still doesn't show username or anything else you mentioned.

can you send a screenshot of terminal and what it says?

TarotOfficial commented 3 weeks ago

I did write what you asked but it still doesn't show username or anything else you mentioned.

can you send a screenshot of terminal and what it says?

image did you do settingsmudae.json?

Nixeld commented 3 weeks ago

@TarotOfficial

  1. Open a terminal and run these 2 commands

    pip uninstall discum -y
    pip install git+https://github.com/Nixeld/Discord-S.C.U.M.git

    You are using the official version of discum which is unmaintained and many functions do not work. The one you need to install have fixes for some of those problems.

  2. Fixed in 9fe9297.

  3. Let me check and I will get back as soon as possible.

  4. Please provide more information on how it is not working.

TarotOfficial commented 3 weeks ago

@TarotOfficial

1. Open a terminal and run these 2 commands
pip uninstall discum -y
pip install git+https://github.com/Nixeld/Discord-S.C.U.M.git

You are using the official version of discum which is unmaintained and many functions do not work. The one you need to install have fixes for some of those problems.

2. Fixed in [9fe9297](https://github.com/Nixeld/MudaeAutoBot/commit/9fe92974bb5173579efff150bf4129ce719badfa).

3. Let me check and I will get back as soon as possible.

4. Please provide more information on how it is not working.

image

  1. didnt fixed still sending without "/" command (in my server its "x" so prefix working but i want to send with "/")
  2. yea its fixed with that
  3. okay good luck
  4. it is clicking immediately even if i add delays but with 1. problem(discum and scum) maybe its fixed i will try and tell the results if u want to write me on discord its "tarotwho" in this picture its my alt account.
nasseralharbi12 commented 3 weeks ago

1-/ha doesnt work its only using $ha and when me and other ppl rolling at the same time and rolls doesnt work it doesnt send this bugged roll.(i think it can be fixed with "/" rolling and it would be better)

2-Even if i close random rolling its still rolling at random times. For example next roll reset 900 seconds later but its using 1200 seconds later and when its use it gives 80mins later.

3-Lets say at one server they have 3 different channel for mudae rolling and im using these channel's id at channel ids on settings json file and writing 1 of the channel's id at slash rolling id but its still rolling other 2 channels too.(am i doing something wrong? idk.)

4-Claim and kakera delay doesnt work.

I was having the same problem with /wa he rolls $wa but I deleted the $wa in settingsmudae.json and set the rolling on false and he started to just roll /wa leave only slash rolling True

Nixeld commented 3 weeks ago

@TarotOfficial

3-Lets say at one server they have 3 different channel for mudae rolling and im using these channel's id at channel ids on settings json file and writing 1 of the channel's id at slash rolling id but its still rolling other 2 channels too.(am i doing something wrong? idk.)

To explain how rolling and slash rolling work. If you put all 3 channel ids in channel_ids and have rolling set to True, it will prefix roll in all 3 channels. If you only want to slash roll in 1 of the channels, add that channel id into slash_ids and set slash_rolling to True.

Here is an example if you want to prefix roll in 2 channels and slash roll in 1 channel.

   "channel_ids":[
     "2645014976699493732",
         "9466927550291194402"
   ],
   "slash_ids":[
    "4477388732595940758"
   ],
   "slash_guild_ids":[
    "3035288446685616412"
   ],
   .
   .
   .
   "rolling":"True",
   "slash_rolling":"True",

So if you want to only slash roll, only fill up slash_ids, slash_guild_ids and set slash_rolling to True.

  1. didnt fixed still sending without "/" command (in my server its "x" so prefix working but i want to send with "/")

This is likely happening because you have added that channel id into "channel_ids" as well. Make sure it is only in slash_ids.

If this does not solve your problem, please share your Settings_Mudae.json without your token.

  1. it is clicking immediately even if i add delays but with 1. problem(discum and scum) maybe its fixed i will try and tell the results

The original creator of this script Vivinano made it so that it ignores the delay you have set in Settings_Mudae.json. If you like to set a custom delay, you can go into the channeldata folder and open up the text file with the channel id you want to set the delay. From there you can change the delay by changing the numbers in these 2 lines.

· Time before the claim reaction expires: **45** sec. ($settimer)
· Kakera sniping: **2** ($togglekakerasnipe) => **10** sec.
Nixeld commented 3 weeks ago

@nasseralharbi12 @PwccaCode

Regarding it ignoring kakera value sometimes, may I ask how often does this happen? And when it does happen, are there multiple people rolling in that channel at the same time or many people sending messages during that time?

TarotOfficial commented 3 weeks ago

@TarotOfficial

3-Lets say at one server they have 3 different channel for mudae rolling and im using these channel's id at channel ids on settings json file and writing 1 of the channel's id at slash rolling id but its still rolling other 2 channels too.(am i doing something wrong? idk.)

To explain how rolling and slash rolling work. If you put all 3 channel ids in channel_ids and have rolling set to True, it will prefix roll in all 3 channels. If you only want to slash roll in 1 of the channels, add that channel id into slash_ids and set slash_rolling to True.

Here is an example if you want to prefix roll in 2 channels and slash roll in 1 channel.

   "channel_ids":[
   "2645014976699493732",
         "9466927550291194402"
   ],
   "slash_ids":[
  "4477388732595940758"
   ],
   "slash_guild_ids":[
  "3035288446685616412"
   ],
   .
   .
   .
   "rolling":"True",
   "slash_rolling":"True",

So if you want to only slash roll, only fill up slash_ids, slash_guild_ids and set slash_rolling to True.

  1. didnt fixed still sending without "/" command (in my server its "x" so prefix working but i want to send with "/")

This likely happening because you have added that channel id into "channel_ids" as well. Make sure it is only in slash_ids.

If this does not solve your problem, please share your Settings_Mudae.json without your token.

https://i.imgur.com/UqZohi2.png even if i change it to another channel its still using prefix+if i empty it gives me this error https://i.imgur.com/2VBiJ8x.png so slash rolling still doesnt work. It gives me error or rolling with prefix.

The original creator of this script Vivinano made it so that it ignores the delay you have set in Settings_Mudae.json. If you like to set a custom delay, you can go into the channeldata folder and open up the text file with the channel id you want to set the delay. From there you can change the delay by changing the numbers in these 2 lines.

i will try this and tell the results again.

Nixeld commented 3 weeks ago

https://i.imgur.com/UqZohi2.png even if i change it to another channel its still using prefix

If you want it to only slash roll, make sure rolling is set to False.

I noticed that you have the same ids set for slash_ids and slash_guild_ids. This is wrong and the bot will not be able to find the channel to slash roll in. Make sure you set them correctly.

slash_ids - The channel id that you want the bot to slash roll in. slash_guild_ids - The server id of the channel (the channel that you put above) you want to slash roll in.

if i empty it gives me this error https://i.imgur.com/2VBiJ8x.png so slash rolling still doesnt work. It gives me error or rolling with prefix.

You have daily_claiming and poke_rolling enabled so you will need to set a channel in channel_ids for it to claim them.

Can you also open a terminal and run this command and show me the output? pip show discum

TarotOfficial commented 3 weeks ago

https://i.imgur.com/UqZohi2.png even if i change it to another channel its still using prefix

If you want it to only slash roll, make sure rolling is set to False.

I noticed that you have the same ids set for slash_ids and slash_guild_ids. This is wrong and the bot will not be able to find the channel to slash roll in. Make sure you set them correctly.

slash_ids - The channel id that you want the bot to slash roll in. slash_guild_ids - The server id of the channel (the channel that you put above) you want to slash roll in.

if i empty it gives me this error https://i.imgur.com/2VBiJ8x.png so slash rolling still doesnt work. It gives me error or rolling with prefix.

You have daily_claiming and poke_rolling enabled so you will need to set a channel in channel_ids for it to claim them.

Can you also open a terminal and run this command and show me the output? pip show discum

thanks its worked rn but claim and kakera delay still doesnt work. I want to add claim 3 seconds later its an example but its claiming immediately. I changed in channel data but its still doing immediately. Can you fix on settings_mudae.json?

Nixeld commented 3 weeks ago

thanks its worked rn but claim and kakera delay still doesnt work. I want to add claim 3 seconds later its an example but its claiming immediately. I changed in channel data but its still doing immediately. Can you fix on settings_mudae.json?

Can you share your channel data?

TarotOfficial commented 3 weeks ago

thanks its worked rn but claim and kakera delay still doesnt work. I want to add claim 3 seconds later its an example but its claiming immediately. I changed in channel data but its still doing immediately. Can you fix on settings_mudae.json?

Can you share your channel data?

Server Settings (Server not premium)

· Prefix: x ($prefix) · Lang: en ($lang) · Claim reset: every 180 min. ($setclaim) · Exact minute of the reset: xx:20 ($setinterval) · Reset shifted: by +0 min. ($shifthour) · Rolls per hour: 10 ($setrolls) · Time before the claim reaction expires: 45 sec. ($settimer) · Spawn rarity multiplicator for already claimed characters: 1 ($setrare) · % kakera bonus: +0 ($setkakerabonus) · Game mode: 2 ($gamemode) · $servlimroul = 38466 $wa, 39159 $ha, 27503 $wg, 23487 $hg · This channel instance: 1 ($channelinstance) · Slash commands: enabled ($toggleslash)

· Ranking: enabled ($toggleclaimrank/$togglelikerank) · Ranks displayed during rolls: claims and likes ($togglerolls) · Hentai series: enabled ($togglehentai) · Disturbing imagery series: enabled ($toggledisturbing) · Child characters: enabled ($togglechildtag) · Rolls sniping: 0 ($togglesnipe) · Kakera sniping: 0 ($togglekakerasnipe) · Limit of characters per harem: 10000 ($haremlimit) · Reacts: for all your rolls ($togglereact) · Custom reactions: yes ($claimreact list) · Kakera reactions more recognizable: no ($kakerareact switchset)

· Kakera trading: enabled ($togglekakeratrade) · Kakera calculation: claim and like ranks (and number of claimed characters) ($togglekakeraclaim/$togglekakeralike) · Kakera value displayed during rolls: enabled ($togglekakerarolls) · $kakeraloot wishprotect: enabled ($togglewishprotect)

PwccaCode commented 3 weeks ago

@nasseralharbi12 @PwccaCode

Regarding it ignoring kakera value sometimes, may I ask how often does this happen? And when it does happen, are there multiple people rolling in that channel at the same time or many people sending messages during that time?

not really sometimes im the only one rolling, a high kakera value card appears, its not even logged and it continues rolling

HANSSS9631 commented 3 weeks ago

@TarotOfficial line 272

global user
    is_roller = (rolled == user['id'])
    if (r < 4 or r == 5) and is_roller:
        # Roller can insta-snipe

        return 0.0  #(Claim delay) change 0.0

    if r == 2 and not is_roller:
        # Not the roller.
        return d

line 530

if roller != user['id']:
    time.sleep(snipe_delay)

else: #add this 2 lines
    time.sleep(123) #kakera delay

for butt in butts.components[0]["components"]:
    buttMoji = butt["emoji"]["name"]

Add these line yourself

TarotOfficial commented 3 weeks ago

@TarotOfficial line 272

global user
    is_roller = (rolled == user['id'])
    if (r < 4 or r == 5) and is_roller:
        # Roller can insta-snipe

        return 0.0  #(Claim delay) change 0.0

    if r == 2 and not is_roller:
        # Not the roller.
        return d

line 530

if roller != user['id']:
    time.sleep(snipe_delay)

else: #add this 2 lines
    time.sleep(123) #kakera delay

for butt in butts.components[0]["components"]:
    buttMoji = butt["emoji"]["name"]

Add these line yourself

image image still didnt work.(i tried to change 0.0 and this one didnt work too)

gamingEx14 commented 3 weeks ago

The only error I found, maybe because I don't know much about python or because I configured it wrong, is that the bot doesn't roll in slash, everything else is working fine for me. One question I have is whether the bot can use the dk?

Aimandesu145 commented 2 weeks ago

@TarotOfficial bro can i add you on discord?

TarotOfficial commented 2 weeks ago

@TarotOfficial bro can i add you on discord?

why

Aimandesu145 commented 2 weeks ago

@TarotOfficial bro can i add you on discord?

why I need your help with something if it ok tho 🙂

TarotOfficial commented 2 weeks ago

@TarotOfficial bro can i add you on discord?

why I need your help with something if it ok tho 🙂

okay but i cant help you rn but you can send me and i will help you later ok? tarotism is my discord account send me friend request.

Aimandesu145 commented 2 weeks ago

@TarotOfficial bro can i add you on discord?

why I need your help with something if it ok tho 🙂

okay but i cant help you rn but you can send me and i will help you later ok? tarotism is my discord account send me friend request.

Done send it 👍🏼 my discord name are mikuto

PwccaCode commented 1 week ago

@nasseralharbi12 @PwccaCode

Regarding it ignoring kakera value sometimes, may I ask how often does this happen? And when it does happen, are there multiple people rolling in that channel at the same time or many people sending messages during that time?

@Nixeld any updates on this issue?

HANSSS9631 commented 1 week ago

We can't recreate the issue of ignoring kakera value sometimes and are very busy irl.