diff --git a/.vs/mudsort/FileContentIndex/a32d85ab-e16c-4f4d-8e7c-f25848415fb4.vsidx b/.vs/mudsort/FileContentIndex/a32d85ab-e16c-4f4d-8e7c-f25848415fb4.vsidx
new file mode 100644
index 0000000..75b6722
Binary files /dev/null and b/.vs/mudsort/FileContentIndex/a32d85ab-e16c-4f4d-8e7c-f25848415fb4.vsidx differ
diff --git a/.vs/mudsort/FileContentIndex/a35b1384-70e8-41fe-bfce-4831257881e4.vsidx b/.vs/mudsort/FileContentIndex/a35b1384-70e8-41fe-bfce-4831257881e4.vsidx
deleted file mode 100644
index b3ef1c3..0000000
Binary files a/.vs/mudsort/FileContentIndex/a35b1384-70e8-41fe-bfce-4831257881e4.vsidx and /dev/null differ
diff --git a/.vs/mudsort/v17/.suo b/.vs/mudsort/v17/.suo
index b92859a..3313946 100644
Binary files a/.vs/mudsort/v17/.suo and b/.vs/mudsort/v17/.suo differ
diff --git a/.vs/mudsort/v17/DocumentLayout.backup.json b/.vs/mudsort/v17/DocumentLayout.backup.json
index b60f1fd..15b452a 100644
--- a/.vs/mudsort/v17/DocumentLayout.backup.json
+++ b/.vs/mudsort/v17/DocumentLayout.backup.json
@@ -3,33 +3,21 @@
"WorkspaceRootPath": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\",
"Documents": [
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainview.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:mainview.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|c:\\turbine\\asheron\u0027s call\\mudsort\\properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\properties\\settings.settings||{6D2695F9-5365-4A78-89ED-F205C045BFE6}",
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|c:\\turbine\\asheron\u0027s call\\mudsort\\properties\\settings.settings||{6D2695F9-5365-4A78-89ED-F205C045BFE6}",
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:properties\\settings.settings||{6D2695F9-5365-4A78-89ED-F205C045BFE6}"
},
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\util.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:util.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\plugincore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:plugincore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainview.xml||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:mainview.xml||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
- },
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\globals.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:globals.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
{
"AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\enums.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:enums.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
@@ -39,15 +27,8 @@
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:app.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
},
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\settings.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:settings.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|mudsort||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|"
- },
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\alphanumcomparator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:alphanumcomparator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
@@ -57,155 +38,93 @@
"DocumentGroups": [
{
"DockedWidth": 200,
- "SelectedChildIndex": 3,
+ "SelectedChildIndex": 5,
"Children": [
{
"$type": "Document",
- "DocumentIndex": 2,
- "Title": "Settings.settings",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
- "RelativeDocumentMoniker": "Properties\\Settings.settings",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
- "RelativeToolTip": "Properties\\Settings.settings",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.002767|",
- "WhenOpened": "2024-09-28T02:35:53.522Z",
- "EditorCaption": ""
+ "DocumentIndex": 4,
+ "Title": "Enums.cs",
+ "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
+ "RelativeDocumentMoniker": "Enums.cs",
+ "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
+ "RelativeToolTip": "Enums.cs",
+ "ViewState": "AgIAAF4AAAAAAAAAAAAgwH8AAAAgAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2024-10-06T02:12:48.994Z"
},
{
"$type": "Document",
- "DocumentIndex": 8,
+ "DocumentIndex": 5,
"Title": "app.config",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\app.config",
"RelativeDocumentMoniker": "app.config",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\app.config",
"RelativeToolTip": "app.config",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAACQAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000601|",
- "WhenOpened": "2024-09-28T02:35:44.843Z",
+ "WhenOpened": "2024-10-06T02:12:48.299Z",
"EditorCaption": ""
},
{
"$type": "Document",
- "DocumentIndex": 5,
- "Title": "mainView.xml",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainView.xml",
- "RelativeDocumentMoniker": "mainView.xml",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainView.xml",
- "RelativeToolTip": "mainView.xml",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003576|",
- "WhenOpened": "2024-09-28T02:34:56.999Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 0,
- "Title": "MainView.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\MainView.cs",
- "RelativeDocumentMoniker": "MainView.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\MainView.cs",
- "RelativeToolTip": "MainView.cs",
- "ViewState": "AgIAACIBAAAAAAAAAAAAAEMBAAA3AAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-20T19:50:36.215Z",
+ "DocumentIndex": 1,
+ "Title": "Settings.settings",
+ "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
+ "RelativeDocumentMoniker": "Properties\\Settings.settings",
+ "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
+ "RelativeToolTip": "Properties\\Settings.settings",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.002767|",
+ "WhenOpened": "2024-10-06T01:46:15.767Z",
"EditorCaption": ""
},
{
"$type": "Document",
- "DocumentIndex": 11,
- "Title": "AlphanumComparator.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\AlphanumComparator.cs",
- "RelativeDocumentMoniker": "AlphanumComparator.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\AlphanumComparator.cs",
- "RelativeToolTip": "AlphanumComparator.cs",
- "ViewState": "AgIAACsAAAAAAAAAAAAYwCcAAAAZAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-20T20:19:51.574Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 10,
- "Title": "mudsort",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mudsort.csproj",
- "RelativeDocumentMoniker": "mudsort.csproj",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mudsort.csproj",
- "RelativeToolTip": "mudsort.csproj",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
- "WhenOpened": "2024-09-20T19:58:04.459Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 6,
- "Title": "Globals.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Globals.cs",
- "RelativeDocumentMoniker": "Globals.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Globals.cs",
- "RelativeToolTip": "Globals.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-20T19:49:07.958Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 7,
- "Title": "Enums.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
- "RelativeDocumentMoniker": "Enums.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
- "RelativeToolTip": "Enums.cs",
- "ViewState": "AgIAAI4AAAAAAAAAAAAwwJoAAAAgAAAAAAAAAA==",
+ "DocumentIndex": 2,
+ "Title": "Util.cs",
+ "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Util.cs",
+ "RelativeDocumentMoniker": "Util.cs",
+ "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Util.cs",
+ "RelativeToolTip": "Util.cs",
+ "ViewState": "AgIAABcAAAAAAAAAAAA1wDMAAAAlAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2022-02-15T14:34:42.347Z"
+ "WhenOpened": "2024-10-06T01:27:51.536Z"
},
{
"$type": "Document",
- "DocumentIndex": 4,
+ "DocumentIndex": 3,
"Title": "PluginCore.cs",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\PluginCore.cs",
"RelativeDocumentMoniker": "PluginCore.cs",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\PluginCore.cs",
"RelativeToolTip": "PluginCore.cs",
- "ViewState": "AgIAAMkAAAAAAAAAAIBZwM4AAAAqAAAAAAAAAA==",
+ "ViewState": "AgIAAMAAAAAAAAAAAAAgwNAAAAAYAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2022-02-15T14:58:30.193Z",
- "EditorCaption": ""
+ "WhenOpened": "2022-02-15T14:58:30.193Z"
},
{
"$type": "Document",
- "DocumentIndex": 3,
+ "DocumentIndex": 0,
"Title": "SortFlag.cs",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\SortFlag.cs",
"RelativeDocumentMoniker": "SortFlag.cs",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\SortFlag.cs",
"RelativeToolTip": "SortFlag.cs",
- "ViewState": "AgIAAJEAAAAAAAAAAIA2wJkAAAAAAAAAAAAAAA==",
+ "ViewState": "AgIAAF8BAAAAAAAAAAAgwG4BAABKAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2022-02-13T15:04:39.76Z",
"EditorCaption": ""
},
{
"$type": "Document",
- "DocumentIndex": 1,
+ "DocumentIndex": 6,
"Title": "AssemblyInfo.cs",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\AssemblyInfo.cs",
"RelativeDocumentMoniker": "Properties\\AssemblyInfo.cs",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\AssemblyInfo.cs",
"RelativeToolTip": "Properties\\AssemblyInfo.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2022-02-15T15:20:19.856Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 9,
- "Title": "Settings.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Settings.cs",
- "RelativeDocumentMoniker": "Settings.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Settings.cs",
- "RelativeToolTip": "Settings.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAACIAAAAiAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-28T02:36:07.023Z"
+ "WhenOpened": "2022-02-15T15:20:19.856Z"
}
]
}
diff --git a/.vs/mudsort/v17/DocumentLayout.json b/.vs/mudsort/v17/DocumentLayout.json
index b60f1fd..15b452a 100644
--- a/.vs/mudsort/v17/DocumentLayout.json
+++ b/.vs/mudsort/v17/DocumentLayout.json
@@ -3,33 +3,21 @@
"WorkspaceRootPath": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\",
"Documents": [
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainview.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:mainview.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|c:\\turbine\\asheron\u0027s call\\mudsort\\properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\properties\\settings.settings||{6D2695F9-5365-4A78-89ED-F205C045BFE6}",
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|c:\\turbine\\asheron\u0027s call\\mudsort\\properties\\settings.settings||{6D2695F9-5365-4A78-89ED-F205C045BFE6}",
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:properties\\settings.settings||{6D2695F9-5365-4A78-89ED-F205C045BFE6}"
},
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:sortflag.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\util.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:util.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\plugincore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:plugincore.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainview.xml||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:mainview.xml||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
- },
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\globals.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:globals.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
{
"AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\enums.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:enums.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
@@ -39,15 +27,8 @@
"RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:app.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
},
{
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\settings.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:settings.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
- },
- {
- "AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|mudsort||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|"
- },
- {
- "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\alphanumcomparator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:alphanumcomparator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|C:\\Turbine\\Asheron\u0027s Call\\mudsort\\properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{C2880823-67E7-4B3D-A481-9ADC9847C39C}|mudsort.csproj|solutionrelative:properties\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
@@ -57,155 +38,93 @@
"DocumentGroups": [
{
"DockedWidth": 200,
- "SelectedChildIndex": 3,
+ "SelectedChildIndex": 5,
"Children": [
{
"$type": "Document",
- "DocumentIndex": 2,
- "Title": "Settings.settings",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
- "RelativeDocumentMoniker": "Properties\\Settings.settings",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
- "RelativeToolTip": "Properties\\Settings.settings",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.002767|",
- "WhenOpened": "2024-09-28T02:35:53.522Z",
- "EditorCaption": ""
+ "DocumentIndex": 4,
+ "Title": "Enums.cs",
+ "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
+ "RelativeDocumentMoniker": "Enums.cs",
+ "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
+ "RelativeToolTip": "Enums.cs",
+ "ViewState": "AgIAAF4AAAAAAAAAAAAgwH8AAAAgAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2024-10-06T02:12:48.994Z"
},
{
"$type": "Document",
- "DocumentIndex": 8,
+ "DocumentIndex": 5,
"Title": "app.config",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\app.config",
"RelativeDocumentMoniker": "app.config",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\app.config",
"RelativeToolTip": "app.config",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAACQAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000601|",
- "WhenOpened": "2024-09-28T02:35:44.843Z",
+ "WhenOpened": "2024-10-06T02:12:48.299Z",
"EditorCaption": ""
},
{
"$type": "Document",
- "DocumentIndex": 5,
- "Title": "mainView.xml",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainView.xml",
- "RelativeDocumentMoniker": "mainView.xml",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mainView.xml",
- "RelativeToolTip": "mainView.xml",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003576|",
- "WhenOpened": "2024-09-28T02:34:56.999Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 0,
- "Title": "MainView.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\MainView.cs",
- "RelativeDocumentMoniker": "MainView.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\MainView.cs",
- "RelativeToolTip": "MainView.cs",
- "ViewState": "AgIAACIBAAAAAAAAAAAAAEMBAAA3AAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-20T19:50:36.215Z",
+ "DocumentIndex": 1,
+ "Title": "Settings.settings",
+ "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
+ "RelativeDocumentMoniker": "Properties\\Settings.settings",
+ "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\Settings.settings",
+ "RelativeToolTip": "Properties\\Settings.settings",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.002767|",
+ "WhenOpened": "2024-10-06T01:46:15.767Z",
"EditorCaption": ""
},
{
"$type": "Document",
- "DocumentIndex": 11,
- "Title": "AlphanumComparator.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\AlphanumComparator.cs",
- "RelativeDocumentMoniker": "AlphanumComparator.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\AlphanumComparator.cs",
- "RelativeToolTip": "AlphanumComparator.cs",
- "ViewState": "AgIAACsAAAAAAAAAAAAYwCcAAAAZAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-20T20:19:51.574Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 10,
- "Title": "mudsort",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mudsort.csproj",
- "RelativeDocumentMoniker": "mudsort.csproj",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\mudsort.csproj",
- "RelativeToolTip": "mudsort.csproj",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|",
- "WhenOpened": "2024-09-20T19:58:04.459Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 6,
- "Title": "Globals.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Globals.cs",
- "RelativeDocumentMoniker": "Globals.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Globals.cs",
- "RelativeToolTip": "Globals.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-20T19:49:07.958Z"
- },
- {
- "$type": "Document",
- "DocumentIndex": 7,
- "Title": "Enums.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
- "RelativeDocumentMoniker": "Enums.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Enums.cs",
- "RelativeToolTip": "Enums.cs",
- "ViewState": "AgIAAI4AAAAAAAAAAAAwwJoAAAAgAAAAAAAAAA==",
+ "DocumentIndex": 2,
+ "Title": "Util.cs",
+ "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Util.cs",
+ "RelativeDocumentMoniker": "Util.cs",
+ "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Util.cs",
+ "RelativeToolTip": "Util.cs",
+ "ViewState": "AgIAABcAAAAAAAAAAAA1wDMAAAAlAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2022-02-15T14:34:42.347Z"
+ "WhenOpened": "2024-10-06T01:27:51.536Z"
},
{
"$type": "Document",
- "DocumentIndex": 4,
+ "DocumentIndex": 3,
"Title": "PluginCore.cs",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\PluginCore.cs",
"RelativeDocumentMoniker": "PluginCore.cs",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\PluginCore.cs",
"RelativeToolTip": "PluginCore.cs",
- "ViewState": "AgIAAMkAAAAAAAAAAIBZwM4AAAAqAAAAAAAAAA==",
+ "ViewState": "AgIAAMAAAAAAAAAAAAAgwNAAAAAYAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2022-02-15T14:58:30.193Z",
- "EditorCaption": ""
+ "WhenOpened": "2022-02-15T14:58:30.193Z"
},
{
"$type": "Document",
- "DocumentIndex": 3,
+ "DocumentIndex": 0,
"Title": "SortFlag.cs",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\SortFlag.cs",
"RelativeDocumentMoniker": "SortFlag.cs",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\SortFlag.cs",
"RelativeToolTip": "SortFlag.cs",
- "ViewState": "AgIAAJEAAAAAAAAAAIA2wJkAAAAAAAAAAAAAAA==",
+ "ViewState": "AgIAAF8BAAAAAAAAAAAgwG4BAABKAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2022-02-13T15:04:39.76Z",
"EditorCaption": ""
},
{
"$type": "Document",
- "DocumentIndex": 1,
+ "DocumentIndex": 6,
"Title": "AssemblyInfo.cs",
"DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\AssemblyInfo.cs",
"RelativeDocumentMoniker": "Properties\\AssemblyInfo.cs",
"ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Properties\\AssemblyInfo.cs",
"RelativeToolTip": "Properties\\AssemblyInfo.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAA==",
- "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2022-02-15T15:20:19.856Z",
- "EditorCaption": ""
- },
- {
- "$type": "Document",
- "DocumentIndex": 9,
- "Title": "Settings.cs",
- "DocumentMoniker": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Settings.cs",
- "RelativeDocumentMoniker": "Settings.cs",
- "ToolTip": "C:\\Turbine\\Asheron\u0027s Call\\mudsort\\Settings.cs",
- "RelativeToolTip": "Settings.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
+ "ViewState": "AgIAAAAAAAAAAAAAAAAAACIAAAAiAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2024-09-28T02:36:07.023Z"
+ "WhenOpened": "2022-02-15T15:20:19.856Z"
}
]
}
diff --git a/Enums.cs b/Enums.cs
index 5c32773..7122ac8 100644
--- a/Enums.cs
+++ b/Enums.cs
@@ -129,8 +129,10 @@ public enum MSLongValueKey
//CleaveType = 263,
ArmorSet = 265,
Slot = 231735296,
- DamResistRating = 371,
DamRating = 370,
+ DamResistRating = 371,
+ CritRating = 372,
+ CritResist = 373,
CritDamRating = 374,
CritDamResistRating = 375,
HealBoostRating = 376,
diff --git a/PluginCore.cs b/PluginCore.cs
index 4e68457..ce0cf27 100644
--- a/PluginCore.cs
+++ b/PluginCore.cs
@@ -197,24 +197,30 @@ private void Current_RenderFrame_Sort(object sender, EventArgs e)
}
else if (CURRENT_STATE == State.BUILDING_LIST)
{
+ MainView.prgProgressBar.PreText = "building list...";
System.Collections.ArrayList sortValueList = new System.Collections.ArrayList();
+ //Util.DebugWrite("# of sortflags = " + sortFlags.Count);
for (int i = sortFlags.Count - 1; i >= 0; i--)
{
SortFlag sf = (SortFlag)sortFlags[i];
foreach (WorldObject worldObject in sortList)
{
String sortMetric = sf.valueOf(worldObject);
+ //Util.DebugWrite("adding WorldObject = "+worldObject.Name+" / sortMetric = "+ sortMetric);
if (!sortValueList.Contains(sortMetric))
{
sortValueList.Add(sortMetric);
}
}
+ //Util.DebugWrite("Sorting List...");
sortValueList.Sort(new AlphanumComparator());
+ //Util.DebugWrite("List Sorted.");
System.Collections.ArrayList newSortList = new System.Collections.ArrayList();
if (sf.descending)
{
sortValueList.Reverse();
}
+ //Util.DebugWrite("Starting to Iterate through sorted sortValueList");
foreach (Object sortValue in sortValueList)
{
foreach (WorldObject worldObject in sortList)
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 8f18650..8a2e5b0 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.6.5.0")]
-[assembly: AssemblyFileVersion("1.6.5.0")]
+[assembly: AssemblyVersion("1.6.6.0")]
+[assembly: AssemblyFileVersion("1.6.6.0")]
diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs
index fd7cb22..e3c9185 100644
--- a/Properties/Settings.Designer.cs
+++ b/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace mudsort.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.3.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.11.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -106,5 +106,17 @@ public bool ThinkWhenDone {
this["ThinkWhenDone"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool Debug {
+ get {
+ return ((bool)(this["Debug"]));
+ }
+ set {
+ this["Debug"] = value;
+ }
+ }
}
}
diff --git a/Properties/Settings.settings b/Properties/Settings.settings
index afa5077..040dbd4 100644
--- a/Properties/Settings.settings
+++ b/Properties/Settings.settings
@@ -23,5 +23,8 @@
True
+
+ False
+
\ No newline at end of file
diff --git a/SortFlag.cs b/SortFlag.cs
index 7498409..b2101c0 100644
--- a/SortFlag.cs
+++ b/SortFlag.cs
@@ -11,7 +11,14 @@ public class SortFlag
public static SortFlag OBJECT_CLASS = new SortFlag("ObjectClass",0x29D1,"OC", "OC");
public static SortFlag CALCED_TOTAL_RATINGS = new SortFlag("CalcedTotalRatings", 0x29D1, "TR", "TR");
- //public static SortFlag BITING_STRIKE = new SortFlag("BitingStrikeChance", 0x29CE, "BS", "BS");
+ public static SortFlag BUFFED_WEAPON_DAMAGE = new SortFlag("BuffedWeaponDamage", 0x29D1, "BW", "BW");
+ public static SortFlag BUFFED_ELEMENTAL_DAMAGE = new SortFlag("BuffedElementalDamage", 0x29D1, "BE", "BE");
+ public static SortFlag BUFFED_MELEE_DEFENSE = new SortFlag("BuffedMeleeDefense", 0x29D1, "BD", "BD");
+ public static SortFlag BUFFED_ATTACK_BONUS = new SortFlag("BuffedAttackBonus", 0x29D1, "BA", "BA");
+ public static SortFlag BUFFED_ARMOR_LEVEL = new SortFlag("BuffedArmorLevel", 0x29D1, "BP", "BP");
+ public static SortFlag BUFFED_MANA_CONVERSION = new SortFlag("BuffedManaConversion", 0x29D1, "BM", "BM");
+ public static SortFlag TOTAL_MISSILE_DAMAGE = new SortFlag("TotalMissileDamage", 0x29D1, "TM", "TM");
+ public static SortFlag TOTAL_SUMMON_DAMAGE = new SortFlag("TotalSummonDamage", 0x29D1, "TS", "TS");
public String name;
public String code;
@@ -57,6 +64,14 @@ static SortFlag() {
ArrayList codes = new ArrayList();
codes.Add(OBJECT_CLASS.code);
codes.Add(CALCED_TOTAL_RATINGS.code);
+ codes.Add(BUFFED_WEAPON_DAMAGE.code);
+ codes.Add(BUFFED_ELEMENTAL_DAMAGE.code);
+ codes.Add(BUFFED_MELEE_DEFENSE.code);
+ codes.Add(BUFFED_ATTACK_BONUS.code);
+ codes.Add(BUFFED_ARMOR_LEVEL.code);
+ codes.Add(BUFFED_MANA_CONVERSION.code);
+ codes.Add(TOTAL_MISSILE_DAMAGE.code);
+ codes.Add(TOTAL_SUMMON_DAMAGE.code);
ArrayList enums = new ArrayList();
enums.AddRange(Enum.GetValues(typeof(MSStringValueKey)));
enums.AddRange(Enum.GetValues(typeof(MSLongValueKey)));
@@ -171,6 +186,10 @@ public String valueOf(WorldObject obj)
{
return (((int) ((Double) directValueOf(obj) * 10000)).ToString());
}
+ else if (this == BUFFED_ELEMENTAL_DAMAGE || this == BUFFED_ATTACK_BONUS || this == BUFFED_MANA_CONVERSION || this == BUFFED_MELEE_DEFENSE)
+ {
+ return (((int) ((Double) directValueOf(obj) * 10000)).ToString());
+ }
else
{
return directValueOf(obj).ToString();
@@ -187,11 +206,192 @@ public Object directValueOf(WorldObject obj)
{
return obj.Values((LongValueKey)MSLongValueKey.DamRating)
+ obj.Values((LongValueKey)MSLongValueKey.DamResistRating)
+ + obj.Values((LongValueKey)MSLongValueKey.CritRating)
+ + obj.Values((LongValueKey)MSLongValueKey.CritResist)
+ obj.Values((LongValueKey)MSLongValueKey.CritDamRating)
+ obj.Values((LongValueKey)MSLongValueKey.CritDamResistRating)
+ obj.Values((LongValueKey)MSLongValueKey.HealBoostRating)
+ obj.Values((LongValueKey)MSLongValueKey.VitalityRating);
}
+ else if (this == BUFFED_WEAPON_DAMAGE)
+ {
+ int val = obj.Values((LongValueKey)MSLongValueKey.MaxDamage);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0; i < obj.SpellCount; i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 2453: val = val + 2; break;
+ case 2486: val = val + 2; break;
+ case 2487: val = val + 2; break;
+ case 2598: val = val + 2; break;
+ case 3828: val = val + 3; break;
+ case 2454: val = val + 4; break;
+ case 2586: val = val + 4; break;
+ case 2629: val = val + 5; break;
+ case 2452: val = val + 6; break;
+ case 4661: val = val + 7; break;
+ case 6089: val = val + 10; break;
+ }
+ }
+ }
+ return val;
+ }
+ else if (this == BUFFED_ARMOR_LEVEL)
+ {
+ int val = obj.Values((LongValueKey)MSLongValueKey.ArmorLevel);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0; i < obj.SpellCount; i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 2604: val = val + 20; break;
+ case 2592: val = val + 40; break;
+ case 4667: val = val + 60; break;
+ case 2349: val = val + 170; break;
+ case 2948: val = val + 220; break;
+ }
+ }
+ }
+ return val;
+ }
+ else if (this == BUFFED_ELEMENTAL_DAMAGE)
+ {
+ double val = obj.Values((DoubleValueKey)MSDoubleValueKey.ElementalDamageVersusMonsters);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0;i < obj.SpellCount;i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 3251: val = val + 0.01; break;
+ case 6035: val = val + 0.01; break;
+ case 2352: val = val + 0.02; break;
+ case 3250: val = val + 0.03; break;
+ case 4670: val = val + 0.05; break;
+ case 6098: val = val + 0.07; break;
+ }
+ }
+ }
+ return val;
+ }
+ else if (this == BUFFED_MELEE_DEFENSE)
+ {
+ double val = obj.Values((DoubleValueKey)MSDoubleValueKey.MeleeDefenseBonus);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0; i < obj.SpellCount; i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 2600: val = val + 0.03; break;
+ case 3985: val = val + 0.04; break;
+ case 2588: val = val + 0.05; break;
+ case 4663: val = val + 0.07; break;
+ case 2488: val = val + 0.08; break;
+ case 6091: val = val + 0.09; break;
+ }
+ }
+ }
+ return val;
+ }
+ else if (this == BUFFED_ATTACK_BONUS)
+ {
+ double val = obj.Values((DoubleValueKey)MSDoubleValueKey.AttackBonus);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0; i < obj.SpellCount; i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 2438: val = val + 0.01; break;
+ case 2439: val = val + 0.03; break;
+ case 2603: val = val + 0.03; break;
+ case 3984: val = val + 0.04; break;
+ case 2437: val = val + 0.05; break;
+ case 2591: val = val + 0.05; break;
+ case 2630: val = val + 0.06; break;
+ case 4666: val = val + 0.07; break;
+ case 6094: val = val + 0.09; break;
+ }
+ }
+ }
+ return val;
+ }
+ else if (this == BUFFED_MANA_CONVERSION)
+ {
+ double val = obj.Values((DoubleValueKey)MSDoubleValueKey.ManaCBonus);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0; i < obj.SpellCount; i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 3201: val = val * 1.05; break;
+ case 3199: val = val * 1.1; break;
+ case 3202: val = val * 1.15; break;
+ case 3200: val = val * 1.2; break;
+ case 6086: val = val * 1.25; break;
+ case 6087: val = val * 1.3; break;
+ }
+ }
+ }
+ return val;
+ }
+ else if (this == TOTAL_MISSILE_DAMAGE)
+ {
+ double baseMod = obj.Values((DoubleValueKey)MSDoubleValueKey.DamageBonus);
+ if (baseMod == 0)
+ return 0;
+ int elementalDMG = obj.Values((LongValueKey)MSLongValueKey.ElementalDmgBonus);
+ int cantripDMG = 0;
+ int baseDMG = (int)((baseMod - 1) * 100 / 3);
+ if (obj.SpellCount > 0)
+ {
+ for (int i = 0; i < obj.SpellCount; i++)
+ {
+ int spellID = obj.Spell(i);
+ switch (spellID)
+ {
+ case 2453: cantripDMG = cantripDMG + 2; break;
+ case 2486: cantripDMG = cantripDMG + 2; break;
+ case 2487: cantripDMG = cantripDMG + 2; break;
+ case 2598: cantripDMG = cantripDMG + 2; break;
+ case 3828: cantripDMG = cantripDMG + 3; break;
+ case 2454: cantripDMG = cantripDMG + 4; break;
+ case 2586: cantripDMG = cantripDMG + 4; break;
+ case 2629: cantripDMG = cantripDMG + 5; break;
+ case 2452: cantripDMG = cantripDMG + 6; break;
+ case 4661: cantripDMG = cantripDMG + 7; break;
+ case 6089: cantripDMG = cantripDMG + 10; break;
+ }
+ }
+ }
+ return baseDMG + elementalDMG + cantripDMG;
+ }
+ else if (this == TOTAL_SUMMON_DAMAGE)
+ {
+ //((MaxDam + MinDam)/2 * DamageRating * (1 - Crit Rate)) + (MaxDam * 2 [CritMod] * TotalCritDamageRating * CritRate)
+ int maxDMG = 100;
+ int minDMG = 25;
+ int ratingDMG = obj.Values((LongValueKey)MSLongValueKey.DamRating);
+ int ratingCRIT = obj.Values((LongValueKey)MSLongValueKey.CritRating);
+ int ratingCRITDAM = obj.Values((LongValueKey)MSLongValueKey.CritDamRating);
+ double avgDMG = (maxDMG + minDMG) / 2.0; // Fix integer division
+ double DamageRating = 1 + (ratingDMG / 100.0); // Fix integer division
+ double CritRating = (ratingCRIT + 10) / 100.0; // Fix integer division
+ double CritMod = (100 + ratingDMG + ratingCRITDAM) / 100.0; // Fix integer division
+ double formulaCalc = (avgDMG * DamageRating * (1 - CritRating)) + (maxDMG * 2 * CritMod * CritRating);
+ return (int)formulaCalc;
+ }
else if (key is MSStringValueKey)
{
return obj.Values((StringValueKey)key);
@@ -219,6 +419,11 @@ public String propertyDumpSelection()
WorldObject obj = Globals.Core.WorldFilter[Globals.Core.Actions.CurrentSelection];
String props = obj.Values(StringValueKey.Name) + " : " + name.ToString() + " : " + directValueOf(obj);
Util.WriteToChat(props);
+ //Util.WriteToChat("============================================");
+ //for (int i = 0;i <= obj.SpellCount;i++)
+ //{
+ // Util.WriteToChat("Spell: "+obj.Spell(i).ToString());
+ //}
return props;
}
}
diff --git a/Util.cs b/Util.cs
index 7a21d70..c217bd2 100644
--- a/Util.cs
+++ b/Util.cs
@@ -1,4 +1,5 @@
-using System;
+using mudsort.Properties;
+using System;
using System.IO;
namespace mudsort
@@ -40,13 +41,24 @@ public static void LogError(Exception ex)
}
}
- public static void WriteToChat(string message)
- {
- try
- {
- Globals.Host.Actions.AddChatText("[" + Globals.PluginName + "]: " + message, 5);
- }
- catch (Exception ex) { LogError(ex); }
- }
- }
+ public static void WriteToChat(string message)
+ {
+ try
+ {
+ Globals.Host.Actions.AddChatText("[" + Globals.PluginName + "]: " + message, 5);
+ }
+ catch (Exception ex) { LogError(ex); }
+ }
+ public static void DebugWrite(string message)
+ {
+ try
+ {
+ if (Settings.Default.Debug)
+ {
+ Globals.Host.Actions.AddChatText("[" + Globals.PluginName + "]: " + message, 5);
+ }
+ }
+ catch (Exception ex) { LogError(ex); }
+ }
+ }
}
diff --git a/app.config b/app.config
index 6fe8b75..57e0bc1 100644
--- a/app.config
+++ b/app.config
@@ -28,6 +28,9 @@
True
+
+ False
+
diff --git a/bin/Release/mudsort.dll b/bin/Release/mudsort.dll
index 604626d..afbd067 100644
Binary files a/bin/Release/mudsort.dll and b/bin/Release/mudsort.dll differ
diff --git a/bin/Release/mudsort.dll.config b/bin/Release/mudsort.dll.config
index 6fe8b75..57e0bc1 100644
--- a/bin/Release/mudsort.dll.config
+++ b/bin/Release/mudsort.dll.config
@@ -28,6 +28,9 @@
True
+
+ False
+
diff --git a/bin/Release/mudsort.pdb b/bin/Release/mudsort.pdb
index b4a2c20..e58bd1b 100644
Binary files a/bin/Release/mudsort.pdb and b/bin/Release/mudsort.pdb differ
diff --git a/obj/Release/DesignTimeResolveAssemblyReferences.cache b/obj/Release/DesignTimeResolveAssemblyReferences.cache
index 71e0522..bbde91b 100644
Binary files a/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/obj/Release/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/obj/Release/mudsort.csproj.AssemblyReference.cache b/obj/Release/mudsort.csproj.AssemblyReference.cache
index 9b6b529..06fd0af 100644
Binary files a/obj/Release/mudsort.csproj.AssemblyReference.cache and b/obj/Release/mudsort.csproj.AssemblyReference.cache differ
diff --git a/obj/Release/mudsort.dll b/obj/Release/mudsort.dll
index 604626d..afbd067 100644
Binary files a/obj/Release/mudsort.dll and b/obj/Release/mudsort.dll differ
diff --git a/obj/Release/mudsort.pdb b/obj/Release/mudsort.pdb
index b4a2c20..e58bd1b 100644
Binary files a/obj/Release/mudsort.pdb and b/obj/Release/mudsort.pdb differ