GithubHelp home page GithubHelp logo

andreymrovol / lethalrichpresence Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 26.55 MB

Fully customizable Discord Rich Presence support for Lethal Company.

Home Page: https://thunderstore.io/c/lethal-company/p/mrov/LethalRichPresence/

License: MIT License

C# 100.00%
discord lethal-company discord-rich-presence

lethalrichpresence's People

Contributors

1a3dev avatar andreymrovol avatar mari0no1 avatar phreelosu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lethalrichpresence's Issues

Stuttering while in game

I've narrowed down the stutter I'm getting in game to this mod. There's a bit of terminal spam when it happens. I'll see if I can't do a root cause analysis when I get some time later. If the Discord API call is being launched in a new thread, the io shouldn't have any issues though.

Custom Moons support

Custom moons added through LethalExpansion use InitSceneLaunchOptions as scene, so this mod cannot detect proper moon name.

The simplest way would be to add LethalExtension as a dependency, but this mod does not need that, as it intends to be a simple plugin with one use case in mind.

Possible solutions:

  • use LethalExtension as a dependency
  • display "Custom Moon" or "Modded Moon" as a placeholder (not ideal)
  • create plugin to bridge the gap between LE and this mod (would be optional and ideal in modpacks)

Stuck on In main menu on discord

Only using bepinex and LRP latest release (0.5.8), the discord rich presence is stuck on "In Main Menu" no matter if I launch into lan or mutliplayer

Custom Image and Name?

How do you do this?
image
I don't see anything in the config to change them, only to just show them

Duplicated presence status

When Discord App name is not "Lethal Company", rich presence is displayed two times: from the mod and from the game. This is due to Discord interpreting it as two separate games.

image
image

The solution would be to disable RP updates from within the game (managed by DiscordController class), but due to it's Instance setter being private, I cannot change it's properties easily.

Discord Rich Presence no update

Hi, The DRP no Update
Ex:
image

i'm in Experment but DRP said In Company, and This is 3th Quota

*Edit
Found error logs only like this
image

And The Custom ID Discord, add the wiki please for Custom
only mainmenu, inorbit, fired work but %currentmoon% %weather% no work if custom ID Discord [make disappear Logo DRP]

MoreCompany Mod support

Would be great if maximum players value was synced with maximum amount of players set with MoreCompany. Not sure yet, but I think that if there are 4/10 players in a lobby, discord may not let you join because there are already 4 players.

Log spam when restarting Discord

When Discord closes, the console is spammed with error logs until the game is closed.

[Debug  :LethalRichPresence] DiscordActivityUpdate
[Error  :LethalRichPresence] Discord exception in Update: Discord.ResultException: NotRunning
  at Discord.Discord.RunCallbacks () [0x00027] in <8e3dca48187a41edb11c9ce0f8e49505>:0 
  at LethalRichPresence.Lifecycle.Update () [0x00024] in <8e3dca48187a41edb11c9ce0f8e49505>:0 
[Error  :LethalRichPresence] Discord exception in Update: Discord.ResultException: NotRunning
  at Discord.Discord.RunCallbacks () [0x00027] in <8e3dca48187a41edb11c9ce0f8e49505>:0 
  at LethalRichPresence.Lifecycle.Update () [0x00024] in <8e3dca48187a41edb11c9ce0f8e49505>:0 
[Error  :LethalRichPresence] Discord exception in Update: Discord.ResultException: NotRunning
  at Discord.Discord.RunCallbacks () [0x00027] in <8e3dca48187a41edb11c9ce0f8e49505>:0
  at LethalRichPresence.Lifecycle.Update () [0x00024] in <8e3dca48187a41edb11c9ce0f8e49505>:0 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.