Commit Graph

37 Commits

Author SHA1 Message Date
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
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
792ff69790 remove collisiongrid, it doesnt belongs to this project 2024-09-03 20:39:16 +09: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
5a01fd3214 add function to check if there is an open menu (#33)
Co-authored-by: Héctor Giménez <hector.fwbz@gmail.com>
2024-08-16 19:23:30 +03: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
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
Arto Simonyan
a6daaa36d0 Implement GetWalkableTiles for rooms (#20) 2024-06-09 22:29:38 +09:00
Héctor Giménez
019cd9a62d read legacy graphics 2024-06-04 22:44:23 +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
4ec129fa3b test keybindings and close handler for process 2024-04-19 21:04:29 +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
Jai
c32e8d6ae1 Fixed incorrect calculation of mana percentage (#6)
* Fixed incorrect calculation of mana percentage

* Check for some monsters that need to be skipped

* Fixed incorrect values when not a pointer function

Co-authored-by: Héctor Giménez <hector.fwbz@gmail.com>

---------

Co-authored-by: Héctor Giménez <hector.fwbz@gmail.com>
2023-12-02 16:20:20 +09:00
Jai
ef7bfa95a7 remove state.Conviction from the debuff list (#4) 2023-10-23 21:08:52 +09:00
Héctor Giménez
8085745f61 left/right selected skills 2023-10-14 22:10:47 +09:00
Héctor Giménez
6e77a6494d add terror zones (#2) 2023-10-09 15:17:46 +09:00
Héctor Giménez
1c8aab1580 Item refactor and more (#1) 2023-08-18 22:33:54 +09:00
Héctor Giménez
e9b4e6be5a Add Cube and SkillSelect menu detectors 2023-05-19 14:10:10 +09:00
Héctor Giménez
309cea5e89 Add QuitMenu detection 2023-05-18 22:24:16 +09:00
Héctor Giménez
e120e595c8 return total player gold 2023-05-13 14:40:56 +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
26120205c9 add extra fields on Level struct 2023-05-07 11:29:46 +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
dde3cd19b0 Add some memory reading stuff, based on many other open source projects 2023-03-11 22:08:18 +09:00
Héctor Giménez
8600c2e2f6 Add data structures, it requires tons of refactor but it's more or less working 2023-03-11 21:28:33 +09:00