Ok, so I figured out some of the ancient item formulas.
In order for an item to be ancient, that specific item has to be part of an ancient set, like you can't have Agnis Gloves since the Agnis set has only helm, armor, pants and a ring.
The code for these items is the same, just like for the normal items, with the only difference that you need to add another 5 at the end.
Example:
Adamantine Armor code: 7 26 0 0 0 0 0 0
Agnis Adamantine Armor code: 7 26 0 0 0 0 0 5
But there are some tricks, the same item can be contained by multiple sets (Like Katana ring of poison and Agnis Ring of poison), in this case you have to increase or decrease that last 5
Example:
Kantata's ring of poison code: 13 9 0 0 0 0 0 5
Agnis ring of poison code: 13 9 0 0 0 0 0 6
I hope you guys will find this handy
If you find any other things, feel free to share them with us.
STILL WANTED: Codes for socket items (with controlled number of slots) !!!