So.. We all know those big guns who shows off their BNIP parsed itemlists on the trade fora. Awesome right?
I want that,
without cheating. And after this, go thru the remaining lines that ive checked off during the first question.
Ive made a script that uses OCR to parse text from images. Id like a script that reads the txt file, and asks me a series of questions that ends up creating a line in a sheet in excel. I need the script to learn from my answers, so it can become more independent in time.
Example:Mosaic.txt:
Mosaic
! Scissors Quhab ! (x)
‘MalGulAmn'
1-Hand Damage: 58 to 122
Durability: 55 of 68
(Assassin)
Required Dexterity: 82
Required Strength: 82
Required Level: 53
Claw Class - Very Fast Attack Speed
+50% chance for finishing moves to not consume charges
+2 to Martial Arts (Assassin)
+20% Increased Attack Speed
+207% Enhanced Damage
20% Bonus to Attack Rating
7% Life Leech
+15% to Cold Skill Damage
+15% to Lightning Skill Damage
+8% to Fire Skill Damage
+3 to Phoenix Strike (Assassin)
+3 to Claws of Thunder (Assassin)
+1 to Shadow Warrior (Assassin)
Prevent Monster Heal
Socketed (3)
Shows text while asking questions in GUI next to:
1 question: Is this a D2 item? Showing the preview onwards
If yes, keep going to next question
If no, next txt file
2 q: Is this a Base, Rare, Unique, Set, Magic or Runeword?
;This indicates the item rarity. Defines the sheet in excel i goes to.
;Sheet1: Base
;Sheet2: Rare and so on.
;;Gui should allow for me pressing a chosen value, or writing a new value
3 q: Choose the line that defines the rarity for me to learn, If magic or rare, choose "Magic/rare/base" instead of a line in the txt.
;For runeswords, sets and uniques the line chosen will indicate the version og unique/runeword
4 q: Choose the line that defines the Item Type
;Item types will be present in most sheets, and will be line based. Lines = items, columns = attributes to each item. These will be in each sheet.
;Types are jewlery, charms, weapons, armors, boots, gloves, shields, belts, helmets
5 q: Choose the lines that are important to keep from the .txt file
;Go thruough each line, and learn whats not important over time
6 q: Choose the attribute name for each line
;Indicates the column the data fits into, need to learn from this
;Should add columns if they dont exist
;Gui should allow for me pressing a chosen value, or writing a new value
7 q: How would you shorten this?
;Go through all important lines, giving me an input box to write the shortening. Needs to learn from this
;Gui should allow for me pressing a chosen value, or writing a new value
The above text would end up being:
Runeword sheet
Mosaic Scissors Quhab 15cold 15light 8fire 3ps 3cot 1sw
Am I dreaming? Ive spent many hours running in circles with my favorite chatgpt friend
![:)](//forums.d2jsp.org/images/e/smile.png)