Commit Graph

187 Commits

Author SHA1 Message Date
elb
8bce23b039 fix missing stats (#68)
Credits to gogigogi1  thanks!
2025-01-06 03:50:39 +02:00
elb
2924189fe8 Added Entrance/Stairs unittype5 table lvlwrap.txt (#64) 2024-12-23 20:06:15 +02:00
Arto Simonyan
8203394c9f Revert "Update missing itemstat offset (#65)" (#66)
This reverts commit 5eae82b847.
2024-12-23 19:51:50 +02:00
elb
5eae82b847 Update missing itemstat offset (#65) 2024-12-23 16:59:01 +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
de6942b464 Remove baal tentacles from grid
Prevent pathing issue in baal chamber
2024-12-17 00:24:04 +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
823a0a05b0 player.go Corpse offset (#53) 2024-12-08 00:39:19 +02:00
elb
89a1b3ca26 IsCorpse Offset (#52)
Update corpse offset
2024-12-07 23:52:22 +02:00
elb
aecd76dcb7 TZ online 2024-12-07 15:26:15 +09: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
Héctor Giménez
bd7e8656b8 update addresses 2024-12-07 03:14:59 +09:00
joffreybesos
2270b7c621 fixed following patch (#50) 2024-12-06 15:54:59 +09:00
elb
2eeee0cf1f Npc/Monsters Mode and Portals destination + optimization (#49)
* 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

* added modes to object

0 = Object idle
1 = Object operating
2 = Object opened
3 = Object special 1    ?? to be determined what it does exactly
4 = Object special 2    ?? to be determined what it does exactly
5 = Object special 3    ?? to be determined what it does exactly
6 = Object special 4    ?? to be determined what it does exactly
7 = Object special 5    ?? to be determined what it does exactly

* update object mode strings

* Update object_mode.go

* Update object_mode.go

* update object modes again. accurate now

* Added IsSealBoss()  for Chaos Run

* Npc/Monster Modes and Portals destination
also IsEscapingType()  Monster cannot be attacked when airborne or hide in water (NpcMode 8)

* Npc/Monster Modes and Portals destination
also IsEscapingType()  Monster cannot be attacked when airborne or hide in water (NpcMode 8)

* Optimized monsters.go and object.go
also catapults have been added to ignore list

* Tz Frigid Higland ingores added
2024-12-01 22:54:57 +09:00
Héctor Giménez
b2c710dc5c fix necro revive and proper locate items from cube 2024-11-07 21:56:02 +09:00
elb
7523a5caed added modes to object (update) (#46)
* 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

* added modes to object

0 = Object idle
1 = Object operating
2 = Object opened
3 = Object special 1    ?? to be determined what it does exactly
4 = Object special 2    ?? to be determined what it does exactly
5 = Object special 3    ?? to be determined what it does exactly
6 = Object special 4    ?? to be determined what it does exactly
7 = Object special 5    ?? to be determined what it does exactly

* update object mode strings

* Update object_mode.go

* Update object_mode.go

* update object modes again. accurate now
2024-10-05 11:47:06 +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
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
Héctor Giménez
fea2e20b84 tz online address 2024-08-23 21:57:17 +09:00
Héctor Giménez
ff36ccda9e fix kb address (again) 2024-08-23 08:51:09 +09:00
Héctor Giménez
778d21fb73 fix kb address 2024-08-22 21:27:32 +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
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
Arto Simonyan
a141c9a110 Add runeword flag (#24) 2024-07-01 16:30:29 +03:00
SoundsLegit
3d4b0bc7a4 Added pet exclusions (#21)
* Added pet exclusions

* Added druid creepers to pets

---------

Co-authored-by: dmeli <d.melia@outlook.fr>
2024-06-25 15:45:29 +03:00
Héctor Giménez
6dc0e371df fixed quest data address? 2024-06-19 21:33:26 +09:00
Héctor Giménez
99fb4bb5fc don't read equipped items from other players 2024-06-04 22:44:38 +09:00
Héctor Giménez
019cd9a62d read legacy graphics 2024-06-04 22:44:23 +09:00
Héctor Giménez
b428238643 fix character selection screen? 2024-05-23 00:18:55 +09:00
Héctor Giménez
f4dc1d3689 update some memory addresses 2024-05-23 00:11:15 +09:00
Héctor Giménez
45f860bf0f oops 2024-05-21 00:03:43 +09:00
Héctor Giménez
52bb744b9b sometimes the player is already loaded in memory but the map still not ready yet, so wait for it 2024-05-20 21:29:15 +09:00
Héctor Giménez
b685ee4c05 better logic to detect when an item is in the backpack 2024-05-20 21:28:44 +09:00
Héctor Giménez
e4b4f8e1b5 Add Location struct and fixed possible panic 2024-05-19 20:40:20 +09:00
Héctor Giménez
2a5f31885e get stashed gold 2024-05-15 17:23:53 +09:00
Héctor Giménez
ffae8296af let's save some nanoseconds 2024-05-09 20:57:08 +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