Skip to content

Instantly share code, notes, and snippets.

View Maxcloud's full-sized avatar
🎯
Focusing

Maxcloud Maxcloud

🎯
Focusing
  • Ontario, Canada
View GitHub Profile
@Andre-3001
Andre-3001 / QuickSlots.cpp
Last active May 18, 2024 00:39
Long Keyboard v83 - Stable Beta Release
//### Readme:
/*
Heads up about the quickslot tooltips on EzorsiaV2. There's a faulty approximation used in Client.cpp on line 121:
Memory::WriteInt(dwQuickSlotCWndVPos + 2, (600 - m_nGameHeight) / 2 - 427); //0x008DE8EE: lea edi,[eax-427]
According to my testing this line should just be
Memory::WriteInt(dwQuickSlotCWndVPos + 2, -500 );
similar to the line which immediately follows it
Memory::WriteInt(dwQuickSlotCWndHPos + 2, -798); //0x008DE8E5: lea ebx,[eax-647]