Commit Graph

22 Commits

Author SHA1 Message Date
guiyomu-dev
50eb39853c remove unecessary code due to bad game update 2026-02-15 00:04:18 +01:00
guiyomu-dev
48aa3aee66 adjustement 2026-02-14 21:10:31 +01:00
crazywh1t3
211abf01f0 add new location types and enhance inventory structure for shared stash support and DLC support. 2026-02-13 22:28:16 +02:00
guiyomu-dev
828db2029f adjustment 2026-02-13 12:34:48 +01:00
elb
120c2ba144 Prefix,Suffix,LevelReq Socketed items on bases, bodyloc, Merc equipment (#74)
* Prefix,Suffix, Socketed with base, bodyloc, Merc equipment

Will add better description later:

Item that has socketed items now display their linked runes/jewels/gems in accurate order

Rare prefix, rare suffix id
Magic prefix1,2,3  magic suffix1,2,3
Prefix1 also used to tell wich runeword it is
Spirit 20635, cta 20519 , infinity 20566 see : getlocalestring.txt

Mercenary equipment now displaying in inventory list . Also has custom location : mercenary instead of equipped

Bodyloc :
	// Body locations
	LocNone              LocationType = "none"
	LocHead              LocationType = "head"
	LocNeck              LocationType = "neck"
	LocTorso             LocationType = "torso"
	LocLeftArm           LocationType = "left_arm"
	LocRightArm          LocationType = "right_arm"
	LocLeftRing          LocationType = "left_ring"
	LocRightRing         LocationType = "right_ring"
	LocBelt              LocationType = "belt"
	LocFeet              LocationType = "feet"
	LocGloves            LocationType = "gloves"
	LocLeftArmSecondary  LocationType = "left_arm_secondary"
	LocRightArmSecondary LocationType = "right_arm_secondary"

	Note that if you begin game on secondary slot it will be left_arm  then primary will be  left_arm_secondary (inversed):  With pr 62 (activeweaponslot) we will be able to solve this potential issue.

* small optimization

* Socketed items to base from pointer

new helper functions.
AutoAffix offset.

* remove helpers fnc, flag isEquipped to HasBeenEquipped

* Runewords names mapped

* helper function not needed

* Optimization

* adjust pre-allocations

* readd removed itemloc comment

* Addex prefix/suffix to rules .nip

new structure:
[Type], [Quality],[Class], [Name], [Flag], [Color], [Prefix], [Suffix]  #  Stats

Exemple : [name] == ring && [quality] == rare && [suffix] == 174 #

Any magic ring with suffix 'of The Apprentice'  ( 10 faster cast rate)

Will be useful for trophy items with fool/cruel  [prefix] == 1416 [prefix] == 1273

* LevelReq + Affixes mapping rare/magic/base/runewords. Nip parser LevelReq

* Unique and set items mapping + LevelReq
2025-02-16 23:02:03 +02:00
Arto Simonyan
09dfe3c65d Add more item flags (#69)
* Add more item flags

- Add more item flags
- Modify some of the stat strings

* fix ethereal

* Rename flag
2025-02-09 01:08:58 +02:00
Héctor Giménez
ab7163d111 calculate inventory matrix based on current inv items - fix 2024-10-02 23:13:17 +09:00
Héctor Giménez
df4ef2965a calculate inventory matrix based on current inv items 2024-09-29 22:20:43 +09:00
Héctor Giménez
9842199c15 add items FindByID 2024-09-03 20:39:32 +09:00
Arto Simonyan
a141c9a110 Add runeword flag (#24) 2024-07-01 16:30:29 +03:00
Arto Simonyan
bd7e821149 Add drop struct (#22) 2024-06-25 15:43:52 +03:00
Héctor Giménez
079df7a6ac filter by location type 2024-05-19 20:45:43 +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
c398062b57 bugfixing, performance improvements and added casting frames formula 2024-05-09 20:27:31 +09:00
Héctor Giménez
aa2a1aaeb3 fetch static data from txt files and properly get all the item stats... maybe? 2024-05-08 21:31:40 +09:00
Héctor Giménez
bb0ec2555d NIP parser v2 (#17) 2024-05-05 12:15:08 +09:00
Héctor Giménez
1c8aab1580 Item refactor and more (#1) 2023-08-18 22:33:54 +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
66dd506ba7 basic item filter wip 2023-03-12 19:32:50 +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