Are Arcane Imports Possible?
Sorry for making another thread on the same topic, but I see 2 threads from much earlier dates with different results.
Is it possible to import data from arcane in any way other than manually setting XP for everyone in my server?
I have years of progress on Arcane that I don't want to lose by switching off of it. Back then arcane was quite good but now not at all
Solution:Jump to solution
Sadly as stated in this previous message from Shadow, imports from Arcane are not possible due to their restrictions on their own API access;
https://discord.com/channels/744282929684938844/1301970096142680094/1301970746209468457...
42 Replies
Hey @Fallen! 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 OverflowSolution
Sadly as stated in this previous message from Shadow, imports from Arcane are not possible due to their restrictions on their own API access;
https://discord.com/channels/744282929684938844/1301970096142680094/1301970746209468457
There's absolutely no way to view/export my server's data?
I don’t believe so, no.
Alright to follow up then, is there a way I can add XP to multiple users at once? Like providing a list of users and an XP level value instead of having to go member-by-member in my server?
you can assign XP by role, i did a similar thign with migrating from probot
i just gave base XP in Kiai for each "role reward" e.g. for us rank.1 (pup) was 1200xp

and then for the long time members did a spreadsheet and tweaked their XP to match progress they had already towards the next level
you can do the same with XP ADD
obv you may need to do ADD instead of SET (as well as a little maths) if you had stacking reward roles
I don't have level roles, but managed to automate scraping my top 100 members from arcane's leaderboard. I reckon I have about 100 more active people to add as well, but I've got a JSON file so far.
So I was more curious if there was a way to bulk add, not by role but by "importing" by providing a text file or JSON file to the bot in a format it accepts.
ahh i see, sorry that didnt help. good luck!
The API is the only way we have for that
Perfect, there's a bulk set endpoint?
No, you can loop through and hit the setXp endpoint however, and I can raise the ratelimit for your key temporarily if needed as well
Do you have an API key yet?
I don't have one yet, I need to make ticket for this correct?
Also, can I pass a level instead of XP to this endpoint? Or is there an equation I can do to calculate a user's XP from their current level?
Just give me a name for the application and I can go ahead and create it for you.
As to your second question, levels are calculated on the spot with Kiai. The only thing we store in our db is the xp amount to make eg. changing formulas easier. So no, you can’t pass a level amount to that directly, but you can calculate the xp amount using the leveling formula currently in use and pass that onto the endpoint.
The application name is "Fyre".
For the formula can you point me to where I can find that formula?
@Kiai eval kiai.config.LEVELING_FORMULAS
Type:
⏱ 120.73μs
There are all of our leveling formulas, the top one being the default.
You can change it in /settings under "Message XP"
So I can take that and replace
{level}
with the users existing Arcane level and use the result as the xp
field? Also does the default ratelimit apply to the set xp endpoint as well?Yes, they would have the same level amount, but from then on they would progress at a different rate because Arcane uses a different formula we don’t have. Don’t quote me on this, but I think Kiai progresses slower than Arcane. If you find Arcane’s formula, you can easily compare them or even set your Kiai formula to Arcane’s to get an exact replica.
The default rate limit applies to all endpoints afaik.
Future progression isn't an issue for me, it's just getting existing members 1:1 with levels that I need to do. Thank you for the fast replies and help, I will attempt to transfer my data to Kiai now and see how it goes.
Is there a way I can reset all users' ranks in my server if I mess up?
Yeah, /reset. I can go ahead and raise your rate limit to 360/min, or 6 per second.
That would be awesome, although I'll probably limit my script to less then that for the time being
Just to make sure I'm doing this right, that would make level 25 about
7537
Kiai xp?That’s about level 24 and a half.
7800
? I made a misake with the formulayep
Also, I believe I forgot to give you an application ID. As I have no way of authorising my token for my server
Oop, yeah we would usually use a Discord bot ID for that but I assumed you were just running a basic script. Use "fyre"
Can I keep "fyre" even if I do use it for a Discord bot in the future? I called it that because that is the name of one of my bots
I can update the ID for you
but I guess there’s no harm in leaving it as is.
I really like the authorisation flow for connecting an external app to Kiai
We plan to make it better in the future with a dashboard :)
I ran the script but with the wrong URL and every request succeeded
Which URL did you use?
https://api.kiai.app/v2//member/${id}/xp
I forgot to put a guild ID
But surprisingly didn't get any errorsOdd. Nothing bad should’ve happened though. I’ll put it on our radar and look at it. Could just be bad error handling
I was so confused because I didn't get any errors but the levels weren't there
Your rate limit should be adjusted, lmk if you’re encountering errors.
I already completed my transfer successfully, thank you for all of your help!
Is it possible to make a level-up message plaintext or not have a thumbnail for the embed?
I don’t think so. This has been brought up internally but I’ll bump it again.
Glad I could assist.
I'm all done bugging y'all for now, have an amazing day everyone and thank you for all the help. I'll close this now