├── ScriptEditor ├── Resources │ ├── orc.ico │ ├── gnome.ico │ ├── mage.ico │ ├── main.ico │ ├── gitlink1.png │ ├── gitlink2.png │ ├── MouseOver.wav │ ├── background.png │ ├── conditions.ico │ ├── cast editor button.png │ ├── event editor button.png │ ├── script editor button.png │ ├── condition_editor_button.png │ ├── cast editor button black.png │ ├── event editor button black.png │ ├── script editor button black.png │ └── condition_editor_button_black.png ├── bin │ └── Release │ │ └── MySql.Data.dll ├── App.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ └── AssemblyInfo.cs ├── MixedListSorter.cs ├── CreatureEvent.cs ├── DataFinderForms │ ├── FormSoundFinder.cs │ ├── FormSoundFinder.Designer.cs │ ├── FormAreaFinder.cs │ ├── FormItemFinder.cs │ ├── FormTaxiFinder.cs │ ├── FormQuestFinder.cs │ ├── FormFactionFinder.cs │ ├── FormGameObjectFinder.cs │ ├── FormTaxiFinder.Designer.cs │ ├── FormCreatureFinder.cs │ ├── FormSpellFinder.cs │ ├── FormEventFinder.cs │ ├── FormWeaponFinder.cs │ ├── FormAreaFinder.Designer.cs │ ├── FormTextFinder.Designer.cs │ ├── FormQuestFinder.Designer.cs │ ├── FormWeaponFinder.Designer.cs │ ├── FormGameObjectFinder.Designer.cs │ ├── FormCreatureFinder.Designer.cs │ ├── FormFactionTemplateFinder.cs │ ├── FormItemFinder.Designer.cs │ ├── FormFactionFinder.Designer.cs │ ├── FormFactionTemplateFinder.Designer.cs │ ├── FormTextFinder.cs │ ├── FormSpellFinder.Designer.cs │ ├── FormEventFinder.Designer.cs │ ├── FormAreaFinder.resx │ ├── FormCreatureFinder.resx │ ├── FormDataFinder.resx │ ├── FormEventFinder.resx │ ├── FormFactionFinder.resx │ ├── FormItemFinder.resx │ ├── FormQuestFinder.resx │ ├── FormSoundFinder.resx │ ├── FormSpellFinder.resx │ ├── FormTaxiFinder.resx │ ├── FormTextFinder.resx │ ├── FormWeaponFinder.resx │ └── FormGameObjectFinder.resx ├── FormMaskCalculator.cs ├── ScriptAction.cs ├── FormRaceMask.cs ├── FormClassMask.cs ├── FormMaskCalculator.Designer.cs ├── FormCastFlags.resx ├── FormClassMask.resx ├── FormRaceMask.resx ├── FormCastsEditor.resx ├── FormMaskCalculator.resx └── FormTargetSelectFlags.resx ├── README.md └── ScriptEditor.sln /ScriptEditor/Resources/orc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/orc.ico -------------------------------------------------------------------------------- /ScriptEditor/Resources/gnome.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/gnome.ico -------------------------------------------------------------------------------- /ScriptEditor/Resources/mage.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/mage.ico -------------------------------------------------------------------------------- /ScriptEditor/Resources/main.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/main.ico -------------------------------------------------------------------------------- /ScriptEditor/Resources/gitlink1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/gitlink1.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/gitlink2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/gitlink2.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/MouseOver.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/MouseOver.wav -------------------------------------------------------------------------------- /ScriptEditor/Resources/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/background.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/conditions.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/conditions.ico -------------------------------------------------------------------------------- /ScriptEditor/bin/Release/MySql.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/bin/Release/MySql.Data.dll -------------------------------------------------------------------------------- /ScriptEditor/Resources/cast editor button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/cast editor button.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/event editor button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/event editor button.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/script editor button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/script editor button.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/condition_editor_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/condition_editor_button.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/cast editor button black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/cast editor button black.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/event editor button black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/event editor button black.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/script editor button black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/script editor button black.png -------------------------------------------------------------------------------- /ScriptEditor/Resources/condition_editor_button_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brotalnia/ScriptEditor/HEAD/ScriptEditor/Resources/condition_editor_button_black.png -------------------------------------------------------------------------------- /ScriptEditor/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ScriptEditor/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ScriptEditor 2 | Database scripts editor for the VMaNGOS emulator. 3 | 4 | Preview: 5 | ![script editor gui](https://i.imgur.com/zxgHXAv.png) 6 | 7 | The point of this software is to make scripting content more accessible by removing the need to know anything about programming or SQL syntax. All the script information is presented visually with proper field names for each parameter based on the command and previews for things such as texts. The editor will automatically generate the proper SQL queries when you are done working, so you may easily pull request your changes. 8 | -------------------------------------------------------------------------------- /ScriptEditor.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScriptEditor", "ScriptEditor\ScriptEditor.csproj", "{9A072A41-B868-4A32-997E-04670CCB9905}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {9A072A41-B868-4A32-997E-04670CCB9905}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {9A072A41-B868-4A32-997E-04670CCB9905}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {9A072A41-B868-4A32-997E-04670CCB9905}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {9A072A41-B868-4A32-997E-04670CCB9905}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /ScriptEditor/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace ScriptEditor.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ScriptEditor/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ScriptEditor")] 9 | [assembly: AssemblyDescription("VMaNGOS Script Editor")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Vanilla MaNGOS")] 12 | [assembly: AssemblyProduct("ScriptEditor")] 13 | [assembly: AssemblyCopyright("Copyright © brotalnia 2025")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("9a072a41-b868-4a32-997e-04670ccb9905")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("8.7.0.0")] 36 | [assembly: AssemblyFileVersion("8.7.0.0")] 37 | -------------------------------------------------------------------------------- /ScriptEditor/MixedListSorter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace ScriptEditor 5 | { 6 | class MixedListSorter : System.Collections.IComparer 7 | { 8 | public int Column = 0; 9 | public System.Windows.Forms.SortOrder Order = SortOrder.Ascending; 10 | public int Compare(object x, object y) // IComparer Member 11 | { 12 | if (!(x is ListViewItem)) 13 | return (0); 14 | if (!(y is ListViewItem)) 15 | return (0); 16 | 17 | ListViewItem l1 = (ListViewItem)x; 18 | ListViewItem l2 = (ListViewItem)y; 19 | 20 | int intValue1; 21 | 22 | if (Int32.TryParse(l1.SubItems[Column].Text, out intValue1)) 23 | { 24 | int intValue2; 25 | Int32.TryParse(l2.SubItems[Column].Text, out intValue2); 26 | 27 | if (Order == SortOrder.Ascending) 28 | { 29 | return intValue1.CompareTo(intValue2); 30 | } 31 | else 32 | { 33 | return intValue2.CompareTo(intValue1); 34 | } 35 | } 36 | else 37 | { 38 | string str1 = l1.SubItems[Column].Text; 39 | string str2 = l2.SubItems[Column].Text; 40 | 41 | if (Order == SortOrder.Ascending) 42 | { 43 | return str1.CompareTo(str2); 44 | } 45 | else 46 | { 47 | return str2.CompareTo(str1); 48 | } 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /ScriptEditor/CreatureEvent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ScriptEditor 7 | { 8 | class CreatureEvent 9 | { 10 | public uint Id; 11 | public uint CreatureId; 12 | public uint Type; 13 | public uint Chance; 14 | public uint InversePhaseMask; 15 | public uint ConditionId; 16 | public uint Flags; 17 | public int Param1; 18 | public int Param2; 19 | public int Param3; 20 | public int Param4; 21 | public uint ScriptId1; 22 | public uint ScriptId2; 23 | public uint ScriptId3; 24 | public string Comment; 25 | 26 | public CreatureEvent(uint id, uint creatureid, uint conditionid, uint type, uint inversephasemask, uint chance, uint flags, int param1, int param2, int param3, int param4, uint scriptid1, uint scriptid2, uint scriptid3, string comment) 27 | { 28 | Id = id; 29 | CreatureId = creatureid; 30 | Type = type; 31 | Chance = chance; 32 | InversePhaseMask = inversephasemask; 33 | ConditionId = conditionid; 34 | Flags = flags; 35 | Param1 = param1; 36 | Param2 = param2; 37 | Param3 = param3; 38 | Param4 = param4; 39 | ScriptId1 = scriptid1; 40 | ScriptId2 = scriptid2; 41 | ScriptId3 = scriptid3; 42 | Comment = comment; 43 | } 44 | public CreatureEvent(uint id, uint creatureid) 45 | { 46 | Id = id; 47 | CreatureId = creatureid; 48 | Type = 0; 49 | Chance = 100; 50 | InversePhaseMask = 0; 51 | ConditionId = 0; 52 | Flags = 0; 53 | Param1 = 0; 54 | Param2 = 0; 55 | Param3 = 0; 56 | Param4 = 0; 57 | ScriptId1 = 0; 58 | ScriptId2 = 0; 59 | ScriptId3 = 0; 60 | Comment = "New Event - Edit me!"; 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormSoundFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormSoundFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormSoundFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (SoundInfo sound in GameData.SoundInfoList) 20 | { 21 | AddSoundToListView(sound); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (SoundInfo sound in GameData.SoundInfoList) 27 | { 28 | if (sound.ID == id) 29 | AddSoundToListView(sound); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (SoundInfo sound in GameData.SoundInfoList) 35 | { 36 | if ((sound.ID >= minId) && (sound.ID <= maxId)) 37 | AddSoundToListView(sound); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (SoundInfo sound in GameData.SoundInfoList) 43 | { 44 | if (sound.Name.ToUpper().Contains(searchText)) 45 | AddSoundToListView(sound); 46 | } 47 | } 48 | private void AddSoundToListView(SoundInfo sound) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = sound.ID.ToString(); 52 | lvi.SubItems.Add(sound.Name); 53 | 54 | // Add this sound entry to the listview. 55 | lstData.Items.Add(lvi); 56 | } 57 | private void FormSoundFinder_ResizeEnd(object sender, EventArgs e) 58 | { 59 | lstData.Columns[1].Width = lstData.ClientSize.Width - lstData.Columns[0].Width; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormSoundFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormSoundFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.SuspendLayout(); 33 | // 34 | // lstData 35 | // 36 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 37 | this.columnName}); 38 | // 39 | // columnName 40 | // 41 | this.columnName.Text = "Name"; 42 | this.columnName.Width = 595; 43 | // 44 | // FormSoundFinder 45 | // 46 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 47 | this.ClientSize = new System.Drawing.Size(672, 393); 48 | this.Name = "FormSoundFinder"; 49 | this.Text = "Sound Finder"; 50 | this.ResizeEnd += new System.EventHandler(this.FormSoundFinder_ResizeEnd); 51 | this.ResumeLayout(false); 52 | this.PerformLayout(); 53 | 54 | } 55 | 56 | #endregion 57 | 58 | private System.Windows.Forms.ColumnHeader columnName; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormAreaFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormAreaFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormAreaFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (AreaInfo area in GameData.AreaInfoList) 20 | { 21 | AddAreaToListView(area); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (AreaInfo area in GameData.AreaInfoList) 27 | { 28 | if (area.ID == id) 29 | AddAreaToListView(area); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (AreaInfo area in GameData.AreaInfoList) 35 | { 36 | if ((area.ID >= minId) && (area.ID <= maxId)) 37 | AddAreaToListView(area); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (AreaInfo area in GameData.AreaInfoList) 43 | { 44 | if (area.Name.ToUpper().Contains(searchText)) 45 | AddAreaToListView(area); 46 | } 47 | } 48 | private void AddAreaToListView(AreaInfo area) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = area.ID.ToString(); 52 | lvi.SubItems.Add(area.Map.ToString()); 53 | lvi.SubItems.Add(area.Zone.ToString()); 54 | lvi.SubItems.Add(area.Name); 55 | 56 | // Add this area to the listview. 57 | lstData.Items.Add(lvi); 58 | } 59 | private void FormAreaFinder_ResizeEnd(object sender, EventArgs e) 60 | { 61 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width; 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormItemFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormItemFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormItemFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (ItemInfo item in GameData.ItemInfoList) 20 | { 21 | AddItemToListView(item); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (ItemInfo item in GameData.ItemInfoList) 27 | { 28 | if (item.ID == id) 29 | AddItemToListView(item); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (ItemInfo item in GameData.ItemInfoList) 35 | { 36 | if ((item.ID >= minId) && (item.ID <= maxId)) 37 | AddItemToListView(item); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (ItemInfo item in GameData.ItemInfoList) 43 | { 44 | if (item.Name.ToUpper().Contains(searchText)) 45 | AddItemToListView(item); 46 | } 47 | } 48 | private void AddItemToListView(ItemInfo item) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = item.ID.ToString(); 52 | lvi.SubItems.Add(item.RequiredLevel.ToString()); 53 | lvi.SubItems.Add(item.ItemLevel.ToString()); 54 | lvi.SubItems.Add(item.Name); 55 | 56 | // Add this item to the listview. 57 | lstData.Items.Add(lvi); 58 | } 59 | private void FormItemFinder_ResizeEnd(object sender, EventArgs e) 60 | { 61 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width; 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormTaxiFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormTaxiFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormTaxiFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (TaxiInfo path in GameData.TaxiInfoList) 20 | { 21 | AddPathToListView(path); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (TaxiInfo path in GameData.TaxiInfoList) 27 | { 28 | if (path.ID == id) 29 | AddPathToListView(path); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (TaxiInfo path in GameData.TaxiInfoList) 35 | { 36 | if ((path.ID >= minId) && (path.ID <= maxId)) 37 | AddPathToListView(path); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (TaxiInfo path in GameData.TaxiInfoList) 43 | { 44 | if (path.Source.ToUpper().Contains(searchText) || path.Destination.ToUpper().Contains(searchText)) 45 | AddPathToListView(path); 46 | } 47 | } 48 | private void AddPathToListView(TaxiInfo path) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = path.ID.ToString(); 52 | lvi.SubItems.Add(path.Source); 53 | lvi.SubItems.Add(path.Destination); 54 | 55 | // Add this taxi path to the listview. 56 | lstData.Items.Add(lvi); 57 | } 58 | private void FormTaxiFinder_ResizeEnd(object sender, EventArgs e) 59 | { 60 | lstData.Columns[1].Width = (lstData.ClientSize.Width - lstData.Columns[0].Width) / 2; 61 | lstData.Columns[2].Width = (lstData.ClientSize.Width - lstData.Columns[0].Width) / 2; 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormQuestFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormQuestFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormQuestFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | 18 | protected override void AddAllData() 19 | { 20 | foreach (QuestInfo quest in GameData.QuestInfoList) 21 | { 22 | AddQuestToListView(quest); 23 | } 24 | } 25 | protected override void AddById(uint id) 26 | { 27 | foreach (QuestInfo quest in GameData.QuestInfoList) 28 | { 29 | if (quest.ID == id) 30 | AddQuestToListView(quest); 31 | } 32 | } 33 | protected override void AddByIdRange(uint minId, uint maxId) 34 | { 35 | foreach (QuestInfo quest in GameData.QuestInfoList) 36 | { 37 | if ((quest.ID >= minId) && (quest.ID <= maxId)) 38 | AddQuestToListView(quest); 39 | } 40 | } 41 | protected override void AddByText(string searchText) 42 | { 43 | foreach (QuestInfo quest in GameData.QuestInfoList) 44 | { 45 | if (quest.Title.ToUpper().Contains(searchText)) 46 | AddQuestToListView(quest); 47 | } 48 | } 49 | private void AddQuestToListView(QuestInfo quest) 50 | { 51 | ListViewItem lvi = new ListViewItem(); 52 | lvi.Text = quest.ID.ToString(); 53 | lvi.SubItems.Add(quest.MinLevel.ToString()); 54 | lvi.SubItems.Add(quest.QuestLevel.ToString()); 55 | lvi.SubItems.Add(quest.Title); 56 | 57 | // Add this quest to the listview. 58 | lstData.Items.Add(lvi); 59 | } 60 | 61 | private void FormQuestFinder_ResizeEnd(object sender, EventArgs e) 62 | { 63 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width; 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /ScriptEditor/FormMaskCalculator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace ScriptEditor 11 | { 12 | public partial class FormMaskCalculator : Form 13 | { 14 | public uint ReturnValue { get; set; } // we return the mask in this 15 | public FormMaskCalculator(uint phasemask) 16 | { 17 | InitializeComponent(); 18 | ReturnValue = phasemask; 19 | } 20 | private void FormMaskCalculator_Load(object sender, EventArgs e) 21 | { 22 | UpdatePhasesList(); 23 | } 24 | private void UpdatePhasesList() 25 | { 26 | if (ReturnValue == 0) 27 | { 28 | txtPhasesList.Text = "No phases are excluded."; 29 | return; 30 | } 31 | 32 | txtPhasesList.Text = ""; 33 | for (int i = 0; i < 32; i++) 34 | { 35 | uint current = (uint)Math.Pow(2, i); 36 | if ((ReturnValue & current) != 0) 37 | txtPhasesList.Text += "Phase " + i + ": 0x" + current.ToString("x8") + "\r\n"; 38 | } 39 | txtPhasesList.Text += "\r\n-----------------\r\nTotal mask value: " + ReturnValue.ToString(); 40 | } 41 | private void btnPhaseAdd_Click(object sender, EventArgs e) 42 | { 43 | uint phase = 0; 44 | if ((txtPhase.Text.Length == 0) || (!uint.TryParse(txtPhase.Text, out phase))) 45 | return; 46 | 47 | uint mask = (uint)Math.Pow(2, phase); 48 | if ((ReturnValue & mask) != 0) 49 | return; 50 | else 51 | ReturnValue |= mask; 52 | 53 | UpdatePhasesList(); 54 | } 55 | 56 | private void btnPhaseRemove_Click(object sender, EventArgs e) 57 | { 58 | uint phase = 0; 59 | if ((txtPhase.Text.Length == 0) || (!uint.TryParse(txtPhase.Text, out phase))) 60 | return; 61 | 62 | uint mask = (uint)Math.Pow(2, phase); 63 | if ((ReturnValue & mask) != 0) 64 | ReturnValue -= mask; 65 | else 66 | return; 67 | 68 | UpdatePhasesList(); 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormFactionFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormFactionFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormFactionFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (FactionInfo faction in GameData.FactionInfoList) 20 | { 21 | AddFactionToListView(faction); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (FactionInfo faction in GameData.FactionInfoList) 27 | { 28 | if (faction.ID == id) 29 | AddFactionToListView(faction); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (FactionInfo faction in GameData.FactionInfoList) 35 | { 36 | if ((faction.ID >= minId) && (faction.ID <= maxId)) 37 | AddFactionToListView(faction); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (FactionInfo faction in GameData.FactionInfoList) 43 | { 44 | if (faction.Name.ToUpper().Contains(searchText)) 45 | AddFactionToListView(faction); 46 | } 47 | } 48 | private void AddFactionToListView(FactionInfo faction) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = faction.ID.ToString(); 52 | lvi.SubItems.Add(faction.Reputation.ToString()); 53 | lvi.SubItems.Add(faction.Team.ToString()); 54 | lvi.SubItems.Add(faction.Name); 55 | lvi.SubItems.Add(faction.Description); 56 | 57 | // Add this faction to the listview. 58 | lstData.Items.Add(lvi); 59 | } 60 | private void FormFactionFinder_ResizeEnd(object sender, EventArgs e) 61 | { 62 | lstData.Columns[4].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width - lstData.Columns[3].Width; 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormGameObjectFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormGameObjectFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormGameObjectFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | 18 | protected override void AddAllData() 19 | { 20 | foreach (GameObjectInfo gameobject in GameData.GameObjectInfoList) 21 | { 22 | AddGameObjectToListView(gameobject); 23 | } 24 | } 25 | protected override void AddById(uint id) 26 | { 27 | foreach (GameObjectInfo gameobject in GameData.GameObjectInfoList) 28 | { 29 | if (gameobject.ID == id) 30 | AddGameObjectToListView(gameobject); 31 | } 32 | } 33 | protected override void AddByIdRange(uint minId, uint maxId) 34 | { 35 | foreach (GameObjectInfo gameobject in GameData.GameObjectInfoList) 36 | { 37 | if ((gameobject.ID >= minId) && (gameobject.ID <= maxId)) 38 | AddGameObjectToListView(gameobject); 39 | } 40 | } 41 | protected override void AddByText(string searchText) 42 | { 43 | foreach (GameObjectInfo gameobject in GameData.GameObjectInfoList) 44 | { 45 | if (gameobject.Name.ToUpper().Contains(searchText)) 46 | AddGameObjectToListView(gameobject); 47 | } 48 | } 49 | private void AddGameObjectToListView(GameObjectInfo gameobject) 50 | { 51 | ListViewItem lvi = new ListViewItem(); 52 | lvi.Text = gameobject.ID.ToString(); 53 | lvi.SubItems.Add(gameobject.Type.ToString()); 54 | lvi.SubItems.Add(gameobject.DisplayId.ToString()); 55 | lvi.SubItems.Add(gameobject.Name); 56 | 57 | // Add this gameobject to the listview. 58 | lstData.Items.Add(lvi); 59 | } 60 | private void FormGameObjectFinder_ResizeEnd(object sender, EventArgs e) 61 | { 62 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width; 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormTaxiFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormTaxiFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnSource = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnDestination = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.SuspendLayout(); 34 | // 35 | // lstData 36 | // 37 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 38 | this.columnSource, 39 | this.columnDestination}); 40 | // 41 | // columnSource 42 | // 43 | this.columnSource.Text = "Source"; 44 | this.columnSource.Width = 295; 45 | // 46 | // columnDestination 47 | // 48 | this.columnDestination.Text = "Destination"; 49 | this.columnDestination.Width = 300; 50 | // 51 | // FormTaxiFinder 52 | // 53 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 54 | this.ClientSize = new System.Drawing.Size(672, 393); 55 | this.Name = "FormTaxiFinder"; 56 | this.Text = "Taxi Finder"; 57 | this.ResizeEnd += new System.EventHandler(this.FormTaxiFinder_ResizeEnd); 58 | this.ResumeLayout(false); 59 | this.PerformLayout(); 60 | 61 | } 62 | 63 | #endregion 64 | 65 | private System.Windows.Forms.ColumnHeader columnSource; 66 | private System.Windows.Forms.ColumnHeader columnDestination; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormCreatureFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormCreatureFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormCreatureFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (CreatureInfo creature in GameData.CreatureInfoList) 20 | { 21 | AddCreatureToListView(creature); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (CreatureInfo creature in GameData.CreatureInfoList) 27 | { 28 | if (creature.ID == id) 29 | AddCreatureToListView(creature); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (CreatureInfo creature in GameData.CreatureInfoList) 35 | { 36 | if ((creature.ID >= minId) && (creature.ID <= maxId)) 37 | AddCreatureToListView(creature); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (CreatureInfo creature in GameData.CreatureInfoList) 43 | { 44 | if (creature.Name.ToUpper().Contains(searchText)) 45 | AddCreatureToListView(creature); 46 | } 47 | } 48 | private void AddCreatureToListView(CreatureInfo creature) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = creature.ID.ToString(); 52 | if (creature.MinLevel != creature.MaxLevel) 53 | lvi.SubItems.Add(creature.MinLevel.ToString() + " - " + creature.MaxLevel.ToString()); 54 | else 55 | lvi.SubItems.Add(creature.MinLevel.ToString()); 56 | lvi.SubItems.Add(GameData.CreatureRanksList[(int)creature.Rank].Text); 57 | lvi.SubItems.Add(creature.Name); 58 | 59 | // Add this creature to the listview. 60 | lstData.Items.Add(lvi); 61 | } 62 | 63 | private void FormCreatureFinder_ResizeEnd(object sender, EventArgs e) 64 | { 65 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width; 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormSpellFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormSpellFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormSpellFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (SpellInfo spell in GameData.SpellInfoList) 20 | { 21 | AddSpellToListView(spell); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (SpellInfo spell in GameData.SpellInfoList) 27 | { 28 | if (spell.ID == id) 29 | AddSpellToListView(spell); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (SpellInfo spell in GameData.SpellInfoList) 35 | { 36 | if ((spell.ID >= minId) && (spell.ID <= maxId)) 37 | AddSpellToListView(spell); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (SpellInfo spell in GameData.SpellInfoList) 43 | { 44 | // If content is not numeric search for text. 45 | if (spell.Name.ToUpper().Contains(searchText) || spell.Description.ToUpper().Contains(searchText)) 46 | AddSpellToListView(spell); 47 | } 48 | } 49 | private void AddSpellToListView(SpellInfo spell) 50 | { 51 | ListViewItem lvi = new ListViewItem(); 52 | lvi.Text = spell.ID.ToString(); 53 | lvi.SubItems.Add(GameData.FindSpellEffectName(spell.Effect1)); 54 | lvi.SubItems.Add(GameData.FindSpellEffectName(spell.Effect2)); 55 | lvi.SubItems.Add(GameData.FindSpellEffectName(spell.Effect3)); 56 | lvi.SubItems.Add(spell.Name); 57 | lvi.SubItems.Add(spell.Description); 58 | 59 | // Add this spell to the listview. 60 | lstData.Items.Add(lvi); 61 | } 62 | private void FormSpellFinder_ResizeEnd(object sender, EventArgs e) 63 | { 64 | lstData.Columns[5].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width - lstData.Columns[3].Width - lstData.Columns[4].Width; 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormEventFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormEventFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormEventFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (GameEventInfo game_event in GameData.GameEventInfoList) 20 | { 21 | AddGameEventToListView(game_event); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (GameEventInfo game_event in GameData.GameEventInfoList) 27 | { 28 | if (game_event.ID == id) 29 | AddGameEventToListView(game_event); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (GameEventInfo game_event in GameData.GameEventInfoList) 35 | { 36 | if ((game_event.ID >= minId) && (game_event.ID <= maxId)) 37 | AddGameEventToListView(game_event); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (GameEventInfo game_event in GameData.GameEventInfoList) 43 | { 44 | if (game_event.Name.ToUpper().Contains(searchText)) 45 | AddGameEventToListView(game_event); 46 | } 47 | } 48 | private void AddGameEventToListView(GameEventInfo game_event) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = game_event.ID.ToString(); 52 | lvi.SubItems.Add(game_event.Occurrence.ToString()); 53 | lvi.SubItems.Add(game_event.Length.ToString()); 54 | lvi.SubItems.Add(game_event.Name); 55 | lvi.SubItems.Add("1." + (game_event.PatchMin + 2).ToString()); 56 | lvi.SubItems.Add("1." + (game_event.PatchMax + 2).ToString()); 57 | 58 | // Add this game event entry to the listview. 59 | lstData.Items.Add(lvi); 60 | } 61 | private void FormEventFinder_ResizeEnd(object sender, EventArgs e) 62 | { 63 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width - lstData.Columns[4].Width - lstData.Columns[5].Width; 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /ScriptEditor/ScriptAction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ScriptEditor 7 | { 8 | public class ScriptAction 9 | { 10 | public uint Id; 11 | public uint Delay; 12 | public uint Priority; 13 | public uint Command; 14 | public uint Datalong; 15 | public uint Datalong2; 16 | public uint Datalong3; 17 | public uint Datalong4; 18 | public uint TargetParam1; 19 | public uint TargetParam2; 20 | public uint TargetType; 21 | public uint DataFlags; 22 | public int Dataint; 23 | public int Dataint2; 24 | public int Dataint3; 25 | public int Dataint4; 26 | public float X; 27 | public float Y; 28 | public float Z; 29 | public float O; 30 | public uint ConditionId; 31 | public string Comments; 32 | public ScriptAction(uint id, uint delay, uint priority, uint command, uint datalong, uint datalong2, uint datalong3, uint datalong4, uint targetparam1, uint targetparam2, uint targettype, uint dataflags, int dataint, int dataint2, int dataint3, int dataint4, float x, float y, float z, float o, uint conditionid, string comments) 33 | { 34 | Id = id; 35 | Delay = delay; 36 | Priority = priority; 37 | Command = command; 38 | Datalong = datalong; 39 | Datalong2 = datalong2; 40 | Datalong3 = datalong3; 41 | Datalong4 = datalong4; 42 | TargetParam1 = targetparam1; 43 | TargetParam2 = targetparam2; 44 | TargetType = targettype; 45 | DataFlags = dataflags; 46 | Dataint = dataint; 47 | Dataint2 = dataint2; 48 | Dataint3 = dataint3; 49 | Dataint4 = dataint4; 50 | X = x; 51 | Y = y; 52 | Z = z; 53 | O = o; 54 | ConditionId = conditionid; 55 | Comments = comments; 56 | } 57 | public ScriptAction(uint id) 58 | { 59 | Id = id; 60 | Delay = 0; 61 | Priority = 0; 62 | Command = 0; 63 | Datalong = 0; 64 | Datalong2 = 0; 65 | Datalong3 = 0; 66 | Datalong4 = 0; 67 | TargetParam1 = 0; 68 | TargetParam2 = 0; 69 | TargetType = 0; 70 | DataFlags = 0; 71 | Dataint = 0; 72 | Dataint2 = 0; 73 | Dataint3 = 0; 74 | Dataint4 = 0; 75 | X = 0; 76 | Y = 0; 77 | Z = 0; 78 | O = 0; 79 | ConditionId = 0; 80 | Comments = "New Action - Edit me!"; 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormWeaponFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormWeaponFinder : ScriptEditor.FormDataFinder 12 | { 13 | public string[] inventorytypes; 14 | public FormWeaponFinder() 15 | { 16 | InitializeComponent(); 17 | 18 | inventorytypes = new string[27]; 19 | inventorytypes[13] = "One-Hand"; 20 | inventorytypes[14] = "Shield"; 21 | inventorytypes[15] = "Ranged"; 22 | inventorytypes[17] = "Two-Hand"; 23 | inventorytypes[21] = "Main-Hand"; 24 | inventorytypes[22] = "Off-Hand"; 25 | inventorytypes[23] = "Holdable"; 26 | inventorytypes[25] = "Thrown"; 27 | inventorytypes[26] = "Ranged"; 28 | } 29 | protected override void AddAllData() 30 | { 31 | foreach (ItemInfo item in GameData.ItemInfoList) 32 | { 33 | if (item.IsHoldable()) 34 | AddItemToListView(item); 35 | } 36 | } 37 | protected override void AddById(uint id) 38 | { 39 | foreach (ItemInfo item in GameData.ItemInfoList) 40 | { 41 | if ((item.ID == id) && item.IsHoldable()) 42 | AddItemToListView(item); 43 | } 44 | } 45 | protected override void AddByIdRange(uint minId, uint maxId) 46 | { 47 | foreach (ItemInfo item in GameData.ItemInfoList) 48 | { 49 | if ((item.ID >= minId) && (item.ID <= maxId)) 50 | AddItemToListView(item); 51 | } 52 | } 53 | protected override void AddByText(string searchText) 54 | { 55 | foreach (ItemInfo item in GameData.ItemInfoList) 56 | { 57 | if (item.Name.ToUpper().Contains(searchText) && item.IsHoldable()) 58 | AddItemToListView(item); 59 | } 60 | } 61 | private void AddItemToListView(ItemInfo item) 62 | { 63 | ListViewItem lvi = new ListViewItem(); 64 | lvi.Text = item.ID.ToString(); 65 | lvi.SubItems.Add(inventorytypes[item.InventoryType]); 66 | lvi.SubItems.Add(item.DisplayId.ToString()); 67 | lvi.SubItems.Add(item.Name); 68 | 69 | // Add this item to the listview. 70 | lstData.Items.Add(lvi); 71 | } 72 | 73 | private void FormWeaponFinder_ResizeEnd(object sender, EventArgs e) 74 | { 75 | lstData.Columns[3].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width; 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormAreaFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormAreaFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnMap = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnZone = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnMap, 40 | this.columnZone, 41 | this.columnName}); 42 | // 43 | // columnMap 44 | // 45 | this.columnMap.Text = "Map"; 46 | this.columnMap.Width = 90; 47 | // 48 | // columnZone 49 | // 50 | this.columnZone.Text = "Zone"; 51 | this.columnZone.Width = 90; 52 | // 53 | // columnName 54 | // 55 | this.columnName.Text = "Name"; 56 | this.columnName.Width = 415; 57 | // 58 | // FormAreaFinder 59 | // 60 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 61 | this.ClientSize = new System.Drawing.Size(672, 393); 62 | this.Name = "FormAreaFinder"; 63 | this.Text = "Area Finder"; 64 | this.ResizeEnd += new System.EventHandler(this.FormAreaFinder_ResizeEnd); 65 | this.ResumeLayout(false); 66 | this.PerformLayout(); 67 | 68 | } 69 | 70 | #endregion 71 | 72 | private System.Windows.Forms.ColumnHeader columnMap; 73 | private System.Windows.Forms.ColumnHeader columnZone; 74 | private System.Windows.Forms.ColumnHeader columnName; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormTextFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormTextFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnText = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnChatType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnLanguage = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnText, 40 | this.columnChatType, 41 | this.columnLanguage}); 42 | // 43 | // columnText 44 | // 45 | this.columnText.Text = "Text"; 46 | this.columnText.Width = 415; 47 | // 48 | // columnChatType 49 | // 50 | this.columnChatType.Text = "Chat Type"; 51 | this.columnChatType.Width = 90; 52 | // 53 | // columnLanguage 54 | // 55 | this.columnLanguage.Text = "Language"; 56 | this.columnLanguage.Width = 90; 57 | // 58 | // FormTextFinder 59 | // 60 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 61 | this.ClientSize = new System.Drawing.Size(672, 393); 62 | this.Name = "FormTextFinder"; 63 | this.Text = "Text Finder"; 64 | this.ResizeEnd += new System.EventHandler(this.FormTextFinder_ResizeEnd); 65 | this.ResumeLayout(false); 66 | this.PerformLayout(); 67 | 68 | } 69 | 70 | #endregion 71 | 72 | private System.Windows.Forms.ColumnHeader columnText; 73 | private System.Windows.Forms.ColumnHeader columnChatType; 74 | private System.Windows.Forms.ColumnHeader columnLanguage; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormQuestFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormQuestFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnMinLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnQuestLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnMinLevel, 40 | this.columnQuestLevel, 41 | this.columnTitle}); 42 | // 43 | // columnMinLevel 44 | // 45 | this.columnMinLevel.Text = "Minimum Level"; 46 | this.columnMinLevel.Width = 90; 47 | // 48 | // columnQuestLevel 49 | // 50 | this.columnQuestLevel.Text = "Quest Level"; 51 | this.columnQuestLevel.Width = 90; 52 | // 53 | // columnTitle 54 | // 55 | this.columnTitle.Text = "Title"; 56 | this.columnTitle.Width = 415; 57 | // 58 | // FormQuestFinder 59 | // 60 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 61 | this.ClientSize = new System.Drawing.Size(672, 393); 62 | this.Name = "FormQuestFinder"; 63 | this.Text = "Quest Finder"; 64 | this.ResizeEnd += new System.EventHandler(this.FormQuestFinder_ResizeEnd); 65 | this.ResumeLayout(false); 66 | this.PerformLayout(); 67 | 68 | } 69 | 70 | #endregion 71 | 72 | private System.Windows.Forms.ColumnHeader columnMinLevel; 73 | private System.Windows.Forms.ColumnHeader columnQuestLevel; 74 | private System.Windows.Forms.ColumnHeader columnTitle; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormWeaponFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormWeaponFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnInventoryType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnDisplayId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnInventoryType, 40 | this.columnDisplayId, 41 | this.columnName}); 42 | // 43 | // columnInventoryType 44 | // 45 | this.columnInventoryType.Text = "Type"; 46 | this.columnInventoryType.Width = 90; 47 | // 48 | // columnDisplayId 49 | // 50 | this.columnDisplayId.Text = "Display Id"; 51 | this.columnDisplayId.Width = 90; 52 | // 53 | // columnName 54 | // 55 | this.columnName.Text = "Name"; 56 | this.columnName.Width = 415; 57 | // 58 | // FormWeaponFinder 59 | // 60 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 61 | this.ClientSize = new System.Drawing.Size(672, 393); 62 | this.Name = "FormWeaponFinder"; 63 | this.Text = "Weapon Finder"; 64 | this.ResizeEnd += new System.EventHandler(this.FormWeaponFinder_ResizeEnd); 65 | this.ResumeLayout(false); 66 | this.PerformLayout(); 67 | 68 | } 69 | 70 | #endregion 71 | private System.Windows.Forms.ColumnHeader columnInventoryType; 72 | private System.Windows.Forms.ColumnHeader columnDisplayId; 73 | private System.Windows.Forms.ColumnHeader columnName; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormGameObjectFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormGameObjectFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnDisplayId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnType, 40 | this.columnDisplayId, 41 | this.columnName}); 42 | // 43 | // label1 44 | // 45 | this.label1.Size = new System.Drawing.Size(150, 13); 46 | this.label1.Text = "Enter name or Id to search for:"; 47 | // 48 | // columnType 49 | // 50 | this.columnType.Text = "Type"; 51 | this.columnType.Width = 90; 52 | // 53 | // columnDisplayId 54 | // 55 | this.columnDisplayId.Text = "Display Id"; 56 | this.columnDisplayId.Width = 90; 57 | // 58 | // columnName 59 | // 60 | this.columnName.Text = "Name"; 61 | this.columnName.Width = 415; 62 | // 63 | // FormGameObjectFinder 64 | // 65 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 66 | this.ClientSize = new System.Drawing.Size(672, 393); 67 | this.Name = "FormGameObjectFinder"; 68 | this.ResizeEnd += new System.EventHandler(this.FormGameObjectFinder_ResizeEnd); 69 | this.ResumeLayout(false); 70 | this.PerformLayout(); 71 | 72 | } 73 | 74 | #endregion 75 | 76 | private System.Windows.Forms.ColumnHeader columnType; 77 | private System.Windows.Forms.ColumnHeader columnDisplayId; 78 | private System.Windows.Forms.ColumnHeader columnName; 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormCreatureFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormCreatureFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnRank = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnLevel, 40 | this.columnRank, 41 | this.columnName}); 42 | // 43 | // label1 44 | // 45 | this.label1.Size = new System.Drawing.Size(150, 13); 46 | this.label1.Text = "Enter name or Id to search for:"; 47 | // 48 | // columnLevel 49 | // 50 | this.columnLevel.Text = "Level"; 51 | this.columnLevel.Width = 90; 52 | // 53 | // columnRank 54 | // 55 | this.columnRank.Text = "Rank"; 56 | this.columnRank.Width = 90; 57 | // 58 | // columnName 59 | // 60 | this.columnName.Text = "Name"; 61 | this.columnName.Width = 415; 62 | // 63 | // FormCreatureFinder 64 | // 65 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 66 | this.ClientSize = new System.Drawing.Size(672, 393); 67 | this.Name = "FormCreatureFinder"; 68 | this.Text = "Creature Finder"; 69 | this.ResizeEnd += new System.EventHandler(this.FormCreatureFinder_ResizeEnd); 70 | this.ResumeLayout(false); 71 | this.PerformLayout(); 72 | 73 | } 74 | 75 | #endregion 76 | 77 | private System.Windows.Forms.ColumnHeader columnLevel; 78 | private System.Windows.Forms.ColumnHeader columnRank; 79 | private System.Windows.Forms.ColumnHeader columnName; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormFactionTemplateFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormFactionTemplateFinder : ScriptEditor.FormDataFinder 12 | { 13 | public FormFactionTemplateFinder() 14 | { 15 | InitializeComponent(); 16 | } 17 | protected override void AddAllData() 18 | { 19 | foreach (FactionTemplateInfo faction in GameData.FactionTemplateInfoList) 20 | { 21 | AddFactionToListView(faction); 22 | } 23 | } 24 | protected override void AddById(uint id) 25 | { 26 | foreach (FactionTemplateInfo faction in GameData.FactionTemplateInfoList) 27 | { 28 | if (faction.ID == id) 29 | AddFactionToListView(faction); 30 | } 31 | } 32 | protected override void AddByIdRange(uint minId, uint maxId) 33 | { 34 | foreach (FactionTemplateInfo faction in GameData.FactionTemplateInfoList) 35 | { 36 | if ((faction.ID >= minId) && (faction.ID <= maxId)) 37 | AddFactionToListView(faction); 38 | } 39 | } 40 | protected override void AddByText(string searchText) 41 | { 42 | foreach (FactionTemplateInfo faction in GameData.FactionTemplateInfoList) 43 | { 44 | if (GameData.FindFactionName(faction.FactionId).ToUpper().Contains(searchText)) 45 | AddFactionToListView(faction); 46 | } 47 | } 48 | private void AddFactionToListView(FactionTemplateInfo factiontemplate) 49 | { 50 | ListViewItem lvi = new ListViewItem(); 51 | lvi.Text = factiontemplate.ID.ToString(); 52 | lvi.SubItems.Add(factiontemplate.FactionId.ToString()); 53 | lvi.SubItems.Add(factiontemplate.Flags.ToString()); 54 | 55 | string faction_name = ""; 56 | string faction_description = ""; 57 | 58 | // Find the name and description of the associated faction. 59 | foreach (FactionInfo faction in GameData.FactionInfoList) 60 | { 61 | if (faction.ID == factiontemplate.FactionId) 62 | { 63 | faction_name = faction.Name; 64 | faction_description = faction.Description; 65 | break; 66 | } 67 | } 68 | lvi.SubItems.Add(faction_name); 69 | lvi.SubItems.Add(faction_description); 70 | 71 | // Add this faction to the listview. 72 | lstData.Items.Add(lvi); 73 | } 74 | private void FormFactionTemplateFinder_ResizeEnd(object sender, EventArgs e) 75 | { 76 | lstData.Columns[4].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[1].Width - lstData.Columns[2].Width - lstData.Columns[3].Width; 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormItemFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormItemFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnRequiredLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnItemLevel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.SuspendLayout(); 35 | // 36 | // lstData 37 | // 38 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 39 | this.columnRequiredLevel, 40 | this.columnItemLevel, 41 | this.columnName}); 42 | // 43 | // label1 44 | // 45 | this.label1.Size = new System.Drawing.Size(150, 13); 46 | this.label1.Text = "Enter name or Id to search for:"; 47 | // 48 | // columnRequiredLevel 49 | // 50 | this.columnRequiredLevel.Text = "Required Level"; 51 | this.columnRequiredLevel.Width = 90; 52 | // 53 | // columnItemLevel 54 | // 55 | this.columnItemLevel.Text = "Item Level"; 56 | this.columnItemLevel.Width = 90; 57 | // 58 | // columnName 59 | // 60 | this.columnName.Text = "Name"; 61 | this.columnName.Width = 415; 62 | // 63 | // FormItemFinder 64 | // 65 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 66 | this.ClientSize = new System.Drawing.Size(672, 393); 67 | this.Name = "FormItemFinder"; 68 | this.Text = "Item Finder"; 69 | this.ResizeEnd += new System.EventHandler(this.FormItemFinder_ResizeEnd); 70 | this.ResumeLayout(false); 71 | this.PerformLayout(); 72 | 73 | } 74 | 75 | #endregion 76 | 77 | private System.Windows.Forms.ColumnHeader columnRequiredLevel; 78 | private System.Windows.Forms.ColumnHeader columnItemLevel; 79 | private System.Windows.Forms.ColumnHeader columnName; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormFactionFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormFactionFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnTeamId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.columnReputationId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 35 | this.SuspendLayout(); 36 | // 37 | // lstData 38 | // 39 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 40 | this.columnReputationId, 41 | this.columnTeamId, 42 | this.columnName, 43 | this.columnDescription}); 44 | // 45 | // columnTeamId 46 | // 47 | this.columnTeamId.Text = "Team ID"; 48 | this.columnTeamId.Width = 90; 49 | // 50 | // columnName 51 | // 52 | this.columnName.Text = "Name"; 53 | this.columnName.Width = 150; 54 | // 55 | // columnDescription 56 | // 57 | this.columnDescription.Text = "Description"; 58 | this.columnDescription.Width = 265; 59 | // 60 | // columnReputationId 61 | // 62 | this.columnReputationId.Text = "Reputation ID"; 63 | this.columnReputationId.Width = 90; 64 | // 65 | // FormFactionFinder 66 | // 67 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 68 | this.ClientSize = new System.Drawing.Size(672, 393); 69 | this.Name = "FormFactionFinder"; 70 | this.Text = "Faction Template Finder"; 71 | this.ResizeEnd += new System.EventHandler(this.FormFactionFinder_ResizeEnd); 72 | this.ResumeLayout(false); 73 | this.PerformLayout(); 74 | 75 | } 76 | 77 | #endregion 78 | 79 | private System.Windows.Forms.ColumnHeader columnTeamId; 80 | private System.Windows.Forms.ColumnHeader columnReputationId; 81 | private System.Windows.Forms.ColumnHeader columnName; 82 | private System.Windows.Forms.ColumnHeader columnDescription; 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormFactionTemplateFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormFactionTemplateFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnFlags = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.columnFactionId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 35 | this.SuspendLayout(); 36 | // 37 | // lstData 38 | // 39 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 40 | this.columnFactionId, 41 | this.columnFlags, 42 | this.columnName, 43 | this.columnDescription}); 44 | // 45 | // columnFlags 46 | // 47 | this.columnFlags.Text = "Flags"; 48 | this.columnFlags.Width = 90; 49 | // 50 | // columnName 51 | // 52 | this.columnName.Text = "Name"; 53 | this.columnName.Width = 150; 54 | // 55 | // columnDescription 56 | // 57 | this.columnDescription.Text = "Description"; 58 | this.columnDescription.Width = 265; 59 | // 60 | // columnFactionId 61 | // 62 | this.columnFactionId.Text = "Faction ID"; 63 | this.columnFactionId.Width = 90; 64 | // 65 | // FormFactionTemplateFinder 66 | // 67 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 68 | this.ClientSize = new System.Drawing.Size(672, 393); 69 | this.Name = "FormFactionTemplateFinder"; 70 | this.Text = "Faction Template Finder"; 71 | this.ResizeEnd += new System.EventHandler(this.FormFactionTemplateFinder_ResizeEnd); 72 | this.ResumeLayout(false); 73 | this.PerformLayout(); 74 | 75 | } 76 | 77 | #endregion 78 | 79 | private System.Windows.Forms.ColumnHeader columnFlags; 80 | private System.Windows.Forms.ColumnHeader columnFactionId; 81 | private System.Windows.Forms.ColumnHeader columnName; 82 | private System.Windows.Forms.ColumnHeader columnDescription; 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormTextFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | namespace ScriptEditor 10 | { 11 | public partial class FormTextFinder : ScriptEditor.FormDataFinder 12 | { 13 | public string[] languages; 14 | public string[] chattypes; 15 | public FormTextFinder() 16 | { 17 | InitializeComponent(); 18 | 19 | // Language Names 20 | languages = new string[34]; 21 | languages[0] = "Universal"; 22 | languages[1] = "Orcish"; 23 | languages[2] = "Darnassian"; 24 | languages[3] = "Taurahe"; 25 | languages[6] = "Dwarvish"; 26 | languages[7] = "Common"; 27 | languages[8] = "Demonic"; 28 | languages[9] = "Titan"; 29 | languages[10] = "Thalassian"; 30 | languages[11] = "Draconic"; 31 | languages[12] = "Kalimag"; 32 | languages[13] = "Gnomish"; 33 | languages[14] = "Troll"; 34 | languages[33] = "Gutterspeak"; 35 | 36 | // Chat Type Names 37 | chattypes = new string[8]; 38 | chattypes[0] = "Say"; 39 | chattypes[1] = "Yell"; 40 | chattypes[2] = "Emote"; 41 | chattypes[3] = "Boss Emote"; 42 | chattypes[4] = "Whisper"; 43 | chattypes[5] = "Boss Whisper"; 44 | chattypes[6] = "Zone Yell"; 45 | chattypes[7] = "Zone Emote"; 46 | } 47 | protected override void AddAllData() 48 | { 49 | foreach (BroadcastText bc in GameData.BroadcastTextsList) 50 | { 51 | AddTextToListView(bc); 52 | } 53 | } 54 | protected override void AddById(uint id) 55 | { 56 | foreach (BroadcastText bc in GameData.BroadcastTextsList) 57 | { 58 | if (bc.ID == id) 59 | AddTextToListView(bc); 60 | } 61 | } 62 | protected override void AddByIdRange(uint minId, uint maxId) 63 | { 64 | foreach (BroadcastText bc in GameData.BroadcastTextsList) 65 | { 66 | if ((bc.ID >= minId) && (bc.ID <= maxId)) 67 | AddTextToListView(bc); 68 | } 69 | } 70 | protected override void AddByText(string searchText) 71 | { 72 | foreach (BroadcastText bc in GameData.BroadcastTextsList) 73 | { 74 | // If content is not numeric search for text. 75 | if (bc.Text.ToUpper().Contains(searchText)) 76 | AddTextToListView(bc); 77 | } 78 | } 79 | private void AddTextToListView(BroadcastText bc) 80 | { 81 | ListViewItem lvi = new ListViewItem(); 82 | lvi.Text = bc.ID.ToString(); 83 | lvi.SubItems.Add(bc.Text); 84 | lvi.SubItems.Add(chattypes[bc.ChatType]); 85 | lvi.SubItems.Add(languages[bc.Language]); 86 | 87 | // Add this broadcast text to the listview. 88 | lstData.Items.Add(lvi); 89 | } 90 | 91 | private void FormTextFinder_ResizeEnd(object sender, EventArgs e) 92 | { 93 | lstData.Columns[1].Width = lstData.ClientSize.Width - lstData.Columns[0].Width - lstData.Columns[2].Width - lstData.Columns[3].Width; 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormSpellFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormSpellFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnEffect1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnEffect2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnEffect3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 35 | this.columnDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 36 | this.SuspendLayout(); 37 | // 38 | // lstData 39 | // 40 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 41 | this.columnEffect1, 42 | this.columnEffect2, 43 | this.columnEffect3, 44 | this.columnName, 45 | this.columnDescription}); 46 | // 47 | // columnEffect1 48 | // 49 | this.columnEffect1.Text = "Effect 1"; 50 | this.columnEffect1.Width = 90; 51 | // 52 | // columnEffect2 53 | // 54 | this.columnEffect2.Text = "Effect 2"; 55 | this.columnEffect2.Width = 90; 56 | // 57 | // columnEffect3 58 | // 59 | this.columnEffect3.Text = "Effect 3"; 60 | this.columnEffect3.Width = 90; 61 | // 62 | // columnName 63 | // 64 | this.columnName.Text = "Name"; 65 | this.columnName.Width = 150; 66 | // 67 | // columnDescription 68 | // 69 | this.columnDescription.Text = "Description"; 70 | this.columnDescription.Width = 175; 71 | // 72 | // FormSpellFinder 73 | // 74 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 75 | this.ClientSize = new System.Drawing.Size(672, 393); 76 | this.Name = "FormSpellFinder"; 77 | this.Text = "Spell Finder"; 78 | this.ResizeEnd += new System.EventHandler(this.FormSpellFinder_ResizeEnd); 79 | this.ResumeLayout(false); 80 | this.PerformLayout(); 81 | 82 | } 83 | 84 | #endregion 85 | 86 | private System.Windows.Forms.ColumnHeader columnEffect1; 87 | private System.Windows.Forms.ColumnHeader columnEffect2; 88 | private System.Windows.Forms.ColumnHeader columnEffect3; 89 | private System.Windows.Forms.ColumnHeader columnName; 90 | private System.Windows.Forms.ColumnHeader columnDescription; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormEventFinder.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormEventFinder 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.columnOccurrence = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 32 | this.columnLength = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 33 | this.columnName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 34 | this.columnPatchMin = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 35 | this.columnPatchMax = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 36 | this.SuspendLayout(); 37 | // 38 | // lstData 39 | // 40 | this.lstData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 41 | this.columnOccurrence, 42 | this.columnLength, 43 | this.columnName, 44 | this.columnPatchMin, 45 | this.columnPatchMax}); 46 | // 47 | // label1 48 | // 49 | this.label1.Size = new System.Drawing.Size(150, 13); 50 | this.label1.Text = "Enter name or Id to search for:"; 51 | // 52 | // columnOccurrence 53 | // 54 | this.columnOccurrence.Text = "Occurrence"; 55 | this.columnOccurrence.Width = 90; 56 | // 57 | // columnLength 58 | // 59 | this.columnLength.Text = "Length"; 60 | this.columnLength.Width = 90; 61 | // 62 | // columnName 63 | // 64 | this.columnName.Text = "Name"; 65 | this.columnName.Width = 235; 66 | // 67 | // columnPatchMin 68 | // 69 | this.columnPatchMin.Text = "Patch Min"; 70 | this.columnPatchMin.Width = 90; 71 | // 72 | // columnPatchMax 73 | // 74 | this.columnPatchMax.Text = "Patch Max"; 75 | this.columnPatchMax.Width = 90; 76 | // 77 | // FormEventFinder 78 | // 79 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 80 | this.ClientSize = new System.Drawing.Size(672, 393); 81 | this.Name = "FormEventFinder"; 82 | this.Text = "Event Finder"; 83 | this.ResizeEnd += new System.EventHandler(this.FormEventFinder_ResizeEnd); 84 | this.ResumeLayout(false); 85 | this.PerformLayout(); 86 | 87 | } 88 | 89 | #endregion 90 | 91 | private System.Windows.Forms.ColumnHeader columnOccurrence; 92 | private System.Windows.Forms.ColumnHeader columnLength; 93 | private System.Windows.Forms.ColumnHeader columnName; 94 | private System.Windows.Forms.ColumnHeader columnPatchMin; 95 | private System.Windows.Forms.ColumnHeader columnPatchMax; 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /ScriptEditor/FormRaceMask.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace ScriptEditor 11 | { 12 | public partial class FormRaceMask : Form 13 | { 14 | public uint ReturnValue { get; set; } // we return the mask in this 15 | private bool initializing = true; 16 | public FormRaceMask(uint racemask) 17 | { 18 | InitializeComponent(); 19 | ReturnValue = racemask; 20 | 21 | if ((racemask & 1) != 0) 22 | chkRace1.Checked = true; 23 | if ((racemask & 2) != 0) 24 | chkRace2.Checked = true; 25 | if ((racemask & 4) != 0) 26 | chkRace4.Checked = true; 27 | if ((racemask & 8) != 0) 28 | chkRace8.Checked = true; 29 | if ((racemask & 16) != 0) 30 | chkRace16.Checked = true; 31 | if ((racemask & 32) != 0) 32 | chkRace32.Checked = true; 33 | if ((racemask & 64) != 0) 34 | chkRace64.Checked = true; 35 | if ((racemask & 128) != 0) 36 | chkRace128.Checked = true; 37 | 38 | initializing = false; 39 | } 40 | 41 | private void btnOk_Click(object sender, EventArgs e) 42 | { 43 | DialogResult = DialogResult.OK; 44 | Close(); 45 | } 46 | 47 | private void btnCancel_Click(object sender, EventArgs e) 48 | { 49 | DialogResult = DialogResult.Cancel; 50 | Close(); 51 | } 52 | 53 | private void chkRace1_CheckedChanged(object sender, EventArgs e) 54 | { 55 | if (initializing) 56 | return; 57 | 58 | if (chkRace1.Checked) 59 | ReturnValue += 1; 60 | else 61 | ReturnValue -= 1; 62 | } 63 | 64 | private void chkRace4_CheckedChanged(object sender, EventArgs e) 65 | { 66 | if (initializing) 67 | return; 68 | 69 | if (chkRace4.Checked) 70 | ReturnValue += 4; 71 | else 72 | ReturnValue -= 4; 73 | } 74 | 75 | private void chkRace8_CheckedChanged(object sender, EventArgs e) 76 | { 77 | if (initializing) 78 | return; 79 | 80 | if (chkRace8.Checked) 81 | ReturnValue += 8; 82 | else 83 | ReturnValue -= 8; 84 | } 85 | 86 | private void chkRace64_CheckedChanged(object sender, EventArgs e) 87 | { 88 | if (initializing) 89 | return; 90 | 91 | if (chkRace64.Checked) 92 | ReturnValue += 64; 93 | else 94 | ReturnValue -= 64; 95 | } 96 | 97 | private void chkRace2_CheckedChanged(object sender, EventArgs e) 98 | { 99 | if (initializing) 100 | return; 101 | 102 | if (chkRace2.Checked) 103 | ReturnValue += 2; 104 | else 105 | ReturnValue -= 2; 106 | } 107 | 108 | private void chkRace16_CheckedChanged(object sender, EventArgs e) 109 | { 110 | if (initializing) 111 | return; 112 | 113 | if (chkRace16.Checked) 114 | ReturnValue += 16; 115 | else 116 | ReturnValue -= 16; 117 | } 118 | 119 | private void chkRace32_CheckedChanged(object sender, EventArgs e) 120 | { 121 | if (initializing) 122 | return; 123 | 124 | if (chkRace32.Checked) 125 | ReturnValue += 32; 126 | else 127 | ReturnValue -= 32; 128 | } 129 | 130 | private void chkRace128_CheckedChanged(object sender, EventArgs e) 131 | { 132 | if (initializing) 133 | return; 134 | 135 | if (chkRace128.Checked) 136 | ReturnValue += 128; 137 | else 138 | ReturnValue -= 128; 139 | } 140 | 141 | } 142 | } 143 | -------------------------------------------------------------------------------- /ScriptEditor/FormClassMask.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace ScriptEditor 11 | { 12 | public partial class FormClassMask : Form 13 | { 14 | public uint ReturnValue { get; set; } // we return the mask in this 15 | private bool initializing = true; 16 | public FormClassMask(uint classmask) 17 | { 18 | InitializeComponent(); 19 | ReturnValue = classmask; 20 | 21 | if ((classmask & 1) != 0) 22 | chkClass1.Checked = true; 23 | if ((classmask & 2) != 0) 24 | chkClass2.Checked = true; 25 | if ((classmask & 4) != 0) 26 | chkClass4.Checked = true; 27 | if ((classmask & 8) != 0) 28 | chkClass8.Checked = true; 29 | if ((classmask & 16) != 0) 30 | chkClass16.Checked = true; 31 | if ((classmask & 64) != 0) 32 | chkClass64.Checked = true; 33 | if ((classmask & 128) != 0) 34 | chkClass128.Checked = true; 35 | if ((classmask & 256) != 0) 36 | chkClass256.Checked = true; 37 | if ((classmask & 1024) != 0) 38 | chkClass1024.Checked = true; 39 | 40 | initializing = false; 41 | } 42 | 43 | private void btnOk_Click(object sender, EventArgs e) 44 | { 45 | DialogResult = DialogResult.OK; 46 | Close(); 47 | } 48 | 49 | private void btnCancel_Click(object sender, EventArgs e) 50 | { 51 | DialogResult = DialogResult.Cancel; 52 | Close(); 53 | } 54 | 55 | private void chkClass1_CheckedChanged(object sender, EventArgs e) 56 | { 57 | if (initializing) 58 | return; 59 | 60 | if (chkClass1.Checked) 61 | ReturnValue += 1; 62 | else 63 | ReturnValue -= 1; 64 | } 65 | 66 | private void chkClass2_CheckedChanged(object sender, EventArgs e) 67 | { 68 | if (initializing) 69 | return; 70 | 71 | if (chkClass2.Checked) 72 | ReturnValue += 2; 73 | else 74 | ReturnValue -= 2; 75 | } 76 | 77 | private void chkClass4_CheckedChanged(object sender, EventArgs e) 78 | { 79 | if (initializing) 80 | return; 81 | 82 | if (chkClass4.Checked) 83 | ReturnValue += 4; 84 | else 85 | ReturnValue -= 4; 86 | } 87 | 88 | private void chkClass8_CheckedChanged(object sender, EventArgs e) 89 | { 90 | if (initializing) 91 | return; 92 | 93 | if (chkClass8.Checked) 94 | ReturnValue += 8; 95 | else 96 | ReturnValue -= 8; 97 | } 98 | 99 | private void chkClass16_CheckedChanged(object sender, EventArgs e) 100 | { 101 | if (initializing) 102 | return; 103 | 104 | if (chkClass16.Checked) 105 | ReturnValue += 16; 106 | else 107 | ReturnValue -= 16; 108 | } 109 | 110 | private void chkClass64_CheckedChanged(object sender, EventArgs e) 111 | { 112 | if (initializing) 113 | return; 114 | 115 | if (chkClass64.Checked) 116 | ReturnValue += 64; 117 | else 118 | ReturnValue -= 64; 119 | } 120 | 121 | private void chkClass128_CheckedChanged(object sender, EventArgs e) 122 | { 123 | if (initializing) 124 | return; 125 | 126 | if (chkClass128.Checked) 127 | ReturnValue += 128; 128 | else 129 | ReturnValue -= 128; 130 | } 131 | 132 | private void chkClass256_CheckedChanged(object sender, EventArgs e) 133 | { 134 | if (initializing) 135 | return; 136 | 137 | if (chkClass256.Checked) 138 | ReturnValue += 256; 139 | else 140 | ReturnValue -= 256; 141 | } 142 | 143 | private void chkClass1024_CheckedChanged(object sender, EventArgs e) 144 | { 145 | if (initializing) 146 | return; 147 | 148 | if (chkClass1024.Checked) 149 | ReturnValue += 1024; 150 | else 151 | ReturnValue -= 1024; 152 | } 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /ScriptEditor/FormMaskCalculator.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ScriptEditor 2 | { 3 | partial class FormMaskCalculator 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.lblPhaseMaskTooltip = new System.Windows.Forms.Label(); 32 | this.txtPhasesList = new System.Windows.Forms.TextBox(); 33 | this.txtPhase = new System.Windows.Forms.TextBox(); 34 | this.lblPhase = new System.Windows.Forms.Label(); 35 | this.btnPhaseAdd = new System.Windows.Forms.Button(); 36 | this.btnPhaseRemove = new System.Windows.Forms.Button(); 37 | this.SuspendLayout(); 38 | // 39 | // lblPhaseMaskTooltip 40 | // 41 | this.lblPhaseMaskTooltip.AutoSize = true; 42 | this.lblPhaseMaskTooltip.Location = new System.Drawing.Point(12, 14); 43 | this.lblPhaseMaskTooltip.Name = "lblPhaseMaskTooltip"; 44 | this.lblPhaseMaskTooltip.Size = new System.Drawing.Size(232, 13); 45 | this.lblPhaseMaskTooltip.TabIndex = 0; 46 | this.lblPhaseMaskTooltip.Text = "List of phases in which the event will not trigger:"; 47 | // 48 | // txtPhasesList 49 | // 50 | this.txtPhasesList.Location = new System.Drawing.Point(12, 30); 51 | this.txtPhasesList.Multiline = true; 52 | this.txtPhasesList.Name = "txtPhasesList"; 53 | this.txtPhasesList.ReadOnly = true; 54 | this.txtPhasesList.Size = new System.Drawing.Size(247, 129); 55 | this.txtPhasesList.TabIndex = 1; 56 | // 57 | // txtPhase 58 | // 59 | this.txtPhase.Location = new System.Drawing.Point(54, 171); 60 | this.txtPhase.Name = "txtPhase"; 61 | this.txtPhase.Size = new System.Drawing.Size(73, 20); 62 | this.txtPhase.TabIndex = 2; 63 | // 64 | // lblPhase 65 | // 66 | this.lblPhase.AutoSize = true; 67 | this.lblPhase.Location = new System.Drawing.Point(12, 174); 68 | this.lblPhase.Name = "lblPhase"; 69 | this.lblPhase.Size = new System.Drawing.Size(40, 13); 70 | this.lblPhase.TabIndex = 3; 71 | this.lblPhase.Text = "Phase:"; 72 | // 73 | // btnPhaseAdd 74 | // 75 | this.btnPhaseAdd.Location = new System.Drawing.Point(137, 169); 76 | this.btnPhaseAdd.Name = "btnPhaseAdd"; 77 | this.btnPhaseAdd.Size = new System.Drawing.Size(58, 23); 78 | this.btnPhaseAdd.TabIndex = 4; 79 | this.btnPhaseAdd.Text = "Add"; 80 | this.btnPhaseAdd.UseVisualStyleBackColor = true; 81 | this.btnPhaseAdd.Click += new System.EventHandler(this.btnPhaseAdd_Click); 82 | // 83 | // btnPhaseRemove 84 | // 85 | this.btnPhaseRemove.Location = new System.Drawing.Point(201, 169); 86 | this.btnPhaseRemove.Name = "btnPhaseRemove"; 87 | this.btnPhaseRemove.Size = new System.Drawing.Size(58, 23); 88 | this.btnPhaseRemove.TabIndex = 5; 89 | this.btnPhaseRemove.Text = "Remove"; 90 | this.btnPhaseRemove.UseVisualStyleBackColor = true; 91 | this.btnPhaseRemove.Click += new System.EventHandler(this.btnPhaseRemove_Click); 92 | // 93 | // FormMaskCalculator 94 | // 95 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 96 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 97 | this.ClientSize = new System.Drawing.Size(272, 198); 98 | this.Controls.Add(this.btnPhaseRemove); 99 | this.Controls.Add(this.btnPhaseAdd); 100 | this.Controls.Add(this.lblPhase); 101 | this.Controls.Add(this.txtPhase); 102 | this.Controls.Add(this.txtPhasesList); 103 | this.Controls.Add(this.lblPhaseMaskTooltip); 104 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; 105 | this.Name = "FormMaskCalculator"; 106 | this.ShowIcon = false; 107 | this.ShowInTaskbar = false; 108 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 109 | this.Text = "Inverse Phase Mask"; 110 | this.Load += new System.EventHandler(this.FormMaskCalculator_Load); 111 | this.ResumeLayout(false); 112 | this.PerformLayout(); 113 | 114 | } 115 | 116 | #endregion 117 | 118 | private System.Windows.Forms.Label lblPhaseMaskTooltip; 119 | private System.Windows.Forms.TextBox txtPhasesList; 120 | private System.Windows.Forms.TextBox txtPhase; 121 | private System.Windows.Forms.Label lblPhase; 122 | private System.Windows.Forms.Button btnPhaseAdd; 123 | private System.Windows.Forms.Button btnPhaseRemove; 124 | } 125 | } -------------------------------------------------------------------------------- /ScriptEditor/FormCastFlags.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/FormClassMask.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/FormRaceMask.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/FormCastsEditor.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/FormMaskCalculator.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/FormTargetSelectFlags.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormAreaFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormCreatureFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormDataFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormEventFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormFactionFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormItemFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormQuestFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormSoundFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormSpellFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormTaxiFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormTextFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormWeaponFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /ScriptEditor/DataFinderForms/FormGameObjectFinder.resx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | --------------------------------------------------------------------------------