Commit Graph

74 Commits

Author SHA1 Message Date
crazywh1t3
4cf61a3480 Update memory addresses for LastGameName and LastGamePass 2025-11-24 01:32:52 +02:00
guiyomu-dev
b644d79977 fix offsets after d2r update 2025-11-06 00:07:51 +01:00
guiyomu-dev
c07a000f34 Merge pull request #20 from CarlPoppa1/CharFlags
Add character flags
2025-10-27 20:25:52 +01:00
guiyomu-dev
73276c57aa Rename Dead flag to HasEverDied in GetCharacterFlags function 2025-10-27 20:24:40 +01:00
CarlPoppa
af6549aac5 Rename Dead flag to HasEverDied 2025-10-27 08:28:33 +00:00
CarlPoppa
90e5f44934 Add GetCharacterFlags func 2025-10-22 10:12:22 +01:00
guiyomu-dev
53e7495886 Merge remote-tracking branch 'origin/main' into pr/CarlPoppa1/9 2025-10-19 19:05:49 +02:00
guiyomu-dev
06c04fdb31 Merge remote-tracking branch 'origin/main' into pr/CarlPoppa1/18 2025-10-19 14:55:25 +02:00
CarlPoppa
53b61d0d55 Use legacy graphics AOB scan in game_reader 2025-10-19 14:50:40 +02:00
CarlPoppa
fafcbc8728 Add ping to game_reader 2025-10-18 23:03:47 +01:00
CarlPoppa
06a59974ac Use AOB scan for quests instead of hardcoded offset 2025-10-18 00:12:05 +02:00
guiyomu-dev
ab0f68ec5e fix offsets for lobby games 2025-10-17 11:09:44 +02:00
CarlPoppa
4fea7bde76 Deref pointers from questinfo aob to get questinfo 2025-10-16 13:27:44 +01:00
crazywh1t3
b1273ff5d1 Update LegacyGraphics address for game reader 2025-10-15 23:41:29 +02:00
crazywh1t3
88d456c640 Fix memory address for reading game quests 2025-10-15 23:41:29 +02:00
guiyomu-dev
8844908462 fix comparison 2025-10-15 02:38:59 +02:00
guiyomu-dev
294273abfc fix offsets 2025-10-15 02:13:53 +02:00
guiyomu-dev
b7017a4cb3 add helper to get latest Inventory data 2025-10-13 23:16:27 +02:00
adpist
3d5be6b2c0 Safeguard from divide by 0 on replenish stat computation 2025-10-12 13:08:33 +02:00
guiyomu-dev
8c72ab6d50 add send packet function 2025-10-04 20:42:14 +02:00
guiyomu-dev
00cfbed068 add ability to get the merc list in legacy graphic mode 2025-09-09 07:39:04 +02:00
elb
dba9a7b5a5 Make OpenMenus and Hover data accessible outside GetData() (#92)
Simply making openMenu and hoverData exposed like everything else in game_reader.go

to be used with koolo on demand  outside of  GetData()
This will improve openMenu and hover refresh by avoiding updating everything from GetData  when we only need light information.

Benefit:
Increase responsiveness of bot, reduce cpu usage by much

i already have the work done on koolo side waiting on this to be merged.
2025-03-24 09:05:59 +02:00
Arto Simonyan
169a765152 Add IsBlocking function (#89)
- Add IsBlocking function that checks if confirmation popup or blocking panel (loading screen as in when trying to re-connect to bnet) are on the screen
2025-03-14 20:50:00 +02:00
Arto Simonyan
844439002c Panel Manager Improvements (#85)
* Panel Manager Improvements

- Now maps instead of slices for easy traverse
- Function for easy and safe traverse of paths
- Removed constant updates of Panel Manager to reduce usage. It will now be called on demand.
- Updated some functions to use the new Panel Manager.

* Remove unused struct members

* Added IsDismissalModalPresent (error popup)

* Correct function return for char select screen and dismissal modal

* Add error checking to IsDismissableModalPresent
2025-03-04 08:09:22 +09:00
joffreybesos
4a7e782343 panels (#84) 2025-03-01 22:00:50 +09:00
elb
4204d68f23 Performance upgrade? (#83)
* Performance upgrade?

* update monster to be on 200ms since 250ms will skip to 300
2025-02-27 17:04:16 +02:00
elb
fd7f7ba8a4 Pattern Scanner for missing FPS (#82) 2025-02-23 20:59:23 +02:00
elb
5455fd9772 Fix broken negative stats, update some stat description (#79)
* Fix broken negative stats, update some stat description

* ###

* #2

* curses is necro, frw on armor is velocity percent ( unused)

* Update rules to accept negative value

fix a bug with unique grand charm tz

[name] == grandcharm && [quality] == unique # ([fireresist] + [coldresist] + [lightresist]) >= -75

Single stat rules like [coldresist] >= -75 require the stat to exist

expressions like ([fireresist] + [coldresist] + [lightresist]) >= -75 treat missing stats as 0

Unidentified items with any stat requirements need identification first

* LevelReq + identifiedName added for all Crafted items

* Fix issue with rule.go

* Update stat throw damage and basename: GrandCharm -- Grand Charm

* Adjusting rule for ItemLevelReq  = 0

* update rule again
2025-02-21 18:11:27 +02:00
elb
438f80b911 Added WidgetStates + ActiveWeaponSlot (#62) 2025-02-19 20:15:33 +09:00
elb
415ac29ab1 Chat Open menu + additions to IsMenuOpen() (#71) 2025-01-19 18:32:31 +02:00
elb
2924189fe8 Added Entrance/Stairs unittype5 table lvlwrap.txt (#64) 2024-12-23 20:06:15 +02:00
elb
444f4b0e9b Added a few OpenMenus, also HasMerc() (#60)
* wpList, LoadingScreen, GetSelectedCharacterName
Credits to gogigogi1

* Class offset updated

* TZ online

* IsCorpse Offset

* Added a few OpenMenus, also HasMerc()
PortraitsShown,BeltRows,QuestLog,MercInventory,NewStats
then  func  HasMerc()  return true if we have merc.
2024-12-20 17:50:33 +09:00
Héctor Giménez
bfd86a6535 Revert "Added more OpenMenus (#58)" (#59)
This reverts commit 7f2eb8b8f1.
2024-12-18 22:17:39 +09:00
elb
7f2eb8b8f1 Added more OpenMenus (#58) 2024-12-18 22:08:14 +09:00
elb
77bf135bf8 New quest offset and structure
Credits to gogigogi1
2024-12-17 00:23:14 +09:00
elb
889fa020f2 Lastgamename/lastgamepassword (#56)
* Lastgamename/lastgamepassword

Credits to Gogigogi1

* Remove //outdated ckm

* Removing offset since we have direct address
2024-12-12 18:16:29 +02:00
elb
1cf22f10cd wpList, LoadingScreen, GetSelectedCharacterName
Credits to gogigogi1
2024-12-07 15:26:15 +09:00
Héctor Giménez
bd7e8656b8 update addresses 2024-12-07 03:14:59 +09:00
elb
9020cc396e Added States for monsters and corpses (#43) 2024-09-29 20:32:19 +09:00
Arto Simonyan
7ec2f584f5 Refactor Checks (#39)
- Refactor IsInLobby
- Refactor IsInCharacterCreationScreen
- Refactor IsInCharacterSelectionScreen
2024-08-26 15:38:00 +03:00
Farmith
ddeb350bee new questptr (#38) 2024-08-23 21:16:21 +03:00
Farmith
0b4365936e Panel manager addition (#36)
* Added panelManager support for d2go (crude implementation but works)

* Refined a little bit

* Made widget map a more mappy map which can be access without iterations

* Added widgets to debugger
2024-08-22 19:58:53 +09:00
Arto Simonyan
c32403f8ed Update a few addresses (#35)
- Add FPS address - thanks @Farmith
- Update IsOnline
- Update IsIngame
2024-08-21 15:01:58 +03:00
Arto Simonyan
6bd1cd033f Small Update (#34)
- Updated Hover Pattern
- Updated Selected Character offset
2024-08-21 08:16:51 +03:00
Héctor Giménez
444b52f562 update couple of addresses 2024-08-21 09:07:43 +09:00
Arto Simonyan
a356597630 - Added OnlineGame info ( game name/pass ) (#32)
- Added IsInGame bool
- Added IsOnline bool :)
- Added IsInCharacterCreation bool
2024-08-16 12:29:50 +03:00
Farmith
52b0de329f Added shrines (#31)
* Added shrines, i think

* Fixed shrines

* Fix for actually determining a shrine the correct way

* Updated to use a Shrine object instead of a boring ID

* After deliberation, removed extra position thingamajigger
2024-08-15 20:38:14 +03:00
TDL
8e67284940 Corpses (#29)
* Update data.go

Added corpses check

* Update game_reader.go

Added corpse finder function

* Update monsters.go

added corpse finder function
2024-08-10 14:02:36 +03:00
SoundsLegit
938bfeb753 Minimum value per level and enhanced damage item stats fix (#26)
* Added a temporary fix to have a minimum value of 1 for per level mods

* Expose Stat Aliases and Type Aliases (#25)

* Fixed setting a minimum value of 1 for per level item stats

* Added minimum value of attack rating per level to be 15

* Added min value for replenish durability/quantity

* Added fix for reading item modifiers - enhanced damage now works

* Delete .idea/.gitignore

* Delete .idea/d2go.iml

* Delete .idea/modules.xml

* Delete .idea/vcs.xml

* Added gitignore file

* Refactored code

---------

Co-authored-by: dmeli <d.melia@outlook.fr>
Co-authored-by: Arto Simonyan <artosimonyan@protonmail.com>
2024-08-05 17:48:06 +03:00
Héctor Giménez
6dc0e371df fixed quest data address? 2024-06-19 21:33:26 +09:00