Skip to content

Commit

Permalink
2.5 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Icehunter committed Jan 23, 2015
1 parent 07f94cd commit 2ba9596
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions FFXIVAPP.Client/Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,8 @@ public static void SetSignatures()
AppViewModel.Instance.Signatures.Add(new Signature
{
Key = "CHARMAP",
Value = "403F00000000000000000000000000000000????0000????000000000000??000000????????DB0FC93FDB0F49416F12833A",
Offset = 326
Value = "FFFFFFFF????????DB0FC93FDB0F49416F12833A00000000????????DB0FC93FDB0F49416F12833A00000000",
Offset = 44
});
AppViewModel.Instance.Signatures.Add(new Signature
{
Expand All @@ -630,8 +630,8 @@ public static void SetSignatures()
AppViewModel.Instance.Signatures.Add(new Signature
{
Key = "PARTYMAP",
Value = "DB0F49416F1283??FFFFFFFF0000000000000000DB0FC93FDB0F49416F1283??00",
Offset = 52
Value = "DB0F49416F12833A0000000000000000000000000000000000000000000000000000000000000000????????DB0FC93F",
Offset = 92
});
AppViewModel.Instance.Signatures.Add(new Signature
{
Expand All @@ -642,20 +642,20 @@ public static void SetSignatures()
AppViewModel.Instance.Signatures.Add(new Signature
{
Key = "MAP",
Value = "F783843E????????????????FFFFFFFFDB0FC93FDB0F49416F12833A",
Offset = 896
Value = "F783843E????????????????FFFFFFFF????????DB0FC93FDB0F49416F12833A",
Offset = 820
});
AppViewModel.Instance.Signatures.Add(new Signature
{
Key = "TARGET",
Value = "DB0FC93FDB0F49416F1283????FFFFFFDB0FC940920A063F",
Offset = 172
Value = "403F00000000000000000000000000000000????0000????000000000000??000000????????DB0FC93FDB0F49416F12833A",
Offset = 218
});
AppViewModel.Instance.Signatures.Add(new Signature
{
Key = "INVENTORY",
Value = "DB0FC93FDB0F49416F1283??FFFFFFFF00000000??00??00??00??00??00??00??00????DB0FC93FDB0F49416F12833AFFFFFFFF",
Offset = 56
Value = "DB0FC93FDB0F49416F1283??FFFFFFFF00000000??00??00??00??00??????00??00????0000????????????DB0FC93FDB0F49416F12833A",
Offset = 60
});
}

Expand Down
12 changes: 6 additions & 6 deletions FFXIVAPP.Client/Memory/PlayerInfoWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ private void ScanTimerElapsed(object sender, ElapsedEventArgs e)
}
try
{
var enmityCount = MemoryHandler.Instance.GetInt16(MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] + 5688);
var enmityStructure = MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] + 3380;
var enmityCount = MemoryHandler.Instance.GetInt16(MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] - 116032); // + 5688
var enmityStructure = MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] - 118340; // + 3380
var enmityEntries = new List<EnmityEntry>();
if (enmityCount > 0 && enmityCount < 32 && enmityStructure > 0)
{
Expand All @@ -129,9 +129,9 @@ private void ScanTimerElapsed(object sender, ElapsedEventArgs e)
var address = enmityStructure + (i * 72);
var enmityEntry = new EnmityEntry
{
Name = MemoryHandler.Instance.GetString(address),
ID = (uint) MemoryHandler.Instance.GetInt32(address + 64),
Enmity = (uint) MemoryHandler.Instance.GetInt16(address + 68)
ID = (uint) MemoryHandler.Instance.GetInt32(address),
Name = MemoryHandler.Instance.GetString(address + 4),
Enmity = (uint)MemoryHandler.Instance.GetInt16(address + 72)
};
if (enmityEntry.ID > 0)
{
Expand Down Expand Up @@ -179,7 +179,7 @@ private void ScanTimerElapsed(object sender, ElapsedEventArgs e)
{
try
{
PlayerInfoMap = MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] + 5724;
PlayerInfoMap = MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] - 115996; // + 5724;
MemoryHandler.Instance.SigScanner.Locations.Add("PLAYERINFO", PlayerInfoMap);
}
catch (Exception ex)
Expand Down
2 changes: 1 addition & 1 deletion FFXIVAPP.Client/Memory/TargetWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private void ScanTimerElapsed(object sender, ElapsedEventArgs e)
{
try
{
var targetHateStructure = MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] + 1136;
var targetHateStructure = MemoryHandler.Instance.SigScanner.Locations["CHARMAP"] - 120584;// + 1136;
var enmityEntries = new List<EnmityEntry>();
var targetEntity = new TargetEntity();
if (MemoryHandler.Instance.SigScanner.Locations.ContainsKey("TARGET"))
Expand Down
Binary file modified distribution/FFXIVAPP.Client.exe
Binary file not shown.
Binary file modified distribution/FFXIVAPP.Common.dll
Binary file not shown.
Binary file modified distribution/FFXIVAPP.IPluginInterface.dll
Binary file not shown.
Binary file modified distribution/FFXIVAPP.Localization.dll
Binary file not shown.
Binary file modified distribution/FFXIVAPP.Updater.exe
Binary file not shown.

0 comments on commit 2ba9596

Please sign in to comment.