Shadnix-was-taken / BeatSaber-SongPlayHistoryContinued

Beat Saber local leaderboard plugin
MIT License
16 stars 4 forks source link

Update for Beat Saber 1.31? #9

Open androng opened 1 year ago

androng commented 1 year ago

Hi, do you take commissions to update the software?

qe201020335 commented 9 months ago

I am adding support for 1.29.4+ in my fork. I'm going to release an update very soon. https://github.com/qe201020335/SongPlayHistory

qe201020335 commented 9 months ago

@androng https://github.com/qe201020335/SongPlayHistory/releases/tag/2.0.2

androng commented 9 months ago

Thanks for updating the software! I put the SongPlayHistoryContinued.dll and the .pub in my Plugins folder and rebooted Beat Saber 1.34.2 but the mod did not show up in my game. Could you please add it to Modassistant again? I am running Modassistant 1.1.32 and SongPlayHistoryContinued no longer appears on the list of mods. I installed BeatSaberMarkupLanguage 1.8.0 and BS Utils 1.13.0

qe201020335 commented 9 months ago

@androng This is the release for 1.29.4+. It is SongPlayHistory, not SongPlayHistoryContinued.

https://github.com/qe201020335/SongPlayHistory/releases/tag/2.0.2

androng commented 9 months ago

I made a mistake in my post then. I should have said SongPlayHistory.dll and SongPlayHistory.pdb. I dragged them both to my E:\SteamLibrary\steamapps\common\Beat Saber\Plugins but they don't seem to be active in game. Is SongPlayHistory or SongPlayHistoryContinued supposed to show up in ModAssistant? Screenshot 2023-12-20 021745

qe201020335 commented 9 months ago

It is not on ModAssistant yet. Could you post the logs for your game so I can look into what's wrong with the mod? Logs are in Beat Saber/Logs/

androng commented 9 months ago
[NOTICE @ 00:06:31 | IPA/Loader] Plugin SongPlayHistory has no methods marked [OnExit] or [OnDisable]. Is this intentional?
[ERROR @ 00:06:31 | IPA/Loader] Could not init plugin SongPlayHistory
[ERROR @ 00:06:31 | IPA/Loader] System.TypeLoadException: Could not resolve type with token 01000052 from typeref (expected class 'PersistentSingleton`1' in assembly 'HMLib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
[ERROR @ 00:06:31 | IPA/Loader]   at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,IPA.Loader.PluginMetadata)
[ERROR @ 00:06:31 | IPA/Loader]   at IPA.Loader.PluginExecutor.Create () [0x00009] in D:\a\BeatSaber-IPA-Reloaded\BeatSaber-IPA-Reloaded\IPA.Loader\Loader\PluginExecutor.cs:58 
[ERROR @ 00:06:31 | IPA/Loader]   at IPA.Loader.PluginLoader.InitPlugin (IPA.Loader.PluginMetadata meta, System.Collections.Generic.IEnumerable`1[T] alreadyLoaded) [0x001ab] in D:\a\BeatSaber-IPA-Reloaded\BeatSaber-IPA-Reloaded\IPA.Loader\Loader\PluginLoader.cs:957 
[ERROR @ 01:16:09 | IPA/Config] IConfigStore for E:\SteamLibrary\steamapps\common\Beat Saber\UserData\SongPlayHistory.json errored while writing to disk
[ERROR @ 01:16:09 | IPA/Config] System.NullReferenceException: Object reference not set to an instance of an object
[ERROR @ 01:16:09 | IPA/Config]   at IPA.Config.ConfigRuntime.Save (IPA.Config.Config config) [0x00007] in D:\a\BeatSaber-IPA-Reloaded\BeatSaber-IPA-Reloaded\IPA.Loader\Config\ConfigRuntime.cs:185 

2023.12.20.00.02.40.log.gz 2023.12.20.00.05.58.log.gz 2023.12.20.00.06.03.log.gz 2023.12.20.00.06.29.log

qe201020335 commented 9 months ago

You are not using the correct version. I have already removed PersistentSingleton in 2.0.2. Here is the link I posted above.

@androng This is the release for 1.29.4+. It is SongPlayHistory, not SongPlayHistoryContinued.

https://github.com/qe201020335/SongPlayHistory/releases/tag/2.0.2