Ok so this looks like it should work, and yet it gets hung up on the mmg_wait_event.
The goal: I was curious how many bets it would take to get 10 difference between wins and losses in the MMG. this means if your total win/loss ratio while running the script gets to +/- 10 it stops. Otherwise it will keep betting the minimum of 1k. It only runs 1 chain at a time.
Also I have tried not only looking at but also using mmg.ash and anti-martingale.ash to see where i went wrong, and it would seem that they may be getting hung on the mmg_wait_event also.
So here is the code I have:
int wave=0;
int n=0;
int b=0;
void main()
{
while(wave<10&&wave>-10)
{
mmg_make_bet(1000, true);
while(mmg_wait_event(1000)==0)
{
n=n+1;
print("n="+n);
}
n=0;
if(mmg_bet_winnings()<0)
wave=wave-1;
if(mmg_bet_winnings()>0)
wave=wave+1;
print(wave);
b=b+1;
}
print("Final wave was "+wave+" and it took "+b" bets to get there");
}
The goal: I was curious how many bets it would take to get 10 difference between wins and losses in the MMG. this means if your total win/loss ratio while running the script gets to +/- 10 it stops. Otherwise it will keep betting the minimum of 1k. It only runs 1 chain at a time.
Also I have tried not only looking at but also using mmg.ash and anti-martingale.ash to see where i went wrong, and it would seem that they may be getting hung on the mmg_wait_event also.
So here is the code I have:
int wave=0;
int n=0;
int b=0;
void main()
{
while(wave<10&&wave>-10)
{
mmg_make_bet(1000, true);
while(mmg_wait_event(1000)==0)
{
n=n+1;
print("n="+n);
}
n=0;
if(mmg_bet_winnings()<0)
wave=wave-1;
if(mmg_bet_winnings()>0)
wave=wave+1;
print(wave);
b=b+1;
}
print("Final wave was "+wave+" and it took "+b" bets to get there");
}