Browse Source

Fixed struct packing issue with player struct causing some fields to unalign.

pull/45/head
atom0s 8 years ago
parent
commit
a2b8e91a8e
  1. BIN
      Ashita.dll
  2. BIN
      injector.exe
  3. 2
      plugins/ADK/ffxi/player.h

BIN
Ashita.dll

Binary file not shown.

BIN
injector.exe

Binary file not shown.

2
plugins/ADK/ffxi/player.h

@ -152,6 +152,7 @@ namespace Ashita {
uint32_t Unknown0001; // Unknown uint32_t Unknown0001; // Unknown
}; };
#pragma pack(push, 1)
struct playerinfo_t struct playerinfo_t
{ {
uint32_t HealthMax; // The players max health. uint32_t HealthMax; // The players max health.
@ -187,6 +188,7 @@ namespace Ashita {
uint8_t Unknown0002[104]; // Unknown uint8_t Unknown0002[104]; // Unknown
int16_t Buffs[32]; // The players current status effect icon ids. int16_t Buffs[32]; // The players current status effect icon ids.
}; };
#pragma pack(pop)
}; // namespace FFXI }; // namespace FFXI
}; // namespace Ashita }; // namespace Ashita

Loading…
Cancel
Save