mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Clean up older clients PetCommand translations
This commit is contained in:
parent
21f02f4ce4
commit
04cf511e4f
@ -3291,73 +3291,60 @@ namespace SoD
|
|||||||
|
|
||||||
switch (eq->command)
|
switch (eq->command)
|
||||||
{
|
{
|
||||||
case 0x04:
|
case 1: // back off
|
||||||
emu->command = 0x00; // /pet health
|
emu->command = 28;
|
||||||
break;
|
break;
|
||||||
case 0x10:
|
case 2: // get lost
|
||||||
emu->command = 0x01; // /pet leader
|
emu->command = 29;
|
||||||
break;
|
break;
|
||||||
case 0x07:
|
case 3: // as you were ???
|
||||||
emu->command = 0x02; // /pet attack or Pet Window
|
emu->command = 4; // fuck it follow
|
||||||
break;
|
break;
|
||||||
case 0x03: // Case Guessed
|
case 4: // report HP
|
||||||
emu->command = 0x03; // /pet qattack
|
emu->command = 0;
|
||||||
case 0x08:
|
|
||||||
emu->command = 0x04; // /pet follow or Pet Window
|
|
||||||
break;
|
break;
|
||||||
case 0x05:
|
case 5: // guard here
|
||||||
emu->command = 0x05; // /pet guard or Pet Window
|
emu->command = 5;
|
||||||
break;
|
break;
|
||||||
case 0x09:
|
case 6: // guard me
|
||||||
emu->command = 0x07; // /pet sit or Pet Window
|
emu->command = 4; // fuck it follow
|
||||||
break;
|
break;
|
||||||
case 0x0a:
|
case 7: // attack
|
||||||
emu->command = 0x08; // /pet stand or Pet Window
|
emu->command = 2;
|
||||||
break;
|
break;
|
||||||
case 0x06:
|
case 8: // follow
|
||||||
emu->command = 0x1e; // /pet guard me
|
emu->command = 4;
|
||||||
break;
|
break;
|
||||||
case 0x0f: // Case Made Up
|
case 9: // sit down
|
||||||
emu->command = 0x09; // /pet stop
|
emu->command = 7;
|
||||||
break;
|
break;
|
||||||
case 0x0b:
|
case 10: // stand up
|
||||||
emu->command = 0x0d; // /pet taunt or Pet Window
|
emu->command = 8;
|
||||||
break;
|
break;
|
||||||
case 0x0e:
|
case 11: // taunt toggle
|
||||||
emu->command = 0x0e; // /pet notaunt or Pet Window
|
emu->command = 12;
|
||||||
break;
|
break;
|
||||||
case 0x0c:
|
case 12: // hold toggle
|
||||||
emu->command = 0x0f; // /pet hold
|
emu->command = 15;
|
||||||
break;
|
break;
|
||||||
case 0x1b:
|
case 13: // taunt on
|
||||||
emu->command = 0x10; // /pet hold on
|
emu->command = 13;
|
||||||
break;
|
break;
|
||||||
case 0x1c:
|
case 14: // no taunt
|
||||||
emu->command = 0x11; // /pet hold off
|
emu->command = 14;
|
||||||
break;
|
break;
|
||||||
case 0x11:
|
// 15 is target, doesn't send packet
|
||||||
emu->command = 0x12; // Slumber?
|
case 16: // leader
|
||||||
|
emu->command = 1;
|
||||||
break;
|
break;
|
||||||
case 0x12:
|
case 17: // feign
|
||||||
emu->command = 0x15; // /pet no cast
|
emu->command = 27;
|
||||||
break;
|
break;
|
||||||
case 0x0d: // Case Made Up
|
case 18: // no cast toggle
|
||||||
emu->command = 0x16; // Pet Window No Cast
|
emu->command = 21;
|
||||||
break;
|
break;
|
||||||
case 0x13:
|
case 19: // focus toggle
|
||||||
emu->command = 0x18; // /pet focus
|
emu->command = 24;
|
||||||
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
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
emu->command = eq->command;
|
emu->command = eq->command;
|
||||||
|
|||||||
@ -2675,73 +2675,60 @@ namespace SoF
|
|||||||
|
|
||||||
switch (eq->command)
|
switch (eq->command)
|
||||||
{
|
{
|
||||||
case 0x04:
|
case 1: // back off
|
||||||
emu->command = 0x00; // /pet health
|
emu->command = 28;
|
||||||
break;
|
break;
|
||||||
case 0x10:
|
case 2: // get lost
|
||||||
emu->command = 0x01; // /pet leader
|
emu->command = 29;
|
||||||
break;
|
break;
|
||||||
case 0x07:
|
case 3: // as you were ???
|
||||||
emu->command = 0x02; // /pet attack or Pet Window
|
emu->command = 4; // fuck it follow
|
||||||
break;
|
break;
|
||||||
case 0x03: // Case Guessed
|
case 4: // report HP
|
||||||
emu->command = 0x03; // /pet qattack
|
emu->command = 0;
|
||||||
case 0x08:
|
|
||||||
emu->command = 0x04; // /pet follow or Pet Window
|
|
||||||
break;
|
break;
|
||||||
case 0x05:
|
case 5: // guard here
|
||||||
emu->command = 0x05; // /pet guard or Pet Window
|
emu->command = 5;
|
||||||
break;
|
break;
|
||||||
case 0x09:
|
case 6: // guard me
|
||||||
emu->command = 0x07; // /pet sit or Pet Window
|
emu->command = 4; // fuck it follow
|
||||||
break;
|
break;
|
||||||
case 0x0a:
|
case 7: // attack
|
||||||
emu->command = 0x08; // /pet stand or Pet Window
|
emu->command = 2;
|
||||||
break;
|
break;
|
||||||
case 0x06:
|
case 8: // follow
|
||||||
emu->command = 0x1e; // /pet guard me
|
emu->command = 4;
|
||||||
break;
|
break;
|
||||||
case 0x0f: // Case Made Up
|
case 9: // sit down
|
||||||
emu->command = 0x09; // Stop?
|
emu->command = 7;
|
||||||
break;
|
break;
|
||||||
case 0x0b:
|
case 10: // stand up
|
||||||
emu->command = 0x0d; // /pet taunt or Pet Window
|
emu->command = 8;
|
||||||
break;
|
break;
|
||||||
case 0x0e:
|
case 11: // taunt toggle
|
||||||
emu->command = 0x0e; // /pet notaunt or Pet Window
|
emu->command = 12;
|
||||||
break;
|
break;
|
||||||
case 0x0c:
|
case 12: // hold toggle
|
||||||
emu->command = 0x0f; // /pet hold
|
emu->command = 15;
|
||||||
break;
|
break;
|
||||||
case 0x1b:
|
case 13: // taunt on
|
||||||
emu->command = 0x10; // /pet hold on
|
emu->command = 13;
|
||||||
break;
|
break;
|
||||||
case 0x1c:
|
case 14: // no taunt
|
||||||
emu->command = 0x11; // /pet hold off
|
emu->command = 14;
|
||||||
break;
|
break;
|
||||||
case 0x11:
|
// 15 is target, doesn't send packet
|
||||||
emu->command = 0x12; // Slumber?
|
case 16: // leader
|
||||||
|
emu->command = 1;
|
||||||
break;
|
break;
|
||||||
case 0x12:
|
case 17: // feign
|
||||||
emu->command = 0x15; // /pet no cast
|
emu->command = 27;
|
||||||
break;
|
break;
|
||||||
case 0x0d: // Case Made Up
|
case 18: // no cast toggle
|
||||||
emu->command = 0x16; // Pet Window No Cast
|
emu->command = 21;
|
||||||
break;
|
break;
|
||||||
case 0x13:
|
case 19: // focus toggle
|
||||||
emu->command = 0x18; // /pet focus
|
emu->command = 24;
|
||||||
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
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
emu->command = eq->command;
|
emu->command = eq->command;
|
||||||
|
|||||||
@ -2030,73 +2030,60 @@ namespace Titanium
|
|||||||
|
|
||||||
switch (eq->command)
|
switch (eq->command)
|
||||||
{
|
{
|
||||||
case 0x04:
|
case 1: // back off
|
||||||
emu->command = 0x00; // /pet health
|
emu->command = 28;
|
||||||
break;
|
break;
|
||||||
case 0x10:
|
case 2: // get lost
|
||||||
emu->command = 0x01; // /pet leader
|
emu->command = 29;
|
||||||
break;
|
break;
|
||||||
case 0x07:
|
case 3: // as you were ???
|
||||||
emu->command = 0x02; // /pet attack or Pet Window
|
emu->command = 4; // fuck it follow
|
||||||
break;
|
break;
|
||||||
case 0x03: // Case Guessed
|
case 4: // report HP
|
||||||
emu->command = 0x03; // /pet qattack
|
emu->command = 0;
|
||||||
case 0x08:
|
|
||||||
emu->command = 0x04; // /pet follow or Pet Window
|
|
||||||
break;
|
break;
|
||||||
case 0x05:
|
case 5: // guard here
|
||||||
emu->command = 0x05; // /pet guard or Pet Window
|
emu->command = 5;
|
||||||
break;
|
break;
|
||||||
case 0x09:
|
case 6: // guard me
|
||||||
emu->command = 0x07; // /pet sit or Pet Window
|
emu->command = 4; // fuck it follow
|
||||||
break;
|
break;
|
||||||
case 0x0a:
|
case 7: // attack
|
||||||
emu->command = 0x08; // /pet stand or Pet Window
|
emu->command = 2;
|
||||||
break;
|
break;
|
||||||
case 0x06:
|
case 8: // follow
|
||||||
emu->command = 0x1e; // /pet guard me
|
emu->command = 4;
|
||||||
break;
|
break;
|
||||||
case 0x0f: // Case Made Up
|
case 9: // sit down
|
||||||
emu->command = 0x09; // Stop?
|
emu->command = 7;
|
||||||
break;
|
break;
|
||||||
case 0x0b:
|
case 10: // stand up
|
||||||
emu->command = 0x0d; // /pet taunt or Pet Window
|
emu->command = 8;
|
||||||
break;
|
break;
|
||||||
case 0x0e:
|
case 11: // taunt toggle
|
||||||
emu->command = 0x0e; // /pet notaunt or Pet Window
|
emu->command = 12;
|
||||||
break;
|
break;
|
||||||
case 0x0c:
|
case 12: // hold toggle
|
||||||
emu->command = 0x0f; // /pet hold
|
emu->command = 15;
|
||||||
break;
|
break;
|
||||||
case 0x1b:
|
case 13: // taunt on
|
||||||
emu->command = 0x10; // /pet hold on
|
emu->command = 13;
|
||||||
break;
|
break;
|
||||||
case 0x1c:
|
case 14: // no taunt
|
||||||
emu->command = 0x11; // /pet hold off
|
emu->command = 14;
|
||||||
break;
|
break;
|
||||||
case 0x11:
|
// 15 is target, doesn't send packet
|
||||||
emu->command = 0x12; // Slumber?
|
case 16: // leader
|
||||||
|
emu->command = 1;
|
||||||
break;
|
break;
|
||||||
case 0x12:
|
case 17: // feign
|
||||||
emu->command = 0x15; // /pet no cast
|
emu->command = 27;
|
||||||
break;
|
break;
|
||||||
case 0x0d: // Case Made Up
|
case 18: // no cast toggle
|
||||||
emu->command = 0x16; // Pet Window No Cast
|
emu->command = 21;
|
||||||
break;
|
break;
|
||||||
case 0x13:
|
case 19: // focus toggle
|
||||||
emu->command = 0x18; // /pet focus
|
emu->command = 24;
|
||||||
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
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
emu->command = eq->command;
|
emu->command = eq->command;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user