Hello Guest

DuckDice stops after 50 bets

  • 1 Replies
  • 120 Views
*

Bullseye

  • **
  • 37
  • +0/-0
    • View Profile
DuckDice stops after 50 bets
« on: April 05, 2022, 04:59:48 pm »
I have a script with no errors (impossible, i know), and it runs fine on DuckDice but always stops at 50 bets.  Logs show this error:

System.NullReferenceException: Object reference not set to an instance of an object.
   at DiceBot.DuckDice.PlaceBetThreead(Object bet)

Anyone else seeing this or have any ideas?

*

GodAscorbin

  • **
  • 16
  • +1/-0
    • View Profile
Re: DuckDice stops after 50 bets
« Reply #1 on: April 07, 2022, 03:21:56 pm »
Hello, we can guess the reason for the stop when reading the code.

It seems you are trying to use something that is null,
This means you either set it to null, or you never set it to anything at all.

cheers