Camp Activities
Personal Identity
Foods
55555

who was the inventor of the first ( Phone ) 

Alexander grahm bell

55555

who is the original founder of Tesla?


Martin Eberhard



It was founded in 2003 by American entrepreneurs Martin Eberhard and Marc Tarpenningand was named after Serbian American inventor Nikola Tesla. Tesla, Inc. Tesla Motors was formed to develop an electric sports car.


55555

What is gooji  gooji's favorite words?

I love poopy make me happy happy happy. no diapers hahahahahah

66666

what did Thomas Edison invent? 


Lots of things. The Phonograph (1877) The Carbon Microphone (1877-78) The Incandescent Light Bulb (1879) The Kinetoscope, Kinetograph and Kinetophone (1888-1890s) Nickel-iron Batteries (1901) 

66666

how was the original founder of eiffel tower?

who is Gustave Eiffel.

Gustave Eiffel, a French civil engineer, is usually credited with designing the tower that bears his name. However, it was actually two lesser-known men, Maurice Koechlin and Emile Nouguier, who came up with the original drawings for the monument.

66666

WHAT DOES A FISH DO When mermaids arrive?

Get gooji gooji to destroy DE POOPY MERMAID.

77777
how was the lawnmower invented?

The inventor got the idea for his lawnmower from the cross-cutting machines that were used to finish woolen cloth. On August 31 1830 Edwin Beard Budding patented "a new combination and application of machinery for the purpose of cropping or shearing the vegetable surface of lawns, grass-plats and pleasure grounds".

77777

how was among us mods originally invented

