update addresses

This commit is contained in:
Héctor Giménez
2024-12-07 03:14:59 +09:00
parent 2270b7c621
commit bd7e8656b8
2 changed files with 6 additions and 6 deletions

View File

@@ -200,20 +200,20 @@ func (gd *GameReader) InCharacterSelectionScreen() bool {
} }
func (gd *GameReader) GetSelectedCharacterName() string { func (gd *GameReader) GetSelectedCharacterName() string {
return gd.Process.ReadStringFromMemory(gd.Process.moduleBaseAddressPtr+0x2A01A50, 0) return gd.Process.ReadStringFromMemory(gd.Process.moduleBaseAddressPtr+0x222D0A0, 0)
} }
func (gd *GameReader) LegacyGraphics() bool { func (gd *GameReader) LegacyGraphics() bool {
return gd.ReadUInt(gd.moduleBaseAddressPtr+0x21E2308, Uint64) == 1 return gd.ReadUInt(gd.moduleBaseAddressPtr+0x2227998, Uint64) == 1
} }
func (gd *GameReader) IsOnline() bool { func (gd *GameReader) IsOnline() bool {
// This represents which tab (Online/Offline) we're on in the Character Selection Screen // This represents which tab (Online/Offline) we're on in the Character Selection Screen
return gd.ReadUInt(gd.moduleBaseAddressPtr+0x2140ED0, 1) == 1 return gd.ReadUInt(gd.moduleBaseAddressPtr+0x21864D0, 1) == 1
} }
func (gd *GameReader) IsIngame() bool { func (gd *GameReader) IsIngame() bool {
return gd.ReadUInt(gd.moduleBaseAddressPtr+0x22D5D78, 1) == 1 return gd.ReadUInt(gd.moduleBaseAddressPtr+0x22E51D0, 1) == 1
} }
func (gd *GameReader) IsInLobby() bool { func (gd *GameReader) IsInLobby() bool {

View File

@@ -8,8 +8,8 @@ import (
) )
func (gd *GameReader) GetKeyBindings() data.KeyBindings { func (gd *GameReader) GetKeyBindings() data.KeyBindings {
blob := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x1DFA914, 0x500) blob := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x1DFFAF4, 0x500)
blobSkills := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x21E29B0, 0x500) blobSkills := gd.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x2228030, 0x500)
skillsKB := [16]data.SkillBinding{} skillsKB := [16]data.SkillBinding{}
for i := 0; i < 7; i++ { for i := 0; i < 7; i++ {