diff --git a/PepperBet/PepperBet.vb b/PepperBet/PepperBet.vb index 25b4a65..b946ce6 100755 --- a/PepperBet/PepperBet.vb +++ b/PepperBet/PepperBet.vb @@ -2,7 +2,7 @@ 'Seconds between updates Const updatedelay = 2 - Const version As String = "1.10" + Const version As String = "1.11" Const downloadurl As String = "https://long-cat.net/projects/pepperbet/pepperbet.exe?v=" & version Const versionurl As String = "https://long-cat.net/projects/pepperbet/version.txt?v=" & version Const dbfilename As String = "pepperdata.xml" @@ -116,7 +116,7 @@ While xdoc Is Nothing Try - xdoc = Newtonsoft.Json.JsonConvert.DeserializeXmlNode(wc.DownloadString("http://www.saltybet.com/state.json"), "saltybet") + xdoc = Newtonsoft.Json.JsonConvert.DeserializeXmlNode(wc.DownloadString("https://www.saltybet.com/state.json"), "saltybet") Catch ex As Exception xdoc = Nothing System.Threading.Thread.Sleep(1500) @@ -130,7 +130,7 @@ If Not bootstrap Then 'dont reload state.json if we're in bootstrap mode Try - xdoc = Newtonsoft.Json.JsonConvert.DeserializeXmlNode(wc.DownloadString("http://www.saltybet.com/state.json"), "saltybet") + xdoc = Newtonsoft.Json.JsonConvert.DeserializeXmlNode(wc.DownloadString("https://www.saltybet.com/state.json"), "saltybet") Catch ex As Exception xdoc = Nothing End Try @@ -660,7 +660,7 @@ End If End While - + If qstr = "" Then found = False