Armor Editing In-depth
So as I said before, the 0120 address controls the type of item you're getting.
4 - chest
5 - gloves
6 - boots
7 - shoulders
8 - amulet
9 - ring
For armor, the various subtypes are handled by the 012C address. The number in parenthesis goes into the "Material" address in Xaymar's table if you're using that. The last four types require you to set the type of the address to 2 byte at the least to work.
256 - iron (warrior) (1)
1280 - obsidian (warrior) (5)
4608 - saurian (warrior) (18)
5632 - ice (warrior) (22)
4864 - parrot (ranger) (19)
6656 - linen (ranger) (26)
6400 - silk (mage) (25)
5888 - licht (mage) (23)
6912 - cotton (rogue) (27)
The following subtypes have no class restriction so anyone can use them.
512 - wood (2)
1792 - bone (7)
2560 - copper (10)
2816 - gold (11)
3072 - silver (12)
3328 - emerald (13)
3584 - sapphire (14)
3840 - ruby (15)
4096 - diamond (16)
4352 - sandstone (17)
5120 - mammoth (20)
5376 - plant (21)
6144 - glass (24)
32768 - fire (129)
33024 - unholy (130)
33280 - ice (131)
33536 - wind (132)
These values give common (white) quality. To get other qualities of gear simply add 1 for uncommon (green), 2 for rare (blue), 3 for epic (purple), 4 for legendary (yellow), or 5-255 for red items. Example below:
3840 - common ruby item
3841 - uncommon ruby item
3842 - rare ruby item
3843 - epic ruby item
3844 - legendary ruby item
3845, 3846, 3847 ... 4093, 4094, 4095 - red ruby items
Here is an example of a legendary rogue chestpiece (Shining Cotton Chest Armor of Krazzor +60):
011C - 1
0120 - 4
0124 - 1
0128 - 0
012C - 6916
0130 - 30