Skip to content

Commit

Permalink
fixed time capturing;
Browse files Browse the repository at this point in the history
new release 1.0.16
  • Loading branch information
d03n3rfr1tz3 committed Jul 30, 2014
1 parent 763b40e commit 2dfd21c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
Binary file modified SharedBinaries/TS3-Bot.Core.XmlSerializers.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions TS3-Bot.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.0.1")]
[assembly: AssemblyFileVersion("1.1.0.1")]
2 changes: 1 addition & 1 deletion TS3-Bot.Core/Repository/ClientData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public void CaptureTime(uint clientDatabaseId, DateTime? connected, DateTime? di
bool exists = false;
using (var command = new SQLiteCommand(this.Container.DatabaseConnection))
{
command.CommandText = string.Format("SELECT COUNT(*) FROM Time WHERE ClientDatabaseId = {0}", clientDatabaseId);
command.CommandText = string.Format("SELECT COUNT(*) FROM Time WHERE ClientDatabaseId = {0} AND Joined = {1}", clientDatabaseId, lastConnected.ToTimeStamp());
var result = command.ExecuteScalar();
if (result is Int32 && (Int32)result > 0) exists = true;
if (result is Int64 && (Int64)result > 0) exists = true;
Expand Down
24 changes: 12 additions & 12 deletions TS3-Bot.Setup/TS3-Bot.Setup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"Entry"
{
"MsmKey" = "8:_2E92BA1ED399253D0F00449E96A42EC8"
"OwnerKey" = "8:_4D53BB2B60094B97748E5AB17BA6C293"
"OwnerKey" = "8:_DF1E504F995D4B65AF4AAC7B0923B760"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_2E92BA1ED399253D0F00449E96A42EC8"
"OwnerKey" = "8:_DF1E504F995D4B65AF4AAC7B0923B760"
"OwnerKey" = "8:_4D53BB2B60094B97748E5AB17BA6C293"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
Expand Down Expand Up @@ -118,25 +118,25 @@
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_4D53BB2B60094B97748E5AB17BA6C293"
"OwnerKey" = "8:_33B9B4B69991410FA65242ACCA39E5C4"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_08777C2946EF4223448B107D4531DF52"
"OwnerKey" = "8:_4D53BB2B60094B97748E5AB17BA6C293"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_6B88A71B4231C0CD0EC647EA9EA02DE7"
"OwnerKey" = "8:_08777C2946EF4223448B107D4531DF52"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_33B9B4B69991410FA65242ACCA39E5C4"
"OwnerKey" = "8:_6B88A71B4231C0CD0EC647EA9EA02DE7"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
Expand Down Expand Up @@ -372,7 +372,7 @@
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:TS3-Bot.Core, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:TS3-Bot.Core, Version=1.1.0.1, Culture=neutral, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_4D53BB2B60094B97748E5AB17BA6C293"
Expand Down Expand Up @@ -526,24 +526,24 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:TeamSpeak 3 Bot"
"ProductCode" = "8:{15268B12-3D29-4749-93B0-EAF2B8B628D8}"
"PackageCode" = "8:{B22F8451-2C6C-4F98-950D-8791BF5A6B1E}"
"ProductCode" = "8:{DE53AEF7-B9FE-4AD9-B5AF-274B8D1CB754}"
"PackageCode" = "8:{DA81D0BA-9EF7-43B5-A1F2-E05578B10CC8}"
"UpgradeCode" = "8:{01D6B1B4-F9ED-4B1A-963D-119DE514A665}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:FALSE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.15"
"ProductVersion" = "8:1.0.16"
"Manufacturer" = "8:Dirk Sarodnick"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:http://www.d03n3r.de"
"ARPHELPLINK" = "8:http://www.dirk-sarodnick.de/"
"Title" = "8:TeamSpeak 3 Bot - Dirk Sarodnick"
"Subject" = "8:"
"ARPCONTACT" = "8:Dirk Sarodnick"
"Keywords" = "8:"
"ARPCOMMENTS" = "8:"
"ARPURLINFOABOUT" = "8:http://www.d03n3r.de"
"ARPURLINFOABOUT" = "8:http://www.dirk-sarodnick.de/"
"ARPPRODUCTICON" = "8:_33B9B4B69991410FA65242ACCA39E5C4"
"ARPIconIndex" = "3:32512"
"SearchPath" = "8:"
Expand Down

0 comments on commit 2dfd21c

Please sign in to comment.