diff --git a/common/patches/sod.cpp b/common/patches/sod.cpp index 9d4db7737..c68bfacef 100644 --- a/common/patches/sod.cpp +++ b/common/patches/sod.cpp @@ -3291,73 +3291,60 @@ namespace SoD switch (eq->command) { - case 0x04: - emu->command = 0x00; // /pet health + case 1: // back off + emu->command = 28; break; - case 0x10: - emu->command = 0x01; // /pet leader + case 2: // get lost + emu->command = 29; break; - case 0x07: - emu->command = 0x02; // /pet attack or Pet Window + case 3: // as you were ??? + emu->command = 4; // fuck it follow break; - case 0x03: // Case Guessed - emu->command = 0x03; // /pet qattack - case 0x08: - emu->command = 0x04; // /pet follow or Pet Window + case 4: // report HP + emu->command = 0; break; - case 0x05: - emu->command = 0x05; // /pet guard or Pet Window + case 5: // guard here + emu->command = 5; break; - case 0x09: - emu->command = 0x07; // /pet sit or Pet Window + case 6: // guard me + emu->command = 4; // fuck it follow break; - case 0x0a: - emu->command = 0x08; // /pet stand or Pet Window + case 7: // attack + emu->command = 2; break; - case 0x06: - emu->command = 0x1e; // /pet guard me + case 8: // follow + emu->command = 4; break; - case 0x0f: // Case Made Up - emu->command = 0x09; // /pet stop + case 9: // sit down + emu->command = 7; break; - case 0x0b: - emu->command = 0x0d; // /pet taunt or Pet Window + case 10: // stand up + emu->command = 8; break; - case 0x0e: - emu->command = 0x0e; // /pet notaunt or Pet Window + case 11: // taunt toggle + emu->command = 12; break; - case 0x0c: - emu->command = 0x0f; // /pet hold + case 12: // hold toggle + emu->command = 15; break; - case 0x1b: - emu->command = 0x10; // /pet hold on + case 13: // taunt on + emu->command = 13; break; - case 0x1c: - emu->command = 0x11; // /pet hold off + case 14: // no taunt + emu->command = 14; break; - case 0x11: - emu->command = 0x12; // Slumber? + // 15 is target, doesn't send packet + case 16: // leader + emu->command = 1; break; - case 0x12: - emu->command = 0x15; // /pet no cast + case 17: // feign + emu->command = 27; break; - case 0x0d: // Case Made Up - emu->command = 0x16; // Pet Window No Cast + case 18: // no cast toggle + emu->command = 21; break; - case 0x13: - emu->command = 0x18; // /pet focus - break; - case 0x19: - emu->command = 0x19; // /pet focus on - break; - case 0x1a: - emu->command = 0x1a; // /pet focus off - break; - case 0x01: - emu->command = 0x1c; // /pet back off - break; - case 0x02: - emu->command = 0x1d; // /pet get lost + case 19: // focus toggle + emu->command = 24; break; default: emu->command = eq->command; diff --git a/common/patches/sof.cpp b/common/patches/sof.cpp index 456bc7339..44f093044 100644 --- a/common/patches/sof.cpp +++ b/common/patches/sof.cpp @@ -2675,73 +2675,60 @@ namespace SoF switch (eq->command) { - case 0x04: - emu->command = 0x00; // /pet health + case 1: // back off + emu->command = 28; break; - case 0x10: - emu->command = 0x01; // /pet leader + case 2: // get lost + emu->command = 29; break; - case 0x07: - emu->command = 0x02; // /pet attack or Pet Window + case 3: // as you were ??? + emu->command = 4; // fuck it follow break; - case 0x03: // Case Guessed - emu->command = 0x03; // /pet qattack - case 0x08: - emu->command = 0x04; // /pet follow or Pet Window + case 4: // report HP + emu->command = 0; break; - case 0x05: - emu->command = 0x05; // /pet guard or Pet Window + case 5: // guard here + emu->command = 5; break; - case 0x09: - emu->command = 0x07; // /pet sit or Pet Window + case 6: // guard me + emu->command = 4; // fuck it follow break; - case 0x0a: - emu->command = 0x08; // /pet stand or Pet Window + case 7: // attack + emu->command = 2; break; - case 0x06: - emu->command = 0x1e; // /pet guard me + case 8: // follow + emu->command = 4; break; - case 0x0f: // Case Made Up - emu->command = 0x09; // Stop? + case 9: // sit down + emu->command = 7; break; - case 0x0b: - emu->command = 0x0d; // /pet taunt or Pet Window + case 10: // stand up + emu->command = 8; break; - case 0x0e: - emu->command = 0x0e; // /pet notaunt or Pet Window + case 11: // taunt toggle + emu->command = 12; break; - case 0x0c: - emu->command = 0x0f; // /pet hold + case 12: // hold toggle + emu->command = 15; break; - case 0x1b: - emu->command = 0x10; // /pet hold on + case 13: // taunt on + emu->command = 13; break; - case 0x1c: - emu->command = 0x11; // /pet hold off + case 14: // no taunt + emu->command = 14; break; - case 0x11: - emu->command = 0x12; // Slumber? + // 15 is target, doesn't send packet + case 16: // leader + emu->command = 1; break; - case 0x12: - emu->command = 0x15; // /pet no cast + case 17: // feign + emu->command = 27; break; - case 0x0d: // Case Made Up - emu->command = 0x16; // Pet Window No Cast + case 18: // no cast toggle + emu->command = 21; break; - case 0x13: - emu->command = 0x18; // /pet focus - break; - case 0x19: - emu->command = 0x19; // /pet focus on - break; - case 0x1a: - emu->command = 0x1a; // /pet focus off - break; - case 0x01: - emu->command = 0x1c; // /pet back off - break; - case 0x02: - emu->command = 0x1d; // /pet get lost + case 19: // focus toggle + emu->command = 24; break; default: emu->command = eq->command; diff --git a/common/patches/titanium.cpp b/common/patches/titanium.cpp index 302befb6a..e9679dc06 100644 --- a/common/patches/titanium.cpp +++ b/common/patches/titanium.cpp @@ -2030,73 +2030,60 @@ namespace Titanium switch (eq->command) { - case 0x04: - emu->command = 0x00; // /pet health + case 1: // back off + emu->command = 28; break; - case 0x10: - emu->command = 0x01; // /pet leader + case 2: // get lost + emu->command = 29; break; - case 0x07: - emu->command = 0x02; // /pet attack or Pet Window + case 3: // as you were ??? + emu->command = 4; // fuck it follow break; - case 0x03: // Case Guessed - emu->command = 0x03; // /pet qattack - case 0x08: - emu->command = 0x04; // /pet follow or Pet Window + case 4: // report HP + emu->command = 0; break; - case 0x05: - emu->command = 0x05; // /pet guard or Pet Window + case 5: // guard here + emu->command = 5; break; - case 0x09: - emu->command = 0x07; // /pet sit or Pet Window + case 6: // guard me + emu->command = 4; // fuck it follow break; - case 0x0a: - emu->command = 0x08; // /pet stand or Pet Window + case 7: // attack + emu->command = 2; break; - case 0x06: - emu->command = 0x1e; // /pet guard me + case 8: // follow + emu->command = 4; break; - case 0x0f: // Case Made Up - emu->command = 0x09; // Stop? + case 9: // sit down + emu->command = 7; break; - case 0x0b: - emu->command = 0x0d; // /pet taunt or Pet Window + case 10: // stand up + emu->command = 8; break; - case 0x0e: - emu->command = 0x0e; // /pet notaunt or Pet Window + case 11: // taunt toggle + emu->command = 12; break; - case 0x0c: - emu->command = 0x0f; // /pet hold + case 12: // hold toggle + emu->command = 15; break; - case 0x1b: - emu->command = 0x10; // /pet hold on + case 13: // taunt on + emu->command = 13; break; - case 0x1c: - emu->command = 0x11; // /pet hold off + case 14: // no taunt + emu->command = 14; break; - case 0x11: - emu->command = 0x12; // Slumber? + // 15 is target, doesn't send packet + case 16: // leader + emu->command = 1; break; - case 0x12: - emu->command = 0x15; // /pet no cast + case 17: // feign + emu->command = 27; break; - case 0x0d: // Case Made Up - emu->command = 0x16; // Pet Window No Cast + case 18: // no cast toggle + emu->command = 21; break; - case 0x13: - emu->command = 0x18; // /pet focus - break; - case 0x19: - emu->command = 0x19; // /pet focus on - break; - case 0x1a: - emu->command = 0x1a; // /pet focus off - break; - case 0x01: - emu->command = 0x1c; // /pet back off - break; - case 0x02: - emu->command = 0x1d; // /pet get lost + case 19: // focus toggle + emu->command = 24; break; default: emu->command = eq->command;