[KIAI-395] Role rewards aren't stacking or auto-syncing
image 1: person with only lvl 100 role when they should have all
image 2: all available lvl roles
i have stacking enabled and all role rewards are set up correctly
guild id: 970411885293895801


37 Replies
Hey @srnyx! 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 OverflowHave you tried syncing them with the
/rewards sync
command?yeah, which is another issue cause its not auto-syncing :Sadge:
ive had to use the cmd every time (i think, idk if like a few r getting auto-synced or not)
ok yeah they arent being auto-synced at all
Is Kiai above these roles?
yes,
/rewards sync
works and it still gives the highest role to users
it just doesnt stack or automatically assign roles
any update on this?
also does kiai check reward roles when i use the api to give xp?
or like when does it check
yoyoyo
Sorry for the delay, I'll look into this for you asap
tyty
so uhm :Sadge:
Sorry π
I meant to update you when I got the chance. I couldn't seem to copy this error but keep looking into it with the other staff and I'll hopefully get back to you asap
i have all the rewards set up correctly i think

manually syncing:

still doesnt stack roles
but also shows how its not auto-syncing
Hey are you encountering any errors
it doesnt give me any errors no
but it doesnt seem to auto-sync or stack rewards
Strange, does Kiai have manage roles
yes because its still able to manually sync
I see, is auto sync on?
yes and i tried disabling/enabling
This is a bug, sadly you'll need to wait for it to be patched, I apologize for the inconvenience
this is still happening for me
role rewards arent auto-syncing or stacking π’
ok actually sometimes it will auto-sync
but a lot of the time i have to manually run the sync cmd

i hid irrelevant msgs
Thatβs even weirder
Hmm
this was triggered by them sending a message

unsure if that message was what got them to lvl 10 or not
are role rewards checked when xp is given with the api?
No
Their next message should trigger all level up functions iirc
ok ye makes sense, and i think that person's msg was what got them to lvl 10
it never announced that they reached lvl 10 π€¨
they reached lvl 10 between here (and then i guess gambled all their XP away π)

That makes a lot of sense why it's not triggering these for you, the API isn't firing those level up checks like normal messages do.
Are you using virtual message, or the add/remove XP routes
add/remove
whats virtual msg?
and wouldnt it still sync after they send a msg after they lvl up with api?
thats what I thought but im digging into that route rn
ah, yeah probs best i stick with add/remove in my scenario
virtual_message is what kiaimc uses to do message xp
yeye i assumed, makes a lot of sense for that
hmmmm interesting
addXp internally calls checkLevelStatus which is what emits the level up/down events
ok yeah im more confused than ever now
if u wanna add debugging stuff (maybe just to my server) then feel free
guild id: 970411885293895801