Skip to content

Commit

Permalink
CAD and NOK currencies support
Browse files Browse the repository at this point in the history
Thanks to Canadian and Norwegian!
  • Loading branch information
Maxx53 committed Oct 20, 2014
1 parent bb20255 commit f2e8853
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scr/SCMBot/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Main()
//Some WebRequest optimizations
ServicePointManager.Expect100Continue = false;
ServicePointManager.UseNagleAlgorithm = false;
ServicePointManager.DefaultConnectionLimit = 1000;
ServicePointManager.DefaultConnectionLimit = 50;
}


Expand Down Expand Up @@ -533,6 +533,7 @@ private void AddToScanLog(string message, int scanId, byte color, bool addcurr,
cutLog(steam_srch.logContainer, settings.logCount);
if (message == "Not found")
addcurr = false;
// MessageBox.Show(scanId.ToString());
steam_srch.logContainer.Add(new MainScanItem.LogItem(color, message, DateTime.Now, addcurr, steam_srch.currencies.GetName()));
ScrollLbox(scanId, recentListView, false);
}
Expand Down
6 changes: 5 additions & 1 deletion scr/SCMBot/SteamUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ public CurrInfoLst()
this.Add(new CurrencyInfo("S$", "S$ ", "13"));
//Fixed, thanks to Thai guy.
this.Add(new CurrencyInfo("#x0e3f;", "฿", "14"));

//Fixed, thanks to Canadian guy.
this.Add(new CurrencyInfo("CDN$", "CDN$ ", "20"));
//Fixed, thanks to Norwegian guy.
this.Add(new CurrencyInfo("kr", "kr", "9"));

this.NotSet = true;
this.Current = 0;
}
Expand Down

0 comments on commit f2e8853

Please sign in to comment.