Closed pingu6 closed 1 year ago
What would be the purpose of using all rolls from your kakeraloot ? If there a purpose I'll consider the addition
Random time between rolls would make it more suspicious that you are a bot which defeats the goal currently the bot wait for a quiet moment in the channel before making all rolls If you were to add a random wait time for a user with 50 rolls or a bigger number than it will annoy other users that you are taking way to long etc etc
I don't know that the divorce reclaim function existed would you care to elaborate on the use of this function ?
I want to farm keys with $us in order to increase characters value so i can farm more kakera from "divorce reclaim".
I play alone in my private server + discord has rate limit so if i spam 100+ roll won't i get banned?
"divorce reclaim" is a term about the process of divorce a certain character then claim it again in order to get kakera from divorce + claiming (emerald 4) so i ment auto divorce certain character
I can technically tell you that the changes you want are in the realm of possibility but these are more tailored to your personal needs and wants
The code is technically available if you need to change or amend the code to fit your needs
And you can do more specialized testing in your server to fine tune the program to you as I don't have access to any disposable kakera I want to use on kakeraloots for testing
random sleep
bot.sendMessage(tides,roll_cmd)
time_to_sleep = random.uniform(2.5, 3.2)
time.sleep(time_to_sleep)
loop $us 20
if rolls_left == 0:
# Ran out of rolls
bot.sendMessage(tides,"$us 20")
waifuwait = False
time.sleep(.5)
if varwait != None and varwait['content'].startswith(f"**{bot.gateway.session.user['username']}") and "$ku" not in varwait['content']:
# We over-rolled.
bot.sendMessage(tides,"$us 20")
waifuwait = False
waifu_roll(tide,slashed,slashguild)
before i add random sleep:
when i add random sleep:
Rolls are handled by a different thread so you have to make changes to that thread and then claiming is handled by the main thread which you would have to set to never set the wait variable to true that is what you would want to do
ty and how can i do this + divorce only if char name in divorce_list
# Successful claim, mark waifu claim window as used
waifu_wall[rchannelid] = next_claim(rchannelid)[0]
bot.sendMessage(divorce_channel,"$divorce "+ divorce_name)
time.sleep(0.5)
bot.sendMessage(divorce_channel,"y")
print(divorce_name," deceived")
I would do a conditional to check if the name is in the "divorce_list" which would claim the char like usual and then afterwards would be a lot of fun verification stuff so if this was a feature after a successful claim That I would check for the message afterwards if the message so happens to be displayed then I would send the divorce string of said "Waifu" and then do another verification for the confirmation string