Skip to content

Commit

Permalink
Add ActorFreeSpawn scanner (Closes #26)
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Sep 10, 2020
1 parent d3f8846 commit 9b3334f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FFXIVOpcodeWizard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<UseWPF>true</UseWPF>
<Authors>karashiiro</Authors>
<Version>2.1.1</Version>
<Version>2.2.0</Version>
<ApplicationIcon>application.ico</ApplicationIcon>
<Deterministic>true</Deterministic>
</PropertyGroup>
Expand Down
5 changes: 4 additions & 1 deletion PacketDetection/ScannerRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void DeclareScanners()
RegisterScanner("Examine", "Please examine that character's equipment.",
PacketSource.Server,
(packet, parameters) => packet.PacketSize == 1016 && IncludesBytes(packet.Data, Encoding.UTF8.GetBytes(parameters[0])),
new[] { "Please enter a nearby character's name" });
new[] { "Please enter a nearby character's name:" });
//=================
const int marketBoardItemDetectionId = 17837;
RegisterScanner("MarketBoardSearchResult", "Please click \"Catalysts\" on the market board.",
Expand Down Expand Up @@ -149,6 +149,9 @@ private void DeclareScanners()
PacketSource.Server, (packet, parameters) =>
packet.PacketSize > 500 && BitConverter.ToUInt16(packet.Data, Offsets.IpcData + 4) ==
int.Parse(parameters[0]), new[] { "Please enter your world ID:" });
RegisterScanner("ActorFreeSpawn", string.Empty,
PacketSource.Server,
(packet, _) => packet.PacketSize == 40 && packet.SourceActor != packet.TargetActor);
//=================
RegisterScanner("ItemInfo", "Please teleport and open your chocobo saddlebag.",
PacketSource.Server,
Expand Down

0 comments on commit 9b3334f

Please sign in to comment.