Equipment template format

Overall Format
The equipment template is a single line that is a base64 encoded bit stream as defined in rfc3548 using + and / as the 62nd and 63rd characters respectively.

Numbers of varying number of bits are placed into the bitstream. Assuming that the bit stream already has 4 bits of data (the X's) adding a 5 bit number would have its bits placed like this: +-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+ +-+-+-+-+-+-+
 * 1|0|X|X|X|X| | | | |4|3|2|

Contents of the bitstream

 * Read 4 -> 1 (maybe used for difference on the skill template)
 * Read 4 -> 9 (size of item)
 * Read 4 -> 9 (size of equipment on item)
 * Read 3 -> number of items (max is 111 -> 7: it only stores 1 (actual) weapon set (weapon + shield) and the 5 armor items)
 * for (i=0; i<[number of items]; i++)
 * Read 3 -> item type: (0..weapon, 1..shield/focus, 2..chest, 3..legs, 4..head, 5..feet, 6..hands)
 * Read 9(size of item) -> item ID
 * Read 2 -> number of equipments on item
 * Read 4 -> dye ID: [2=blue, 3=green, 4=purple, 5=red, 6=yellow, 7= brown, 8=orange, 9=grey(or none), 11=?(maybe cannot changable item, ex: elementalist head items)]
 * for (j=0; j < [number of equipments]; j++)
 * Read 9(size of equipment on item) -> equipment ID

Equipment Types

 * 0: Weapon
 * 1: Shield/Focus
 * 2: Chest
 * 3: Legs
 * 4: Head
 * 5: Feet
 * 6: Hands

EquipmentID's

 * 1:PvP Enchanters Footwear
 * 2:PvP Theatrical Footwear
 * 3:PvP Rogue Footwear
 * 4:PvP Wretched Boots
 * 5:PvP Banished Boots
 * 6:PvP Foot Scar Pattern
 * 7:7
 * 8:PvP Stormcloud Shoes
 * 9:PvP Granite Shoes
 * 10:PvP Magma Shoes
 * 11:PvP Frozen Shoes
 * 12:PvP Consecrated Sandals
 * 13:PvP Ascetic's Foot Design
 * 14:PvP Militant Sandals
 * 15:PvP Dragon Boots
 * 16:PvP Gladiator Boots
 * 17:PvP Plated Boots
 * 18:PvP Druids Boots
 * 19:PvP Fur-Lined Boots
 * 20:PvP Studded Leather Boots
 * 21:PvP Drakescale Boots
 * 22:PvP Enchanters Attire
 * 23:PvP Theatrical Attire
 * 24:PvP Rogue Attire
 * 25:PvP Wretched Tunic
 * 26:PvP Banished Tunic
 * 27:PvP Chest Scar Pattern
 * 28:PvP Stormcloud Robes
 * 29:PvP Granite Robes
 * 30:PvP Magma Robes
 * 31:PvP Frozen Robes
 * 32:PvP Consecrated Vestments
 * 33:PvP Ascetic's Chest Design
 * 34:PvP Militant Vestmants
 * 35:PvP Dragon Curass
 * 36:PvP Gladiator Curass
 * 37:PvP Plated Curass
 * 38:PvP Druids Vest
 * 39:PvP Fur-Lined Vest
 * 40:PvP Studded Leather Vest
 * 41:PvP Drakescale Vest
 * 42:PvP Enchanters Gloves
 * 43:PvP Theatrical Gloves
 * 44:PvP Rogue Gloves
 * 45:PvP Wretched Gloves
 * 46:PvP Banished Gloves
 * 47:PvP Arm Scar Pattern
 * 48:PvP Stormcloud Gloves
 * 49:PvP Granite Gloves
 * 50:PvP Magma Gloves
 * 51:PvP Frozen Gloves
 * 52:PvP Consecrated Handwraps
 * 53:PvP Militant Sandals
 * 54:PvP Militant Handwraps
 * 55:PvP Dragon Gauntlets
 * 56:PvP Gladiator Gauntlets
 * 57:PvP Plated Gauntlets
 * 58:58
 * 59:PvP Druids Gloves
 * 60:PvP Fur-Lined Gloves
 * 61:PvP Studded Leather Gloves
 * 62:PvP Drakescale Gloves
 * 63:PvP Imposing Mask
 * 64:PvP Sleek Mask
 * 65:PvP Costume Mask
 * 66:PvP Animal Mask
 * 67:PvP Ragged Scar Pattern
 * 68:PvP Wicked Scar Pattern
 * 69:PvP Vile Scar Pattern
 * 70:PvP Devilish Scar Pattern
 * 71:PvP Storm's Eye
 * 72:PvP Stone's Eye
 * 73:PvP All Seeing Eye
 * 74:PvP Flame's Eye
 * 75:PvP Glacier's Eye
 * 76:PvP Divine Scalp Design
 * 77:PvP Healer Scalp Design
 * 78:PvP Protector Scalp Design
 * 79:PvP Smiting Scalp Design
 * 80:PvP Executions Helm
 * 81:PvP Dwavern Helm
 * 82:82
 * 83:PvP Duelist Helm
 * 84:PvP Brute Helm
 * 85:PvP Gladiator Helm
 * 86:PvP Tamer Mask
 * 87:PvP Archer Mask
 * 88:PvP Hunter Mask
 * 89:PvP Traveler Mask
 * 90:PvP Enchanters Hose
 * 91:PvP Theatrical Hose
 * 92:PvP Rogue Hose
 * 93:PvP Wretched Leggings
 * 94:PvP Banished Leggings
 * 95:PvP Leg Scar Pattern
 * 96:PvP Stormcloud Leggings
 * 97:PvP Granite Leggings
 * 98:PvP Magma Leggings
 * 99:PvP Frozen Leggings
 * 100:PvP Consecrated Pants
 * 101:PvP Ascetic's Leg Designs
 * 102:PvP Militant Pants
 * 103:PvP Dragon Leggings
 * 104:PvP Gladiator Leggings
 * 105:PvP Plated Leggings
 * 106:PvP Druids Leggings
 * 107:PvP Fur-Lined Leggings
 * 108:PvP Studded Leather Leggings
 * 109:PvP Drakescale Leggings
 * 110:PvP Axe
 * 111:Flatbow
 * 112:Hornbow
 * 113:Longbow
 * 114:Shortbow
 * 115:Recurve Bow
 * 116:PvP Inscribed Chakram
 * 117:PvP Gilded Artifact
 * 118:PvP Jeweled Chakram
 * 119:PvP Jeweled Chalice
 * 120:PvP Idol
 * 121:PvP Accursed Icon
 * 122:PvP Grim Cesta
 * 123:PvP Bone Idol
 * 124:PvP Storm Artifact
 * 125:PvP Earth Scroll
 * 126:PvP Golden Chalice
 * 127:PvP Flame Artifact
 * 128:PvP Frost Artifact
 * 129:PvP Divine Symbol
 * 130:PvP Healing Ankh
 * 131:PvP Protective Icon
 * 132:PvP Hallowed Idol
 * 133:PvP Hammer
 * 134:PvP Cane Dommination
 * 135:PvP Crystal Wand
 * 136:PvP Truncheon
 * 137:PvP Deathly Cesta
 * 138:PvP Accursed Rod
 * 139:PvP Air Wand
 * 140:PvP Earth Wand
 * 141:PvP Fire Wand
 * 142:PvP Water Wand
 * 143:PvP Holy Rod
 * 144:PvP Smiting Rod
 * 145:PvP Strength Shield
 * 146:PvP Tactics Shield
 * 147:PvP Inscribed Staff
 * 148:PvP Inscribed Staff
 * 149:PvP Blood Staff
 * 150:PvP Dead Staff
 * 151:PvP Accursed Staff
 * 152:PvP Air Staff
 * 153:PvP Earth Staff
 * 154:PvP Fire Staff
 * 155:PvP Water Staff
 * 156:PvP Holy Staff
 * 157:PvP Smiting Staff
 * 158:PvP Sword
 * 159:PvP Shing Jea Shoes
 * 160:PvP Shing Jea Guise
 * 161:PvP Shing Jea Gloves
 * 162:PvP Shing Jea Leggings
 * 163:PvP Seitung Shoes
 * 164:PvP Seitung Guise
 * 165:PvP Seitung Gloves
 * 166:PvP Seitung Leggings
 * 167:PvP Imperial Shoes
 * 168:PvP Imperial Guise
 * 169:PvP Imperial Gloves
 * 170:PvP Imperial Leggings
 * 171:PvP Canthan Shoes
 * 172:PvP Canthan Guise
 * 173:PvP Canthan Gloves
 * 174:PvP Canthan Leggings
 * 175:PvP Exotic Shoes
 * 176:PvP Exotic Guise
 * 177:PvP Exotic Gloves
 * 178:PvP Exotic Leggings
 * 179:PvP Canthan Footwear
 * 180:PvP Canthan Attire
 * 181:PvP Canthan Gloves
 * 182:PvP Canthan Hose
 * 183:PvP Krytan Footwear
 * 184:PvP Krytan Attire
 * 185:PvP Krytan Gloves
 * 186:PvP Krytan Hose
 * 187:PvP Shing Jea Footwear
 * 188:PvP Shing Jea Attire
 * 189:PvP Shing Jea Gloves
 * 190:PvP Shing Jea Hose
 * 191:PvP Krytan Boots[Necro]
 * 192:PvP Krytan Tunic[Necro]
 * 193:PvP Krytan Gloves[Necro]
 * 194:PvP Krytan Leggings[Necro]
 * 195:195
 * 196:196
 * 197:197
 * 198:198
 * 199:199
 * 200:200
 * 201:201
 * 202:202
 * 203:PvP Krytan Shoes
 * 204:PvP Krytan Robes
 * 205:PvP Krytan Gloves
 * 206:PvP Krytan Leggings
 * 207:PvP Canthan Shoes
 * 208:PvP Canthan Robes
 * 209:PvP Canthan Gloves
 * 210:PvP Canthan Leggings
 * 211:PvP Shing Jea Shoes
 * 212:PvP Shing Jea Robes
 * 213:PvP Shing Jea Gloves
 * 214:PvP Shing Jea Leggings
 * 215:PvP Canthan Sandals
 * 216:PvP Canthan Vestmants
 * 217:PvP Canthan Handwraps
 * 218:PvP Canthan Pants
 * 219:PvP Krytan Sandals
 * 220:PvP Krytan Vestmants
 * 221:PvP Krytan Handwraps
 * 222:PvP Krytan Pants
 * 223:PvP Shing Jea Sandals
 * 224:PvP Shing Jea Vestmants
 * 225:PvP Shing Jea Handwraps
 * 226:PvP Shing Jea Pants
 * 227:PvP Krytan Boots
 * 228:PvP Krytan Curass
 * 229:PvP Krytan Gauntlets
 * 230:PvP Krytan Leggings
 * 231:PvP Shing Jea Boots
 * 232:PvP Shing Jea Curass
 * 233:PvP Shing Jea Gauntlets
 * 234:PvP Shing Jea Leggings
 * 235:PvP Canthan Boots
 * 236:PvP Canthan Curass
 * 237:PvP Canthan Gauntlets
 * 238:PvP Canthan Leggings
 * 239:PvP Canthan Vest
 * 240:PvP Canthan Gloves
 * 241:PvP Canthan Leggings
 * 242:PvP Canthan Boots
 * 243:PvP Shing Jea Boots
 * 244:PvP Shing Jea Vest
 * 245:PvP Shing Jea Gloves
 * 246:PvP Shing Jea Leggings
 * 247:PvP Krytan Boots
 * 248:PvP Krytan Vest
 * 249:PvP Krytan Gloves
 * 250:PvP Krytan Leggings
 * 251:PvP Exotic Shoes
 * 252:PvP Exotic Raiment
 * 253:PvP Exotic Bangles
 * 254:PvP Exotic Leggings
 * 255:PvP Canthan Shoes
 * 256:PvP Canthan Raiment
 * 257:PvP Canthan Bangles
 * 258:PvP Canthan Leggings
 * 259:PvP Imperial Shoes
 * 260:PvP Imperial Raiment
 * 261:PvP Imperial Bangles
 * 262:PvP Imperial Leggings
 * 263:PvP Shing Jea Shoes
 * 264:PvP Shing Jea Raiment
 * 265:PvP Shing Jea Bangles
 * 266:PvP Shing Jea Leggings
 * 267:PvP Seitung Shoes
 * 268:PvP Seitung Raiment
 * 269:PvP Seitung Bangles
 * 270:PvP Seitung Leggings
 * 271:PvP Bladed Mask
 * 272:PvP Keen Mask
 * 273:PvP Deadly Mask
 * 274:PvP Shadow Mask
 * 275:PvP Communing Headwrap
 * 276:PvP Summoning Headwrap
 * 277:PvP Restoring Headwrap
 * 278:PvP Channeling Headwrap
 * 279:PvP Daggers
 * 280:PvP Communing Focus
 * 281:PvP Spawning Focus
 * 282:PvP Restoration Focus
 * 283:PvP Channeling Focus
 * 284:PvP Communing Sceptor
 * 285:PvP Spawning Sceptor
 * 286:PvP Channeling Sceptor
 * 287:PvP Communing Staff
 * 288:PvP Spawning Staff
 * 289:PvP Channeling Staff
 * 290:PvP Reaper Hood
 * 291:PvP Mystic Hood
 * 292:PvP Dunewalker Hood
 * 293:PvP Windwalker Hood
 * 294:PvP Elonian Shoes
 * 295:PvP Elonian Robes
 * 296:PvP Elonian Vambraces
 * 297:PvP Elonian Leggings
 * 298:PvP Instani Shoes
 * 299:PvP Instani Robes
 * 300:PvP Instani Vambraces
 * 301:PvP Instani Leggings
 * 302:PvP Sunspear Shoes
 * 303:PvP Sunspear Robes
 * 304:PvP Sunspear Vambraces
 * 305:PvP Sunspear Leggings
 * 306:PvP Spear Crest
 * 307:PvP Exalted Crest
 * 308:PvP Vocal Crest
 * 309:PvP Command Crest
 * 310:PvP Istani Sandals
 * 311:PvP Istani Raiment
 * 312:PvP Istani Armguards
 * 313:PvP Istani Leggings
 * 314:PvP Sunspear Sandals
 * 315:PvP Sunspear Raiment
 * 316:PvP Sunspear Armguards
 * 317:PvP Sunspear Leggings
 * 318:PvP Elonian Sandals
 * 319:PvP Elonian Raiment
 * 320:PvP Elonian Armguards
 * 321:PvP Elonian Leggings
 * 322:PvP Scythe
 * 323:PvP Motivation Sheild
 * 324:PvP Command Shield
 * 325:PvP Spear
 * 326:PvP Arcane Sceptor
 * 327:PvP Cane Illusion
 * 328:PvP Crimson Claw Sceptor
 * 329:PvP Voltaic Wand
 * 330:PvP Holy Rod Healing
 * 331:PvP Holy Rod Prot
 * 332:PvP Arcane Staff
 * 333:PvP Scrying Glass Staff
 * 334:PvP Soul Spire
 * 335:PvP Ether Staff
 * 336:PvP Holy Staff Healing
 * 337:PvP Holy Staff Protection
 * 338:PvP Restoration Sceptor
 * 339:PvP Restoration Staff

EquipmentModID's

 * 1: Icy Axe Haft
 * 2: Ebon Axe Haft
 * 3: Shocking Axe Haft
 * 4: Firey Axe Haft
 * 5: Icy Bow String
 * 6: Ebon Bow String
 * 7: Shocking Bow String