Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - BlueSuede

Pages: [1]
1
Hey Seuntjie - I'm not really sure what's happening. I dont know if there's an issue with my script or something with Wolf.Bet. I've been working on a script the past couple days. It works fine when using Bitvest or Bitsler. However, when I'm trying to use it on Wolf.Bet I keep getting this "Encountered unexpected character '<'. ---> System.Xml.XmlException: Encountered unexpected character '<'." appearing in the log. Dicebot will only do the first initial bet, but after that, it stops. Here is the full log.


System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type DiceBot.WolfBetClasses.WolfBetResult. Encountered unexpected character '<'. ---> System.Xml.XmlException: Encountered unexpected character '<'.
   at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception)
   at System.Runtime.Serialization.Json.XmlJsonReader.ReadAttributes()
   at System.Runtime.Serialization.Json.XmlJsonReader.ReadNonExistentElementName(StringHandleConstStringType elementName)
   at System.Runtime.Serialization.Json.XmlJsonReader.Read()
   at System.Xml.XmlBaseReader.IsStartElement()
   at System.Xml.XmlBaseReader.IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
   at System.Runtime.Serialization.XmlReaderDelegator.IsStartElement(XmlDictionaryString localname, XmlDictionaryString ns)
   at System.Runtime.Serialization.XmlObjectSerializer.IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalIsStartObject(XmlReaderDelegator reader)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.InternalReadObject(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   --- End of inner exception stack trace ---
   at DiceBot.json.JsonDeserialize[T](String jsonString)
   at DiceBot.WolfBet.placebetthread(Object obj)
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta name="title" content="WOLF.BET - Crypto Dice Game - Bitcoin Casino"><meta name="description" content="WOLF.BET is a high-quality dice game with unique features like 7-day streak bonus or wager contest! Each dice roll provides a lot of excitement and fun!🎲"><meta name="google" content="notranslate"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="white"><link rel="apple-touch-icon" sizes="57x57" href="/assets/img/favicon/apple-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/assets/img/favicon/apple-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/assets/img/favicon/apple-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/assets/img/favicon/apple-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/assets/img/favicon/apple-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/assets/img/favicon/apple-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/assets/img/favicon/apple-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/assets/img/favicon/apple-icon-152x152.png"><link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicon/apple-icon-180x180.png"><link rel="icon" type="image/png" sizes="192x192" href="/assets/img/favicon/android-icon-192x192.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="96x96" href="/assets/img/favicon/favicon-96x96.png"><link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon/favicon-16x16.png"><link rel="manifest" href="/assets/img/favicon/manifest.json" crossorigin="use-credentials"><meta name="msapplication-TileColor" content="#ffffff"><meta name="msapplication-TileImage" content="/ms-icon-144x144.png"><meta name="theme-color" content="#ffffff"><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
                  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
                  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
               })(window,document,'script','dataLayer','GTM-MLW94ZL');</script><script type="text/javascript" src="/styles_head-d9b7c58.js"></script></head><body><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MLW94ZL" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><main id="app"></main><div class="loading loading__data loading--active preloader"><div class="loading--gif"></div></div><script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script><script>var OneSignal = window.OneSignal || [];
         OneSignal.push(function() {
            OneSignal.init({
               appId: "06b097ba-4f6f-44bf-9896-d192859c036c",
            });
         });</script><script type="text/javascript" src="https://10281cf8-35d4-4f92-926f-7573b336f155.snippet.antillephone.com/apg-seal.js"></script><script>console.log(
          '%c--------------------------------------',
          'font-size: 16px'
       );
       console.log(
          "%cDon't paste anything here!",
          'color: #f1001c; font-size: 22px'
       );
       console.log(
          '%cIf someone asked you to paste something here, they are most likely trying to hijack your account and take your coins.',
          'color: #f1001c; font-size: 22px'
       );
       console.log(
          '%c--------------------------------------',
          'font-size: 16px'
       );</script><script type="text/javascript" src="/index-d9b7c58.js"></script><script defer src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon='{"rayId":"528aa26e8e40e960","startTime":1571570762126}'></script>
</body></html>

2
Programmer Mode / Reset on Bet result received does not match
« on: October 14, 2019, 05:23:17 pm »
Seuntjie - I know this error gets brought up quite a bit. But I'm hoping what I'm asking is a little different. I definitely do not want the safety feature removed. I greatly appreciate it. Today it's happened multiple times and Im just assuming it's something on Wolf.bets end. But if I can reset, then cool, if not, then no biggy.
In all of my scripts I create a resetbets() function. The function runs whenever my stoploss is reached or if my target profit has been reached.
The function recalculates my basebet, stoploss, and targetprofit based on my balance.

Is there a way I can run my resetbets() function if Dicebot shows the error "Bet result received does not match last bet place! Stopping for your safety. stopping" ?
I know this is protect us and is a great feature that DiceBot has.

What I'm looking to do is something like the following:

   if (error) then
      if (string.find(error_string, "Bet result received does not match last bet")) then
         resetbets()
      end
   end


This will allow me to start a new series and prevent dicebot from stopping all together. I know this error also happens if dicebot is getting results that are several bets behind, in that case is there a function that will reset the history so I can continue placing bets?

Pages: [1]