using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnhollowerBaseLib; using UnityEngine; namespace SheriffMod { [HarmonyPatch(typeof(PHCKLDDNJNP))] public static class GameOptionMenuPatch { public static BCLDBBKFJPK showSheriffOption; public static PCGDGFIAJJI SheriffCooldown; [HarmonyPostfix] [HarmonyPatch("Start")] public static void Postfix1(PHCKLDDNJNP __instance) { if (GameObject.FindObjectsOfType().Count == 4) { BCLDBBKFJPK showAnonymousvote = GameObject.FindObjectsOfType().ToList().Where(x => x.TitleText.Text == "Anonymous Votes").First(); showSheriffOption = GameObject.Instantiate(showAnonymousvote); showSheriffOption.TitleText.Text = "Show Sheriff"; showSheriffOption.NHLMDAOEOAE = CustomGameOptions.showSheriff; showSheriffOption.CheckMark.enabled = CustomGameOptions.showSheriff; PCGDGFIAJJI killcd = GameObject.FindObjectsOfType().ToList().Where(x => x.TitleText.Text == "Kill Cooldown").First(); SheriffCooldown = GameObject.Instantiate(killcd); SheriffCooldown.gameObject.name = "SheriffCDText"; SheriffCooldown.TitleText.Text = "Sheriff Kill Cooldown"; SheriffCooldown.Value = CustomGameOptions.SheriffKillCD; SheriffCooldown.ValueText.Text = CustomGameOptions.SheriffKillCD.ToString(); LLKOLCLGCBD[] options = new LLKOLCLGCBD[__instance.KJFHAPEDEBH.Count + 2]; __instance.KJFHAPEDEBH.ToArray().CopyTo(options, 0); options[options.Length - 2] = showSheriffOption; options[options.Length - 1] = SheriffCooldown; __instance.KJFHAPEDEBH = new Il2CppReferenceArray(options); } } [HarmonyPostfix] [HarmonyPatch("Update")] public static void Postfix2(PHCKLDDNJNP __instance) { BCLDBBKFJPK showAnonymousvote = GameObject.FindObjectsOfType().ToList().Where(x => x.TitleText.Text == "Anonymous Votes").First(); if (SheriffCooldown != null & showSheriffOption != null){ showSheriffOption.transform.position = showAnonymousvote.transform.position - new Vector3(0, 5.5f, 0); SheriffCooldown.transform.position = showAnonymousvote.transform.position - new Vector3(0, 6f, 0); } } } [HarmonyPatch] public static class ToggleButtonPatch { [HarmonyPatch(typeof(BCLDBBKFJPK), "Toggle")] public static bool Prefix(BCLDBBKFJPK __instance) { if (__instance.TitleText.Text == "Show Sheriff") { CustomGameOptions.showSheriff = !CustomGameOptions.showSheriff; FFGALNAPKCD.LocalPlayer.RpcSyncSettings(FFGALNAPKCD.GameOptions); __instance.NHLMDAOEOAE = CustomGameOptions.showSheriff; __instance.CheckMark.enabled = CustomGameOptions.showSheriff; return false; } return true; } } [HarmonyPatch(typeof(PCGDGFIAJJI))] public static class NumberOptionPatch { [HarmonyPrefix] [HarmonyPatch("Increase")] public static bool Prefix1(PCGDGFIAJJI __instance) { if (__instance.TitleText.Text == "Sheriff Kill Cooldown") { CustomGameOptions.SheriffKillCD = Math.Min(CustomGameOptions.SheriffKillCD + 2.5f, 40); FFGALNAPKCD.LocalPlayer.RpcSyncSettings(FFGALNAPKCD.GameOptions); GameOptionMenuPatch.SheriffCooldown.NHLMDAOEOAE = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.Value = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.ValueText.Text = CustomGameOptions.SheriffKillCD.ToString(); return false; } return true; } [HarmonyPrefix] [HarmonyPatch("Decrease")] public static bool Prefix2(PCGDGFIAJJI __instance) { if (__instance.TitleText.Text == "Sheriff Kill Cooldown") { CustomGameOptions.SheriffKillCD = Math.Max(CustomGameOptions.SheriffKillCD - 2.5f, 10); FFGALNAPKCD.LocalPlayer.RpcSyncSettings(FFGALNAPKCD.GameOptions); GameOptionMenuPatch.SheriffCooldown.NHLMDAOEOAE = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.Value = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.ValueText.Text = CustomGameOptions.SheriffKillCD.ToString(); return false; } return true; } } } using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace SheriffMod { [HarmonyPatch] public static class HudManagerPatch { // Methods static int counter = 0; public static MLPJGKEACMM KillButton = null; static System.Random random = new System.Random(); static string GameSettingsText = null; public static void UpdateGameSettingsText(PIEFJFEOGOL __instance) { if (__instance.GameSettings.Text.Split(new char[] { '\n' }, StringSplitOptions.RemoveEmptyEntries).Count() == 19) { GameSettingsText = __instance.GameSettings.Text; } if (GameSettingsText != null) { if (CustomGameOptions.showSheriff) __instance.GameSettings.Text = GameSettingsText + "Show Sheriff: On" + "\n"; else __instance.GameSettings.Text = GameSettingsText + "Show Sheriff: Off" + "\n"; __instance.GameSettings.Text += "Sheriff Kill Cooldown: " + CustomGameOptions.SheriffKillCD.ToString() + "s"; } } public static void updateGameOptions(KMOGFLPJLLK options) { Il2CppSystem.Collections.Generic.List allplayer = FFGALNAPKCD.AllPlayerControls; foreach (FFGALNAPKCD player in allplayer) { player.RpcSyncSettings(options); } } public static void updateOOCJALPKPEP(OOCJALPKPEP __instance) { foreach (HDJGDMFCHDN HDJGDMFCHDN in __instance.HBDFFAHBIGI) { if (HDJGDMFCHDN.NameText.Text == PlayerControlPatch.Sheriff.name) { if (CustomGameOptions.showSheriff | PlayerControlPatch.isSheriff(FFGALNAPKCD.LocalPlayer)) { HDJGDMFCHDN.NameText.Color = new Color(1, (float)(204.0 / 255.0), 0, 1); } } } } [HarmonyPatch(typeof(PIEFJFEOGOL), "Update")] public static void Postfix(PIEFJFEOGOL __instance) { KillButton = __instance.KillButton; if (OOCJALPKPEP.Instance != null) { updateOOCJALPKPEP(OOCJALPKPEP.Instance); } UpdateGameSettingsText(__instance); if (FFGALNAPKCD.AllPlayerControls.Count > 1 & PlayerControlPatch.Sheriff != null) { if (PlayerControlPatch.isSheriff(FFGALNAPKCD.LocalPlayer)) { FFGALNAPKCD.LocalPlayer.nameText.Color = new Color(1, (float)(204.0 / 255.0), 0, 1); if (FFGALNAPKCD.LocalPlayer.NDGFFHMFGIG.DLPCKPBIJOE) { KillButton.gameObject.SetActive(false); KillButton.isActive = false; } else { KillButton.gameObject.SetActive(true); KillButton.isActive = true; KillButton.SetCoolDown(PlayerControlPatch.SheriffKillTimer(), FFGALNAPKCD.GameOptions.IGHCIKIDAMO + 15.0f); PlayerControlPatch.closestPlayer = PlayerControlPatch.getClosestPlayer(FFGALNAPKCD.LocalPlayer); double dist = PlayerControlPatch.getDistBetweenPlayers(FFGALNAPKCD.LocalPlayer, PlayerControlPatch.closestPlayer); if (dist < KMOGFLPJLLK.JMLGACIOLIK[FFGALNAPKCD.GameOptions.DLIBONBKPKL]) { KillButton.SetTarget(PlayerControlPatch.closestPlayer); } if (Input.GetKeyInt(KeyCode.Q)) { KillButton.PerformKill(); } } } else if (FFGALNAPKCD.LocalPlayer.NDGFFHMFGIG.DAPKNDBLKIA) { if (FFGALNAPKCD.LocalPlayer.NDGFFHMFGIG.DLPCKPBIJOE) { KillButton.gameObject.SetActive(false); KillButton.isActive = false; } else { KillButton.gameObject.SetActive(true); KillButton.isActive = true; } } } if (counter < 30) { counter++; return; } counter = 0; if (GameOptionMenuPatch.showSheriffOption != null && GameOptionMenuPatch.SheriffCooldown!=null) { var isOptionsMenuActive = GameObject.FindObjectsOfType().Count != 0; GameOptionMenuPatch.showSheriffOption.gameObject.SetActive(isOptionsMenuActive); GameOptionMenuPatch.SheriffCooldown.gameObject.SetActive(isOptionsMenuActive); } } } [HarmonyPatch] public static class OOCJALPKPEPPatchClose { [HarmonyPatch(typeof(OOCJALPKPEP), "Close")] public static void Postfix(OOCJALPKPEP __instance) { PlayerControlPatch.lastKilled = DateTime.UtcNow; PlayerControlPatch.lastKilled = PlayerControlPatch.lastKilled.AddSeconds(8); } } } using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace SheriffMod { [HarmonyPatch] public static class IntroCutScenePatch { [HarmonyPatch(typeof(PENEIDJGGAF.CKACLKCOJFO), "MoveNext")] public static void Postfix(PENEIDJGGAF.CKACLKCOJFO __instance) { if (PlayerControlPatch.isSheriff(FFGALNAPKCD.LocalPlayer)) { __instance.field_Public_PENEIDJGGAF_0.Title.Text = "Sheriff"; __instance.field_Public_PENEIDJGGAF_0.Title.Color = new Color(1, (float)(204.0 / 255.0), 0, 1); __instance.field_Public_PENEIDJGGAF_0.ImpostorText.Text = "Shoot the [FF0000FF]Impostor"; __instance.field_Public_PENEIDJGGAF_0.BackgroundBar.material.color = new Color(1, (float)(204.0 / 255.0), 0, 1); } } } } using HarmonyLib; using Hazel; using Il2CppSystem.Reflection; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SheriffMod { [HarmonyPatch] public static class KillButtonPatch { [HarmonyPatch(typeof(MLPJGKEACMM), "PerformKill")] static bool Prefix(MethodBase __originalMethod) { if (PlayerControlPatch.isSheriff(FFGALNAPKCD.LocalPlayer)) { if (PlayerControlPatch.SheriffKillTimer() == 0) { var dist = PlayerControlPatch.getDistBetweenPlayers(FFGALNAPKCD.LocalPlayer, PlayerControlPatch.closestPlayer); if (dist < KMOGFLPJLLK.JMLGACIOLIK[FFGALNAPKCD.GameOptions.DLIBONBKPKL]) { if (PlayerControlPatch.closestPlayer.NDGFFHMFGIG.DAPKNDBLKIA == false) { MessageWriter writer = FMLLKEACGIO.Instance.StartRpcImmediately(FFGALNAPKCD.LocalPlayer.NetId, (byte)CustomRPC.SheriffKill, Hazel.SendOption.None, -1); writer.Write(FFGALNAPKCD.LocalPlayer.PlayerId); writer.Write(FFGALNAPKCD.LocalPlayer.PlayerId); FMLLKEACGIO.Instance.FinishRpcImmediately(writer); FFGALNAPKCD.LocalPlayer.MurderPlayer(FFGALNAPKCD.LocalPlayer); } else { MessageWriter writer = FMLLKEACGIO.Instance.StartRpcImmediately(FFGALNAPKCD.LocalPlayer.NetId, (byte)CustomRPC.SheriffKill, Hazel.SendOption.None, -1); writer.Write(FFGALNAPKCD.LocalPlayer.PlayerId); writer.Write(PlayerControlPatch.closestPlayer.PlayerId); FMLLKEACGIO.Instance.FinishRpcImmediately(writer); FFGALNAPKCD.LocalPlayer.MurderPlayer(PlayerControlPatch.closestPlayer); } PlayerControlPatch.lastKilled = DateTime.UtcNow; } } return false; } return true; } } }using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace SheriffMod { public class Player { public FFGALNAPKCD playerdata; public bool isSheriff; public Player(FFGALNAPKCD playerdata) { this.playerdata = playerdata; isSheriff = false; } public void Update() { if (isSheriff & (CustomGameOptions.showSheriff | this == PlayerController.getLocalPlayer())) { playerdata.nameText.Color = new Color(48 / 255.0f, 223 / 255.0f, 48 / 255.0f); } } } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SheriffMod { class PlayerController { public static List players; public static void Update() { if (players != null) { foreach (Player player in players) { if(player.playerdata!=null) player.Update(); } } } public static void InitPlayers() { players = new List(); foreach (FFGALNAPKCD player in FFGALNAPKCD.AllPlayerControls) { players.Add(new Player(player)); } } public static Player getPlayerById(byte id) { foreach (Player player in players) { if (player.playerdata.PlayerId == id) { return player; } } return null; } public static Player getSheriff() { foreach (Player player in players) { if (player.isSheriff) { return player; } } return null; } public static Player getLocalPlayer() { foreach (Player player in players) { if (player.playerdata == FFGALNAPKCD.LocalPlayer) { return player; } } return null; } } } sing HarmonyLib; using Hazel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnhollowerBaseLib; using UnityEngine; namespace SheriffMod { enum CustomRPC { SetSheriff = 40, SyncCustomSettings = 41, SheriffKill = 42 } enum RPC { PlayAnimation = 0, CompleteTask = 1, SyncSettings = 2, SetInfected = 3, Exiled = 4, CheckName = 5, SetName = 6, CheckColor = 7, SetColor = 8, SetHat = 9, SetSkin = 10, ReportDeadBody = 11, MurderPlayer = 12, SendChat = 13, StartMeeting = 14, SetScanner = 15, SendChatNote = 16, SetPet = 17, SetStartCounter = 18, EnterVent = 19, ExitVent = 20, SnapTo = 21, Close = 22, VotingComplete = 23, CastVote = 24, ClearVote = 25, AddVote = 26, CloseDoorsOfType = 27, RepairSystem = 28, SetTasks = 29, UpdateGameData = 30, } [HarmonyPatch] public static class PlayerControlPatch { public static FFGALNAPKCD closestPlayer = null; public static FFGALNAPKCD Sheriff; public static DateTime lastKilled; [HarmonyPatch(typeof(FFGALNAPKCD), "HandleRpc")] public static void Postfix(byte HKHMBLJFLMC, MessageReader ALMCIJKELCP) { try { switch (HKHMBLJFLMC) { case (byte)CustomRPC.SetSheriff: { byte SheriffId = ALMCIJKELCP.ReadByte(); foreach (FFGALNAPKCD player in FFGALNAPKCD.AllPlayerControls) { if (player.PlayerId == SheriffId) { Sheriff = player; if (CustomGameOptions.showSheriff) { player.nameText.Color = new Color(1, (float)(204.0 / 255.0), 0, 1); } } } break; } case (byte)CustomRPC.SyncCustomSettings: { CustomGameOptions.showSheriff = ALMCIJKELCP.ReadBoolean(); CustomGameOptions.SheriffKillCD = System.BitConverter.ToSingle(ALMCIJKELCP.ReadBytes(4).ToArray(), 0); break; } case (byte)CustomRPC.SheriffKill: { FFGALNAPKCD killer = PlayerControlPatch.getPlayerById(ALMCIJKELCP.ReadByte()); FFGALNAPKCD target = PlayerControlPatch.getPlayerById(ALMCIJKELCP.ReadByte()); if (PlayerControlPatch.isSheriff(killer)) { killer.MurderPlayer(target); } break; } } } catch (Exception e) { SheriffMod.log.LogInfo("RPC error... possible reasons: Not all players in the lobby have installed the mod or Sheriff mod versions do not match"); } } public static bool isSheriff(FFGALNAPKCD player) { if (Sheriff == null) return false; return player.PlayerId == Sheriff.PlayerId; } public static FFGALNAPKCD getPlayerById(byte id) { foreach (FFGALNAPKCD player in FFGALNAPKCD.AllPlayerControls) { if (player.PlayerId == id) { return player; } } return null; } public static float SheriffKillTimer() { if (lastKilled == null) return 0; DateTime now = DateTime.UtcNow; TimeSpan diff = now - lastKilled; var KillCoolDown = CustomGameOptions.SheriffKillCD * 1000.0f; if (KillCoolDown - (float)diff.TotalMilliseconds < 0) return 0; else { return (KillCoolDown - (float)diff.TotalMilliseconds) / 1000.0f; } } public static List getCrewMates(Il2CppReferenceArray infection) { List CrewmateIds = new List(); foreach (FFGALNAPKCD player in FFGALNAPKCD.AllPlayerControls) { bool isInfected = false; foreach (EGLJNOMOGNP.DCJMABDDJCF infected in infection) { if (player.PlayerId == infected.LAOEJKHLKAI.PlayerId) { isInfected = true; break; } } if (!isInfected) { CrewmateIds.Add(player); } } return CrewmateIds; } public static FFGALNAPKCD getClosestPlayer(FFGALNAPKCD refplayer) { double mindist = double.MaxValue; FFGALNAPKCD closestplayer = null; foreach (FFGALNAPKCD player in FFGALNAPKCD.AllPlayerControls) { if (player.NDGFFHMFGIG.DLPCKPBIJOE) continue; if (player.PlayerId != refplayer.PlayerId) { double dist = getDistBetweenPlayers(player, refplayer); if (dist < mindist) { mindist = dist; closestplayer = player; } } } return closestplayer; } public static double getDistBetweenPlayers(FFGALNAPKCD player, FFGALNAPKCD refplayer) { var refpos = refplayer.GetTruePosition(); var playerpos = player.GetTruePosition(); return Math.Sqrt((refpos[0] - playerpos[0]) * (refpos[0] - playerpos[0]) + (refpos[1] - playerpos[1]) * (refpos[1] - playerpos[1])); } [HarmonyPatch(typeof(FFGALNAPKCD), "RpcSetInfected")] public static void Postfix(Il2CppReferenceArrayJPGEIBIBJPJ) { MessageWriter writer = FMLLKEACGIO.Instance.StartRpcImmediately(FFGALNAPKCD.LocalPlayer.NetId, (byte)CustomRPC.SetSheriff, Hazel.SendOption.None, -1); List crewmates = getCrewMates(JPGEIBIBJPJ); System.Random r = new System.Random(); Sheriff = crewmates[r.Next(0, crewmates.Count)]; if (CustomGameOptions.showSheriff) { Sheriff.nameText.Color = new Color(1, (float)(204.0 / 255.0), 0, 1); } byte SheriffId = Sheriff.PlayerId; writer.Write(SheriffId); FMLLKEACGIO.Instance.FinishRpcImmediately(writer); } [HarmonyPatch(typeof(FFGALNAPKCD), "MurderPlayer")] public static bool Prefix(FFGALNAPKCD __instance, FFGALNAPKCD CAKODNGLPDF) { if (Sheriff != null) { if (__instance.PlayerId == Sheriff.PlayerId) { __instance.NDGFFHMFGIG.DAPKNDBLKIA = true; } } return true; } [HarmonyPatch(typeof(FFGALNAPKCD), "MurderPlayer")] public static void Postfix(FFGALNAPKCD __instance, FFGALNAPKCD CAKODNGLPDF) { if (Sheriff != null) { if (__instance.PlayerId == Sheriff.PlayerId) { __instance.NDGFFHMFGIG.DAPKNDBLKIA = false; } } } [HarmonyPatch(typeof(FFGALNAPKCD), "RpcSyncSettings")] public static void Postfix(KMOGFLPJLLK IOFBPLNIJIC) { if (FFGALNAPKCD.AllPlayerControls.Count > 1) { MessageWriter writer = FMLLKEACGIO.Instance.StartRpcImmediately(FFGALNAPKCD.LocalPlayer.NetId, (byte)CustomRPC.SyncCustomSettings, Hazel.SendOption.None, -1); writer.Write(CustomGameOptions.showSheriff); writer.Write(CustomGameOptions.SheriffKillCD); FMLLKEACGIO.Instance.FinishRpcImmediately(writer); } } } } using BepInEx; using BepInEx.Configuration; using BepInEx.IL2CPP; using BepInEx.IL2CPP.UnityEngine; using HarmonyLib; using Hazel; using Il2CppDumper; using InnerNet; using Microsoft.Extensions.DependencyInjection; using Steamworks; using System; using System.CodeDom; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Net; using System.Reflection; using System.Text; using UnhollowerBaseLib; using UnityEngine; using UnityEngine.SceneManagement; namespace SheriffMod { [BepInPlugin("org.bepinex.plugins.SheriffMod", "Sheriff Mod", "1.1.0.0")] public class SheriffMod : BasePlugin { public static BepInEx.Logging.ManualLogSource log; private readonly Harmony harmony; public ConfigEntry Name { get; set; } public ConfigEntry Ip { get; set; } public ConfigEntry Port { get; set; } public SheriffMod() { log = Log; this.harmony = new Harmony("Sheriff Mod"); } public override void Load() { log.LogMessage("Sheriff Mod loaded"); Name = Config.Bind("Custom", "Name", "Custom"); Ip = Config.Bind("Custom", "Ipv4 or Hostname", "127.0.0.1"); Port = Config.Bind("Custom", "Port", (ushort)22023); var defaultRegions = AOBNFCIHAJL.DefaultRegions.ToList(); var ip = Ip.Value; if (Uri.CheckHostName(Ip.Value).ToString() == "Dns") { log.LogMessage("Resolving " + ip + " ..."); try { foreach (IPAddress address in Dns.GetHostAddresses(Ip.Value)) { if (address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) { ip = address.ToString(); break; } } } catch { log.LogMessage("Hostname could not be resolved" + ip); } log.LogMessage("IP is " + ip); } var port = Port.Value; defaultRegions.Insert(0, new OIBMKGDLGOG( Name.Value, ip, new[] { new PLFDMKKDEMI($"{Name.Value}-Master-1", ip, port) }) ); AOBNFCIHAJL.DefaultRegions = defaultRegions.ToArray(); this.harmony.PatchAll(); } } } using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SheriffMod { [HarmonyPatch] public static class ShipStatusPatch { [HarmonyPatch(typeof(HLBNNHFCNAJ), "Start")] public static void Postfix(HLBNNHFCNAJ __instance) { PlayerControlPatch.lastKilled = DateTime.UtcNow; PlayerControlPatch.lastKilled = PlayerControlPatch.lastKilled.AddSeconds(-10); } } } using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SheriffMod { [HarmonyPatch(typeof(BOCOFLHKCOJ), "Start")] public static class VersionShowerPatch { // Methods public static void Postfix(BOCOFLHKCOJ __instance) { __instance.text.Text += "\nloaded Sheriff Mod v1.1 by Woodi "; } } } using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SheriffMod { [HarmonyPatch(typeof(BOCOFLHKCOJ), "Start")] public static class VersionShowerPatch { // Methods public static void Postfix(BOCOFLHKCOJ __instance) { __instance.text.Text += "\nloaded Sheriff Mod v1.1 by Woodi "; } } } namespace SheriffMod { public static class CustomGameOptions { public static bool showSheriff=false; public static float SheriffKillCD=25.0f; } } using HarmonyLib; using GameOptionsData = PAMOPBEDCNI; namespace SheriffMod { [HarmonyPatch(typeof(GameOptionsData))] public class GameOptionsDataPatch { [HarmonyPostfix] [HarmonyPatch("NHJLMAAHKJF")] public static void Postfix1(GameOptionsData __instance, ref string __result, int MKGPLPMAKLO) { if (CustomGameOptions.showSheriff) __result += "Show Sheriff: On" + "\n"; else __result+="Show Sheriff: Off" + "\n"; __result+= "Sheriff Kill Cooldown: " + CustomGameOptions.SheriffKillCD.ToString() + "s"; } } } using HarmonyLib; using System; using System.Linq; namespace SheriffMod { [HarmonyPatch] class HudManagerPatch { public static HudManager HUD; public static KillButtonManager KillButton; public static void updateMeetingHUD(MeetingHud __instance) { if (Sheriff.instance == null) return; foreach (PlayerVoteArea area in __instance.NCEKLHJIDEG) { { if (area.NameText.Text == Sheriff.instance.parent.playerdata.name) { if (Sheriff.instance.parent == PlayerController.LocalPlayer || CustomGameOptions.showSheriff) { area.NameText.Color = Sheriff.color; } } } } } [HarmonyPatch(typeof(HudManager), "Update")] public static void Postfix(HudManager __instance) { HUD = __instance; KillButton = __instance.KillButton; PlayerController.Update(); if (MeetingHud.Instance != null) { updateMeetingHUD(MeetingHud.Instance); } } } } using HarmonyLib; namespace SheriffMod { [HarmonyPatch] public class MeetingHudPatch { [HarmonyPatch(typeof(MeetingHud), "Close")] public static void Postfix(MeetingHud __instance) { if (Sheriff.instance == null) return; Sheriff.instance.killTimer = CustomGameOptions.SheriffKillCD; } } } using HarmonyLib; using System; using System.Linq; using UnhollowerBaseLib; using UnityEngine; using OptionBevavior = LLKOLCLGCBD; using ToggleOption = BCLDBBKFJPK; using NumberOption = PCGDGFIAJJI; using CustomPlayerMenu = AANMMDGMFEL; using GameOptionsMenu = PHCKLDDNJNP; namespace SheriffMod { [HarmonyPatch(typeof(GameOptionsMenu))] public static class GameOptionMenuPatch { public static ToggleOption showSheriffOption; public static NumberOption SheriffCooldown; public static GameOptionsMenu instance; [HarmonyPostfix] [HarmonyPatch("Start")] public static void Postfix1(GameOptionsMenu __instance) { instance = __instance; CustomPlayerMenuPatch.AddOptions(); } [HarmonyPostfix] [HarmonyPatch("Update")] public static void Postfix2(PHCKLDDNJNP __instance) { OptionBevavior option = __instance.KJFHAPEDEBH[__instance.KJFHAPEDEBH.Count-3]; if (SheriffCooldown != null & showSheriffOption != null){ showSheriffOption.transform.position = option.transform.position - new Vector3(0, 2f, 0); SheriffCooldown.transform.position = option.transform.position - new Vector3(0, 2.5f, 0); } } } [HarmonyPatch] public static class ToggleButtonPatch { [HarmonyPatch(typeof(ToggleOption), "Toggle")] public static bool Prefix(ToggleOption __instance) { if (__instance.TitleText.Text == "Show Sheriff") { CustomGameOptions.showSheriff = !CustomGameOptions.showSheriff; FFGALNAPKCD.LocalPlayer.RpcSyncSettings(FFGALNAPKCD.GameOptions); __instance.NHLMDAOEOAE = CustomGameOptions.showSheriff; __instance.CheckMark.enabled = CustomGameOptions.showSheriff; return false; } return true; } } [HarmonyPatch(typeof(NumberOption))] public static class NumberOptionPatch { [HarmonyPrefix] [HarmonyPatch("Increase")] public static bool Prefix1(NumberOption __instance) { if (__instance.TitleText.Text == "Sheriff Kill Cooldown") { CustomGameOptions.SheriffKillCD = Math.Min(CustomGameOptions.SheriffKillCD + 2.5f, 40); FFGALNAPKCD.LocalPlayer.RpcSyncSettings(FFGALNAPKCD.GameOptions); GameOptionMenuPatch.SheriffCooldown.NHLMDAOEOAE = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.Value = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.ValueText.Text = CustomGameOptions.SheriffKillCD.ToString(); return false; } return true; } [HarmonyPrefix] [HarmonyPatch("Decrease")] public static bool Prefix2(NumberOption __instance) { if (__instance.TitleText.Text == "Sheriff Kill Cooldown") { CustomGameOptions.SheriffKillCD = Math.Max(CustomGameOptions.SheriffKillCD - 2.5f, 10); FFGALNAPKCD.LocalPlayer.RpcSyncSettings(FFGALNAPKCD.GameOptions); GameOptionMenuPatch.SheriffCooldown.NHLMDAOEOAE = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.Value = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.ValueText.Text = CustomGameOptions.SheriffKillCD.ToString(); return false; } return true; } } [HarmonyPatch(typeof(CustomPlayerMenu))] public class CustomPlayerMenuPatch { public static void deleteOptions(bool destroy) { if (GameOptionMenuPatch.showSheriffOption != null && GameOptionMenuPatch.SheriffCooldown) { GameOptionMenuPatch.SheriffCooldown.gameObject.SetActive(false); GameOptionMenuPatch.showSheriffOption.gameObject.SetActive(false); if (destroy) { GameObject.Destroy(GameOptionMenuPatch.SheriffCooldown); GameObject.Destroy(GameOptionMenuPatch.showSheriffOption); GameOptionMenuPatch.SheriffCooldown = null; GameOptionMenuPatch.showSheriffOption = null; } } } public static void AddOptions() { if (GameOptionMenuPatch.showSheriffOption == null | GameOptionMenuPatch.SheriffCooldown == null) { var showAnonymousvote = GameObject.FindObjectsOfType().ToList().Where(x => x.TitleText.Text == "Anonymous Votes").First(); GameOptionMenuPatch.showSheriffOption = GameObject.Instantiate(showAnonymousvote); var killcd = GameObject.FindObjectsOfType().ToList().Where(x => x.TitleText.Text == "Kill Cooldown").First(); GameOptionMenuPatch.SheriffCooldown = GameObject.Instantiate(killcd); OptionBevavior[] options = new OptionBevavior[GameOptionMenuPatch.instance.KJFHAPEDEBH.Count + 2]; GameOptionMenuPatch.instance.KJFHAPEDEBH.ToArray().CopyTo(options, 0); options[options.Length - 2] = GameOptionMenuPatch.showSheriffOption; options[options.Length - 1] = GameOptionMenuPatch.SheriffCooldown; GameOptionMenuPatch.instance.KJFHAPEDEBH = new Il2CppReferenceArray(options); } else { GameOptionMenuPatch.SheriffCooldown.gameObject.SetActive(true); GameOptionMenuPatch.showSheriffOption.gameObject.SetActive(true); } GameOptionMenuPatch.showSheriffOption.TitleText.Text = "Show Sheriff"; GameOptionMenuPatch.showSheriffOption.NHLMDAOEOAE = CustomGameOptions.showSheriff; GameOptionMenuPatch.showSheriffOption.CheckMark.enabled = CustomGameOptions.showSheriff; GameOptionMenuPatch.SheriffCooldown.TitleText.Text = "Sheriff Kill Cooldown"; GameOptionMenuPatch.SheriffCooldown.Value = CustomGameOptions.SheriffKillCD; GameOptionMenuPatch.SheriffCooldown.ValueText.Text = CustomGameOptions.SheriffKillCD.ToString(); } [HarmonyPostfix] [HarmonyPatch("Close")] public static void Postfix1(CustomPlayerMenu __instance, bool MDKEGLADENC) { deleteOptions(true); } [HarmonyPrefix] [HarmonyPatch("OpenTab")] public static void Prefix1(GameObject JDBBMFAJIII) { if (JDBBMFAJIII.name == "GameGroup" && GameOptionMenuPatch.instance!=null) { AddOptions(); } else { deleteOptions(false); } } } } using HarmonyLib; namespace SheriffMod { [HarmonyPatch(typeof(VersionShower), "Start")] public static class VersionShowerPatch { public static void Postfix(VersionShower __instance) { __instance.text.Text += "\nloaded Sheriff Mod v1.2 by Woodi "; } } } using HarmonyLib; using Hazel; using Il2CppSystem.Reflection; namespace SheriffMod { [HarmonyPatch] public static class KillButtonPatch { [HarmonyPatch(typeof(KillButtonManager), "PerformKill")] static bool Prefix(MethodBase __originalMethod) { if (Sheriff.instance == null) return true; if (PlayerController.LocalPlayer == Sheriff.instance.parent) { if (Sheriff.instance.SheriffKillTimer() == 0) { if (PlayerControl.LocalPlayer.MPEOHLJNPOB) { if (Sheriff.instance.closestPlayer == null) return true; //Target is Crewmate if (Sheriff.instance.closestPlayer.PKMHEDAKKHE.LGEGJEHCFOG == false) { MessageWriter writer = AmongUsClient.Instance.StartRpc(PlayerControl.LocalPlayer.NetId, (byte)CustomRPC.SheriffKill, Hazel.SendOption.Reliable); writer.Write(PlayerControl.LocalPlayer.PlayerId); writer.Write(PlayerControl.LocalPlayer.PlayerId); writer.EndMessage(); PlayerControl.LocalPlayer.MurderPlayer(PlayerControl.LocalPlayer); } else { MessageWriter writer = AmongUsClient.Instance.StartRpc(PlayerControl.LocalPlayer.NetId, (byte)CustomRPC.SheriffKill, Hazel.SendOption.Reliable); writer.Write(PlayerControl.LocalPlayer.PlayerId); writer.Write(Sheriff.instance.closestPlayer.PlayerId); writer.EndMessage(); PlayerControl.LocalPlayer.MurderPlayer(Sheriff.instance.closestPlayer); } PlayerControl.LocalPlayer.SetKillTimer(CustomGameOptions.SheriffKillCD); Sheriff.instance.killTimer = CustomGameOptions.SheriffKillCD; } } return false; } return true; } } } using System.Collections.Generic; using InnerPlayerControl = FFGALNAPKCD; namespace SheriffMod { public class PlayerController { public static Listplayers; public static Player LocalPlayer; public static void Update() { if (players != null) { foreach (Player player in players) { if(player.playerdata!=null) player.Update(); } } } public static void InitPlayers() { players = new List(); foreach (InnerPlayerControl player in InnerPlayerControl.AllPlayerControls) { Player p = new Player(player); if (player.PlayerId == InnerPlayerControl.LocalPlayer.PlayerId) { LocalPlayer = p; } players.Add(p); } } public static Player getPlayerById(byte id) { if (players == null) return null; foreach (Player player in players) { if (player.PlayerId == id) { return player; } } return null; } public static Player getPlayerByName(string name) { if (players == null) return null; foreach (Player player in players) { if (player.playerdata.name==name) { return player; } } return null; } public static Player getLocalPlayer() { if (players == null) return null; foreach (Player player in players) { if (player.playerdata == InnerPlayerControl.LocalPlayer) { return player; } } return null; } public static Player[] getPlayersWithComponent(string name) { List p = new List(); foreach (Player player in players) { foreach (PlayerComponent component in player.components) { if (component.name == name) { p.Add(player); } } } return p.ToArray(); } } }

77777

ඔහ්හ් හරි ආදරණීය අපිට මේක එකට විසඳන්න පුළුවන්. සටනක් නැහැ.

අහ් ගඳ සහ ලෙ මොන්කේ පිස්සු

88888

how was the ( iPhone ) Invented?

On January 9, 2007, Apple Inc. CEO Steve Jobs unveils the iPhone—a touchscreen mobile phone with an iPod, camera and Web-browsing capabilities, among other features—at the Macworld convention in San Francisco.

“The iPhone was designed to be a super slick phone in Steve Jobs' mind,” says Merchant. “It was his development team and the demands of the user base that saw the potential in the new platform, that transformed the iPhone from a 'slick phone' into the culturally dominant, world-eating phenomenon that it is today.”


88888

where is your _______ for delivery sir?

what is an address.

88888

hot tamales, jalapeño, Spicy peppers, Gooji Gooji warm fart,

What is a stressfully spicy

99999
This is something that we do at the beginning of language class.
What is greet our teacher?
99999

how to fight wolf man?

punch his nards!!!!!! 🤕 
99999

How did gooji gooji make it in the window?

FART POWER?