Skip to content

Commit

Permalink
DX11 fix for update 2016.02.23
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuaok committed Feb 23, 2016
1 parent fa14a4b commit 920b000
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions EnmityPlugin/FFXIVMemory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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 = "31017520483935";
private const string targetSignature64 = "37017520483935";
private const string enmitySignature32 = "E8??E33000B9??A4????E8????3300B9";
private const string enmitySignature64 = "0CA43C00488D0D????3C01E8????3F00488D0D";
private const int charmapOffset32 = 0;
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) ? 5304 : 4656;
offset = (_mode == FFXIVClientMode.FFXIV_64) ? 0x14E8 : 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.6.1")]
[assembly: AssemblyFileVersion("1.6.6.1")]
[assembly: AssemblyVersion("1.6.7.0")]
[assembly: AssemblyFileVersion("1.6.7.0")]

0 comments on commit 920b000

Please sign in to comment.