tukasa0001 / TownOfHost

Host only mod for Among Us.
GNU General Public License v3.0
307 stars 179 forks source link

error on starting up 2.0.1 #628

Closed whichtwix closed 2 years ago

whichtwix commented 2 years ago

on starting 2.0.1 i recieve this error which leads to a black screen seen this another time when someone tried compiling their own dll and getting rid of modupdater solved it, however this isnt the best solution

[Error : Detour] System.MissingMethodException: Method not found: Newtonsoft.Json.Linq.JToken Newtonsoft.Json.Linq.JToken.get_Item(Il2CppSystem.Object) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <986ed57b9a8f4699a3c59a69eb05944a>:0 at TownOfHost.ModUpdater.CheckForUpdate () [0x00018] in :0 at TownOfHost.ModUpdater.LaunchUpdater () [0x00012] in :0 at TownOfHost.ModUpdaterButton.Prefix (MainMenuManager __instance) [0x00007] in :0 at (wrapper dynamic-method) MainMenuManager.DMD(MainMenuManager) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.(il2cpp -> managed) Start(intptr,UnhollowerBaseLib.Runtime.Il2CppMethodInfo*)

also 1 other thing, this mod requires use of reactor but the zip does not contain it so I would suggest adding it

soukunsandesu commented 2 years ago

did you do reinstall all mod files?

yurinakira commented 2 years ago

Post the contents of Google Translate

2.0.1を起動すると、このエラーが発生し、画面が真っ暗になります
誰かが自分のdllをコンパイルしてmodupdaterを削除しようとしたときにこれをもう一度見ましたが、これは最善の解決策ではありません

[エラー:迂回] System.MissingMethodException:メソッドが見つかりません:Newtonsoft.Json.Linq.JToken Newtonsoft.Json.Linq.JToken.get_Item(Il2CppSystem.Object)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 [TResult] .Start [TStateMachine](TStateMachine&stateMachine)[0x0002c] in <986ed57b9a8f4699a3c59a69eb05944a>:0
TownOfHost.ModUpdater.CheckForUpdate()[0x00018]で:0
TownOfHost.ModUpdater.LaunchUpdater()[0x00012]で:0
TownOfHost.ModUpdaterButton.Prefix(MainMenuManager __instance)[0x00007] in:0
at(ラッパー動的メソッド)MainMenuManager.DMDMainMenuManager :: Start(MainMenuManager)
at(ラッパー動的メソッド)MonoMod.Utils.DynamicMethodDefinition。(il2cpp->管理)Start(intptr、UnhollowerBaseLib.Runtime.Il2CppMethodInfo *)

また、他に1つ、このmodにはreactorを使用する必要がありますが、zipには含まれていないため、追加することをお勧めします
whichtwix commented 2 years ago

did you do reinstall all mod files?

i dled the dll and put in my exsisting bepinex

hold on i decided to try the zip just incase, now it works, the bepinex that it comes with must very specific, strange

then theres no problem

yurinakira commented 2 years ago

It will be closed because the problem has been resolved. If there is something else, please create an issue again.

yurinakira commented 2 years ago

It will be closed because the problem has been resolved. If there is something else, please create an issue again.