So I couldn't remember if the string length is checked by client (I remember at one point it apparently was)
So I simply replaced the last 3 characters in the item name with the quality tag.
Also I simply ran it through a hastily thrown together program to produce the actual thing so I didn't do any sort of calculations to only apply it to certain items (weps). If you want something better you'll prob have to do it yourself.
Ps: Here's the C# code to go about doing it yourself, just throw in a IsWep Calculation and you're good to go.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
StreamReader SR = new StreamReader(File.Open("itemtype.txt", FileMode.Open));
StreamWriter SW = new StreamWriter(File.Create("itemtypenew.txt", 10000));
string ALL = SR.ReadToEnd();
string[] Line = ALL.Split('\n');
string[] Chunk;
string ItemID;
string OutLine = "";
for(int I = 0; I < Line.Length; I++)
{
Line[I] = Line[I].Replace("@@", "&");
Chunk = Line[I].Split('&');
ItemID = Chunk[0];
if (Convert.ToString(ItemID).Length > 5)
{
switch (ItemID[ItemID.Length - 1])
{
case '6':
Chunk[1] = Chunk[1].Remove(Chunk[1].Length - 3);
Chunk[1] += "[R]";
break;
case '7':
Chunk[1] = Chunk[1].Remove(Chunk[1].Length - 3);
Chunk[1] += "[U]";
break;
case '8':
Chunk[1] = Chunk[1].Remove(Chunk[1].Length - 3);
Chunk[1] += "[E]";
break;
case '9':
Chunk[1] = Chunk[1].Remove(Chunk[1].Length - 3);
Chunk[1] += "[S]";
break;
}
}
for (int Z = 0; Z < Chunk.Length; Z++)
{
OutLine += Chunk[Z];
OutLine += "@@";
}
SW.WriteLine(OutLine);
OutLine = "";
}
}
}
}
Really simple stuff. Once done just re-encrypt it and add to client. (using the dat decryptor already posted on epvp all over lol)