Closed RayEve2007 closed 1 month ago
@RayEve2007 this was fixed a long time ago, please update via npm i aoi.js@latest
!
Hmm, it isn't working. I already updated to the latest version of aoi.js and aoi.db, and i did the latest aoi.db setup correctly as well, and it seems to have still returned the same result. i also deleted the node_modules and database folders, but none of them worked.
@Faf4a this is also my setup
Update: $findUser also made it not synchronized with the $authorID function but it returns my ID from $findUser func.
Bug Type
Function
Bugged Function
Version of aoi.js
v6.7.1
Version of Node.js
v21.4.0 (Current)
Excepted Output
The code that i've tried must be run as expected but unfortunately there was a problem with getting the current position. It supposed to be rank 1 but unfortunately it was added into 2 after leveling up AKA after 1k EXP, then i tried to run
$globalUserLeaderboard
function, it gives me the same result (2nd instead of 1st). I have also tested it with the previous version ofaoi.js
andaoi.db
and they still gave me the same wrong position on that function.Also, The second image are two users but the position was not updating although it was global var and they are really do the opposite thing.
Things I have done
Relevant log output
Code of Conduct