Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
payb.tc
on 02/02/2013, 01:49:57 UTC
I am no coder, but would like some advice in modding the phpbot to allow for a fraction of balance as MIN_BET and for it to recalculate after any win, same for MAX bet, also  if MAX_BET reached start over

i did try to modify the script by myself to allow this but received

Object of class jsonRPCClient could not be converted to int in XXXXX/bot2.php on line 14

Or

PHP Notice:  Object of class jsonRPCClient could not be converted to int in XXXXX/bot2.php on line 10

Or

PHP Fatal error:  Can't use method return value in write context in XXXXX/bot2.php on line 10

Any Advice would be appreciated

maybe show us lines 10 & 14 in bot2.php, or paste the whole thing