NuclearPowered / Reactor

Modding api for Among Us
https://reactor.gg
GNU Lesser General Public License v3.0
225 stars 43 forks source link

Reactor broke (again) #49

Closed koxx12-dev closed 2 years ago

koxx12-dev commented 2 years ago

log

 [Error  :    Detour] System.MissingMethodException: Method not found: void Hazel.Udp.UnityUdpClientConnection..ctor(Il2CppSystem.Net.IPEndPoint,Hazel.IPMode)
  at (wrapper dynamic-method) AuthManager.DMD<AuthManager::CreateDtlsConnection>(string,uint16)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.(il2cpp -> managed) CreateDtlsConnection(intptr,uint16,UnhollowerBaseLib.Runtime.Il2CppMethodInfo*)

reason (at least i think so?)

 Hazel.Udp.UnityUdpClientConnection doesnt have (Il2CppSystem.Net.IPEndPoint,Hazel.IPMode) as a constructor anymore
 instead it now has (Hazel.ILogger logger,Il2CppSystem.Net.IPEndPoint remoteEndPoint,Hazel.IPMode ipMode)

dotPeek64 2021 3 1_eWCtMcGeV8

yukieiji commented 2 years ago

According to the following commit, fixing this seems to fix it https://github.com/Eisbison/TheOtherRoles/commit/f5f3145d60818c0b709a7401ef2b62f4beae4ce8