Page 1 of 1

radarcolors as delimited textfile

Posted: Mon Oct 22, 2012 12:56 am
by Permafrost
Hallo there,

I would like to export a delimited textfile which contains landtiles and items with their respective radarcolors (best would be as r;g;b).
In the sourcecode there exists a public static function to at least save all colors:

Code: Select all

public static void ExportToCSV(string FileName)
        {
            using (StreamWriter Tex = new StreamWriter(new FileStream(FileName, FileMode.Create, FileAccess.ReadWrite), System.Text.Encoding.GetEncoding(1252)))
            {
                Tex.WriteLine("ID;Color");

                for (int i = 0; i < m_Colors.Length; ++i)
                {
                    Tex.WriteLine(String.Format("0x{0:X4};{1}", i, m_Colors[i]));
                }
            }
        }
But it doesn't seem implemented in the GUI if I am not wrong. Could you please implement it and if it already is: Can you tell me where to find the option in the GUI.

Thank you very much!

Re: radarcolors as delimited textfile

Posted: Mon Oct 22, 2012 8:07 am
by Turley
Its fully implemented inside the RadaColor tab, but you have to compile UOFiddler by your self. The last official released version doesnt have it included.