Update Discord Presence module check so it's works. Added dlls for Steam Presence

This commit is contained in:
Jonny_Bro (Nikita) 2023-07-19 22:04:03 +05:00
parent 15de75ce98
commit dd535f4718
4 changed files with 5 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# beatrun # beatrun
Modified beatrun's source code.<br><br> Modified beatrun's source code.<br><br>
There are lua modules, they are for Discord Rich Presence to work, if you want pure Lua just don't extract them, but your Level and Map will not be shown in your Discord status.<br> There are lua modules, they are for Discord Rich Presence and Steam Presence to work, if you want pure Lua just don't extract them, but your Level and Map will not be shown in your Discord and Steam statuses.<br>
This version should works on any version of the game (Base version is known good, Chromium has some issues and I don't have time to fix them). This version should works on any version of the game (Base version is known good, Chromium has some issues and I don't have time to fix them).
# Installation # Installation
@ -8,7 +8,7 @@ This version should works on any version of the game (Base version is known good
2. **Delete `beatrun` and `vmaniprework` folders in *addons* if you have one!** 2. **Delete `beatrun` and `vmaniprework` folders in *addons* if you have one!**
3. Extract `beatrun` and `vmaniprework` folders to *your_game_folder/garrysmod/addons*. 3. Extract `beatrun` and `vmaniprework` folders to *your_game_folder/garrysmod/addons*.
4. Extract `lua` folder to *your_game_folder/garrysmod*. 4. Extract `lua` folder to *your_game_folder/garrysmod*.
* `lua` folder constains modules for Discord Rich Presense to work. They are open source, visit [this](https://github.com/fluffy-servers/gmod-discord-rpc) to see the source. * `lua` folder constains modules for Discord Rich Presense and Steam Presence to work. They are open source, visit [this](https://github.com/fluffy-servers/gmod-discord-rpc) to see the sources of DRP and [this](https://github.com/YuRaNnNzZZ/gmcl_steamrichpresencer) for SP.
## Changes added by me ## Changes added by me
* [Custom online courses database](https://courses.beatrun.ru)! It's free 🤯 * [Custom online courses database](https://courses.beatrun.ru)! It's free 🤯
@ -27,10 +27,8 @@ All of the settings below can be changed in the configuration menu
- [ ] Gamemodes menu - [ ] Gamemodes menu
## Fixes and changes from previous version ## Fixes and changes from previous version
* Punching while crouching. * Removed unused anims and merged some together.
* Tweaked safety roll, now you can roll under things. * Added a module for Steam Presence.
* Fixes to Gamemodes menu.
* Removed unused code.
# All changes and fixes # All changes and fixes
* Course saving works with compression and without. * Course saving works with compression and without.

View file

@ -1,4 +1,4 @@
if file.Find("lua/bin/gmcl_gdiscord_*.dll", "GAME") == nil then return end if not file.Exists("lua/bin/gmcl_gdiscord_*.dll", "GAME") then return end
require("gdiscord") require("gdiscord")

Binary file not shown.

Binary file not shown.