Post
Topic
Board Gambling
Merits 5 from 1 user
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
seuntjie
on 30/04/2020, 06:23:24 UTC
⭐ Merited by HCP (5)
Hi @Seuntjie!

Thanks for your quick reply to my previous questions.
I am dealing with another thing at the moment.

You know how we sometimes receive the 'bet result received does not match last bet placed! stopping for your safety' error?

I know how to restart my scripts using the start() command in lua, but is there a way to add a piece of code where the script would 'remember' where it was before it received the error?

That way I can, for example, continue a martingale right after instead of starting all over again.

Thank you.

Take a look at the pattern in https://forum.seuntjie.com/index.php?topic=2.msg2195#msg2195

It does basically what you need if you alter your script to initialize your variables in the right place, but like HCP said, the more complex your script, the harder it becomes.