From 65363b0dd1aefa2255526a77182d67c9d1b2a254 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Wed, 26 Oct 2016 21:33:13 +0300 Subject: [PATCH] Avoid sending packets for 9 more ingame scripts --- apps/openmw/mwmp/Main.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwmp/Main.cpp b/apps/openmw/mwmp/Main.cpp index d9f537ce9..2d2543094 100644 --- a/apps/openmw/mwmp/Main.cpp +++ b/apps/openmw/mwmp/Main.cpp @@ -230,18 +230,28 @@ void Main::PressedKey(int key) // should be ignored because of their potential for spam bool Main::isValidPacketScript(std::string script) { - static const int invalidPacketScriptsCount = 7; + static const int invalidPacketScriptsCount = 16; static const std::string invalidPacketScripts[invalidPacketScriptsCount] = { // Spammy shorts "OutsideBanner", "sleeperScript", "dreamer_talkerEnable", + "drenSlaveOwners", + "ahnassiScript", + "FaluraScript", + "hlormarScript", // Spammy floats "Float", "SignRotate", + // Spammy globals + "wraithguardScript", // Spammy globals leading to crashes "LegionUniform", - "OrdinatorUniform" + "OrdinatorUniform", + "LorkhanHeart", + "ouch_keening", + "ouch_sunder", + "ouch_wraithguard" }; for (int i = 0; i < invalidPacketScriptsCount; i++)