Removed unused stuff + easter egg, need to fix chat spam
This commit is contained in:
@@ -138,7 +138,6 @@ namespace DevourClient.Hacks
|
|||||||
|
|
||||||
PlayRandomAudioClip playRandomAudioClip = UnityEngine.Object.FindObjectOfType<PlayRandomAudioClip>();
|
PlayRandomAudioClip playRandomAudioClip = UnityEngine.Object.FindObjectOfType<PlayRandomAudioClip>();
|
||||||
NolanVoiceOvers nolanVoiceOvers = UnityEngine.Object.FindObjectOfType<NolanVoiceOvers>();
|
NolanVoiceOvers nolanVoiceOvers = UnityEngine.Object.FindObjectOfType<NolanVoiceOvers>();
|
||||||
|
|
||||||
playRandomAudioClip.delay = 0f;
|
playRandomAudioClip.delay = 0f;
|
||||||
|
|
||||||
int num = Random.RandomRangeInt(0, 8);
|
int num = Random.RandomRangeInt(0, 8);
|
||||||
|
|||||||
@@ -5,20 +5,6 @@ namespace DevourClient.Hooks
|
|||||||
{
|
{
|
||||||
public class Hooks
|
public class Hooks
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
[HarmonyPatch(typeof(Photon.Bolt.BoltLauncher))]
|
|
||||||
[HarmonyPatch(nameof(Photon.Bolt.BoltLauncher.StartServer))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
|
||||||
static class Photon_Bolt_BoltLauncher_StartServer_Patch
|
|
||||||
{
|
|
||||||
static void Prefix(ref Photon.Bolt.BoltConfig boltconfig, string scene)
|
|
||||||
{
|
|
||||||
MelonLoader.MelonLogger.Msg("serverConnectionLimit : " + boltconfig.serverConnectionLimit);
|
|
||||||
boltconfig.serverConnectionLimit = 20;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
[HarmonyPatch(typeof(RankHelpers))]
|
[HarmonyPatch(typeof(RankHelpers))]
|
||||||
[HarmonyPatch(nameof(RankHelpers.CalculateExpGain))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
[HarmonyPatch(nameof(RankHelpers.CalculateExpGain))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||||
static class RankHelpers_CalculateExpGain
|
static class RankHelpers_CalculateExpGain
|
||||||
|
|||||||
@@ -23,14 +23,11 @@ namespace DevourClient
|
|||||||
|
|
||||||
public override void OnApplicationStart()
|
public override void OnApplicationStart()
|
||||||
{
|
{
|
||||||
|
MelonLogger.Msg("For the Queen !");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnUpdate()
|
public override void OnUpdate()
|
||||||
{
|
{
|
||||||
Photon.Bolt.BoltConfig boltconfig = new Photon.Bolt.BoltConfig();
|
|
||||||
boltconfig.serverConnectionLimit = 20;
|
|
||||||
|
|
||||||
if (Input.GetKeyDown(KeyCode.Insert))
|
if (Input.GetKeyDown(KeyCode.Insert))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -62,6 +59,7 @@ namespace DevourClient
|
|||||||
|
|
||||||
if (this.spam_message)
|
if (this.spam_message)
|
||||||
{
|
{
|
||||||
|
MelonLogger.Msg("done");
|
||||||
Hacks.Misc.MessageSpam(Settings.Settings.message_to_spam);
|
Hacks.Misc.MessageSpam(Settings.Settings.message_to_spam);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user