diff --git a/scr/SCMBot/SteamUtils.cs b/scr/SCMBot/SteamUtils.cs index 784b089..7e355a0 100644 --- a/scr/SCMBot/SteamUtils.cs +++ b/scr/SCMBot/SteamUtils.cs @@ -161,7 +161,7 @@ public class CurrInfoLst : List { public CurrInfoLst() { - //1 for USD, 2 for GBP, 3 for EUR, 5 for RUB, 7 for BRL, 11 for MYR + //1 for USD, 2 for GBP, 3 for EUR, 5 for RUB, 7 for BRL, 11 for MYR, 13 for SGD, 14 for THB this.Add(new CurrencyInfo("$", "$", "1")); this.Add(new CurrencyInfo("pуб.", "руб.", "5")); @@ -172,6 +172,11 @@ public CurrInfoLst() this.Add(new CurrencyInfo("R$", "R$", "7")); //Fixed, thanks to Malaysian guy. this.Add(new CurrencyInfo("RM", "RM", "11")); + //Fixed, thanks to Singaporian guy. + this.Add(new CurrencyInfo("S$", "S$ ", "13")); + //Fixed, thanks to Thai guy. + this.Add(new CurrencyInfo("#x0e3f;", "฿", "14")); + this.NotSet = true; this.Current = 0; } @@ -655,7 +660,7 @@ public StrParam GetNameBalance(CookieContainer cock, CurrInfoLst currLst) string markpage = SendGet(_market, cock, false, true); //For testring purposes! - //string markpage = System.IO.File.ReadAllText(@"C:\myr.htm"); + //string markpage = System.IO.File.ReadAllText(@"C:\sing.htm"); //Fix to getting name regex string parseName = Regex.Match(markpage, "(?<=buynow_dialog_myaccountname\">)(.*)(?=)").ToString().Trim();