diff --git a/PokemonGo.RocketBot.Logic/Logging/Logger.cs b/PokemonGo.RocketBot.Logic/Logging/Logger.cs
index 8abf2fd..1806d24 100644
--- a/PokemonGo.RocketBot.Logic/Logging/Logger.cs
+++ b/PokemonGo.RocketBot.Logic/Logging/Logger.cs
@@ -30,7 +30,7 @@ namespace PokemonGo.RocketBot.Logic.Logging
using (
var log =
File.AppendText(Path.Combine(_path,
- $"NecroBot-{DateTime.Today.ToString("yyyy-MM-dd")}-{DateTime.Now.ToString("HH")}.txt"))
+ $"RocketBot-{DateTime.Today.ToString("yyyy-MM-dd")}-{DateTime.Now.ToString("HH")}.txt"))
)
{
foreach (var line in LogbufferList)
@@ -58,7 +58,7 @@ namespace PokemonGo.RocketBot.Logic.Logging
{
_path = Path.Combine(Directory.GetCurrentDirectory(), subPath, "Logs");
Directory.CreateDirectory(_path);
- Log($"Initializing NecroBot logger at time {DateTime.Now}...");
+ Log($"Initializing RocketBot logger at time {DateTime.Now}...");
}
}
diff --git a/PokemonGo.RocketBot.Window/MainForm.cs b/PokemonGo.RocketBot.Window/MainForm.cs
index 7fb4697..119eb1f 100644
--- a/PokemonGo.RocketBot.Window/MainForm.cs
+++ b/PokemonGo.RocketBot.Window/MainForm.cs
@@ -27,6 +27,9 @@ using POGOProtos.Inventory.Item;
using static System.Reflection.Assembly;
using POGOProtos.Networking.Responses;
using POGOProtos.Data;
+using System.Text;
+using GMap.NET.WindowsForms;
+using GMap.NET.WindowsForms.Markers;
namespace PokemonGo.RocketBot.Window
{
@@ -37,6 +40,12 @@ namespace PokemonGo.RocketBot.Window
private static readonly string subPath = "";
private static Session session;
+ private readonly GMapOverlay _playerOverlay = new GMapOverlay("players");
+ private readonly GMapOverlay _pokemonsOverlay = new GMapOverlay("pokemons");
+ private readonly GMapOverlay _pokestopsOverlay = new GMapOverlay("pokestops");
+ private readonly GMapOverlay _searchAreaOverlay = new GMapOverlay("areas");
+ private GMarkerGoogle _playerMarker;
+
public MainForm()
{
InitializeComponent();
@@ -190,11 +199,6 @@ namespace PokemonGo.RocketBot.Window
throw new Exception();
}
- private void startStopBotToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Task.Run(() => StartBot());
- }
-
public static void ColoredConsoleWrite(Color color, string text)
{
if (text.Length <= 0)
@@ -255,11 +259,18 @@ namespace PokemonGo.RocketBot.Window
"https://raw.githubusercontent.com/TheUnnameOrganization/RocketBot/Beta-Build/src/RocketBotGUI/Properties/AssemblyInfo.cs");
}
+ #region BUTTONS
private void btnRefresh_Click(object sender, EventArgs e)
{
ReloadPokemonList();
}
+ private void startStopBotToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ Task.Run(() => StartBot());
+ }
+ #endregion BUTTONS
+
#region POKEMON LIST
private IEnumerable<Candy> families;
@@ -327,7 +338,7 @@ namespace PokemonGo.RocketBot.Window
item = new ToolStripMenuItem();
item.Text = "Rename";
- /**item.Click += delegate
+ item.Click += delegate
{
using (var form = count == 1 ? new NicknamePokemonForm(pokemonObject) : new NicknamePokemonForm())
{
@@ -336,7 +347,7 @@ namespace PokemonGo.RocketBot.Window
NicknamePokemon(pokemons, form.txtNickname.Text);
}
}
- };**/
+ };
cmsPokemonList.Items.Add(item);
if (canAllEvolve)
@@ -389,12 +400,11 @@ namespace PokemonGo.RocketBot.Window
var transferPokemonResponse = await session.Client.Inventory.TransferPokemon(pokemon.Id);
if (transferPokemonResponse.Result == ReleasePokemonResponse.Types.Result.Success)
{
- ColoredConsoleWrite(Color.Magenta,
- $"{pokemon.PokemonId} was transferred. {transferPokemonResponse.CandyAwarded} candy awarded");
+ Logger.Write($"{pokemon.PokemonId} was transferred. {transferPokemonResponse.CandyAwarded} candy awarded", LogLevel.Transfer);
}
else
{
- ColoredConsoleWrite(Color.Magenta, $"{pokemon.PokemonId} could not be transferred");
+ Logger.Write($"{pokemon.PokemonId} could not be transferred", LogLevel.Error);
}
}
ReloadPokemonList();
@@ -408,11 +418,11 @@ namespace PokemonGo.RocketBot.Window
var evolvePokemonResponse = await session.Client.Inventory.UpgradePokemon(pokemon.Id);
if (evolvePokemonResponse.Result == UpgradePokemonResponse.Types.Result.Success)
{
- ColoredConsoleWrite(Color.Magenta, $"{pokemon.PokemonId} successfully upgraded.");
+ Logger.Write($"{pokemon.PokemonId} successfully upgraded.");
}
else
{
- ColoredConsoleWrite(Color.Magenta, $"{pokemon.PokemonId} could not be upgraded");
+ Logger.Write($"{pokemon.PokemonId} could not be upgraded");
}
}
ReloadPokemonList();
@@ -426,12 +436,12 @@ namespace PokemonGo.RocketBot.Window
var evolvePokemonResponse = await session.Client.Inventory.EvolvePokemon(pokemon.Id);
if (evolvePokemonResponse.Result == EvolvePokemonResponse.Types.Result.Success)
{
- ColoredConsoleWrite(Color.Magenta,
+ Logger.Write(
$"{pokemon.PokemonId} successfully evolved into {evolvePokemonResponse.EvolvedPokemonData.PokemonId}\n{evolvePokemonResponse.ExperienceAwarded} experience awarded\n{evolvePokemonResponse.CandyAwarded} candy awarded");
}
else
{
- ColoredConsoleWrite(Color.Magenta, $"{pokemon.PokemonId} could not be evolved");
+ Logger.Write($"{pokemon.PokemonId} could not be evolved");
}
}
ReloadPokemonList();
@@ -515,6 +525,41 @@ namespace PokemonGo.RocketBot.Window
EvolvePokemon(pokemons);
}
}
+ public async void NicknamePokemon(IEnumerable<PokemonData> pokemons, string nickname)
+ {
+ SetState(false);
+ foreach (var pokemon in pokemons)
+ {
+ var newName = new StringBuilder(nickname);
+ newName.Replace("{Name}", Convert.ToString(pokemon.PokemonId));
+ newName.Replace("{CP}", Convert.ToString(pokemon.Cp));
+ newName.Replace("{IV}", Convert.ToString(Math.Round(session.Inventory.GetPerfect(pokemon))));
+ newName.Replace("{IA}", Convert.ToString(pokemon.IndividualAttack));
+ newName.Replace("{ID}", Convert.ToString(pokemon.IndividualDefense));
+ newName.Replace("{IS}", Convert.ToString(pokemon.IndividualStamina));
+ if (nickname.Length > 12)
+ {
+ Logger.Write($"\"{newName}\" is too long, please choose another name");
+ if (pokemons.Count() == 1)
+ {
+ SetState(true);
+ return;
+ }
+ continue;
+ }
+ var response = await session.Client.Inventory.NicknamePokemon(pokemon.Id, newName.ToString());
+ if (response.Result == NicknamePokemonResponse.Types.Result.Success)
+ {
+ Logger.Write($"Successfully renamed {pokemon.PokemonId} to \"{newName}\"");
+ }
+ else
+ {
+ Logger.Write($"Failed renaming {pokemon.PokemonId} to \"{newName}\"");
+ }
+ await Task.Delay(1500);
+ }
+ await ReloadPokemonList();
+ }
private Image GetPokemonImage(int pokemonId)
{
return (Image)Properties.Resources.ResourceManager.GetObject("Pokemon_" + pokemonId);
@@ -606,21 +651,9 @@ namespace PokemonGo.RocketBot.Window
lblInventory.Text = itemscount + " / " + profile.PlayerData.MaxItemStorage;
}
- catch (GoogleException)
- {
- ColoredConsoleWrite(Color.Red, "Please check your google login information again");
- }
- catch (LoginFailedException)
- {
- ColoredConsoleWrite(Color.Red, "Login failed, please check your ptc login information again");
- }
- catch (AccessTokenExpiredException ex)
- {
- ColoredConsoleWrite(Color.Red, ex.Message);
- }
catch (Exception ex)
{
- ColoredConsoleWrite(Color.Red, ex.ToString());
+ Logger.Write(ex.ToString(), LogLevel.Error);
}
SetState(true);
@@ -640,7 +673,7 @@ namespace PokemonGo.RocketBot.Window
{
if (session.Client == null)
{
- ColoredConsoleWrite(Color.Red, $"Bot must be running first!");
+ Logger.Write($"Bot must be running first!", LogLevel.Warning);
SetState(true);
return;
}
diff --git a/PokemonGo.RocketBot.Window/NicknamePokemonForm.cs b/PokemonGo.RocketBot.Window/NicknamePokemonForm.cs
new file mode 100644
index 0000000..f647d19
--- /dev/null
+++ b/PokemonGo.RocketBot.Window/NicknamePokemonForm.cs
@@ -0,0 +1,41 @@
+using System.Windows.Forms;
+
+namespace PokemonGo.RocketBot.Window
+{
+ public partial class NicknamePokemonForm : Form
+ {
+ public NicknamePokemonForm()
+ {
+ InitializeComponent();
+ txtNickname.Text = @"{IV}_{Name}";
+ txtNickname.KeyDown += TxtNickname_KeyDown;
+ }
+
+ public NicknamePokemonForm(PokemonObject pokemon)
+ {
+ InitializeComponent();
+ txtNickname.Text = pokemon.Nickname;
+ txtNickname.KeyDown += TxtNickname_KeyDown;
+ }
+
+ private void TxtNickname_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Enter)
+ {
+ DialogResult = DialogResult.OK;
+ Close();
+ }
+ if (e.KeyCode == Keys.Escape)
+ {
+ DialogResult = DialogResult.Cancel;
+ Close();
+ }
+ }
+
+ private void closeRenameBtn_Click(object sender, System.EventArgs e)
+ {
+ DialogResult = DialogResult.Cancel;
+ Close();
+ }
+ }
+}
\ No newline at end of file
diff --git a/PokemonGo.RocketBot.Window/NicknamePokemonForm.designer.cs b/PokemonGo.RocketBot.Window/NicknamePokemonForm.designer.cs
new file mode 100644
index 0000000..c416dca
--- /dev/null
+++ b/PokemonGo.RocketBot.Window/NicknamePokemonForm.designer.cs
@@ -0,0 +1,164 @@
+namespace PokemonGo.RocketBot.Window {
+ partial class NicknamePokemonForm {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing) {
+ if (disposing && (components != null)) {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent() {
+ this.pnl = new System.Windows.Forms.Panel();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.txtNickname = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btnNickname = new System.Windows.Forms.Button();
+ this.closeRenameBtn = new System.Windows.Forms.Label();
+ this.pnl.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // pnl
+ //
+ this.pnl.BackColor = System.Drawing.SystemColors.Window;
+ this.pnl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.pnl.Controls.Add(this.closeRenameBtn);
+ this.pnl.Controls.Add(this.label4);
+ this.pnl.Controls.Add(this.label3);
+ this.pnl.Controls.Add(this.label2);
+ this.pnl.Controls.Add(this.txtNickname);
+ this.pnl.Controls.Add(this.label1);
+ this.pnl.Controls.Add(this.btnNickname);
+ this.pnl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.pnl.Location = new System.Drawing.Point(0, 0);
+ this.pnl.Name = "pnl";
+ this.pnl.Size = new System.Drawing.Size(401, 205);
+ this.pnl.TabIndex = 0;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.label4.Location = new System.Drawing.Point(191, 98);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(186, 45);
+ this.label4.TabIndex = 9;
+ this.label4.Text = "{IA} : Pokemon Individual Attack\r\n{ID} : Pokemon Individual Defense\r\n{IS} : Pokem" +
+ "on Individual Stamina";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.label3.Location = new System.Drawing.Point(13, 98);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(142, 45);
+ this.label3.TabIndex = 8;
+ this.label3.Text = "{Name} : Pokemon Name\r\n{CP} : Pokemon CP\r\n{IV} : Pokemon IV %";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.label2.Location = new System.Drawing.Point(11, 79);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(105, 15);
+ this.label2.TabIndex = 7;
+ this.label2.Text = "Rename Template:";
+ //
+ // txtNickname
+ //
+ this.txtNickname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.txtNickname.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.txtNickname.Location = new System.Drawing.Point(16, 41);
+ this.txtNickname.Name = "txtNickname";
+ this.txtNickname.Size = new System.Drawing.Size(372, 35);
+ this.txtNickname.TabIndex = 0;
+ this.txtNickname.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ //
+ // label1
+ //
+ this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.label1.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label1.ForeColor = System.Drawing.SystemColors.ControlDark;
+ this.label1.Location = new System.Drawing.Point(11, 7);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(377, 30);
+ this.label1.TabIndex = 6;
+ this.label1.Text = "Nickname Pokemon";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ //
+ // btnNickname
+ //
+ this.btnNickname.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnNickname.DialogResult = System.Windows.Forms.DialogResult.OK;
+ this.btnNickname.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnNickname.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnNickname.ForeColor = System.Drawing.SystemColors.ControlDark;
+ this.btnNickname.Location = new System.Drawing.Point(133, 160);
+ this.btnNickname.Name = "btnNickname";
+ this.btnNickname.Size = new System.Drawing.Size(140, 32);
+ this.btnNickname.TabIndex = 1;
+ this.btnNickname.Text = "Rename";
+ this.btnNickname.UseVisualStyleBackColor = true;
+ //
+ // closeRenameBtn
+ //
+ this.closeRenameBtn.AutoSize = true;
+ this.closeRenameBtn.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.closeRenameBtn.ForeColor = System.Drawing.Color.Gray;
+ this.closeRenameBtn.Location = new System.Drawing.Point(382, 0);
+ this.closeRenameBtn.Name = "closeRenameBtn";
+ this.closeRenameBtn.Size = new System.Drawing.Size(16, 17);
+ this.closeRenameBtn.TabIndex = 10;
+ this.closeRenameBtn.Text = "X";
+ this.closeRenameBtn.Click += new System.EventHandler(this.closeRenameBtn_Click);
+ //
+ // NicknamePokemonForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(401, 205);
+ this.Controls.Add(this.pnl);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.Name = "NicknamePokemonForm";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "NicknamePokemonForm";
+ this.pnl.ResumeLayout(false);
+ this.pnl.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel pnl;
+ private System.Windows.Forms.Button btnNickname;
+ public System.Windows.Forms.TextBox txtNickname;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label closeRenameBtn;
+ }
+}
\ No newline at end of file
diff --git a/PokemonGo.RocketBot.Window/NicknamePokemonForm.resx b/PokemonGo.RocketBot.Window/NicknamePokemonForm.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/PokemonGo.RocketBot.Window/NicknamePokemonForm.resx
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj b/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
index 72d1eb6..93814fb 100644
--- a/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
+++ b/PokemonGo.RocketBot.Window/PokemonGo.RocketBot.Window.csproj
@@ -149,6 +149,12 @@
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="Models\LoggingStrings.cs" />
+ <Compile Include="NicknamePokemonForm.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="NicknamePokemonForm.designer.cs">
+ <DependentUpon>NicknamePokemonForm.cs</DependentUpon>
+ </Compile>
<Compile Include="Plugin\INecroPlugin.cs" />
<Compile Include="Plugin\PluginInitializerInfo.cs" />
<Compile Include="Plugin\PluginManager.cs" />
@@ -487,6 +493,9 @@
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="NicknamePokemonForm.resx">
+ <DependentUpon>NicknamePokemonForm.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
You may download the files in Public Git.