Skip to content

Commit 6c79030

Browse files
author
Drakansoul
committed
update selectItemAddress
This restores the functionality of selecting items from the BDTH item menue. There does exist an issue where if a new item is selected from the plugin menue the original items position wil revert if the position update was not finalized by manually de-selecting the original item by clicking off it in-game.
1 parent bd43d6f commit 6c79030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: BDTHPlugin/PluginMemory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public PluginMemory()
155155
layoutWorldPtr = Marshal.ReadIntPtr(layoutWorldPtr);
156156

157157
// Select housing item.
158-
selectItemAddress = Plugin.TargetModuleScanner.ScanText("E8 ?? ?? 00 00 48 8B CE E8 ?? ?? 00 00 48 8B ?? ?? ?? 48");
158+
selectItemAddress = Plugin.TargetModuleScanner.ScanText("48 85 D2 0F 84 49 09 00 00 53 41 56 48 83 EC 48 48 89 6C 24 60 48 8B DA 48 89 74 24 70 4C 8B F1");
159159
SelectItem = Marshal.GetDelegateForFunctionPointer<SelectItemDelegate>(selectItemAddress);
160160

161161
// Address for the place item function.

0 commit comments

Comments
 (0)