Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit bf51916

Browse files
committed
Accounts for linux's DelDatum thingy
1 parent 586660e commit bf51916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/find_functions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ bool Core::find_functions()
104104
FIND_OR_DIE(CreateMob, "55 89 e5 57 56 31 f6 53 83 ec 5c 8b 45 10 3b 05 ?? ?? ?? ??");
105105
FIND_OR_DIE(GetAppearance, "55 89 e5 53 83 ec 24 8b 45 08 8b 55 0c 3c 50");
106106

107-
void* datum_table_ptr = Pocket::Sigscan::FindPattern(BYONDCORE, "55 89 E5 53 83 EC 44 8B 45 08 3B 05 ?? ?? ?? ?? 73 2C 8B 15 ?? ?? ?? ?? 8B 0C 82 85 C9 74 1F 8B 51 ??");
107+
void* datum_table_ptr = Pocket::Sigscan::FindPattern(BYONDCORE, "8B 45 08 3B 05 ?? ?? ?? ?? 73 2C 8B 15 ?? ?? ?? ?? 8B 0C 82 85 C9 74 1F 8B 51 ??");
108108
TRUE_OR_DIE(datum_table_ptr);
109-
datum_table = std::make_unique<RefTable<Datum>>(datum_table_ptr, 20, 12);
109+
datum_table = std::make_unique<RefTable<Datum>>(datum_table_ptr, 13, 5);
110110
client_table = std::make_unique<RefTable<Client, unsigned short>>((void*)AddToScreen, 0x26, 0x13);
111111
obj_table = std::make_unique<RefTable<Obj>>((void*)GetVisContents, 0x7a, 0x72);
112112
mob_table = std::make_unique<RefTable<Mob>>((void*)GetVisContents, 0x5a, 0x52);

0 commit comments

Comments
 (0)