51 Commits

Author SHA1 Message Date
bd96f1e0ac Implement showing item details on hover in the storage displays 2025-09-26 22:54:06 +02:00
85003665c9 Update README with instructions for running the webserver 2025-09-25 21:06:17 +02:00
78c22bc84f Add select all feature to stash tabs 2025-09-25 20:58:20 +02:00
f25180c3cf Update to new bitarray API in the item code huffman decoding 2025-09-25 20:54:13 +02:00
21cf1be326 Fix crash when zombie processes exist in the psutil result 2025-09-25 20:53:11 +02:00
9b288a39dc Add the missing currency template for the currency ui (oops) 2023-10-31 12:08:42 +01:00
8b94171d22 Add stat fire-max for Cathan's Rule 2023-10-31 12:00:41 +01:00
9057f81d5f Add currency display page 2023-10-31 11:44:14 +01:00
2373702a1f fix storage_count to not count items that are removed from storage 2023-10-30 11:05:45 +01:00
4788d0d641 Add simple flask webapp to move items between stash and database 2023-10-29 21:45:55 +01:00
21df28d7bb Split sockets into sockets and socketed_items 2023-10-29 20:54:05 +01:00
423e4368d7 Fix bugs with affixes lookup 2023-10-29 20:48:33 +01:00
5026f58eb8 Fix an issue in rebuilding stash data for socketed items 2023-10-28 06:17:58 +02:00
b73fd9c20e make d2warehouse.db ready for the flask webui
- Add a function to automatically initialize the db with the schema if
   it isn't yet initialized
 - Remove the DROP TABLE queries from the schema in case the above^ goes
   wrong somehow
 - Make Item.write_to_db and Item.load_from_db take a db argument so
   that multiple threads can be supported
 - Add a few properties to d2warehouse.Item to help display items
2023-10-28 06:17:54 +02:00
93b1ad25a6 Add requirements to db write 2023-10-27 18:09:57 +02:00
88ecf7f700 Add prefix/suffix extraction 2023-10-27 17:36:45 +02:00
7251805332 Add req lvl, str & dex to items.json 2023-10-27 16:54:10 +02:00
40276cb0b4 Add basic sqlite3 saving & loading support 2023-10-27 13:48:59 +00:00
4da8e096fe Fix alignemnt bug & set cleanup 2023-10-26 16:50:49 +02:00
f8a628a65f Add stat Extra Blood for Gorefoot 2023-10-26 00:02:40 +02:00
5beb79607a Fix stat Indestructible 2023-10-25 23:51:27 +02:00
c945416bd0 Fix bug with min/max damage parsing 2023-10-25 23:31:42 +02:00
b9f1520b83 Add basic functionality to add and remove items from stash tabs 2023-10-25 22:38:10 +02:00
bd8e468a43 Add item width/height to items.json 2023-10-25 21:07:28 +02:00
91a62f03ac Fix extracting +X to Class Skills with param value 2023-10-25 18:08:48 +02:00
b5b7149c79 Fix issue in item extraction when stackable is "0" instead of "" 2023-10-25 16:41:27 +02:00
074964aa87 Split stackable property away from the class in items.json 2023-10-25 14:51:21 +02:00
1ae1095cd6 Add test for item with implicit 2023-10-25 13:44:05 +02:00
f95564d72f Remove some debug prints 2023-10-25 13:04:52 +02:00
ed32261e36 Move contrib folder 2023-10-25 12:51:00 +02:00
c6ce8a0c45 Fix parsing of implicit mod 2023-10-25 12:48:51 +02:00
a48a833707 Add socketed items parsing 2023-10-24 20:56:55 +02:00
c170241746 Add runeword parsing 2023-10-24 20:26:21 +02:00
29af4ccaa7 Add script for dumping uniques and sets 2023-10-24 20:06:26 +02:00
788394ea7c Add unique & set names 2023-10-24 19:42:40 +02:00
d571d0efbb Add Enhanced, +Min/Max Damage exceptions to contrib/stats.py
Fixes https://gitlab.com/omicron-oss/d2warehouse/-/issues/1
2023-10-24 15:14:17 +02:00
4a57291ba0 Fix several issues revealed by testing and static analysis
- Fix type annotations in d2warehouse.stash
- Fix invalid escape sequences in d2warehouse.item
- Bump the minimum supported version of python to 3.10
- Fix ambiguous variable name in d2warehouse.huffman
2023-10-24 01:29:58 +02:00
223c8edf1c Add CD/CI for testing 2023-10-24 01:19:30 +02:00
78047a057f Add tests for parsing some items and stashes 2023-10-24 00:59:27 +02:00
95664502dc rename item kind to item code 2023-10-23 21:39:08 +02:00
a4f2e1d354 Ignore some flake8 warnings that conflict with black 2023-10-23 20:08:16 +02:00
f6bfad2d4b Switch from affixes.json to stats.json 2023-10-23 17:23:32 +02:00
b72166be0b Add generated stats.json 2023-10-23 16:19:23 +02:00
aa5cc08cdb Add script to parse stats from game data 2023-10-23 16:19:07 +02:00
6abd225558 Add license information and update authors 2023-10-22 18:30:00 +02:00
6ca03cc19c Add enchantment parsing 2023-10-22 17:39:16 +02:00
e99d93a6a0 Add item basetype parsing 2023-10-22 13:10:34 +02:00
643784af52 Add affixes.json
credit to 426ae71394/item.go (L1219C20-L1219C20)
2023-10-22 12:51:56 +02:00
0d4414f3ab Add some useful item data 2023-10-21 23:13:09 +02:00
f9f71e1185 Add parsing of quality specific data 2023-10-21 20:14:28 +02:00