Skip to content

Commit a0631e5

Browse files
author
Casper
committed
Moved all code to new project
For some reason this seems to solve all the false virus positives. Who knows why, but there it is.
1 parent e326d07 commit a0631e5

85 files changed

Lines changed: 43107 additions & 121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vs/HourBoostr/v14/.suo

-77 KB
Binary file not shown.

HourBoostr.sln

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2013
4-
VisualStudioVersion = 12.0.31101.0
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.24720.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HourBoostr", "HourBoostr\HourBoostr.csproj", "{4079E460-6CA1-47DC-81B6-5AB1EEC8B42D}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HourBoostr", "HourBoostr\HourBoostr.csproj", "{BE83304B-4BCB-44EB-A8A1-B7E61CDC670F}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{4079E460-6CA1-47DC-81B6-5AB1EEC8B42D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{4079E460-6CA1-47DC-81B6-5AB1EEC8B42D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{4079E460-6CA1-47DC-81B6-5AB1EEC8B42D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{4079E460-6CA1-47DC-81B6-5AB1EEC8B42D}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{BE83304B-4BCB-44EB-A8A1-B7E61CDC670F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{BE83304B-4BCB-44EB-A8A1-B7E61CDC670F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{BE83304B-4BCB-44EB-A8A1-B7E61CDC670F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{BE83304B-4BCB-44EB-A8A1-B7E61CDC670F}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE

HourBoostr.v12.suo

-51.5 KB
Binary file not shown.

HourBoostr/App.config

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8" ?>
22
<configuration>
3-
<configSections>
4-
</configSections>
53
<startup>
6-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
75
</startup>
8-
</configuration>
6+
</configuration>

HourBoostr/Bot.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ private void BackgroundWorkerOnRunWorkerCompleted(object sender, RunWorkerComple
249249
Exception ex = runWorkerCompletedEventArgs.Error;
250250
mLog.Write(Log.LogLevel.Error, $"Unhandled exception occured in callbackManager background worker: {ex.Message}");
251251
}
252-
252+
253253
mLog.Write(Log.LogLevel.Warn, $"Bot has stopped running!");
254254
mIsRunning = false;
255255
}
@@ -262,7 +262,7 @@ private void BackgroundWorkerOnRunWorkerCompleted(object sender, RunWorkerComple
262262
/// <param name="callback">SteamClient.ConnectedCallback</param>
263263
private void OnConnected(SteamClient.ConnectedCallback callback)
264264
{
265-
if(callback.Result != EResult.OK)
265+
if (callback.Result != EResult.OK)
266266
{
267267
mLog.Write(Log.LogLevel.Warn, $"OnConnected error: {callback.Result}");
268268
mIsRunning = false;
@@ -439,7 +439,7 @@ private void OnLoggedOn(SteamUser.LoggedOnCallback callback)
439439
mLog.Write(Log.LogLevel.Warn, $"Unhandled EResult response. Please report this issue. --> {callback.Result}");
440440
return;
441441
}
442-
442+
443443
/*Logged in successfully*/
444444
mLog.Write(Log.LogLevel.Success, $"Successfully logged in!");
445445
mSteam.nounce = callback.WebAPIUserNonce;
@@ -544,8 +544,8 @@ This is to avoid responding every time a user is spamming us in the chat*/
544544
}
545545
}
546546
}
547-
548-
547+
548+
549549
/// <summary>
550550
/// Authenticates user to community
551551
/// </summary>

HourBoostr/Config.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class Details
5757
public string LoginKey { get; set; } = "";
5858
}
5959

60-
60+
6161
/// <summary>
6262
/// Class for account settings
6363
/// </summary>
@@ -87,7 +87,7 @@ public class AccountSettings
8787
/// </summary>
8888
public bool RestartGamesEveryThreeHours { get; set; } = true;
8989

90-
90+
9191
/// <summary>
9292
/// Automatically joins the Steam Group for HourBoostr
9393
/// This is done for statistics, so feel free to disable it if you don't want it
@@ -107,4 +107,4 @@ public class AccountSettings
107107
public List<int> Games { get; set; } = new List<int>();
108108
}
109109
}
110-
}
110+
}

