├── _config.yml
├── GutterLinesPrev.png
├── GutterLines
├── Resources
│ ├── arrow.png
│ ├── back.png
│ ├── close.png
│ ├── dot.png
│ └── icon.ico
├── App.config
├── GameInfo.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── SigScan.cs
├── MemRead.cs
├── GutterLines.csproj
├── Window.resx
├── Window.cs
└── Window.Designer.cs
├── README.md
├── GutterLines.sln
├── LICENSE.txt
├── .gitattributes
└── .gitignore
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-slate
2 | google_analytics: UA-73215715-4
3 |
--------------------------------------------------------------------------------
/GutterLinesPrev.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miatribe/GutterLines/HEAD/GutterLinesPrev.png
--------------------------------------------------------------------------------
/GutterLines/Resources/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miatribe/GutterLines/HEAD/GutterLines/Resources/arrow.png
--------------------------------------------------------------------------------
/GutterLines/Resources/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miatribe/GutterLines/HEAD/GutterLines/Resources/back.png
--------------------------------------------------------------------------------
/GutterLines/Resources/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miatribe/GutterLines/HEAD/GutterLines/Resources/close.png
--------------------------------------------------------------------------------
/GutterLines/Resources/dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miatribe/GutterLines/HEAD/GutterLines/Resources/dot.png
--------------------------------------------------------------------------------
/GutterLines/Resources/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miatribe/GutterLines/HEAD/GutterLines/Resources/icon.ico
--------------------------------------------------------------------------------
/GutterLines/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/GutterLines/GameInfo.cs:
--------------------------------------------------------------------------------
1 | namespace GutterLines
2 | {
3 | public class GameInfo
4 | {
5 | public string Name { get; set; }
6 | public int Lat { get; set; }
7 | public int Lon { get; set; }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # GutterLines
2 | ### This no longer works now that iRo is using EAC (future TBD)
3 | Gutter line viewer for Ragnarok iRo
4 |
5 |
6 | [Youtube demo](https://youtu.be/hggU2WS2KyU)
7 |
8 | #### Must be ran as admin.
9 |
10 | Arrow at bottom right can be used to cycle between RO clients.
11 |
12 | Use the system tray icon to toggle peripheral vision mode.
13 |
14 | 
15 |
--------------------------------------------------------------------------------
/GutterLines/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | [assembly: AssemblyTitle("GutterLines")]
5 | [assembly: AssemblyDescription("")]
6 | [assembly: AssemblyConfiguration("")]
7 | [assembly: AssemblyCompany("Tribe")]
8 | [assembly: AssemblyProduct("GutterLines")]
9 | [assembly: AssemblyCopyright("Copyright © 2017")]
10 | [assembly: AssemblyTrademark("")]
11 | [assembly: AssemblyCulture("")]
12 | [assembly: ComVisible(false)]
13 |
14 | [assembly: Guid("1b4e1e90-a16e-445c-9a3d-3b9d6e8520e0")]
15 |
16 | [assembly: AssemblyVersion("1.0.0.0")]
17 | [assembly: AssemblyFileVersion("1.0.0.0")]
18 |
--------------------------------------------------------------------------------
/GutterLines.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26430.16
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GutterLines", "GutterLines\GutterLines.csproj", "{1B4E1E90-A16E-445C-9A3D-3B9D6E8520E0}"
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 | {1B4E1E90-A16E-445C-9A3D-3B9D6E8520E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {1B4E1E90-A16E-445C-9A3D-3B9D6E8520E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {1B4E1E90-A16E-445C-9A3D-3B9D6E8520E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {1B4E1E90-A16E-445C-9A3D-3B9D6E8520E0}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Michael Wheatley
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/GutterLines/SigScan.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Runtime.InteropServices;
4 |
5 | namespace GutterLines
6 | {
7 | class SigScan
8 | {
9 | private byte[] _MemoryDump;
10 | public Process Process { get; set; }
11 | public int DumpSize { get; set; }
12 |
13 | [DllImport("kernel32.dll", SetLastError = true)]
14 | private static extern bool ReadProcessMemory(IntPtr process, IntPtr baseAddress, [Out] byte[] buffer, int size, out IntPtr bytesRead);
15 |
16 | public IntPtr FindAddress(byte[] bytePattern, string mask, int bytesToSkip)
17 | {
18 | try
19 | {
20 | if (!GetMemoryDump()) return IntPtr.Zero;
21 | for (int i = 0; i < _MemoryDump.Length; i++)
22 | {
23 | if (CheckMask(i, bytePattern, mask)) return GetAddressAtAddress((Process.MainModule.BaseAddress + i) + bytesToSkip);
24 | }
25 | return IntPtr.Zero;
26 | }
27 | catch
28 | {
29 | return IntPtr.Zero;
30 | }
31 | }
32 |
33 | private bool CheckMask(int bytePosition, byte[] bytePattern, string mask)
34 | {
35 | for (int i = 0; i < bytePattern.Length; i++)
36 | {
37 | if (mask[i] == 'x' && bytePattern[i] != _MemoryDump[i + bytePosition]) return false;
38 | }
39 | return true;
40 | }
41 |
42 | private bool GetMemoryDump()
43 | {
44 | _MemoryDump = new byte[DumpSize];
45 | return ReadProcessMemory(Process.Handle, Process.MainModule.BaseAddress, _MemoryDump, DumpSize, out IntPtr BytesRead);
46 | }
47 |
48 | private IntPtr GetAddressAtAddress(IntPtr baseAddress)
49 | {
50 | var buffer = new byte[4];
51 | ReadProcessMemory(Process.Handle, baseAddress, buffer, 4, out IntPtr bytesRead);
52 | return (IntPtr)BitConverter.ToInt32(buffer, 0);
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/GutterLines/MemRead.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Linq;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace GutterLines
7 | {
8 | public class MemRead
9 | {
10 | [DllImport("kernel32.dll", SetLastError = true)]
11 | private static extern bool ReadProcessMemory(IntPtr process, IntPtr baseAddress, [Out] byte[] buffer, int size, out IntPtr bytesRead);
12 |
13 | private int processNum;
14 | private Process curProcess;
15 | private IntPtr latAddress;
16 | private IntPtr lonAddress;
17 | private IntPtr nameAddress;
18 |
19 | public void GetProcess()
20 | {
21 | try
22 | {
23 | var prosesses = Process.GetProcessesByName("Ragexe");
24 | if (processNum >= prosesses.Count()) processNum = 0;
25 | curProcess = prosesses[processNum++];
26 | }
27 | catch
28 | {
29 | processNum = 0;
30 | curProcess = null;
31 | }
32 | if (curProcess != null)
33 | {
34 | SigScan sigScan = new SigScan {Process = curProcess, DumpSize = 0x5B8D80};
35 | latAddress = sigScan.FindAddress(new byte[] { 0x89, 0x0D, 0x00, 0x00, 0x00, 0x00, 0x89, 0x3D, 0x00, 0x00, 0x00, 0x00, 0x85, 0xD2 }, "xx????xx????xx", 2);
36 | lonAddress = latAddress + 4;
37 | nameAddress = sigScan.FindAddress(new byte[] { 0x0F, 0xB6, 0x84, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x30, 0x81 }, "xxxx????xx", 4);
38 | }
39 | }
40 |
41 | public GameInfo GetValues()
42 | {
43 | try
44 | {
45 | return new GameInfo
46 | {
47 | Name = ReadString(curProcess.Handle, nameAddress),
48 | Lat = ReadInt(curProcess.Handle, latAddress),
49 | Lon = ReadInt(curProcess.Handle, lonAddress)
50 | };
51 | }
52 | catch
53 | {
54 | return null;
55 | }
56 | }
57 |
58 | private static string ReadString(IntPtr process, IntPtr baseAddress)
59 | {
60 | var buffer = new byte[8];
61 | ReadProcessMemory(process, baseAddress, buffer, 8, out IntPtr bytesRead);
62 | return System.Text.Encoding.Default.GetString(buffer).Replace("\0",string.Empty);
63 | }
64 |
65 | private static int ReadInt(IntPtr process, IntPtr baseAddress)
66 | {
67 | var buffer = new byte[4];
68 | ReadProcessMemory(process, baseAddress, buffer, 4, out IntPtr bytesRead);
69 | return BitConverter.ToInt32(buffer, 0);
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/GutterLines/Properties/Resources.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 GutterLines.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GutterLines.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Looks up a localized resource of type System.Drawing.Bitmap.
65 | ///
66 | internal static System.Drawing.Bitmap arrow {
67 | get {
68 | object obj = ResourceManager.GetObject("arrow", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// Looks up a localized resource of type System.Drawing.Bitmap.
75 | ///
76 | internal static System.Drawing.Bitmap back {
77 | get {
78 | object obj = ResourceManager.GetObject("back", resourceCulture);
79 | return ((System.Drawing.Bitmap)(obj));
80 | }
81 | }
82 |
83 | ///
84 | /// Looks up a localized resource of type System.Drawing.Bitmap.
85 | ///
86 | internal static System.Drawing.Bitmap close {
87 | get {
88 | object obj = ResourceManager.GetObject("close", resourceCulture);
89 | return ((System.Drawing.Bitmap)(obj));
90 | }
91 | }
92 |
93 | ///
94 | /// Looks up a localized resource of type System.Drawing.Bitmap.
95 | ///
96 | internal static System.Drawing.Bitmap dot {
97 | get {
98 | object obj = ResourceManager.GetObject("dot", resourceCulture);
99 | return ((System.Drawing.Bitmap)(obj));
100 | }
101 | }
102 |
103 | ///
104 | /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
105 | ///
106 | internal static System.Drawing.Icon icon {
107 | get {
108 | object obj = ResourceManager.GetObject("icon", resourceCulture);
109 | return ((System.Drawing.Icon)(obj));
110 | }
111 | }
112 | }
113 | }
114 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | bld/
21 | [Bb]in/
22 | [Oo]bj/
23 | [Ll]og/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 | # Uncomment if you have tasks that create the project's static files in wwwroot
28 | #wwwroot/
29 |
30 | # MSTest test Results
31 | [Tt]est[Rr]esult*/
32 | [Bb]uild[Ll]og.*
33 |
34 | # NUNIT
35 | *.VisualState.xml
36 | TestResult.xml
37 |
38 | # Build Results of an ATL Project
39 | [Dd]ebugPS/
40 | [Rr]eleasePS/
41 | dlldata.c
42 |
43 | # DNX
44 | project.lock.json
45 | project.fragment.lock.json
46 | artifacts/
47 |
48 | *_i.c
49 | *_p.c
50 | *_i.h
51 | *.ilk
52 | *.meta
53 | *.obj
54 | *.pch
55 | *.pdb
56 | *.pgc
57 | *.pgd
58 | *.rsp
59 | *.sbr
60 | *.tlb
61 | *.tli
62 | *.tlh
63 | *.tmp
64 | *.tmp_proj
65 | *.log
66 | *.vspscc
67 | *.vssscc
68 | .builds
69 | *.pidb
70 | *.svclog
71 | *.scc
72 |
73 | # Chutzpah Test files
74 | _Chutzpah*
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opendb
81 | *.opensdf
82 | *.sdf
83 | *.cachefile
84 | *.VC.db
85 | *.VC.VC.opendb
86 |
87 | # Visual Studio profiler
88 | *.psess
89 | *.vsp
90 | *.vspx
91 | *.sap
92 |
93 | # TFS 2012 Local Workspace
94 | $tf/
95 |
96 | # Guidance Automation Toolkit
97 | *.gpState
98 |
99 | # ReSharper is a .NET coding add-in
100 | _ReSharper*/
101 | *.[Rr]e[Ss]harper
102 | *.DotSettings.user
103 |
104 | # JustCode is a .NET coding add-in
105 | .JustCode
106 |
107 | # TeamCity is a build add-in
108 | _TeamCity*
109 |
110 | # DotCover is a Code Coverage Tool
111 | *.dotCover
112 |
113 | # NCrunch
114 | _NCrunch_*
115 | .*crunch*.local.xml
116 | nCrunchTemp_*
117 |
118 | # MightyMoose
119 | *.mm.*
120 | AutoTest.Net/
121 |
122 | # Web workbench (sass)
123 | .sass-cache/
124 |
125 | # Installshield output folder
126 | [Ee]xpress/
127 |
128 | # DocProject is a documentation generator add-in
129 | DocProject/buildhelp/
130 | DocProject/Help/*.HxT
131 | DocProject/Help/*.HxC
132 | DocProject/Help/*.hhc
133 | DocProject/Help/*.hhk
134 | DocProject/Help/*.hhp
135 | DocProject/Help/Html2
136 | DocProject/Help/html
137 |
138 | # Click-Once directory
139 | publish/
140 |
141 | # Publish Web Output
142 | *.[Pp]ublish.xml
143 | *.azurePubxml
144 | # TODO: Comment the next line if you want to checkin your web deploy settings
145 | # but database connection strings (with potential passwords) will be unencrypted
146 | #*.pubxml
147 | *.publishproj
148 |
149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
150 | # checkin your Azure Web App publish settings, but sensitive information contained
151 | # in these scripts will be unencrypted
152 | PublishScripts/
153 |
154 | # NuGet Packages
155 | *.nupkg
156 | # The packages folder can be ignored because of Package Restore
157 | **/packages/*
158 | # except build/, which is used as an MSBuild target.
159 | !**/packages/build/
160 | # Uncomment if necessary however generally it will be regenerated when needed
161 | #!**/packages/repositories.config
162 | # NuGet v3's project.json files produces more ignoreable files
163 | *.nuget.props
164 | *.nuget.targets
165 |
166 | # Microsoft Azure Build Output
167 | csx/
168 | *.build.csdef
169 |
170 | # Microsoft Azure Emulator
171 | ecf/
172 | rcf/
173 |
174 | # Windows Store app package directories and files
175 | AppPackages/
176 | BundleArtifacts/
177 | Package.StoreAssociation.xml
178 | _pkginfo.txt
179 |
180 | # Visual Studio cache files
181 | # files ending in .cache can be ignored
182 | *.[Cc]ache
183 | # but keep track of directories ending in .cache
184 | !*.[Cc]ache/
185 |
186 | # Others
187 | ClientBin/
188 | ~$*
189 | *~
190 | *.dbmdl
191 | *.dbproj.schemaview
192 | *.jfm
193 | *.pfx
194 | *.publishsettings
195 | node_modules/
196 | orleans.codegen.cs
197 |
198 | # Since there are multiple workflows, uncomment next line to ignore bower_components
199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
200 | #bower_components/
201 |
202 | # RIA/Silverlight projects
203 | Generated_Code/
204 |
205 | # Backup & report files from converting an old project file
206 | # to a newer Visual Studio version. Backup files are not needed,
207 | # because we have git ;-)
208 | _UpgradeReport_Files/
209 | Backup*/
210 | UpgradeLog*.XML
211 | UpgradeLog*.htm
212 |
213 | # SQL Server files
214 | *.mdf
215 | *.ldf
216 |
217 | # Business Intelligence projects
218 | *.rdl.data
219 | *.bim.layout
220 | *.bim_*.settings
221 |
222 | # Microsoft Fakes
223 | FakesAssemblies/
224 |
225 | # GhostDoc plugin setting file
226 | *.GhostDoc.xml
227 |
228 | # Node.js Tools for Visual Studio
229 | .ntvs_analysis.dat
230 |
231 | # Visual Studio 6 build log
232 | *.plg
233 |
234 | # Visual Studio 6 workspace options file
235 | *.opt
236 |
237 | # Visual Studio LightSwitch build output
238 | **/*.HTMLClient/GeneratedArtifacts
239 | **/*.DesktopClient/GeneratedArtifacts
240 | **/*.DesktopClient/ModelManifest.xml
241 | **/*.Server/GeneratedArtifacts
242 | **/*.Server/ModelManifest.xml
243 | _Pvt_Extensions
244 |
245 | # Paket dependency manager
246 | .paket/paket.exe
247 | paket-files/
248 |
249 | # FAKE - F# Make
250 | .fake/
251 |
252 | # JetBrains Rider
253 | .idea/
254 | *.sln.iml
255 |
256 | # CodeRush
257 | .cr/
258 |
259 | # Python Tools for Visual Studio (PTVS)
260 | __pycache__/
261 | *.pyc
--------------------------------------------------------------------------------
/GutterLines/GutterLines.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {1B4E1E90-A16E-445C-9A3D-3B9D6E8520E0}
8 | WinExe
9 | GutterLines
10 | GutterLines
11 | v4.5.2
12 | 512
13 | true
14 |
15 |
16 | false
17 | publish\
18 | true
19 | Disk
20 | false
21 | Foreground
22 | 7
23 | Days
24 | false
25 | false
26 | true
27 | 0
28 | 1.4.0.%2a
29 | false
30 | true
31 | true
32 |
33 |
34 | AnyCPU
35 | true
36 | full
37 | false
38 | bin\Debug\
39 | DEBUG;TRACE
40 | prompt
41 | 4
42 |
43 |
44 | AnyCPU
45 | pdbonly
46 | true
47 | bin\Release\
48 | TRACE
49 | prompt
50 | 4
51 |
52 |
53 |
54 |
55 |
56 | 0BFAC510E54D266559D3D1513FFE7F96A0115C2F
57 |
58 |
59 | GutterLines_TemporaryKey.pfx
60 |
61 |
62 | true
63 |
64 |
65 | false
66 |
67 |
68 | Resources\icon.ico
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 | True
88 | True
89 | Resources.resx
90 |
91 |
92 |
93 | Form
94 |
95 |
96 | Window.cs
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 | ResXFileCodeGenerator
105 | Resources.Designer.cs
106 |
107 |
108 | Window.cs
109 |
110 |
111 |
112 |
113 | False
114 | Microsoft .NET Framework 4.5.2 %28x86 and x64%29
115 | true
116 |
117 |
118 | False
119 | .NET Framework 3.5 SP1
120 | false
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
--------------------------------------------------------------------------------
/GutterLines/Properties/Resources.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 |
121 |
122 | ..\Resources\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
125 | ..\Resources\arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
126 |
127 |
128 | ..\Resources\back.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
129 |
130 |
131 | ..\Resources\dot.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
132 |
133 |
134 | ..\Resources\icon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
135 |
136 |
--------------------------------------------------------------------------------
/GutterLines/Window.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 |
121 |
122 |
123 | AAABAAEAICAQAAEABADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
124 | AAD/JAAAAAD/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
125 | AAAAAAAAERERERERERERERERERERERERERERERERERERERERERERAAAAAAAAAAAAAAAAAAAAEQAAAAAA
126 | AAAAAAAAAAAAABEAIiIiIiIiIiIiIiIiIiIRACIiIiIiIiIiIiIiIiIiEQAiEREREREQIiEREREREREA
127 | IhERERERECIhERERERERACIRAAAAARAiIRAAAAAAEQAiEQIiIiEQIiEQIiIiIhEAIhECIiIhECIhECIi
128 | IiIRACIRAiIiIRAiIRAiIiIiEQAiEQIiIiEQIiEQIiIiIhEAIhECIiIhECIhECIiIiIRACIRAiIhERAi
129 | IRAiIiIiEQAiEQIiIREQIiEQIiIiIhEAIhECIiAAACIhECIiIiIRACIRAiIiIiIiIRAiIiIiEQAiEQIi
130 | IiIiIiEQIiIiIhEAIhECIiIiIiIhECIiIiIRACIRAiIiIiIiIRAiIiIiEQAiEQIiIiIiIiEQIiIiIhEA
131 | IhECIiIiIiIhECIiIiIRACIRAiIiIiIiIRAiIiIiEQAiEQIiIiIiIiEQIiIiIhEAIhECIiIiIiIhECIi
132 | IiIRACIRAiIiIiIiIRAiIiIiEQAiEQIiIiIiIiEQIiIiIhEAIhECIiIiIiIhECIiIiIRACIRERERERIi
133 | IRAiIiIiEQAiERERERESIiEQIiIiIhEAIgAAAAAAAiIhECIiIiIAAAAAAAAAAAAAAAAAAAAAD////w//
134 | //8MADgADAA4AAwAOAAMfjj/DH44/wx+OP8Mfjj/DH44/wx4OP8MeDj/DHg4/wx/+P8Mf/j/DH/4/wx/
135 | +P8Mf/j/DH/4/wx/+P8Mf/j/DH/4/wx/+P8Mf/j/DH/4/wwAeP8MAHj/DAB4/w==
136 |
137 |
138 |
--------------------------------------------------------------------------------
/GutterLines/Window.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Win32;
2 | using System;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Security.Principal;
6 | using System.Windows.Forms;
7 |
8 | namespace GutterLines
9 | {
10 | public partial class Window : Form
11 | {
12 | private MemRead memRead;
13 | private int lat;
14 | private int lon;
15 | private const int gridScale = 4;
16 | private const int lineOffset = gridScale / 2;
17 | private const int gridMax = gridScale * 40;
18 | private MenuItem alertToggle;
19 | private bool flashAlert;
20 |
21 | [System.Runtime.InteropServices.DllImport("user32.dll")]
22 | private static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
23 | [System.Runtime.InteropServices.DllImport("user32.dll")]
24 | private static extern bool ReleaseCapture();
25 |
26 | [STAThread]
27 | static void Main()
28 | {
29 | try
30 | {
31 | if ((new WindowsPrincipal(WindowsIdentity.GetCurrent())).IsInRole(WindowsBuiltInRole.Administrator))
32 | {
33 | Application.Run(new Window());
34 | }
35 | else
36 | {
37 | MessageBox.Show("GutterLines must be ran as Administrator.", "Privilege Error");
38 | Application.Exit();
39 | }
40 | }
41 | catch
42 | {
43 | Application.Exit();
44 | }
45 | }
46 |
47 | public Window()
48 | {
49 | InitializeComponent();
50 | flashAlert = GetAlertToggleBool();
51 | CreateContextMenu();
52 | StartPosition = FormStartPosition.Manual;
53 | SetWindowPos();
54 | BackColor = Color.Pink;
55 | TransparencyKey = Color.Pink;
56 | memRead = new MemRead();
57 | memRead.GetProcess();
58 | var Timer = new Timer()
59 | {
60 | Interval = (250)
61 | };
62 | Timer.Tick += new EventHandler(UpdateWindow);
63 | Timer.Start();
64 | }
65 |
66 | private void CreateContextMenu()
67 | {
68 | var notifyIcon = new NotifyIcon(components = new Container())
69 | {
70 | Icon = Properties.Resources.icon,
71 | ContextMenu = new ContextMenu(new[]
72 | {
73 | new MenuItem("Reset Window Position", ResetWindowPos),
74 | alertToggle = new MenuItem($"Show When in Gutter (Current:{flashAlert})", ToggleAlert),
75 | new MenuItem("-"),
76 | new MenuItem("Exit GutterLines", ExitBtn_Click)
77 | }),
78 | Text = "GutterLines",
79 | Visible = true
80 | };
81 | }
82 |
83 | private void ToggleAlert(object sender, EventArgs e)
84 | {
85 | flashAlert = !flashAlert;
86 | using (var key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\ByTribe\GutterLines"))
87 | {
88 | try
89 | {
90 | key?.SetValue("alertToggle", flashAlert);
91 | }
92 | catch {/* If we cant write to the registry do nothing*/}
93 | }
94 | alertToggle.Text = $"Show When in Gutter (Current:{flashAlert})";
95 | }
96 |
97 | private bool GetAlertToggleBool()
98 | {
99 | using (var key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\ByTribe\GutterLines"))
100 | {
101 | try
102 | {
103 | return Convert.ToBoolean(key?.GetValue("alertToggle"));
104 | }
105 | catch { return false; }
106 | }
107 | }
108 |
109 | private void UpdateWindow(object sender, EventArgs e)
110 | {
111 | var gi = memRead.GetValues();
112 | if (gi != null)
113 | {
114 | LatLonLbl.Text = $"{gi.Name} @ {gi.Lat},{gi.Lon}";
115 | if (lat != gi.Lat || lon != gi.Lon)
116 | {
117 | lat = gi.Lat;
118 | lon = gi.Lon;
119 | DrawGutters(gi.Lat, gi.Lon, GutterAlert());
120 | }
121 | }
122 | else
123 | {
124 | LatLonLbl.Text = "Unable to find data";
125 | }
126 | }
127 |
128 | private Color GutterAlert()
129 | {
130 | if (flashAlert)
131 | {
132 | //check both lat and lon to see if the player is in a gutter line, if they are make the backgroud color non white
133 | if (lat % 40 <= 4 || lon % 40 <= 4)
134 | {
135 | return Color.Orange;
136 | }
137 | }
138 | return Color.White;
139 | }
140 |
141 | private void DrawGutters(int playerX, int playerY, Color backCol)
142 | {
143 | Graphics g = gridMap.CreateGraphics();
144 | g.Clear(backCol);
145 | for (int i = 4; i >= 0; i--)
146 | {
147 | var gutterPosX = GetGutterLinePos(playerX, i) * gridScale;
148 | var gutterPosY = GetGutterLinePos(playerY, i) * gridScale;
149 | Pen pen = new Pen(i == 0 ? Brushes.Red : Brushes.Blue, gridScale);
150 | g.DrawLine(pen, new Point(gutterPosX, 0), new Point(gutterPosX, gridMax));
151 | //RO's 0,0 is bottom left, Winforms Picture box's 0,0 is top left. So we flip our Y
152 | g.DrawLine(pen, new Point(0, gridMax - gutterPosY), new Point(gridMax, gridMax - gutterPosY));
153 | }
154 | //draw players dot
155 | g.FillRectangle(Brushes.Black, 20 * gridScale - lineOffset, 20 * gridScale - lineOffset, gridScale, gridScale);
156 | }
157 |
158 | private int GetGutterLinePos(int playerAxisPos, int mod)
159 | {
160 | int Gutter = playerAxisPos + (40 - (playerAxisPos % 40));
161 | if (Gutter + mod > playerAxisPos + 20)
162 | {
163 | Gutter = playerAxisPos - (playerAxisPos % 40);
164 | }
165 | return Gutter - playerAxisPos + 20 + mod;
166 | }
167 |
168 |
169 |
170 | private void SetWindowPos()
171 | {
172 | using (var key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\ByTribe\GutterLines"))
173 | {
174 | try
175 | {
176 | Location = new Point((int)key?.GetValue("winX"), (int)key?.GetValue("winY"));
177 | }
178 | catch (Exception)
179 | {
180 | Location = new Point(10, 10);
181 | }
182 | }
183 | }
184 |
185 | private void ResetWindowPos(object sender, EventArgs e)
186 | {
187 | SaveWindowPos(10, 10);
188 | SetWindowPos();
189 | }
190 |
191 | private void SaveWindowPos(int winX, int winY)
192 | {
193 | using (var key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\ByTribe\GutterLines"))
194 | {
195 | try
196 | {
197 | key?.SetValue("winX", winX);
198 | key?.SetValue("winY", winY);
199 | }
200 | catch {/* If we cant write to the registry do nothing*/}
201 | }
202 | }
203 |
204 | #region form controls
205 | private void Window_MouseDown(object sender, MouseEventArgs e)
206 | {
207 | if (e.Button == MouseButtons.Left)
208 | {
209 | ReleaseCapture();
210 | SendMessage(Handle, 0xA1, 0x2, 0);
211 | }
212 | }
213 | private void ExitBtn_Click(object sender, EventArgs e)
214 | {
215 | Application.Exit();
216 | }
217 | private void NextClientBtn_Click(object sender, EventArgs e)
218 | {
219 | memRead.GetProcess();
220 | }
221 | private void Window_FormClosing(object sender, FormClosingEventArgs e)
222 | {
223 | SaveWindowPos(Location.X, Location.Y);
224 | }
225 | #endregion
226 |
227 |
228 | }
229 | }
230 |
231 |
--------------------------------------------------------------------------------
/GutterLines/Window.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace GutterLines
2 | {
3 | partial class Window
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 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Window));
32 | this.LatLonLbl = new System.Windows.Forms.Label();
33 | this.gridMap = new System.Windows.Forms.PictureBox();
34 | this.pictureBox1 = new System.Windows.Forms.PictureBox();
35 | this.ExitBtn = new System.Windows.Forms.PictureBox();
36 | this.pictureBox3 = new System.Windows.Forms.PictureBox();
37 | this.titleLbl = new System.Windows.Forms.Label();
38 | this.NextClientBtn = new System.Windows.Forms.PictureBox();
39 | ((System.ComponentModel.ISupportInitialize)(this.gridMap)).BeginInit();
40 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
41 | ((System.ComponentModel.ISupportInitialize)(this.ExitBtn)).BeginInit();
42 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
43 | ((System.ComponentModel.ISupportInitialize)(this.NextClientBtn)).BeginInit();
44 | this.SuspendLayout();
45 | //
46 | // LatLonLbl
47 | //
48 | this.LatLonLbl.AutoSize = true;
49 | this.LatLonLbl.BackColor = System.Drawing.Color.Transparent;
50 | this.LatLonLbl.Location = new System.Drawing.Point(4, 178);
51 | this.LatLonLbl.Name = "LatLonLbl";
52 | this.LatLonLbl.Size = new System.Drawing.Size(40, 13);
53 | this.LatLonLbl.TabIndex = 2;
54 | this.LatLonLbl.Text = "LatLon";
55 | //
56 | // gridMap
57 | //
58 | this.gridMap.BackColor = System.Drawing.Color.White;
59 | this.gridMap.Location = new System.Drawing.Point(-2, 17);
60 | this.gridMap.Name = "gridMap";
61 | this.gridMap.Size = new System.Drawing.Size(159, 158);
62 | this.gridMap.TabIndex = 6;
63 | this.gridMap.TabStop = false;
64 | //
65 | // pictureBox1
66 | //
67 | this.pictureBox1.BackColor = System.Drawing.Color.Silver;
68 | this.pictureBox1.Location = new System.Drawing.Point(0, 17);
69 | this.pictureBox1.Name = "pictureBox1";
70 | this.pictureBox1.Size = new System.Drawing.Size(1, 158);
71 | this.pictureBox1.TabIndex = 7;
72 | this.pictureBox1.TabStop = false;
73 | //
74 | // ExitBtn
75 | //
76 | this.ExitBtn.BackColor = System.Drawing.Color.Transparent;
77 | this.ExitBtn.BackgroundImage = global::GutterLines.Properties.Resources.close;
78 | this.ExitBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
79 | this.ExitBtn.Location = new System.Drawing.Point(146, 4);
80 | this.ExitBtn.Name = "ExitBtn";
81 | this.ExitBtn.Size = new System.Drawing.Size(9, 9);
82 | this.ExitBtn.TabIndex = 8;
83 | this.ExitBtn.TabStop = false;
84 | this.ExitBtn.Click += new System.EventHandler(this.ExitBtn_Click);
85 | //
86 | // pictureBox3
87 | //
88 | this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
89 | this.pictureBox3.BackgroundImage = global::GutterLines.Properties.Resources.dot;
90 | this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
91 | this.pictureBox3.Location = new System.Drawing.Point(4, 4);
92 | this.pictureBox3.Name = "pictureBox3";
93 | this.pictureBox3.Size = new System.Drawing.Size(9, 9);
94 | this.pictureBox3.TabIndex = 9;
95 | this.pictureBox3.TabStop = false;
96 | this.pictureBox3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Window_MouseDown);
97 | //
98 | // titleLbl
99 | //
100 | this.titleLbl.AutoSize = true;
101 | this.titleLbl.BackColor = System.Drawing.Color.Transparent;
102 | this.titleLbl.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
103 | this.titleLbl.Location = new System.Drawing.Point(13, 2);
104 | this.titleLbl.Name = "titleLbl";
105 | this.titleLbl.Size = new System.Drawing.Size(103, 13);
106 | this.titleLbl.TabIndex = 10;
107 | this.titleLbl.Text = "Gutter Lines by Tribe";
108 | this.titleLbl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Window_MouseDown);
109 | //
110 | // NextClientBtn
111 | //
112 | this.NextClientBtn.BackColor = System.Drawing.Color.Transparent;
113 | this.NextClientBtn.BackgroundImage = global::GutterLines.Properties.Resources.arrow;
114 | this.NextClientBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
115 | this.NextClientBtn.Location = new System.Drawing.Point(148, 181);
116 | this.NextClientBtn.Name = "NextClientBtn";
117 | this.NextClientBtn.Size = new System.Drawing.Size(6, 9);
118 | this.NextClientBtn.TabIndex = 11;
119 | this.NextClientBtn.TabStop = false;
120 | this.NextClientBtn.Click += new System.EventHandler(this.NextClientBtn_Click);
121 | //
122 | // Window
123 | //
124 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
125 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
126 | this.BackColor = System.Drawing.Color.Gray;
127 | this.BackgroundImage = global::GutterLines.Properties.Resources.back;
128 | this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
129 | this.ClientSize = new System.Drawing.Size(158, 195);
130 | this.Controls.Add(this.gridMap);
131 | this.Controls.Add(this.NextClientBtn);
132 | this.Controls.Add(this.titleLbl);
133 | this.Controls.Add(this.pictureBox3);
134 | this.Controls.Add(this.ExitBtn);
135 | this.Controls.Add(this.pictureBox1);
136 | this.Controls.Add(this.LatLonLbl);
137 | this.DoubleBuffered = true;
138 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
139 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
140 | this.Name = "Window";
141 | this.Text = "GutterLines";
142 | this.TopMost = true;
143 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Window_FormClosing);
144 | this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Window_MouseDown);
145 | ((System.ComponentModel.ISupportInitialize)(this.gridMap)).EndInit();
146 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
147 | ((System.ComponentModel.ISupportInitialize)(this.ExitBtn)).EndInit();
148 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
149 | ((System.ComponentModel.ISupportInitialize)(this.NextClientBtn)).EndInit();
150 | this.ResumeLayout(false);
151 | this.PerformLayout();
152 |
153 | }
154 |
155 | #endregion
156 | private System.Windows.Forms.Label LatLonLbl;
157 | private System.Windows.Forms.PictureBox gridMap;
158 | private System.Windows.Forms.PictureBox pictureBox1;
159 | private System.Windows.Forms.PictureBox ExitBtn;
160 | private System.Windows.Forms.PictureBox pictureBox3;
161 | private System.Windows.Forms.Label titleLbl;
162 | private System.Windows.Forms.PictureBox NextClientBtn;
163 | }
164 | }
--------------------------------------------------------------------------------