Git Product home page Git Product logo

Comments (9)

DJDavid98 avatar DJDavid98 commented on August 17, 2024 1

I'm happy to hear that, I'll close the issue in that case, feel free to reopen it if you encounter this problem again.

from bsrpc.

DJDavid98 avatar DJDavid98 commented on August 17, 2024

Does this only happen with both BSDataPuller and bsrpc installed, or even if you only have BSDataPuller installed? I have had this issue myself but I have not been able to reliably reproduce it.

from bsrpc.

Lilobast avatar Lilobast commented on August 17, 2024

just tested that before posting the issue
only happens when bsrpc is installed

but I don't know if BSDataPuller is actively used when bsrpc is uninstalled🤔

from bsrpc.

DJDavid98 avatar DJDavid98 commented on August 17, 2024

It should still be operating in the background, there are some overlays over on ReadieFur's website which utilize the data coming from it: https://readiefur.com/bsdp-overlay/browser/?q=%7B%22filter%22%3A%22none%22%2C%22searchData%22%3A%22%22%2C%22page%22%3A1%7D

My mod does not connect to the WebSocket that the browser-based overlays use but rather reads the data from the BSDataPuller mod directly, so there is a chance there's some kind of memory leak in the process. I have not been able to find the root cause of this issue thus far unfortunately, I've had these slowdowns since 1.26.0

from bsrpc.

Lilobast avatar Lilobast commented on August 17, 2024

yup, I don't remember having issues before 1.27.0
first time I noticed this was when playing with a friends in multiplayer
I had to restart my game a few times because I couldn't select a song x)

from bsrpc.

DJDavid98 avatar DJDavid98 commented on August 17, 2024

If the issue is localized to my mod only and not coming from any of the dependencies I have a suspicion what might cause it, as I'm sending data to the RPC server on a timer in case the DapaPuller is sending no updates on its own, and I will fully admit my C# knowledge is not the best, so there is a chance that that timer may be causing this issue.

I'll see what I can do about this on my end, maybe test out removing it and see if that helps, but if the issue is not in my mod but in DiscordCore for example, I realistically don't have enough experience to fix that. I've tried packaging in newer versions of the Discord Game SDK similar to that mod as it's quite old, but had no success with that either.

from bsrpc.

Lilobast avatar Lilobast commented on August 17, 2024

just played without bsrp, went fine as far as I can see
good luck with the debugging :)

from bsrpc.

DJDavid98 avatar DJDavid98 commented on August 17, 2024

I released v1.0.5 which removes said timer, and I was also able to upgrade to the latest Discord Game SDK by forking DiscordCore. Please give this version a try and see if it helps with the lag. If this doesn't fix it, I'm afraid there's not a whole lot I can do with my current Beat Saber modding knowledge.

from bsrpc.

Lilobast avatar Lilobast commented on August 17, 2024

I just tested with a ~1h gameplay,
seems good to me :)
No stutters or slow downs,
thanks for the great work!

from bsrpc.

Related Issues (4)

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.