Hello Guest

Wolf.Bet Error - Encountered unexpected character '<'.

  • 1 Replies
  • 351 Views
*

BlueSuede

  • **
  • 10
  • +1/-0
  • Programmer In Training
    • View Profile
Wolf.Bet Error - Encountered unexpected character '<'.
« on: October 20, 2019, 12:34:53 pm »
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>
@RCORE - Your inbox is full. I can't send you PM's.

Need help programming a script? Contact me.
Discord: XclusiveDigital#8102

*

Seuntjie

  • *****
  • 380
  • +12/-2
    • View Profile
Re: Wolf.Bet Error - Encountered unexpected character '<'.
« Reply #1 on: October 22, 2019, 08:16:24 pm »
Wolf.bet has made updates to their API and I still need to update the bot to include the latest changes.