HourBoostr/EndPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ class EndPoint
1212
public static string STEAM_GROUP_URL = "http://steamcommunity.com/gid/103582791455389825";
1313
public static string VERSION_FILE = "https://raw.githubusercontent.com/Ezzpify/HourBoostr/master/version.txt";
1414
}
15-
}
15+
}

HourBoostr/ExtraHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ private void HandlePlayingSessionState(IPacketMsg packetMsg)
6363
Client.PostCallback(new PlayingSessionStateCallback(packetMsg.TargetJobID, response.Body));
6464
}
6565
}
66-
}
66+
}

HourBoostr/HourBoostr.csproj

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{4079E460-6CA1-47DC-81B6-5AB1EEC8B42D}</ProjectGuid>
7+
<ProjectGuid>{BE83304B-4BCB-44EB-A8A1-B7E61CDC670F}</ProjectGuid>
88
<OutputType>Exe</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>HourBoostr</RootNamespace>
1111
<AssemblyName>HourBoostr</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14-
<TargetFrameworkProfile />
14+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1515
</PropertyGroup>
1616
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1717
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -35,35 +35,29 @@
3535
<PropertyGroup>
3636
<ApplicationIcon>icon.ico</ApplicationIcon>
3737
</PropertyGroup>
38-
<PropertyGroup>
39-
<StartupObject />
40-
</PropertyGroup>
41-
<PropertyGroup>
42-
<Win32Resource>
43-
</Win32Resource>
44-
</PropertyGroup>
4538
<ItemGroup>
4639
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
4740
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
4841
<Private>True</Private>
4942
</Reference>
50-
<Reference Include="protobuf-net">
51-
<HintPath>.\protobuf-net.dll</HintPath>
43+
<Reference Include="protobuf-net, Version=2.0.0.668, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
44+
<HintPath>..\packages\protobuf-net.2.0.0.668\lib\net40\protobuf-net.dll</HintPath>
45+
<Private>True</Private>
5246
</Reference>
53-
<Reference Include="SteamKit2">
54-
<HintPath>.\SteamKit2.dll</HintPath>
47+
<Reference Include="SteamKit2, Version=1.8.0.26737, Culture=neutral, PublicKeyToken=ed3ce47ed5aad940, processorArchitecture=MSIL">
48+
<HintPath>..\packages\SteamKit2.1.8.0\lib\net45\SteamKit2.dll</HintPath>
49+
<Private>True</Private>
5550
</Reference>
5651
<Reference Include="System" />
5752
<Reference Include="System.Core" />
5853
<Reference Include="System.Drawing" />
59-
<Reference Include="System.Runtime.Serialization" />
6054
<Reference Include="System.Web" />
61-
<Reference Include="System.Web.Extensions" />
6255
<Reference Include="System.Windows.Forms" />
6356
<Reference Include="System.Xml.Linq" />
6457
<Reference Include="System.Data.DataSetExtensions" />
6558
<Reference Include="Microsoft.CSharp" />
6659
<Reference Include="System.Data" />
60+
<Reference Include="System.Net.Http" />
6761
<Reference Include="System.Xml" />
6862
</ItemGroup>
6963
<ItemGroup>
@@ -88,12 +82,12 @@
8882
</ItemGroup>
8983
<ItemGroup>
9084
<None Include="App.config" />
85+
<None Include="packages.config" />
9186
</ItemGroup>
9287
<ItemGroup>
93-
<Content Include="AppIcon.ico" />
9488
<Content Include="icon.ico" />
95-
<None Include="packages.config" />
96-
<None Include="Resources\icon.ico" />
89+
<None Include="media\icon.ico" />
90+
<None Include="media\icon.png" />
9791
</ItemGroup>
9892
<ItemGroup>
9993
<EmbeddedResource Include="Properties\Resources.resx">

HourBoostr/Log.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ private void FlushLog()
156156
}
157157
}
158158
}
159-
}
159+
}

0 commit comments

Comments
 (0)