+ xp Issue
It say i can Make xp start from 0 but when i add it it didint start from 0
Its a problem or im doing something wrong?
Solution:Jump to solution
So this is not a bug, the rank card still functions as we intend.
There are two suggestions as Shadow linked above that are suggesting we change how the rank card works in the case of XP starting from zero on each new level. That being said, we do not consider this a bug....
50 Replies
Hey @TimeEnd! 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 Overflow.
Any help?
@TimeEnd When you specify this, it calculates it that way internally, but the way its displayed on the rank card does not change
https://discord.com/channels/744282929684938844/1229862618152566874
https://discord.com/channels/744282929684938844/1328493024015159358
Oh so its a bug?
No
It still calculates starting at 0 for every level
but it displays otherwise on the card itself
Oh
@Shadow true place of + xp or wrong?
I think wrong? Bcz i got this
?
Solution
So this is not a bug, the rank card still functions as we intend.
There are two suggestions as Shadow linked above that are suggesting we change how the rank card works in the case of XP starting from zero on each new level. That being said, we do not consider this a bug.
Okay
I was asking abt that
.
If i added that + xp true
Or wrong place
Bcz when i added it card look like this
U guys said that need to add + {xp} So xp start from 0 and when i added it look wht happen
@TimeEnd Can you please send me your server ID?
Im using kiai on my test bot server
Yes, I will need your server ID
1320653969537896458
Thanks
Please have some patience while we look into this for you.
:Anime_ok:
Okayy thank you for help
I hope this get fixed bcz i want use kiai on my main server :Dancingduck:
So your issue lies with the fact that your XP formula is:
0 * ({level} * {level}) + {level} * 500
The first issue is the fact that anything multiplied by 0 is 0, hence the issue with the rank card showing 0/0 XP.
In addition to that, you didn’t add {xp} to the formula, thus cumulative XP would not work.
In the case of you wishing to use the default Kiai XP formula with cumulative XP, you’d need something like this:
12 * ({level} * {level}) + {level} * 12 + {xp}
I was using that
I change 0 and 500 so lvl 0 to 1 need 500 xp
But when i added
0 * ({level} * {level}) + {level} * 500 + {xp}
showed 0/0That works perfectly on our end, so what’s the issue with it?
When i add + {xp} on card show 0/0
I used now
12 * ({level} * {level}) + {level} * 12 + {xp}
Still sameHave you sent messages?
Ye
For example, at least 5 messages
Leveled up me 2 level
I sent 1 message and sent me im on level 2
Can you send a screenshot of you now running /rank again?
So, as you can see, /rank now displays the correct information
Naturally, when using cumulative XP the required XP to reach the first level would be 0, so it isn’t showing incorrectly
So isnt needed to show when i level up like to lvl 3
Expample 0/500 xp?
I don’t understand what you mean
Like on my server i need from lvl 0 to 1 500 xp
I done added that
But when i get lvl 1 it show 500/1000
Not 0/1000
Like xp not restart from 0
@Codeize
Like this it show 587/1050k not 0/1050k
For this server ID, you are still not using the XP formula I sent above.
The server name is ‘A/V Testing Bots’
Im using this rn
0 * ({level} * {level}) + {level} * 500 + {xp}
Yes, however can you please try use this formula, as the issues you’ve mentioned aren’t reproducible for us with this formula.
If you’re satisfied that that formula works, then you can alter it to your liking. We don’t really offer support for custom XP Formulas, they’re to be used at the server administrator’s risk
I tried this
12 * ({level} * {level}) + {level} * 12 + {xp}
Same problemAre you still using that formula at this very moment?
Also leveled up me from 0 to 2 in 1 message
No changed
Ill re use rn
Sec
Once you change your formula to the one I mentioned, I’d recommend resetting XP in your server again.
Done reseted xp
Now show like this 0/0
Ill send 1 message and ss u wht will happen
1 message 2 level
Can you now please run /rank, and screenshot that too
Any new?