radarcolors as delimited textfile

This is where you can discuss UOFiddler, by Turley.

Moderator: POL Developer

Post Reply
Permafrost
New User
Posts: 1
Joined: Mon Oct 22, 2012 12:42 am

radarcolors as delimited textfile

Post by Permafrost » Mon Oct 22, 2012 12:56 am

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!

Turley
POL Developer
Posts: 644
Joined: Sun Feb 05, 2006 4:45 am

Re: radarcolors as delimited textfile

Post by Turley » Mon Oct 22, 2012 8:07 am

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.

Post Reply