Post
Topic
Board Gambling
Re: ★Crypto-Games.net ★ 10 coins ★ 7 games ★ Since 2014 ★ Largest Crowdfunded Casino
by
Patatas
on 05/10/2017, 19:20:27 UTC
Is there any chance that you could also add some auto-play functionality to the roulette on Crypto-Games?
I don't think there's a bot available for this, right? Even if there was, I'm not a big fan of having to install an app on my pc just for this.
You can use the in-browser console to set up a simple auto betting.
Place your chips on the numbers you want to bet, then open the console (via right click on the game table) and enter
Code:
var autoBet = setInterval(spin, 1000);
Once you want to stop betting, enter
Code:
clearInterval(autoBet);
The 1000 is the delay in this case, which you can increase to slow down your autobet, but shouldn't decrease.

Credits to minifrij for this quick and easy script Smiley
Thanks, that actually solves it completely, can still use my mouse when doing this at least Smiley
For anyone else interested: right click on game table > click on 'inspect element' (Chrome) > click on the console tab.
There's a plinko script that works in a similar way.

Go to plinko page, right click > Inspect Element > Console
Insert this script:
Code:
var autoBet = setInterval(function(){ document.getElementById('plinkoframe').contentWindow.addBallProduction(2); }, 1000);
The number inside addBallProduction() is which ball you are playing:
0 = Green, 1 = Red, 2 = Blue, 3 = Yellow
The number at the end (1000) is the number of ms you want between each roll. 1000 = 1 second. I wouldn't go below 500.
 
To cancel, open the console again and enter
Code:
clearInterval(autoBet);



Once again, courtesy of minifrij, thanks.
Sorry if I'm missing out on anything but being a JavaScript Programmer,we consider injecting code through console which actually manipulates the outcome is taken as a serious security flaw.Unless of course you have taken special steps to prevent the script from the malicious code.Not to mention but languages like ReactJs come with inbuilt components that don't expose the behaviour to the console at all.Anyway,just my two cents.