Commit Graph

29 Commits

Author SHA1 Message Date
BjarkeM
70c3aa585a Refactor availableWPs to give a full list of waypoints from the waypoint table (populated only after interacting with a waypoint) 2025-11-27 01:11:41 +01:00
adpist
923f44d46a Do not erase learned skill by a skill with charges 2025-10-18 13:59:38 +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
joffreybesos
7d37526163 Added waypoint pattern scan (#80)
Co-authored-by: Arto Simonyan <artosimonyan@protonmail.com>
2025-02-23 21:01:16 +02:00
elb
823a0a05b0 player.go Corpse offset (#53) 2024-12-08 00:39:19 +02:00
elb
7a98fc5117 Class offset updated 2024-12-07 15:26:15 +09:00
elb
1cf22f10cd wpList, LoadingScreen, GetSelectedCharacterName
Credits to gogigogi1
2024-12-07 15:26:15 +09:00
joffreybesos
2270b7c621 fixed following patch (#50) 2024-12-06 15:54:59 +09:00
elb
19376148b3 Added modes to player (#44)
* Added States for monsters and corpses

Now can properly identify if a corpse is interactable with a skill ( barbarian, necromancer)
Also getting states about monsters  : Exemple  Soul Killer with Conviction aura:   State  28 // conviction

Also can tell if monster has a state after you used a skill on it  Exemple:   State 56  Terror ( After using Barbarian skill Howl to fear )

Another Exemple  using Grief on Mephistos he now have  states :    2 poison
    52  Preventheal

will be very useful for further development.

* Added modes to player

Now accessible in koolo using : s.data.PlayerUnit.Mode

Those are Modes for player:
const Death: 0;
        const StandingOutsideTown: 1;
        const Walking: 2;
        const Running: 3;
        const GettingHit: 4;
        const StandingInTown: 5;
        const WalkingInTown: 6;
        const Attacking1: 7;
        const Attacking2: 8;
        const Blocking: 9;
        const CastingSkill: 10;
        const ThrowingItem: 11;
        const Kicking: 12;
        const UsingSkill1: 13;
        const UsingSkill2: 14;
        const UsingSkill3: 15;
        const UsingSkill4: 16;
        const Dead: 17;
        const SkillActionSequence: 18;
        const KnockedBack: 19;

* update Added alias(const) for player modes

can be used like this s.data.PlayerUnit.Mode == mode.StandingInTown
2024-10-03 07:29:40 +09:00
elb
9020cc396e Added States for monsters and corpses (#43) 2024-09-29 20:32:19 +09:00
Héctor Giménez
444b52f562 update couple of addresses 2024-08-21 09:07:43 +09:00
Héctor Giménez
f4dc1d3689 update some memory addresses 2024-05-23 00:11:15 +09:00
Héctor Giménez
2a5f31885e get stashed gold 2024-05-15 17:23:53 +09:00
Héctor Giménez
8fceb8fc99 add player unit address 2024-05-09 20:31:14 +09:00
Héctor Giménez
c398062b57 bugfixing, performance improvements and added casting frames formula 2024-05-09 20:27:31 +09:00
Héctor Giménez
0d5c108721 get base stats and stats from player and fetch life/mana from stats instead of base stats 2024-05-02 19:13:14 +09:00
Héctor Giménez
07b5a3a1c3 Add levels and fix tz? 2024-04-24 21:47:45 +09:00
Héctor Giménez
fec7da3121 stop using global variables 2024-03-21 21:54:18 +09:00
Héctor Giménez
db8fc7d6db D2Data and Quest data (#9) 2024-02-02 20:19:44 +09:00
Héctor Giménez
f06c587c7a Read WP data (#7) 2024-01-19 22:00:48 +09:00
Héctor Giménez
8085745f61 left/right selected skills 2023-10-14 22:10:47 +09:00
Héctor Giménez
1c8aab1580 Item refactor and more (#1) 2023-08-18 22:33:54 +09:00
Héctor Giménez
5dae8f019f Fixed corpse detection 2023-05-18 22:05:18 +09:00
Héctor Giménez
080f09c9f5 Fixed corpse detection 2023-05-18 21:43:35 +09:00
Héctor Giménez
63d1206fc4 Fixed skill level? 2023-05-15 22:54:02 +09:00
Héctor Giménez
70d92d3df5 Add class data and more menu detection 2023-05-12 21:44:42 +09:00
Héctor Giménez
04c30b2fe8 Add layers on stats and small refactor 2023-03-13 21:28:12 +09:00
Héctor Giménez
306150e873 export GetPlayerUnitPtr 2023-03-11 22:40:36 +09:00
Héctor Giménez
dde3cd19b0 Add some memory reading stuff, based on many other open source projects 2023-03-11 22:08:18 +09:00