Skip to content

Commit

Permalink
Fix for 2016.06.07 update (Patch 3.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuaok committed Jun 7, 2016
1 parent bc7dbf3 commit 4f5459c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions EnmityPlugin/FFXIVMemory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ protected MemoryScanException(System.Runtime.Serialization.SerializationInfo inf
private const string charmapSignature32 = "81FEFFFF0000743581FE58010000732D8B3CB5";
private const string charmapSignature64 = "48C1E8033DFFFF0000742B3DA80100007324488D0D";
private const string targetSignature32 = "750E85D2750AB9";
private const string targetSignature64 = "37017520483935";
private const string targetSignature64 = "41017520483935";
private const string enmitySignature32 = "E8??E33000B9??A4????E8????3300B9";
private const string enmitySignature64 = "0CA43C00488D0D????3C01E8????3F00488D0D";
private const int charmapOffset32 = 0;
private const int charmapOffset64 = 0;
private const int targetOffset32 = 88;
private const int targetOffset64 = 0;
private const int enmityOffset32 = 0x4A3C;
private const int enmityOffset64 = 0x6220;
private const int enmityOffset32 = 0x4A5C;
private const int enmityOffset64 = 0x6240;

private EnmityOverlay _overlay;
private Process _process;
Expand Down Expand Up @@ -399,7 +399,7 @@ public unsafe Combatant GetCombatantFromByteArray(byte[] source)

if (combatant.type == ObjectType.PC || combatant.type == ObjectType.Monster)
{
offset = (_mode == FFXIVClientMode.FFXIV_64) ? 0x14E8 : 4656;
offset = (_mode == FFXIVClientMode.FFXIV_64) ? 0x14D8 : 4656;
combatant.Job = p[offset];
combatant.Level = p[offset + 1];
combatant.CurrentHP = *(int*)&p[offset + 8];
Expand Down
4 changes: 2 additions & 2 deletions EnmityPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.7.2")]
[assembly: AssemblyFileVersion("1.6.7.2")]
[assembly: AssemblyVersion("1.6.8.0")]
[assembly: AssemblyFileVersion("1.6.8.0")]

0 comments on commit 4f5459c

Please sign in to comment.