Moonlink.js > Player#setVolume - volume is not a number or is out of range (0-1000).

This error was happended but I have no clue why also with autoplay
20 Replies
Nonsen
NonsenOPโ€ข3mo ago
The slash command return normal value for this command it's return normal number
ComicallyBad
ComicallyBadโ€ข3mo ago
Can you try with the dev branch? npm uninstall moonlink.js npm i https://github.com/Ecliptia/moonlink.js#dev There were some validation logic errors that were fixed
Nonsen
NonsenOPโ€ข3mo ago
ok
MEE6
MEE6โ€ข3mo ago
GG @Nonsen, you just advanced to level 3!
Nonsen
NonsenOPโ€ข3mo ago
[play tool] Error playing "party 4 u": TypeError: Cannot read properties of undefined (reading 'players') at D:\Project\Nyx\node_modules\moonlink.js\dist\src\management\NodeManager.js:165:36 at Array.sort (<anonymous>) at NodeManager.sortByUsage (D:\Project\Nyx\node_modules\moonlink.js\dist\src\management\NodeManager.js:159:22) at PlayerManager.create (D:\Project\Nyx\node_modules\moonlink.js\dist\src\management\PlayerManager.js:28:43) at Manager.createPlayer (D:\Project\Nyx\node_modules\moonlink.js\dist\src\core\Manager.js:243:29) at Object.execute (D:\Project\Nyx\services\commands\music\play.js:104:48) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Client.<anonymous> (D:\Project\Nyx\services\events\interactionCreate.js:28:13) (node:23332) Warning: Supplying "ephemeral" for interaction response options is deprecated. Utilize flags instead.
ComicallyBad
ComicallyBadโ€ข3mo ago
Hmm, can you show the play command
Nonsen
NonsenOPโ€ข3mo ago
Oh ok I was remove the type check Yes it's working now
ComicallyBad
ComicallyBadโ€ข3mo ago
awesome :thumbsUp:
Nonsen
NonsenOPโ€ข3mo ago
And should I be concern for this too?
No description
Nonsen
NonsenOPโ€ข3mo ago
It's like randomly happend for some lavalink server shell i put it on issues?
ComicallyBad
ComicallyBadโ€ข3mo ago
Is there a certain URL/Song that produces that error? I'll look for how that could happen
Nonsen
NonsenOPโ€ข3mo ago
I didn't log that, their is a lot of people using its
Nonsen
NonsenOPโ€ข3mo ago
Here what I got for a last few days
No description
No description
ComicallyBad
ComicallyBadโ€ข3mo ago
Did you get this error while on the dev branch? Or was this an older error?
Nonsen
NonsenOPโ€ข3mo ago
5 days ago for RequestBy 5 hours ago for title and source I just redeploy maybe railway update the lib Maybe the latest not dev
ComicallyBad
ComicallyBadโ€ข3mo ago
I'd test with the dev branch for now to see if you get that error again, if you do, the Moonlink Debug and payload will also be helpful
Nonsen
NonsenOPโ€ข3mo ago
will do thank you
ComicallyBad
ComicallyBadโ€ข3mo ago
ah @1Lucas1.apk I think you made some updates after I created my pull request, pushed your updates, but then merged my pull request. I see you may have fixed this issue here: https://github.com/Ecliptia/moonlink.js/commit/2c43cf18d8761e65cff2040b10423a1e475f62ca#diff-ac3b6fbed7d3486d3af63cedc085c35acb1ab0ec2a7cf14819d6f41041704607R47-R597 But the changes may have been reverted after the pull request merge
GitHub
feat: enhance node plugin and autoplay functionality ยท Ecliptia/mo...
Details: - Added capabilities and plugins properties to Node class. - Integrated plugin load/unload/update mechanisms for nodes. - Enhanced autoplay logic with extended support for multip...
ComicallyBad
ComicallyBadโ€ข3mo ago
I'm not sure why the pull request would've overwritten the whole file and not just the changes
1Lucas1.apk
1Lucas1.apkโ€ข3mo ago
may have overwritten, I used merge to join the pull requests, but I didn't properly check if it overwrote something

Did you find this page helpful?