Town-of-Impostors / TownOfImpostors

TownOfImpostors Mod for Among Us
124 stars 17 forks source link

Crashing because of #19

Closed stevenklar closed 3 years ago

stevenklar commented 3 years ago

Hi, you got as hardlock implemented. So the mod is not longer working without editing this part:

{
    // Token: 0x0200009B RID: 155
    internal class DicInterpreterProperty
    {
        // Token: 0x06000168 RID: 360
        internal static void RegisterRegistry()
        {
            if (!DicInterpreterProperty._PredicateToken)
            {
                DateTime d = new DateTime(637518605308137579L);
                if (Math.Abs((DateTime.Now - d).TotalDays) >= 7.0)
                {
                    throw new Exception("This assembly is protected by an unregistered version of Eziriz's \".NET Reactor\"! This assembly won't further work."); // your timely hardlock
                }
                DicInterpreterProperty._PredicateToken = true;

Please remove the hard lock with the protected assembly notifiction.

stevenklar commented 3 years ago

Guess the release just fixed it. Thanks