diff --git a/.gitmodules b/.gitmodules index b82133248..37c0022a0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,4 +13,4 @@ [submodule "PokeEase"] path = PokeEase url = https://github.com/TheUnnamedOrganisation/PokeEase.git - branch = RocketBot/APK + branch = master diff --git a/PoGo.NecroBot.Logic b/PoGo.NecroBot.Logic index 60f1925b4..0b0ec5978 160000 --- a/PoGo.NecroBot.Logic +++ b/PoGo.NecroBot.Logic @@ -1 +1 @@ -Subproject commit 60f1925b4322861092c72bd360c2d97bfd5cad52 +Subproject commit 0b0ec59787cf216dfe69bded82a730322aa3a143 diff --git a/PokeEase b/PokeEase index 6a393a869..a21f78b6c 160000 --- a/PokeEase +++ b/PokeEase @@ -1 +1 @@ -Subproject commit 6a393a869ea34c78b1a7f19fb7bc51b1c8375b04 +Subproject commit a21f78b6c8dc22cc2b57742e61844349ef47c548 diff --git a/README.md b/README.md index aab8ad64f..0b5192544 100644 --- a/README.md +++ b/README.md @@ -26,82 +26,37 @@ See https://talk.pogodev.org/d/51-api-hashing-service-by-pokefarmer for pricing [![Stories in Ready](https://discordapp.com/api/guilds/208485545439920128/widget.png?style=banner3&time-)](https://discord.gg/y6EU2qY) -## Images - - - - - - - - - - -A Pokémon Go bot in C# - -## `Features` - - PTC / Google Login - - Get Map Objects and Inventory - - Live map showing Pokéstops and farming path - - Search for Pokéstop - - Farm Pokéstops - - Farm all Pokémon in the neighbourhood - - Evolve Pokémon - - Transfer Pokémon - - Powerup Pokémon - - Force unban - - Use LuckyEgg - - Auto-Recycle uneeded items - - View all Pokémon CP/IV % - - Transfer/Powerup/Evolve Pokémon - - Output level and needed XP for levelup - - Output Username, Level, Stardust, XP/hour, Pokémon/hour in Console Title - - Automatic use of Razzberries - - Automatic Update checker - - Logs everything into Logs folder - -## `Language` -- - Outputs caught Pokémon in Canada name. -- - Outputs caught Pokémon in German name. -- - Outputs caught Pokémon in Spain name. -- - Outputs caught Pokémon in Ethiopia name. -- - Outputs caught Pokémon in France name. -- - Outputs caught Pokémon in Hungary name. -- - Outputs caught Pokémon in Indonesia name. -- - Outputs caught Pokémon in Italy name. -- - Outputs caught Pokémon in Japan name. -- - Outputs caught Pokémon in Cambodia name. -- - Outputs caught Pokémon in Lithuania name. -- - Outputs caught Pokémon in Netherlands name. -- - Outputs caught Pokémon in Poland name. -- - Outputs caught Pokémon in Portugal name. -- - Outputs caught Pokémon in Brazil name. -- - Outputs caught Pokémon in Romania name. -- - Outputs caught Pokémon in Russia name. -- - Outputs caught Pokémon in El Salvador name. -- - Outputs caught Pokémon in Thailand name. -- - Outputs caught Pokémon in Turkey name. -- - Outputs caught Pokémon in U.S. Virgin Islands name. - -## `Getting Started` - ### `Download` Download the bot from the [release](https://github.com/TheUnnamedOrganisation/RocketBot/releases) tab. -If you want the latest Beta-Build, you have to download the build from the Beta-Build branch and compile them by yourself with VisualStudio 2015. +If you want the latest Beta-Build, you have to download the build from the Beta-Build branch and compile them by yourself with VisualStudio 2017. **Waning: Beta are unstable and might cause damage to your account, use at your own risk** -### `Login` -There are problems with google oauth login, so we have to use account and password to login for now. -To ensure your account's safety, we suggest you to creat an app password just for botting. This will also allows users with 2-fact-auth enable to use the bot. -Tutorial on how to use app password: [Google support](https://support.google.com/mail/answer/185833?hl=en) +## Developers and Contributors + +### Requirements + +To contribute to development, you will need to download and install the required software first. + +- [Git](https://git-scm.com/downloads) +- [Visual Studio 2017](https://www.visualstudio.com/vs/whatsnew/) - We are using C# 7.0 code so VS 2017 is required to compile. VS 2015 or older will not be able to compile the code. +- [.NET 4.6.2 SDK](https://www.microsoft.com/en-us/download/details.aspx?id=53321) -### `Settings` -Change your settings using the settings tab on the bot. If you want more advance settings, edit the settings file under the bot's folder. +### Cloning Source Code -### `Wola` - Click `▶ Start RocketBot2` and enjoy! +Next, you need to get the source code. This source code repository uses git submodules. So when you clone the source code, you will need to clone recursively: +``` +git clone --recursive https://github.com/TheUnnamedOrganisation/RocketBot.git +``` + +Or if you already cloned without the recursive option, you can update the submodules by running: + +``` +git clone --recursive https://github.com/TheUnnamedOrganisation/RocketBot.git +cd RocketBot +git submodule update --init --recursive +``` # `How can I contribute?` ## `For users:` @@ -121,80 +76,6 @@ In order to help us fix the problem, please take a screenshot of the error you g Tell us what you think we can do better in [issues](https://github.com/TheUnnamedOrganisation/RocketBot/issues). Give detailed discription to help us understand what you are looking for. Add [Suggestion] to the title to help us quickly identify the category of the issue. Your suggestion might not be accept, but hey, maybe we will accept your suggestion next time! :) -## `For developers:` - You can contribute to the project by helping us on coding. -Fork this project and create a new branch to add your code or fix a known issue. -Use pull request to submit your code. Remember, submit to *[Beta](https://github.com/TheUnnamedOrganisation/RocketBot/tree/Beta)* branch! :D - -# `Settings` - -## `AuthType` - - - *google* - Google login - - *ptc* - Pokémon Trainer Club - -## `PtcUsername` -- *username* - for PTC account. No need for when using Google. - -## `PtcPassword` -- *password* - for PTC account. No need for when using Google. - -## `Email` -- *email@gmail.com* - for Google account. No need for when using PTC. - -## `Password` -- *password* - for Google account. No need for when using PTC. - -## `GoogleRefreshToken` -- *token* - for Google account. No need for wen using PTC. (Obsolete) - -## `DefaultLatitude` -- *40.785092* - Latitude of your location you want to use the bot in. Number between -90 and +90. Doesn't matter how many numbers stand after the comma. - -## `DefaultLongitude` -- *-73.968286* - Longitude of your location you want to use the bot in. Number between -180 and +180. Doesn't matter how many numbers stand after the comma. - -## `LevelOutput` -- *time* - Every X amount of time it prints the current level and experience needed for the next level. -- *levelup* - Only outputs the level and needed experience for next level on levelup. - -## `LevelTimeInterval` -- *seconds* - After X seconds it will print the current level and experience needed for levelup when using *time* mode. - -## `Recycler` -- *false* - Recycler not active. -- *true* - Recycler active. - -## `RazzBerryMode` -- *cp* - Use RazzBerry when Pokémon is over specific CP. -- *probability* - Use RazzBerry when Pokémon catch chance is under a specific percentage. - -## `RazzBerrySetting` -- *cp value* - If RazzBerryMode is cp. Use RazzBerry when Pokémon is over this value -- *probability value* - If RazzBerryMode is probability. Use Razzberry when % of catching is under this value. Between 0 and 1. - -## `TransferType` -- *none* - disables transferring -- *cp* - transfers all Pokémon below the CP threshold in the app.config, EXCEPT for those types specified in program.cs in TransferAllWeakPokemon -- *leaveStrongest* - transfers all but the highest CP Pokémon of each type SPECIFIED IN program.cs in TransferAllButStrongestUnwantedPokemon (those that aren't specified are untouched) -- *duplicate* - same as above but for all Pokémon (no need to specify type), (will not transfer favorited Pokémon) -- *all* - transfers all Pokémon - -## `TransferCPThreshold` -- *CP* - transfers all Pokémon with less CP than this value. - -## `TransferIVThreshold` -- *IV* - transfers all Pokémon with less IV than this value. Between 0 and 1. - -## `TravelSpeed` -- *Speed* - Travel speed in km/h - -## `CatchPokemon` -- *true* - Catch Pokémon and get Items from PokéStops -- *false* - Don't catch Pokémon and get Items from PokéStops - -## `EvolveAllGivenPokemons` -- *false* - Evolves no Pokémon. -- *true* - Evolves all Pokémon. +## A Pokémon Go bot in C# ## [Credits](https://github.com/Necrobot-Private) diff --git a/RocketBot.sln b/RocketBot.sln index 640171063..05394a7bd 100644 --- a/RocketBot.sln +++ b/RocketBot.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.26228.12 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RocketBot2", "RocketBot2\RocketBot2.csproj", "{42B07AE9-E643-4212-A7DB-0611F9059670}" EndProject @@ -13,12 +13,10 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PoGo.NecroBot.Logic", "PoGo.NecroBot.Logic\PoGo.NecroBot.Logic.csproj", "{0739E40D-C589-4AEB-93E5-EE8CD6773C60}" ProjectSection(ProjectDependencies) = postProject {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB} = {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB} - EndProjectSection - ProjectSection(ProjectDependencies) = postProject {05D2DA44-1B8E-4CF7-94ED-4D52451CD095} = {05D2DA44-1B8E-4CF7-94ED-4D52451CD095} EndProjectSection EndProject -Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "PokeEase", "PokeEase\RocketBot2-APK.jsproj", "{EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}" +Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "RocketBot2-APK", "PokeEase\RocketBot2-APK.jsproj", "{D7310128-97E4-4096-8679-93577CD08C06}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "POGOProtos", "POGOProtos\POGOProtos.csproj", "{A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}" EndProject @@ -88,8 +86,8 @@ Global {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|Windows-x64.Build.0 = Debug|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|Windows-x86.ActiveCfg = Debug|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|Windows-x86.Build.0 = Debug|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|x64.ActiveCfg = Debug|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|x64.Build.0 = Debug|Any CPU + {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|x64.ActiveCfg = Debug|x64 + {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|x64.Build.0 = Debug|x64 {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|x86.ActiveCfg = Debug|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug RocketBot|x86.Build.0 = Debug|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|Android.ActiveCfg = Debug|Any CPU @@ -110,8 +108,8 @@ Global {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|Windows-x64.Build.0 = Debug|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|Windows-x86.ActiveCfg = Debug|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|Windows-x86.Build.0 = Debug|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|x64.ActiveCfg = Debug|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|x64.Build.0 = Debug|Any CPU + {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|x64.ActiveCfg = Debug|x64 + {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|x64.Build.0 = Debug|x64 {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|x86.ActiveCfg = Debug|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Debug|x86.Build.0 = Debug|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|Android.ActiveCfg = Release|Any CPU @@ -132,8 +130,8 @@ Global {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|Windows-x64.Build.0 = Release|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|Windows-x86.ActiveCfg = Release|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|Windows-x86.Build.0 = Release|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|x64.ActiveCfg = Release|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|x64.Build.0 = Release|Any CPU + {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|x64.ActiveCfg = Release|x64 + {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|x64.Build.0 = Release|x64 {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|x86.ActiveCfg = Release|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Release RocketBot|x86.Build.0 = Release|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|Android.ActiveCfg = Release|Any CPU @@ -154,8 +152,8 @@ Global {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|Windows-x64.Build.0 = Release|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|Windows-x86.ActiveCfg = Release|Any CPU {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|Windows-x86.Build.0 = Release|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|x64.ActiveCfg = Release|Any CPU - {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|x64.Build.0 = Release|Any CPU + {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|x64.ActiveCfg = Release|x64 + {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|x64.Build.0 = Release|x64 {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|x86.ActiveCfg = Release|x86 {42B07AE9-E643-4212-A7DB-0611F9059670}.Release|x86.Build.0 = Release|x86 {05D2DA44-1B8E-4CF7-94ED-4D52451CD095}.Debug RocketBot|Android.ActiveCfg = Debug|Any CPU @@ -334,134 +332,116 @@ Global {0739E40D-C589-4AEB-93E5-EE8CD6773C60}.Release|x64.Build.0 = Release|x64 {0739E40D-C589-4AEB-93E5-EE8CD6773C60}.Release|x86.ActiveCfg = Release|x86 {0739E40D-C589-4AEB-93E5-EE8CD6773C60}.Release|x86.Build.0 = Release|x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Android.ActiveCfg = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Android.Build.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Android.Deploy.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Any CPU.ActiveCfg = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|iOS.ActiveCfg = Debug|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|iOS.Build.0 = Debug|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|iOS.Deploy.0 = Debug|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows Phone (Universal).ActiveCfg = Debug|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows Phone (Universal).Build.0 = Debug|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows Phone (Universal).Deploy.0 = Debug|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows Phone 8.ActiveCfg = Debug|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows Phone 8.Build.0 = Debug|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows Phone 8.Deploy.0 = Debug|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-AnyCPU.ActiveCfg = Debug|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-AnyCPU.Build.0 = Debug|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-AnyCPU.Deploy.0 = Debug|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-ARM.ActiveCfg = Debug|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-ARM.Build.0 = Debug|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-ARM.Deploy.0 = Debug|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-x64.ActiveCfg = Debug|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-x64.Build.0 = Debug|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-x64.Deploy.0 = Debug|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-x86.ActiveCfg = Debug|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-x86.Build.0 = Debug|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|Windows-x86.Deploy.0 = Debug|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|x64.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|x64.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|x64.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|x86.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|x86.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug RocketBot|x86.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Android.ActiveCfg = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Android.Build.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Android.Deploy.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Any CPU.ActiveCfg = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Any CPU.Build.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Any CPU.Deploy.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|iOS.ActiveCfg = Debug|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|iOS.Build.0 = Debug|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|iOS.Deploy.0 = Debug|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows Phone (Universal).ActiveCfg = Debug|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows Phone (Universal).Build.0 = Debug|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows Phone (Universal).Deploy.0 = Debug|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows Phone 8.ActiveCfg = Debug|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows Phone 8.Build.0 = Debug|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows Phone 8.Deploy.0 = Debug|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-AnyCPU.ActiveCfg = Debug|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-AnyCPU.Build.0 = Debug|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-AnyCPU.Deploy.0 = Debug|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-ARM.ActiveCfg = Debug|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-ARM.Build.0 = Debug|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-ARM.Deploy.0 = Debug|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-x64.ActiveCfg = Debug|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-x64.Build.0 = Debug|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-x64.Deploy.0 = Debug|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-x86.ActiveCfg = Debug|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-x86.Build.0 = Debug|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|Windows-x86.Deploy.0 = Debug|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|x64.ActiveCfg = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|x64.Build.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|x64.Deploy.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|x86.ActiveCfg = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|x86.Build.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Debug|x86.Deploy.0 = Debug|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Android.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Android.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Android.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Any CPU.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|iOS.ActiveCfg = Release|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|iOS.Build.0 = Release|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|iOS.Deploy.0 = Release|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows Phone (Universal).ActiveCfg = Release|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows Phone (Universal).Build.0 = Release|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows Phone (Universal).Deploy.0 = Release|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows Phone 8.ActiveCfg = Release|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows Phone 8.Build.0 = Release|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows Phone 8.Deploy.0 = Release|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-AnyCPU.ActiveCfg = Release|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-AnyCPU.Build.0 = Release|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-AnyCPU.Deploy.0 = Release|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-ARM.ActiveCfg = Release|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-ARM.Build.0 = Release|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-ARM.Deploy.0 = Release|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-x64.ActiveCfg = Release|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-x64.Build.0 = Release|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-x64.Deploy.0 = Release|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-x86.ActiveCfg = Release|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-x86.Build.0 = Release|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|Windows-x86.Deploy.0 = Release|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|x64.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|x64.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|x64.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|x86.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|x86.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release RocketBot|x86.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Android.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Android.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Android.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Any CPU.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Any CPU.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Any CPU.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|iOS.ActiveCfg = Release|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|iOS.Build.0 = Release|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|iOS.Deploy.0 = Release|iOS - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows Phone (Universal).ActiveCfg = Release|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows Phone (Universal).Build.0 = Release|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows Phone (Universal).Deploy.0 = Release|Windows Phone (Universal) - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows Phone 8.ActiveCfg = Release|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows Phone 8.Build.0 = Release|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows Phone 8.Deploy.0 = Release|Windows Phone 8 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-AnyCPU.ActiveCfg = Release|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-AnyCPU.Build.0 = Release|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-AnyCPU.Deploy.0 = Release|Windows-AnyCPU - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-ARM.ActiveCfg = Release|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-ARM.Build.0 = Release|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-ARM.Deploy.0 = Release|Windows-ARM - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-x64.ActiveCfg = Release|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-x64.Build.0 = Release|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-x64.Deploy.0 = Release|Windows-x64 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-x86.ActiveCfg = Release|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-x86.Build.0 = Release|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|Windows-x86.Deploy.0 = Release|Windows-x86 - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|x64.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|x64.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|x64.Deploy.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|x86.ActiveCfg = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|x86.Build.0 = Release|Android - {EC029F6B-9B25-40F1-BCA4-F95F70B6CE8F}.Release|x86.Deploy.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Android.ActiveCfg = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Android.Build.0 = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Android.Deploy.0 = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Any CPU.ActiveCfg = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|iOS.ActiveCfg = Debug|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|iOS.Build.0 = Debug|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|iOS.Deploy.0 = Debug|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows Phone (Universal).ActiveCfg = Debug|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows Phone (Universal).Build.0 = Debug|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows Phone (Universal).Deploy.0 = Debug|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows Phone 8.ActiveCfg = Debug|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows Phone 8.Build.0 = Debug|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows Phone 8.Deploy.0 = Debug|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-AnyCPU.ActiveCfg = Debug|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-AnyCPU.Build.0 = Debug|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-AnyCPU.Deploy.0 = Debug|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-ARM.ActiveCfg = Debug|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-ARM.Build.0 = Debug|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-ARM.Deploy.0 = Debug|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-x64.ActiveCfg = Debug|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-x64.Build.0 = Debug|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-x64.Deploy.0 = Debug|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-x86.ActiveCfg = Debug|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-x86.Build.0 = Debug|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|Windows-x86.Deploy.0 = Debug|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|x64.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug RocketBot|x86.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Android.ActiveCfg = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Android.Build.0 = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Android.Deploy.0 = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Any CPU.ActiveCfg = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|iOS.ActiveCfg = Debug|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|iOS.Build.0 = Debug|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|iOS.Deploy.0 = Debug|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows Phone (Universal).ActiveCfg = Debug|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows Phone (Universal).Build.0 = Debug|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows Phone (Universal).Deploy.0 = Debug|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows Phone 8.ActiveCfg = Debug|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows Phone 8.Build.0 = Debug|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows Phone 8.Deploy.0 = Debug|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-AnyCPU.ActiveCfg = Debug|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-AnyCPU.Build.0 = Debug|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-AnyCPU.Deploy.0 = Debug|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-ARM.ActiveCfg = Debug|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-ARM.Build.0 = Debug|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-ARM.Deploy.0 = Debug|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-x64.ActiveCfg = Debug|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-x64.Build.0 = Debug|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-x64.Deploy.0 = Debug|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-x86.ActiveCfg = Debug|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-x86.Build.0 = Debug|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|Windows-x86.Deploy.0 = Debug|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|x64.ActiveCfg = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Debug|x86.ActiveCfg = Debug|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Android.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Android.Build.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Android.Deploy.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Any CPU.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|iOS.ActiveCfg = Release|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|iOS.Build.0 = Release|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|iOS.Deploy.0 = Release|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows Phone (Universal).ActiveCfg = Release|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows Phone (Universal).Build.0 = Release|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows Phone (Universal).Deploy.0 = Release|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows Phone 8.ActiveCfg = Release|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows Phone 8.Build.0 = Release|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows Phone 8.Deploy.0 = Release|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-AnyCPU.ActiveCfg = Release|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-AnyCPU.Build.0 = Release|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-AnyCPU.Deploy.0 = Release|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-ARM.ActiveCfg = Release|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-ARM.Build.0 = Release|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-ARM.Deploy.0 = Release|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-x64.ActiveCfg = Release|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-x64.Build.0 = Release|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-x64.Deploy.0 = Release|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-x86.ActiveCfg = Release|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-x86.Build.0 = Release|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|Windows-x86.Deploy.0 = Release|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|x64.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|x86.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|x86.Build.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release RocketBot|x86.Deploy.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Android.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Android.Build.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Android.Deploy.0 = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Any CPU.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release|iOS.ActiveCfg = Release|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Release|iOS.Build.0 = Release|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Release|iOS.Deploy.0 = Release|iOS + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows Phone (Universal).ActiveCfg = Release|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows Phone (Universal).Build.0 = Release|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows Phone (Universal).Deploy.0 = Release|Windows Phone (Universal) + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows Phone 8.ActiveCfg = Release|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows Phone 8.Build.0 = Release|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows Phone 8.Deploy.0 = Release|Windows Phone 8 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-AnyCPU.ActiveCfg = Release|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-AnyCPU.Build.0 = Release|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-AnyCPU.Deploy.0 = Release|Windows-AnyCPU + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-ARM.ActiveCfg = Release|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-ARM.Build.0 = Release|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-ARM.Deploy.0 = Release|Windows-ARM + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-x64.ActiveCfg = Release|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-x64.Build.0 = Release|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-x64.Deploy.0 = Release|Windows-x64 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-x86.ActiveCfg = Release|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-x86.Build.0 = Release|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|Windows-x86.Deploy.0 = Release|Windows-x86 + {D7310128-97E4-4096-8679-93577CD08C06}.Release|x64.ActiveCfg = Release|Android + {D7310128-97E4-4096-8679-93577CD08C06}.Release|x86.ActiveCfg = Release|Android {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|Android.ActiveCfg = Debug|Any CPU {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|Android.Build.0 = Debug|Any CPU {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|Any CPU.ActiveCfg = Debug|Any CPU @@ -482,8 +462,8 @@ Global {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|Windows-x86.Build.0 = Debug|Any CPU {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|x64.ActiveCfg = Debug|Any CPU {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|x64.Build.0 = Debug|Any CPU - {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|x86.ActiveCfg = Debug|Any CPU - {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|x86.Build.0 = Debug|Any CPU + {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|x86.ActiveCfg = Debug|x86 + {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug RocketBot|x86.Build.0 = Debug|x86 {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug|Android.ActiveCfg = Debug|Any CPU {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug|Android.Build.0 = Debug|Any CPU {A03A7BB2-4F0B-467B-84B2-9A76E6AAE6FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU diff --git a/RocketBot2/BotDataSocketClient.cs b/RocketBot2/BotDataSocketClient.cs index 791ef297c..834df7beb 100644 --- a/RocketBot2/BotDataSocketClient.cs +++ b/RocketBot2/BotDataSocketClient.cs @@ -42,12 +42,12 @@ public class SocketClientUpdate public SocketClientUpdate() { - this.Identitier = TinyIoCContainer.Current.Resolve().LogicSettings.DataSharingConfig.DataServiceIdentification; - this.ManualSnipes = new List(); - this.Pokemons = new List(); - this.SnipeFailedPokemons = new List(); - this.ExpiredPokemons = new List(); - this.ClientVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); + Identitier = TinyIoCContainer.Current.Resolve().LogicSettings.DataSharingConfig.DataServiceIdentification; + ManualSnipes = new List(); + Pokemons = new List(); + SnipeFailedPokemons = new List(); + ExpiredPokemons = new List(); + ClientVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); } @@ -132,7 +132,7 @@ private static string Serialize(dynamic evt) public static String SHA256Hash(String value) { StringBuilder Sb = new StringBuilder(); - using (SHA256 hash = SHA256Managed.Create()) + using (SHA256 hash = SHA256.Create()) { Encoding enc = Encoding.UTF8; Byte[] result = hash.ComputeHash(enc.GetBytes(value)); @@ -180,7 +180,7 @@ public static async Task ConnectToServer(ISession session, string socketURL) //silenly, no log exception message to screen that scare people :) }; - ws.OnMessage += (sender, e) => { onSocketMessageRecieved(session, sender, e); }; + ws.OnMessage += (sender, e) => { OnSocketMessageRecieved(session, sender, e); }; ws.Connect(); while (true && !termintated) @@ -192,7 +192,7 @@ public static async Task ConnectToServer(ISession session, string socketURL) //failed to make connection to server times contiuing, temporary stop for 10 mins. session.EventDispatcher.Send(new WarnEvent() { - Message = $"Couldn't establish the connection to necro socket server : {socketURL}" + Message = $"Couldn't establish the connection to necrobot socket server : {socketURL}" }); if (session.LogicSettings.DataSharingConfig.EnableFailoverDataServers && servers.Count > 1) { @@ -231,7 +231,7 @@ public static async Task ConnectToServer(ISession session, string socketURL) { session.EventDispatcher.Send(new WarnEvent { - Message = "Disconnect to necro socket. New connection will be established when service available..." + Message = "Disconnected from necrobot socket. New connection will be established when service becomes available..." }); } @@ -247,7 +247,7 @@ public static async Task ConnectToServer(ISession session, string socketURL) } } - private static void onSocketMessageRecieved(ISession session, object sender, MessageEventArgs e) + private static void OnSocketMessageRecieved(ISession session, object sender, MessageEventArgs e) { try { @@ -355,8 +355,8 @@ private static void OnPokemonData(ISession session, string message) { var move1 = PokemonMove.MoveUnset; var move2 = PokemonMove.MoveUnset; - Enum.TryParse(data.Move1, true, out move1); - Enum.TryParse(data.Move2, true, out move2); + Enum.TryParse(data.Move1, true, out move1); + Enum.TryParse(data.Move2, true, out move2); bool caught = CheckIfPokemonBeenCaught(data.Latitude, data.Longitude, data.PokemonId, encounterid, session); @@ -399,8 +399,8 @@ private static void OnSnipePokemon(ISession session, string message) var move1 = PokemonMove.Absorb; var move2 = PokemonMove.Absorb; - Enum.TryParse(data.Move1, true, out move1); - Enum.TryParse(data.Move1, true, out move2); + Enum.TryParse(data.Move1, true, out move1); + Enum.TryParse(data.Move1, true, out move2); ulong encounterid = 0; ulong.TryParse(data.EncounterId, out encounterid); @@ -453,7 +453,7 @@ private static void OnSnipePokemon(ISession session, string message) public static SocketMessage Encrypt(string message) { - var encryptedtulp = Encrypt(message, RocketBot2.Properties.Resources.EncryptKey, false); + var encryptedtulp = Encrypt(message, Properties.Resources.EncryptKey, false); var socketMessage = new SocketMessage() { @@ -469,9 +469,9 @@ public static string CalculateMD5Hash(string input) { // step 1, calculate MD5 hash from input - MD5 md5 = System.Security.Cryptography.MD5.Create(); + MD5 md5 = MD5.Create(); - byte[] inputBytes = System.Text.Encoding.ASCII.GetBytes(input); + byte[] inputBytes = Encoding.ASCII.GetBytes(input); byte[] hash = md5.ComputeHash(inputBytes); @@ -495,18 +495,20 @@ public static string CalculateMD5Hash(string input) public static Tuple Encrypt(string toEncrypt, string key, bool useHashing) { byte[] keyArray; - byte[] toEncryptArray = UTF8Encoding.UTF8.GetBytes(toEncrypt); + byte[] toEncryptArray = Encoding.UTF8.GetBytes(toEncrypt); if (useHashing) { MD5CryptoServiceProvider hashmd5 = new MD5CryptoServiceProvider(); - keyArray = hashmd5.ComputeHash(UTF8Encoding.UTF8.GetBytes(key)); + keyArray = hashmd5.ComputeHash(Encoding.UTF8.GetBytes(key)); } else - keyArray = UTF8Encoding.UTF8.GetBytes(key); + keyArray = Encoding.UTF8.GetBytes(key); - var tdes = new TripleDESCryptoServiceProvider(); - tdes.Key = keyArray; + var tdes = new TripleDESCryptoServiceProvider() + { + Key = keyArray + }; // tdes.Mode = CipherMode.CBC; // which is default // tdes.Padding = PaddingMode.PKCS7; // which is default diff --git a/RocketBot2/ConsoleEventListener.cs b/RocketBot2/ConsoleEventListener.cs index 88e4329d5..5d0dd6516 100644 --- a/RocketBot2/ConsoleEventListener.cs +++ b/RocketBot2/ConsoleEventListener.cs @@ -191,7 +191,7 @@ private static void HandleEvent(FortFailedEvent fortFailedEvent, ISession sessio { if (fortFailedEvent.Try != 1 && fortFailedEvent.Looted == false) { - Logger.lineSelect(); // Replaces the last line to prevent spam. + Logger.LineSelect(); // Replaces the last line to prevent spam. } if (fortFailedEvent.Looted) @@ -613,13 +613,13 @@ private static void HandleEvent(GymDetailInfoEvent ev, ISession session) //TODO - move to string translation later. private static void HandleEvent(GymDeployEvent ev, ISession session) { - Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} now is defending for GYM {ev.Name}", + Logger.Write($"Great!!! Your {ev.PokemonId.ToString()} is now defending for GYM {ev.Name}", LogLevel.Gym, ConsoleColor.Green); } private static void HandleEvent(GymBattleStarted ev, ISession session) { - Logger.Write($"Battle Started with gym: {ev.GymName}...", LogLevel.Gym, ConsoleColor.Blue); + Logger.Write($"Battle has Started with gym: {ev.GymName}...", LogLevel.Gym, ConsoleColor.Blue); } private static void HandleEvent(GymErrorUnset ev, ISession session) @@ -655,7 +655,7 @@ private static void HandleEvent(GymTeamJoinEvent ev, ISession session) : (ev.Team == TeamColor.Yellow ? ConsoleColor.Yellow : ConsoleColor.Blue)); break; case SetPlayerTeamResponse.Types.Status.TeamAlreadySet: - Logger.Write($"You have joined team already! ", LogLevel.Gym, color: ConsoleColor.Red); + Logger.Write($"You have joined this team already! ", LogLevel.Gym, color: ConsoleColor.Red); break; case SetPlayerTeamResponse.Types.Status.Failure: Logger.Write($"Unable to join team : {ev.Team.ToString()}", color: ConsoleColor.Red); @@ -668,14 +668,14 @@ private static void HandleEvent(GymTeamJoinEvent ev, ISession session) private static void HandleEvent(EventUsedPotion ev, ISession session) { Logger.Write( - $"Used Potion: {ev.Type} on Pokemon: {ev.PokemonId} with CP: {ev.PokemonCp}. Remaning: {ev.Remaining}" + $"Used a Potion: {ev.Type} on Pokemon: {ev.PokemonId} with CP: {ev.PokemonCp}. Remaning: {ev.Remaining}" ); } private static void HandleEvent(EventUsedRevive ev, ISession session) { Logger.Write( - $"User Revive: {ev.Type} on Pokemon: {ev.PokemonId} with CP: {ev.PokemonCp}. Remaining: {ev.Remaining}" + $"Used Revive: {ev.Type} on Pokemon: {ev.PokemonId} with CP: {ev.PokemonCp}. Remaining: {ev.Remaining}" ); } diff --git a/RocketBot2/ConsoleLogger.cs b/RocketBot2/ConsoleLogger.cs index 46e0a22d1..c2b0c124f 100644 --- a/RocketBot2/ConsoleLogger.cs +++ b/RocketBot2/ConsoleLogger.cs @@ -111,7 +111,7 @@ public static Color FromColor(ConsoleColor c) } } - public void lineSelect(int lineChar = 0, int linesUp = 1) + public void LineSelect(int lineChar = 0, int linesUp = 1) { Console.SetCursorPosition(lineChar, Console.CursorTop - linesUp); } diff --git a/RocketBot2/Forms/AuthAPIForm.Designer.cs b/RocketBot2/Forms/AuthAPIForm.Designer.cs index d85cbecb1..1c98e35f9 100644 --- a/RocketBot2/Forms/AuthAPIForm.Designer.cs +++ b/RocketBot2/Forms/AuthAPIForm.Designer.cs @@ -48,7 +48,7 @@ private void InitializeComponent() this.btnOK.TabIndex = 0; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; - this.btnOK.Click += new System.EventHandler(this.btnOK_Click); + this.btnOK.Click += new System.EventHandler(this.BtnOK_Click); // // label1 // @@ -90,7 +90,7 @@ private void InitializeComponent() this.lnkBuy.TabIndex = 4; this.lnkBuy.TabStop = true; this.lnkBuy.Text = "Buy"; - this.lnkBuy.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkBuy_LinkClicked); + this.lnkBuy.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkBuy_LinkClicked); // // radHashServer // diff --git a/RocketBot2/Forms/AuthAPIForm.cs b/RocketBot2/Forms/AuthAPIForm.cs index f3ea26634..b242faefe 100644 --- a/RocketBot2/Forms/AuthAPIForm.cs +++ b/RocketBot2/Forms/AuthAPIForm.cs @@ -34,7 +34,7 @@ public AuthAPIForm(bool forceInput) if (forceInput) { this.forceInput = forceInput; - this.ControlBox = false; + ControlBox = false; btnCancel.Visible = false; } } @@ -55,12 +55,12 @@ protected override CreateParams CreateParams } } - private void lnkBuy_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + private void LnkBuy_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start("https://talk.pogodev.org/d/51-api-hashing-service-by-pokefarmer"); } - private void btnOK_Click(object sender, EventArgs e) + private void BtnOK_Click(object sender, EventArgs e) { if (radHashServer.Checked && string.IsNullOrEmpty(txtAPIKey.Text)) { @@ -74,8 +74,8 @@ private void btnOK_Click(object sender, EventArgs e) MessageBoxButtons.OK, MessageBoxIcon.Error); return; } - this.DialogResult = DialogResult.OK; - this.Close(); + DialogResult = DialogResult.OK; + Close(); } private void AuthAPIForm_Load(object sender, EventArgs e) diff --git a/RocketBot2/Forms/InfoForm.Designer.cs b/RocketBot2/Forms/InfoForm.Designer.cs index df7b850f8..ce94c50a1 100644 --- a/RocketBot2/Forms/InfoForm.Designer.cs +++ b/RocketBot2/Forms/InfoForm.Designer.cs @@ -59,7 +59,7 @@ private void InitializeComponent() this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; - this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + this.pictureBox1.Click += new System.EventHandler(this.PictureBox1_Click); // // label1 // @@ -82,7 +82,7 @@ private void InitializeComponent() this.linkLabel1.TabIndex = 3; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "https://github.com/TheUnnamedOrganisation/RocketBot/releases"; - this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.link_click); + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Link_click); // // linkLabel2 // @@ -94,7 +94,7 @@ private void InitializeComponent() this.linkLabel2.TabIndex = 4; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "https://discord.gg/y6EU2qY"; - this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.link_click); + this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Link_click); // // linkLabel5 // @@ -106,7 +106,7 @@ private void InitializeComponent() this.linkLabel5.TabIndex = 10; this.linkLabel5.TabStop = true; this.linkLabel5.Text = "http://www1.mypogosnipers.com"; - this.linkLabel5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.link_click); + this.linkLabel5.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Link_click); // // label5 // @@ -134,7 +134,7 @@ private void InitializeComponent() // this.timer1.Enabled = true; this.timer1.Interval = 1000; - this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + this.timer1.Tick += new System.EventHandler(this.Timer1_Tick); // // label2 // @@ -157,7 +157,7 @@ private void InitializeComponent() this.linkLabel3.TabIndex = 17; this.linkLabel3.TabStop = true; this.linkLabel3.Text = "https://www.guidgen.com"; - this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.link_click); + this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Link_click); // // label4 // diff --git a/RocketBot2/Forms/InfoForm.cs b/RocketBot2/Forms/InfoForm.cs index 4b1fde4bc..33d357771 100644 --- a/RocketBot2/Forms/InfoForm.cs +++ b/RocketBot2/Forms/InfoForm.cs @@ -14,27 +14,31 @@ public InfoForm() private void InfoForm_Load(object sender, EventArgs e) { - this.Text = "RocketBot2 - " + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion; + Text = "RocketBot2 2 - " + + FileVersionInfo + .GetVersionInfo(Assembly.GetExecutingAssembly().Location) + .ProductVersion; } - private void link_click(object sender, LinkLabelLinkClickedEventArgs e) - { - Process.Start(((LinkLabel)sender).Text); + private void Link_click(object sender, LinkLabelLinkClickedEventArgs e) + { + Process.Start(((LinkLabel) sender).Text); } + private int count = 60; - private void timer1_Tick(object sender, EventArgs e) - { + private void Timer1_Tick(object sender, EventArgs e) + { if (count-- <= 0) { - this.Close(); + Close(); } } - private void pictureBox1_Click(object sender, EventArgs e) + private void PictureBox1_Click(object sender, EventArgs e) { Process.Start("https://github.com/TheUnnamedOrganisation/RocketBot/releases"); } } -} +} \ No newline at end of file diff --git a/RocketBot2/Forms/MainForm.cs b/RocketBot2/Forms/MainForm.cs index c5ce114d4..faf709a7b 100644 --- a/RocketBot2/Forms/MainForm.cs +++ b/RocketBot2/Forms/MainForm.cs @@ -958,7 +958,7 @@ private void InitializeBot(Action onBotStarted) AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionEventHandler; - Console.Title = @"RocketBot2 Loading "; + Console.Title = @"RocketBot2 Loading"; Console.CancelKeyPress += (sender, eArgs) => { QuitEvent.Set(); @@ -1173,7 +1173,7 @@ private void InitializeBot(Action onBotStarted) if (string.IsNullOrEmpty(apiCfg.AuthAPIKey)) { Logger.Write( - "You select pogodev API but not provide API Key, please press any key to exit and correct you auth.json, \r\n The Pogodev API key call be purchased at - https://talk.pogodev.org/d/51-api-hashing-service-by-pokefarmer", + "You have selected PogoDev API but have not provided an API Key, please press any key to exit and correct you auth.json, \r\n The Pogodev API key can be purchased at - https://talk.pogodev.org/d/51-api-hashing-service-by-pokefarmer", LogLevel.Error ); @@ -1185,9 +1185,9 @@ private void InitializeBot(Action onBotStarted) else if (apiCfg.UseLegacyAPI) { Logger.Write( - "You bot will start after 15 second, You are running bot with Legacy API (0.45) it will increase your risk to be banned and trigger captcha. Config captcha in config.json to auto resolve them", - LogLevel.Warning - ); + "You bot will start after 15 seconds, You are running bot with Legacy API (0.45), but it will increase your risk of being banned and triggering captchas. Config Captchas in config.json to auto-resolve them", + LogLevel.Warning + ); #if RELEASE Thread.Sleep(15000); @@ -1196,9 +1196,9 @@ private void InitializeBot(Action onBotStarted) else { Logger.Write( - "At least 1 authentication method is selected, please correct your auth.json, ", - LogLevel.Error - ); + "At least 1 authentication method must be selected, please correct your auth.json.", + LogLevel.Error + ); Console.ReadKey(); Environment.Exit(0); } @@ -1212,7 +1212,7 @@ private void InitializeBot(Action onBotStarted) Logger.SetLoggerContext(_session); MultiAccountManager accountManager = new MultiAccountManager(logicSettings.Bots); - ioc.Register(accountManager); + ioc.Register(accountManager); if (boolNeedsSetup) { @@ -1269,7 +1269,7 @@ private void InitializeBot(Action onBotStarted) Resources.ProgressBar.Fill(40); var aggregator = new StatisticsAggregator(stats); - if (onBotStarted != null) onBotStarted(_session, aggregator); + onBotStarted?.Invoke(_session, aggregator); Resources.ProgressBar.Fill(50); var listener = new ConsoleEventListener(); @@ -1517,7 +1517,7 @@ private static bool CheckKillSwitch() if (PromptForKillSwitchOverride(strReason)) { // Override - Logger.Write("Overriding killswitch... you have been warned!", LogLevel.Warning); + Logger.Write("Overriding Killswitch... you have been warned!", LogLevel.Warning); return false; } diff --git a/RocketBot2/Forms/StarterConfigForm.Designer.cs b/RocketBot2/Forms/StarterConfigForm.Designer.cs index e634a869d..3a661a82e 100644 --- a/RocketBot2/Forms/StarterConfigForm.Designer.cs +++ b/RocketBot2/Forms/StarterConfigForm.Designer.cs @@ -100,8 +100,8 @@ private void InitializeComponent() this.wizardControl1.Text = "Initial first time config"; this.wizardControl1.Title = "Initial first time config"; this.wizardControl1.TitleIcon = ((System.Drawing.Icon)(resources.GetObject("wizardControl1.TitleIcon"))); - this.wizardControl1.Cancelling += new System.ComponentModel.CancelEventHandler(this.wizardControl1_Cancelling); - this.wizardControl1.Finished += new System.EventHandler(this.wizardControl1_Finished); + this.wizardControl1.Cancelling += new System.ComponentModel.CancelEventHandler(this.WizardControl1_Cancelling); + this.wizardControl1.Finished += new System.EventHandler(this.WizardControl1_Finished); // // SelectLanguagePage // @@ -146,7 +146,7 @@ private void InitializeComponent() this.AccountPage.Size = new System.Drawing.Size(685, 244); this.AccountPage.TabIndex = 1; this.AccountPage.Text = "Account setup"; - this.AccountPage.Commit += new System.EventHandler(this.wizardPage2_Commit); + this.AccountPage.Commit += new System.EventHandler(this.WizardPage2_Commit); // // txtPassword // @@ -218,7 +218,7 @@ private void InitializeComponent() this.LocationPage.TabIndex = 3; this.LocationPage.Text = "Start location"; this.LocationPage.Commit += new System.EventHandler(this.LocationPage_Commit); - this.LocationPage.Click += new System.EventHandler(this.wizardPage4_Click); + this.LocationPage.Click += new System.EventHandler(this.WizardPage4_Click); // // txtLng // @@ -342,7 +342,7 @@ private void InitializeComponent() this.chkAllowVariant.TabIndex = 18; this.chkAllowVariant.Text = "Allow walk speed variant"; this.chkAllowVariant.UseVisualStyleBackColor = true; - this.chkAllowVariant.Click += new System.EventHandler(this.chkAllowVariant_Click); + this.chkAllowVariant.Click += new System.EventHandler(this.ChkAllowVariant_Click); // // txtVariant // @@ -423,7 +423,7 @@ private void InitializeComponent() this.chkAllowWebsocket.TabIndex = 0; this.chkAllowWebsocket.Text = "Allow websocket (use for Web GUI)"; this.chkAllowWebsocket.UseVisualStyleBackColor = true; - this.chkAllowWebsocket.Click += new System.EventHandler(this.checkBox1_Click); + this.chkAllowWebsocket.Click += new System.EventHandler(this.CheckBox1_Click); // // SnipePage // @@ -456,7 +456,7 @@ private void InitializeComponent() this.linkLabel1.TabStop = true; this.linkLabel1.Text = "These are very basic initial snipe config, please make sure you read \"Auto Snipe " + "Config\" to fully customize your snipe setting"; - this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1_LinkClicked); // // label11 // @@ -538,7 +538,7 @@ private void InitializeComponent() this.button1.TabIndex = 0; this.button1.Text = "START BOT"; this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); + this.button1.Click += new System.EventHandler(this.Button1_Click); // // StarterConfigForm // diff --git a/RocketBot2/Forms/StarterConfigForm.cs b/RocketBot2/Forms/StarterConfigForm.cs index defed7b64..5eb9ccb88 100644 --- a/RocketBot2/Forms/StarterConfigForm.cs +++ b/RocketBot2/Forms/StarterConfigForm.cs @@ -33,34 +33,35 @@ public StarterConfigForm(Session _session) public StarterConfigForm(Session _session, GlobalSettings settings, IElevationService elevationService, string configFile) : this(_session) { - this.Session = _session; - this.txtLanguage.Text = this.Session.LogicSettings.TranslationLanguageCode; - this.txtLat.Text = settings.LocationConfig.DefaultLatitude.ToString(); - this.txtLng.Text = settings.LocationConfig.DefaultLongitude.ToString(); + Session = _session; + txtLanguage.Text = Session.LogicSettings.TranslationLanguageCode; + txtLat.Text = settings.LocationConfig.DefaultLatitude.ToString(); + txtLng.Text = settings.LocationConfig.DefaultLongitude.ToString(); this.settings = settings; - this.txtWebsocketPort.Text = settings.WebsocketsConfig.WebSocketPort.ToString(); - this.chkAllowWebsocket.Checked = settings.WebsocketsConfig.UseWebsocket; + txtWebsocketPort.Text = settings.WebsocketsConfig.WebSocketPort.ToString(); + chkAllowWebsocket.Checked = settings.WebsocketsConfig.UseWebsocket; - this.chkSnipeDex.Checked = this.Session.LogicSettings.SnipePokemonNotInPokedex; - this.chkEnableSnipe.Checked = this.Session.LogicSettings.DataSharingConfig.AutoSnipe; - this.txtMinIV.Text = this.Session.LogicSettings.MinIVForAutoSnipe.ToString(); - this.txtMinLevel.Text = this.Session.LogicSettings.MinLevelForAutoSnipe.ToString(); + chkSnipeDex.Checked = Session.LogicSettings.SnipePokemonNotInPokedex; + chkEnableSnipe.Checked = Session.LogicSettings.DataSharingConfig.AutoSnipe; + txtMinIV.Text = Session.LogicSettings.MinIVForAutoSnipe.ToString(); + txtMinLevel.Text = Session.LogicSettings.MinLevelForAutoSnipe.ToString(); this.elevationService = elevationService; this.configFile = configFile; } - private void wizardPage2_Commit(object sender, WizardPageConfirmEventArgs e) + private void WizardPage2_Commit(object sender, WizardPageConfirmEventArgs e) { - this.settings.Auth.CurrentAuthConfig.AuthType = comboBox1.Text == "ptc" ? AuthType.Ptc : AuthType.Google; - this.settings.Auth.CurrentAuthConfig.Username = txtUsername.Text; - this.settings.Auth.CurrentAuthConfig.Password = txtPassword.Text; } + settings.Auth.CurrentAuthConfig.AuthType = comboBox1.Text == "ptc" ? AuthType.Ptc : AuthType.Google; + settings.Auth.CurrentAuthConfig.Username = txtUsername.Text; + settings.Auth.CurrentAuthConfig.Password = txtPassword.Text; + } private void SelectLanguagePage_Commit(object sender, WizardPageConfirmEventArgs e) { } - private void wizardPage4_Click(object sender, EventArgs e) + private void WizardPage4_Click(object sender, EventArgs e) { } @@ -69,11 +70,11 @@ private void WalkinSpeedPage_Click(object sender, EventArgs e) } - private void chkAllowVariant_Click(object sender, EventArgs e) + private void ChkAllowVariant_Click(object sender, EventArgs e) { } - private void checkBox1_Click(object sender, EventArgs e) + private void CheckBox1_Click(object sender, EventArgs e) { } @@ -82,41 +83,41 @@ private void WebSocketPage_Click(object sender, EventArgs e) } - private void wizardControl1_Finished(object sender, EventArgs e) + private void WizardControl1_Finished(object sender, EventArgs e) { - GlobalSettings.SaveFiles(settings, this.configFile); + GlobalSettings.SaveFiles(settings, configFile); new Session(settings,new ClientSettings(settings, elevationService), new LogicSettings(settings), elevationService); Logger.Write(Session.Translation.GetTranslation(TranslationString.FirstStartSetupCompleted), LogLevel.Info); } private void SelectLanguagePage_Click(object sender, EventArgs e) { - this.Session = new Session(settings, + Session = new Session(settings, new ClientSettings(settings, elevationService), new LogicSettings(settings), elevationService ); - this.settings.ConsoleConfig.TranslationLanguageCode = this.txtLanguage.Text; + settings.ConsoleConfig.TranslationLanguageCode = txtLanguage.Text; } - private void wizardControl1_Cancelling(object sender, CancelEventArgs e) + private void WizardControl1_Cancelling(object sender, CancelEventArgs e) { DialogResult = DialogResult.Cancel; - this.Close(); + Close(); } - private void button1_Click(object sender, EventArgs e) + private void Button1_Click(object sender, EventArgs e) { DialogResult = DialogResult.OK; - GlobalSettings.SaveFiles(settings, this.configFile); + GlobalSettings.SaveFiles(settings, configFile); new Session(settings,new ClientSettings(settings, elevationService), new LogicSettings(settings), elevationService); Logger.Write(Session.Translation.GetTranslation(TranslationString.FirstStartSetupCompleted), LogLevel.Info); - this.Close(); + Close(); } - private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start("http://necrobot2.com/config.json/2017/01/07/how-to-config-auto-snipe/"); } @@ -128,37 +129,37 @@ private void SnipePage_Initialize(object sender, WizardPageInitEventArgs e) private void LocationPage_Commit(object sender, WizardPageConfirmEventArgs e) { - this.settings.LocationConfig.DefaultLatitude = Convert.ToDouble(txtLat.Text); - this.settings.LocationConfig.DefaultLongitude = Convert.ToDouble(txtLng.Text); + settings.LocationConfig.DefaultLatitude = Convert.ToDouble(txtLat.Text); + settings.LocationConfig.DefaultLongitude = Convert.ToDouble(txtLng.Text); } private void WalkinSpeedPage_Commit(object sender, WizardPageConfirmEventArgs e) { - this.settings.LocationConfig.WalkingSpeedInKilometerPerHour = Convert.ToDouble(txtSpeed.Text); - this.settings.LocationConfig.WalkingSpeedVariant = Convert.ToDouble(txtSpeed.Text); - this.settings.LocationConfig.UseWalkingSpeedVariant = chkAllowVariant.Checked; + settings.LocationConfig.WalkingSpeedInKilometerPerHour = Convert.ToDouble(txtSpeed.Text); + settings.LocationConfig.WalkingSpeedVariant = Convert.ToDouble(txtSpeed.Text); + settings.LocationConfig.UseWalkingSpeedVariant = chkAllowVariant.Checked; - this.settings.GoogleWalkConfig.UseGoogleWalk = chkEnableGoogle.Checked; - this.settings.GoogleWalkConfig.GoogleAPIKey = txtGoogleKey.Text; - this.settings.GoogleWalkConfig.UseGoogleWalk = chkAllowYourwalk.Checked; + settings.GoogleWalkConfig.UseGoogleWalk = chkEnableGoogle.Checked; + settings.GoogleWalkConfig.GoogleAPIKey = txtGoogleKey.Text; + settings.GoogleWalkConfig.UseGoogleWalk = chkAllowYourwalk.Checked; - this.settings.MapzenWalkConfig.UseMapzenWalk = chkMazen.Checked; - this.settings.MapzenWalkConfig.MapzenTurnByTurnApiKey = txtMapzenKey.Text; + settings.MapzenWalkConfig.UseMapzenWalk = chkMazen.Checked; + settings.MapzenWalkConfig.MapzenTurnByTurnApiKey = txtMapzenKey.Text; } private void WebSocketPage_Commit(object sender, WizardPageConfirmEventArgs e) { - this.settings.WebsocketsConfig.UseWebsocket = chkAllowWebsocket.Checked; - this.settings.WebsocketsConfig.WebSocketPort = Convert.ToInt32(txtWebsocketPort.Text); + settings.WebsocketsConfig.UseWebsocket = chkAllowWebsocket.Checked; + settings.WebsocketsConfig.WebSocketPort = Convert.ToInt32(txtWebsocketPort.Text); } private void SnipePage_Commit(object sender, WizardPageConfirmEventArgs e) { - this.settings.SnipeConfig.MinLevelForAutoSnipe = int.Parse(txtMinLevel.Text); - this.settings.SnipeConfig.MinIVForAutoSnipe = int.Parse(txtMinIV.Text); - this.settings.DataSharingConfig.AutoSnipe = chkEnableSnipe.Checked; - this.settings.SnipeConfig.SnipePokemonNotInPokedex = chkSnipeDex.Checked; + settings.SnipeConfig.MinLevelForAutoSnipe = int.Parse(txtMinLevel.Text); + settings.SnipeConfig.MinIVForAutoSnipe = int.Parse(txtMinIV.Text); + settings.DataSharingConfig.AutoSnipe = chkEnableSnipe.Checked; + settings.SnipeConfig.SnipePokemonNotInPokedex = chkSnipeDex.Checked; } diff --git a/RocketBot2/Helpers/PokemomObject.cs b/RocketBot2/Helpers/PokemomObject.cs index 1ac4d5d8e..4b6876b87 100644 --- a/RocketBot2/Helpers/PokemomObject.cs +++ b/RocketBot2/Helpers/PokemomObject.cs @@ -225,7 +225,9 @@ public PokemonSettings PokemonSettings public DateTime CaughtTime => TimeUtil.GetDateTimeFromMilliseconds((long)this.PokemonData.CreationTimeMs).ToLocalTime(); +#pragma warning disable CS0649 // Le champ 'PokemonObject.geoLocation' n'est jamais assigné et aura toujours sa valeur par défaut null private GeoLocation geoLocation; +#pragma warning restore CS0649 // Le champ 'PokemonObject.geoLocation' n'est jamais assigné et aura toujours sa valeur par défaut null public GeoLocation GeoLocation { get diff --git a/RocketBot2/RocketBot2.csproj b/RocketBot2/RocketBot2.csproj index 6689dda70..16fe344de 100644 --- a/RocketBot2/RocketBot2.csproj +++ b/RocketBot2/RocketBot2.csproj @@ -90,6 +90,26 @@ RocketBot2.Program + + true + bin\x64\Debug\ + TRACE;DEBUG + full + x64 + prompt + MinimumRecommendedRules.ruleset + true + + + bin\x64\Release\ + TRACE + true + pdbonly + x64 + false + prompt + MinimumRecommendedRules.ruleset + $(SolutionDir)\packages\log4net.2.0.8\lib\net45-full\log4net.dll @@ -329,7 +349,6 @@ - Always diff --git a/RocketBot2/SniperEventListener.cs b/RocketBot2/SniperEventListener.cs index cc138de61..fd445824c 100644 --- a/RocketBot2/SniperEventListener.cs +++ b/RocketBot2/SniperEventListener.cs @@ -20,7 +20,7 @@ private static void HandleEvent(PokemonCaptureEvent pokemonCaptureEvent, ISessio pokemonCaptureEvent.Longitude, pokemonCaptureEvent.Id); } - public static void HandleEvent(EncounteredEvent ev, ISession session) + public static void HandleEvent(EncounteredEvent ev, ISession session) { if (!ev.IsRecievedFromSocket) return; diff --git a/RocketBot2/WebSocketHandler/ActionCommands/SetTrainerNicknameHandler.cs b/RocketBot2/WebSocketHandler/ActionCommands/SetTrainerNicknameHandler.cs index 1097f6828..221666fa5 100644 --- a/RocketBot2/WebSocketHandler/ActionCommands/SetTrainerNicknameHandler.cs +++ b/RocketBot2/WebSocketHandler/ActionCommands/SetTrainerNicknameHandler.cs @@ -52,7 +52,7 @@ public async Task Handle(ISession session, WebSocketSession webSocketSession, dy { session.EventDispatcher.Send(new NoticeEvent() { - Message = $"Couldn't change your nick name" + Message = $"Couldn't change your nickname" }); } } diff --git a/RocketBot2/WebSocketInterface.cs b/RocketBot2/WebSocketInterface.cs index 49a2af671..4867e41b8 100644 --- a/RocketBot2/WebSocketInterface.cs +++ b/RocketBot2/WebSocketInterface.cs @@ -78,7 +78,7 @@ public WebSocketInterface(int port, Session session) } else { - Logger.Write($"Counld't start socket server at port {port}, this port maybe in use or block, please change config to other port and restart bot if you want to use web gui.", LogLevel.Error); + Logger.Write($"Counld't start socket server at port {port}, this port may be in use or blocked, please change your config to another port and restart bot if you want to use web gui.", LogLevel.Error); } } @@ -90,7 +90,7 @@ private void Broadcast(string message) { session.Send(message); } - catch (Exception ) + catch (Exception) { #if DEBUG //Logger.Write(ex.Message); diff --git a/RocketBot2/app.config b/RocketBot2/app.config deleted file mode 100644 index 943237455..000000000 --- a/RocketBot2/app.config +++ /dev/null @@ -1,39 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 5e1e6abab..2d048ff83 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,7 +26,7 @@ pull_requests: #---------------------------------# # Build worker image (VM template) -image: Visual Studio 2015 +image: Visual Studio 2017 # scripts that are called at very beginning, before repo cloning init: