A lot of corpse changes.

This commit is contained in:
Kinglykrab
2014-06-11 07:36:14 -04:00
parent a164ab6fec
commit 6e5e450054
47 changed files with 1140 additions and 1572 deletions
+1 -1
View File
@@ -2043,7 +2043,7 @@ struct Resurrect_Struct {
float z;
char your_name[64];
uint32 unknown88;
char rezzer_name[64];
char resurrecter_name[64];
uint32 spellid;
char corpse_name[64];
uint32 action;
+4 -4
View File
@@ -4003,7 +4003,7 @@ ENCODE(OP_BeginCast)
FINISH_ENCODE();
}
ENCODE(OP_RezzRequest)
ENCODE(OP_ResurrectionRequest)
{
SETUP_DIRECT_ENCODE(Resurrect_Struct, structs::Resurrect_Struct);
@@ -4013,7 +4013,7 @@ ENCODE(OP_RezzRequest)
OUT(x);
OUT(z);
OUT_str(your_name);
OUT_str(rezzer_name);
OUT_str(resurrecter_name);
OUT(spellid);
OUT_str(corpse_name);
OUT(action);
@@ -4817,7 +4817,7 @@ DECODE(OP_GuildStatus)
FINISH_DIRECT_DECODE();
}
DECODE(OP_RezzAnswer)
DECODE(OP_ResurrectionAnswer)
{
DECODE_LENGTH_EXACT(structs::Resurrect_Struct);
SETUP_DIRECT_DECODE(Resurrect_Struct, structs::Resurrect_Struct);
@@ -4828,7 +4828,7 @@ DECODE(OP_RezzAnswer)
IN(x);
IN(z);
memcpy(emu->your_name, eq->your_name, sizeof(emu->your_name));
memcpy(emu->rezzer_name, eq->rezzer_name, sizeof(emu->rezzer_name));
memcpy(emu->resurrecter_name, eq->resurrecter_name, sizeof(emu->resurrecter_name));
IN(spellid);
memcpy(emu->corpse_name, eq->corpse_name, sizeof(emu->corpse_name));
IN(action);
+2 -2
View File
@@ -100,7 +100,7 @@ E(OP_MercenaryDataResponse)
E(OP_GuildMemberUpdate)
E(OP_GMLastName)
E(OP_BeginCast)
E(OP_RezzRequest)
E(OP_ResurrectionRequest)
//list of packets we need to decode on the way in:
D(OP_SetServerFilter)
D(OP_CharacterCreate)
@@ -157,6 +157,6 @@ D(OP_GuildRemove)
D(OP_GuildStatus)
D(OP_Trader)
D(OP_GMLastName)
D(OP_RezzAnswer)
D(OP_ResurrectionAnswer)
#undef E
#undef D
+1 -1
View File
@@ -2807,7 +2807,7 @@ struct Resurrect_Struct
/*020*/ uint32 unknown020;
/*024*/ char your_name[64];
/*088*/ uint32 unknown088;
/*092*/ char rezzer_name[64];
/*092*/ char resurrecter_name[64];
/*156*/ uint32 spellid;
/*160*/ char corpse_name[64];
/*224*/ uint32 action;
+1 -1
View File
@@ -2461,7 +2461,7 @@ struct Resurrect_Struct {
float z;
char your_name[64];
uint32 unknown88;
char rezzer_name[64];
char resurrecter_name[64];
uint32 spellid;
char corpse_name[64];
uint32 action;
+1 -1
View File
@@ -2395,7 +2395,7 @@ struct Resurrect_Struct {
float z;
char your_name[64];
uint32 unknown88;
char rezzer_name[64];
char resurrecter_name[64];
uint32 spellid;
char corpse_name[64];
uint32 action;
+1 -1
View File
@@ -2090,7 +2090,7 @@ struct Resurrect_Struct {
float z;
char your_name[64];
uint32 unknown88;
char rezzer_name[64];
char resurrecter_name[64];
uint32 spellid;
char corpse_name[64];
uint32 action;
+1 -1
View File
@@ -2500,7 +2500,7 @@ struct Resurrect_Struct {
float z;
char your_name[64];
uint32 unknown88;
char rezzer_name[64];
char resurrecter_name[64];
uint32 spellid;
char corpse_name[64];
uint32 action;