Seuntjies DiceBot

DiceBot => Bugs and Suggestions => Topic started by: Bullseye on May 08, 2020, 04:33:49 am

Title: withdraw DOGE on 999dice not working
Post by: Bullseye on May 08, 2020, 04:33:49 am
Bug or user error?  withdraw ETH works for 999dice but withdrawing doge doesn't seem to work.

script says amount withdrawn, but nothing happens.  I went to 999dice.com and manually withdrew to the address no problem.
Title: Re: withdraw DOGE on 999dice not working
Post by: Seuntjie on May 08, 2020, 07:16:27 am
Was the amount you were trying to withdraw above the minimum withdrawal and were you using a valid doge address?
Title: Re: withdraw DOGE on 999dice not working
Post by: Bullseye on May 08, 2020, 12:22:19 pm
If the minimum amount is set by the site, then yes, because i successfully withdrew the same amount from 999dice directly with the same amount/address
Title: Re: withdraw DOGE on 999dice not working
Post by: Bullseye on May 08, 2020, 12:39:13 pm
Console shows:
----------------------------------------
Withdraw if Balance target reached.506.33902233 withdrawn to wallet
----------------------------------------
Withdrawing 506.33902233 to DNJTLGetFASfKj4smiXHcKPc3sCAzxR8ky
Betting Stopped!
----------------------------------------

log says: An error occurred while sending the request.

current balance is 5500+

Code: [Select]
mybalance           = 5000
mygoal              = 500
withdraw_if_balance = mybalance + mygoal          --withdraw to wallet if this balance is reached
withdraw_amount     = 500             --withdraw amount determined below as balance - mybalance
withdraw_account    = "DNJTLGetFASfKj4smiXHcKPc3sCAzxR8ky"
total_withdrawn     = 0 --starts at zero
times_withdrawn     = 0 --starts at zero
----------------
dobet()
---------------
if balance >= withdraw_if_balance then
nut = balance - mybalance
print("----------------------------------------")
print("Withdraw if Balance target reached."..nut.." withdrawn to wallet ")
print("----------------------------------------")
withdraw(nut,withdraw_account)
times_withdrawn+=1
total_withdrawn = total_withdrawn + nut
stop()
end
Title: Re: withdraw DOGE on 999dice not working
Post by: Seuntjie on May 08, 2020, 03:53:20 pm
There is a bug in the withdrawal code that causes it to try to withdraw the most recent bet amount rather than the amount specified by the script. It'll be fixed with the next release.
Title: Re: withdraw DOGE on 999dice not working
Post by: Bullseye on May 08, 2020, 11:44:31 pm
Hmmm, perhaps the successful withdrawls of ETH were on the last version?   Should i roll back and test?
Title: Re: withdraw DOGE on 999dice not working
Post by: Seuntjie on May 08, 2020, 11:54:23 pm
Check if the withdrawal amounts for eth was the correct amounts that you specified for the bot. Rolling back won't change the behavior, that part of the code wasn't changed recently
Title: Re: withdraw DOGE on 999dice not working
Post by: Bullseye on May 09, 2020, 02:03:42 pm
Yes, every ETH withdrawal worked exactly as expected, with 999dice taking their cut.  But with Doge, the console says that the money was withdrawn, but nothing really happens.
Title: Re: withdraw DOGE on 999dice not working
Post by: Bullseye on May 11, 2020, 06:23:02 pm
Rolling back to DiceBot 3.4.9.1 worked for ETH again.  The first withdraw automatically happened when i opened Dicebot (weird), testing now.  will test with DOGE after that.

Any harm in using this version if only on 999dice?
Title: Re: withdraw DOGE on 999dice not working
Post by: Seuntjie on May 11, 2020, 06:29:30 pm
There wasn't a change in terms of the code that handles withdrawal between the two versions, if there's a bug present in one, it'll be there in the other. There shouldn't be any risk in using the previous version specifically for 999dice, but there's no benefit either
Title: Re: withdraw DOGE on 999dice not working
Post by: Bullseye on May 11, 2020, 06:39:31 pm
Strange thing is, withdrawing ethereum on 999dice using the latest version doesn't withdraw

Withdrawing ethereum on 999dice using 3.4.9.1 does work   (???)

UPDATE: hit my threshold w/ ETH and the withdraw didn't happen.  Is it a dicebot or 999dice issue?