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:
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...
Jump to solution
42 Replies
EasyThreads
EasyThreads2w ago
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 Overflow
Solution
Evermore’s Lament
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
Fallen
FallenOP2w ago
There's absolutely no way to view/export my server's data?
Evermore’s Lament
I don’t believe so, no.
Fallen
FallenOP2w ago
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?
Jaqqour
Jaqqour7d ago
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
Jaqqour
Jaqqour7d ago
No description
Jaqqour
Jaqqour7d ago
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
Fallen
FallenOP7d ago
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.
Jaqqour
Jaqqour7d ago
ahh i see, sorry that didnt help. good luck!
Shadow (Away)
Shadow (Away)7d ago
The API is the only way we have for that
Fallen
FallenOP7d ago
Perfect, there's a bulk set endpoint?
Shadow (Away)
Shadow (Away)6d ago
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?
Fallen
FallenOP5d ago
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?
Asleep
Asleep5d ago
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.
Fallen
FallenOP5d ago
The application name is "Fyre". For the formula can you point me to where I can find that formula?
Asleep
Asleep5d ago
@Kiai eval kiai.config.LEVELING_FORMULAS
Kiai
Kiai5d ago
{
KIAI_DEFAULT_FORMULA: '12 * ({level} * {level}) + {level} * 12',
AMARIBOT_FORMULA: '20 * ({level} * {level}) + 35',
CAKEYBOT_FORMULA: '5 * (level ^ 2) + 50 * level + 100',
DISCORTICS_FORMULA: '(100.03326679973 * ({level} * {level})) - (7.418496340652 * {level}) + 307.38522954092',
MEE6_FORMULA: '5 * ({level} ^ 2) + (50 * {level}) + 100 + {xp}',
LEVELUP_FORMULA: '{level} * {level} * 100',
PIGGY_FORMULA: '220 + (75 * ({level})) + 10 * ((({level})({level}-1))/2) + {xp}'
}
{
KIAI_DEFAULT_FORMULA: '12 * ({level} * {level}) + {level} * 12',
AMARIBOT_FORMULA: '20 * ({level} * {level}) + 35',
CAKEYBOT_FORMULA: '5 * (level ^ 2) + 50 * level + 100',
DISCORTICS_FORMULA: '(100.03326679973 * ({level} * {level})) - (7.418496340652 * {level}) + 307.38522954092',
MEE6_FORMULA: '5 * ({level} ^ 2) + (50 * {level}) + 100 + {xp}',
LEVELUP_FORMULA: '{level} * {level} * 100',
PIGGY_FORMULA: '220 + (75 * ({level})) + 10 * ((({level})({level}-1))/2) + {xp}'
}
Type:
any
any
⏱ 120.73μs
Asleep
Asleep5d ago
There are all of our leveling formulas, the top one being the default. You can change it in /settings under "Message XP"
Fallen
FallenOP5d ago
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?
Asleep
Asleep5d ago
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.
Fallen
FallenOP5d ago
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?
Asleep
Asleep5d ago
Yeah, /reset. I can go ahead and raise your rate limit to 360/min, or 6 per second.
Fallen
FallenOP5d ago
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?
Asleep
Asleep5d ago
That’s about level 24 and a half.
Fallen
FallenOP5d ago
7800? I made a misake with the formula
Asleep
Asleep5d ago
yep
Fallen
FallenOP5d ago
Also, I believe I forgot to give you an application ID. As I have no way of authorising my token for my server
Asleep
Asleep5d ago
Oop, yeah we would usually use a Discord bot ID for that but I assumed you were just running a basic script. Use "fyre"
Fallen
FallenOP5d ago
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
Asleep
Asleep5d ago
I can update the ID for you but I guess there’s no harm in leaving it as is.
Fallen
FallenOP5d ago
I really like the authorisation flow for connecting an external app to Kiai
Asleep
Asleep5d ago
We plan to make it better in the future with a dashboard :)
Fallen
FallenOP5d ago
I ran the script but with the wrong URL and every request succeeded
Asleep
Asleep5d ago
Which URL did you use?
Fallen
FallenOP5d ago
https://api.kiai.app/v2//member/${id}/xp I forgot to put a guild ID But surprisingly didn't get any errors
Asleep
Asleep5d ago
Odd. Nothing bad should’ve happened though. I’ll put it on our radar and look at it. Could just be bad error handling
Fallen
FallenOP5d ago
I was so confused because I didn't get any errors but the levels weren't there
Asleep
Asleep5d ago
Your rate limit should be adjusted, lmk if you’re encountering errors.
Fallen
FallenOP5d ago
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?
Asleep
Asleep5d ago
I don’t think so. This has been brought up internally but I’ll bump it again. Glad I could assist.
Fallen
FallenOP5d ago
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

Did you find this page helpful?