Skip to content

Commit

Permalink
fix offsets for 1.13c
Browse files Browse the repository at this point in the history
  • Loading branch information
dschu012 committed Sep 14, 2021
1 parent da444d9 commit 4669350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions D2Ptrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ P2(D2CLIENT, Divisor, int, 0xF16B0, 0x311254);
P2(D2CLIENT, Offset, POINT, 0x11C1F8, 0x3A5198);
P2(D2CLIENT, ResolutionX, uint32_t, 0xDBC48, 0x31146C);

P2(D2CLIENT, ServerSideUnitHashTables, UnitHashTable, 0x0, 0x3A5E70) // Updated 1.14d //007A5E70-BASE
P2(D2CLIENT, ClientSideUnitHashTables, UnitHashTable, 0x0, 0x3A5270) // Updated 1.14d //007A5270-BASE
P2(D2CLIENT, ServerSideUnitHashTables, UnitHashTable, 0x10A608, 0x3A5E70) // Updated 1.14d //007A5E70-BASE
P2(D2CLIENT, ClientSideUnitHashTables, UnitHashTable, 0x109A08, 0x3A5270) // Updated 1.14d //007A5270-BASE

/*
FUNCPTR(D2COMMON, MapToAbsScreen, void __stdcall, (long* pX, long* pY), 0x243260) // Updated 1.14d //00643260-BASE
Expand Down
1 change: 1 addition & 0 deletions ItemFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ void ItemFilter::ReloadFilter() {
PrintGameString(std::format(L"Filter Reloaded (PingLevel: {}, FilterLevel: {})", PingLevel, FilterLevel), TextColor::ORANGE);
Config->Load();

ITEM_ACTIONS.clear();
for (uint8_t i = 0; i < 128; i++) {
Unit* pUnit = FindUnitFromTable(i, UnitType::ITEM);
while (pUnit) {
Expand Down

0 comments on commit 4669350

Please sign in to comment.