[KIAI-357] Voice XP Sessions not properly canceled
Hello! I recently set up the bot in my server, a member leveled up and went straight from level 22 to level 71. I'm not server what happened.
42 Replies
Hey @Aiden! Our team will answer your post soon.
If this is an issue in your server, make sure you've included your server's ID (This can be found on the
/ping
command), as well as which users are having this issue.
Once your question has been answered, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution
to help others find the solution via Answer OverflowServer ID: 706294603468243015
Hey @Aiden, pushed this internally so we can look at what happened. Could you also provide the user ID for the affected member?
Yes
763461725554343969
Hi! Looks like you changed the leveling formula in your server which caused the bot to recalculate everyone's level based on the new formula, which caused this jump @Aiden
The bot only stores XP internally, the user's level is calculated on the fly based on the formula set
Yes! The formula is very steep, other people have been getting XP just fine
I dont quite know what happened
This is the formula
50 * ({level} * {level}) + {level} * 50
The user with the jump was level 22
Let me go check my logs and see how long she was in vc
She was in vc for 48 minutes and I have it set to 9 xp per minute
So she got 432 xp when she left vc
Which was when she leveled up
And with the formula it takes 56100 XP to level up from 22 to 23
She went from 22 to 71
So something bugged
Hmm yeah that new formula change shouldn't be that drastic
I'm not able to dig in right now (IM GOING TO SEE WICKED!!) but I can dig in tonight
AYEE have fun
And alrighty sounds good
Task created!
-# 97cf55a5-eab5-4354-93c5-5199a5de7c41
I didn't see anything glancing through the logs of the bot, I'm gonna pull up your server's data tomorrow and dig through it. Can you send an invite to your server?
This is the member that it happened to, this is her explanation of it LOL
I do see reenabling of voice xp and message xp about 30 minutes before that, I wonder if somehow it was still tracking voice minutes and thats what made it shoot up, like it got disabled while they had a voice session active maybe?
@net-tech- pinging you in here to take a look
Hi thanks for helping with the problem !!! Is there any chance while your looking into it you could make me back to the level I was before ❤️ just to make it less confusing for players 😇 Thanks for looking into it !!!
@Aiden can set your level with the /xp command :)
Gagged
Thank you LOL
Also random question, since the bot tracks time in VC, is there any sort of way to see how much time a user has spent on vc?
There's a voice minutes leaderboard
Buape Studios
Voice Minutes Leaderboard
1. <@439223656200273932> - 68 minutes
- <@829909201262084096> - 67 minutes
- <@314219277546946561> - 60 minutes
- <@276497792526974996> - 22 minutes
- <@315039888850288641> - 6 minutes
- <@97268410836062208> - 4 minutes
- <@1295002893853655111> - 0 minutes
- <@386110084947902464> - 0 minutes
- <@1056383394470182922> - 0 minutes
- <@461862173044375572> - 0 minutes
Page 1 of 16
Thank you ‼️
I think I found something related to the bug with Daisie's XP...
That...... is a lot of voice minutes
Don't quite know how that happened!
The way our voice system works, is that it tracks “events “such as user joining the voice chat, user, leaving the voice chat, when they mute and unmute, etc. I’m wondering if they had started a Voice XP session in the bot and it tracked when they joined, but then the Voice XP system was disabled, so it never saw them leave, and then when you enabled it the next time, it had an end event for that voice section, and just calculated all of the time between
If there’s typos blame Siri
The bot has been in my server since the 6th, and has had voice XP on since yesterday morning
ahhhh I bet thats what happened! Daisie is in vc a lot and I do believe I was in VC when I disabled voice XP at the beginning of the month
So she was likely there with me
LOL
Do you need me to bring their voice minutes down? If so, what should I set them to
I have another bug/question
I'm about to calculate, I have a log system that shows when people join and leave vc! Give me a few minutes to check
Also, on my screen some of the people on the voice leaderboard only shows up as their user ID's, and then on another members screen it shows it for different people
That's just a Discord bug, those people aren't cached in your client
Ah I see
What does that mean LOL
They aren't online/haven't sent messages/some other reason which is causing your client to not know anything about them except their user ID, and your client doesn't fetch them because that would end up spamming the api if there are a lot of them
Some client mods have fixes for this, or if you click the member in the member list or mention them yourself and click on that, they'll show up properly because you made your client fetch them
Can you set Daisie to 225 minutes please!
Ahhhh I see, thank you!
set!
Thank you!
I have another random question 😭
Is there anyway to set it where this just says the text and not the image
Like in a format more like this
So it takes up less space
:crownsmile:
:kek:
no, #kiai-suggestions
Solution
This bug has been fixed! Thanks for letting us know about it