BetterDiscordPlugins
BetterDiscordPlugins copied to clipboard
AutoStartRichPresence An error was encountered while trying to load this plugin
I got the same error I think this is the error it gave me, not working at all
Error: ENOENT: no such file or directory, lstat 'C:\Users\Reiwa\AppData\Local\Discord\app-1.0.9008\zlib'
at Object.j [as realpathSync] (
same!!
Error: ENOENT: no such file or directory, lstat 'C:\Users\tabs\AppData\Local\Discord\app-1.0.9008\zlib'
at Object.j [as realpathSync] (
same for me
temporary solution for me: https://www.customrp.xyz/
same error.
samee
temporary solution for me: https://www.customrp.xyz/
bit old reply but does anyone know if this is safe (?)
temporary solution for me: https://www.customrp.xyz/
bit old reply but does anyone know if this is safe (?)
probably not https://www.virustotal.com/gui/file/7fc0c0298b645c7d7b1d3f6c8e48c7e988ab041d12cfb039471c59f11feb6446/behavior
~~The error says zlib folder doesn't exist.~~
~~I have found the cause: It is because it is not being seen as package but just as folder/file. I will try to find solution~~
~~Update: Adding zlib doesn't work!~~
~~UPDATE: I think because of the way how discord works and not has all the nodejs packages this one needs, we can NOT use this plugin at all!~~
~~So for now, it will stay unuseable~~
Update: See my last comment
The error tells you whats wrong!
It says zlib folder doesn't exist.
I have found the cause: It is because it is not being seen as package but just as folder/file. I will try to find solution
UPDATE: I think because of the way how discord works and not has all the nodejs packages this one needs, we can NOT use this plugin at all!
( i added the "zlib" files, and stills error occured.)
( i added the "zlib" files, and stills error occured.)
You don't have to/you cannot 'add' zlib, cause it just doesnt work.
And to the owner of this plugin: Please delete the plugin from the Plugin Repo, until you have fixed this!
Update: I made a fix, see my last comment
temporary solution for me: https://www.customrp.xyz/
bit old reply but does anyone know if this is safe (?)
probably not https://www.virustotal.com/gui/file/7fc0c0298b645c7d7b1d3f6c8e48c7e988ab041d12cfb039471c59f11feb6446/behavior
its fine https://github.com/maximmax42/Discord-CustomRP
You don't have to/you cannot 'add' zlib, cause it just doesnt work. But what I recommend is installing "CustomRP" (#177 (comment)), it does the same and it auto reconnects when discord is not yet found/running
Yeah no, I wouldn't. Virustotal shows a whoooole bunch of behaviors that just raise too many red flags for me. Things that raised those red flags: Large memory allocation (Heap Spray attack), Checks for VMs, Geographical Location requests, Shutdown system (Why would you need that for just rich presence modification? Wouldn't you just need a bit of client modification to discordapp?), It deleted a few things from chrome userdata. The person who created the CustomRP thing has been accused of making malware before Theres a whole bunch of reg keys opened that I looked through and I just don't see the risk outweighing the benefit. Hell, I'm not computer expert but maybe someone else can drop in for me? My apologies if i am wrong, though.
Oke for everyone who doesn't trust him,
Use my fix (just copy paste the code into the AutoStartRichPresence.plugin.js file in your plugins folder): https://raw.githubusercontent.com/Miniontoby/MinionBDStuff/main/Plugins/AutoStartRichPresence/AutoStartRichPresence.plugin.js
And then you can use the plugin settings to modify what it should say
its fine https://github.com/maximmax42/Discord-CustomRP
ah shit i didnt see that part of it. Just uninstalled it. dont download it.
thanks @f1zzyl1zzy
@AJXD2 Just use my patch/fix for this BD Plugin! It works like a charm!
Oke for everyone who doesn't trust him,
Use my fix (just copy paste the code into the AutoStartRichPresence.plugin.js file in your plugins folder): https://gist.githubusercontent.com/Miniontoby/9a7c77538cd3d5a3cdc7324d0e23b351/raw/AutoStartRichPresence.plugin.js
And then you can use the plugin settings to modify what it should say
it works guys!! thanks btw!!!
Since I am now uploading my version to the BD plugins list, the link to the download has changed: https://raw.githubusercontent.com/Miniontoby/MinionBDStuff/main/Plugins/AutoStartRichPresence/AutoStartRichPresence.plugin.js
Since I am now uploading my version to the BD plugins list, the link to the download has changed: https://raw.githubusercontent.com/Miniontoby/MinionBDStuff/main/Plugins/AutoStartRichPresence/AutoStartRichPresence.plugin.js
i have downloaded this and tried it but it doesnt work either. first off, all the setting fields are just white, but that could be a design issue, that's not that important. more important is that this doesnt even work, it does not start a rich presence status, atleast not in my test. it just shows up as nothing in my status (it says "playing a game" and nothing else in my RP status), although the errors and stuff is gone and i can access the settings atleast. at this point im not too eager to make this work, to be honest, theres other plugins in the DB that can do similar things so ill be using those, just wanted to say that the fix above did not work for me. Maybe at some point the dev will hopefully fix this plugin instead of letting it get obsolete.. Edit: from Discord's side, Discord-RPC has been deprecated anyway so i would just settle on not using this plugin, since it seems Discord will discard it for a newer SDK anyway.
Have you checked that your "Share activities with others" is enabled?
At least I am still running my plugin and it is still working. You said white setting fields, that would mean you have an older version than the one you in the mention in your message. I had made some changes to the settings pane for the betterdiscord release, so just make sure you have version 2.0.11.
Btw, my plugin doesn't make use of the IPC (which might get removed), it directly sets the RPC in discord by using discord's functions, so I would think it might not get to be obsolete, but we never know.
Have you checked that your "Share activities with others" is enabled?
At least I am still running my plugin and it is still working. You said white setting fields, that would mean you have an older version than the one you in the mention in your message. I had made some changes to the settings pane for the betterdiscord release, so just make sure you have version 2.0.11.
Btw, my plugin doesn't make use of the IPC (which might get removed), it directly sets the RPC in discord by using discord's functions, so I would think it might not get to be obsolete, but we never know.
yeah that's enabled. honestly im fairly new to all this so maybe im wrong, idk. also i just tested it again, it works fine, i just didnt notice that it doesnt actually reload the status after ive changed something unless i restart the plugin. the fields are still white but i am using version 2.0.11, it says so in the script too. thats fine though, i dont mind it too much to be honest.
one thing i have noticed is that you cant rename the profiles which would be handy to be honest. the plugin seems to add information to the config file but it doesnt seem to fetch that information from the config file. so it would be great if it did that, its a bit bothersome to have to click on each "New Profile" to find out which one is the correct one. also the "active profile" thing doesnt work, it doesnt actually change profiles unless you use the "editing profile" thing, which isnt that bad but then the active profile field becomes unnecessary, yknow.
not sure how open you are to testing and i dont know if you knew all this but i thought id drop it in.
The "Select Active Profile" is supposed to be used to select the profile that should show up.
The "Select Editing Profile" is ONLY to edit any profile's information not to change profiles.
And I do not have to restart the plugin in order to get it to work, tho.
I could try to add renaming function, yeah. But for now you must STOP the plugin, then edit the json file and then start the plugin again (unless BD just saved the json file in it's cache... but I do not remember...)
Still that it is white is really strange, since I do not see it being white! Only the text is white, but not anything else... Update: Oh wait, I use Discord11 and then there is no white stuff...
I am going to make an update on it, that will fix the problems, this week!
yes but that's what i did. the plugin doesnt fetch the information from the config.json file, it only adds to it. because i type in a name, save the file, then turn on the plugin and the plugin reloads the config file in notepad++ but it doesnt actually use the information that i put into the file, same if i do it while the plugin is running. atleast thats what happens for me. i did restart and all that but the plugin doesnt seem to read the config file, because if i change anything (literally anything, even other settings than pname), then that doesnt show up in the fields on discord, and after reloading, the plugin just reloads the config file with its own information instead of reading what i wrote into it. or atleast it seems that way for me.
thanks for wanting to fix this stuff though!
@woolloo24
That is sadly enough how BetterDiscord's api works... The only solution I can think of right now is to close discord, then edit the settings file and then open discord again...
For the settings menu, I have just released an update on my github. Please install it and try it out.
thank you very much! closing discord completely, changing the names in the file and then opening discord again seems to do the trick. the settings fields are also no longer white, thank you very much! ^^