12 Replies
Ayako does not apply level-up logic to the very first message that meets requirements. If you send a second one (that passes all leveling checks) you're gonna get the correct level
No. Even each level of logic does not return.
Rly need help
Thats broken
please pick a more meaningful title next time
can you send a message again that meets all leveling requirements, i added something that makes it fix itself
Ok wait
I reset my level, gained experience and got a negative number. After the second time I gained experience, I don't get it anymore
The bug remains
wait but thats the solution i told you about earlier
ayako does not apply levelup logic on the first message, therefore you will see negative xp in the rank card
this is desired behaviour
But then everything breaks
how does everything break when you get negative numbers in the rank card once
the rank card is just a display thing. the negative numbers are not stored anywhere in ayakos database therefore they have no effect on how she operates
Ok ok lets me test again
If so, then the first message does not count.
Right?
it does count, it just doesnt let you level up
Strange logic
if the first message gave you a million xp, that million xp would still be stored into the DB, just with level 1
once you send a second message, gaining another million xp, you'd get the according level
Ayako is open source and open for pull requests if you have better ideas
No no. I apologize. Thanks for the fix!