Hello Guest

in the simulation var balance = a nil value

  • 2 Replies
  • 40 Views
*

PMG

  • **
  • 16
  • +0/-0
    • View Profile
in the simulation var balance = a nil value
« on: March 10, 2019, 08:53:36 am »
In the simulation, the variable balance takes a value only after the first bet.

For instance in this script I am obliged to add balance = 0.50000000
Code: [Select]
target=balance*2

chance=58
div=100000000 --satoshi
nextbet=150/div

function dobet()

if balance >= target then
stop()
end

if profit < 0 then
chance *=0.98
nextbet *=1.03
else
chance=98
end

end




*

Seuntjie

  • *****
  • 217
  • +0/-1
    • View Profile

*

PMG

  • **
  • 16
  • +0/-0
    • View Profile
Re: in the simulation var balance = a nil value
« Reply #2 on: March 10, 2019, 05:13:04 pm »
thanks