r/programmingrequests • • Oct 12 '16

[REQUEST] JavaScript (TamperMonkey) Bot

There are already JavaScript bots out there, one of which I used to use. This is related to CS:GO gambling (yes I know the whole drama).

The bot I used to have was for CSGOdouble which was brought down recently in the Valve outreach to bring down the gambling scene. The site I would like to have a bot coded for is CSGOempire. The code for the bot I had for CSGOdouble is here: http://pastebin.com/myTTC69H

This does not work for CSGOempire (I have tried including the @match https://csgoempire.com/). I was hoping someone could code one from scratch since the layout is probably also different.

2 Upvotes

3 comments sorted by

1

u/BitwiseShift Oct 12 '16

Instead of us trying to figure out what you want this bot to do and instead of us reading a relative large script, why don't you tell us what exactly you want this bot to do? I haven't used any CSGO gambling sites before, so enlighten me. Do you want it to bet for you? Do you want it to do more?

1

u/officialsmiley Oct 12 '16

Sorry, I had gone to bed.

Basically, the bot does automated betting for you, where based on certain algorithms, it decides which "color" to place the bet on (in this case, CT, T, or Dice). The CSGOdouble bot had integrated systems such as martingale into the pricing system, however I have my own money management system that I could put in if needed since it would be a lengthy explanation. It also had algorithms where you could decide if you wanted it to bet on the previously rolled "color". For example, if the roll was CT, then it would place a bet on CT in hopes of landing again. If it was T, it would bet T. There were other options such as opposite where it would bet against the color.

For now, this is all I can think of. If you would like more information, please let me know. Thank you!

1

u/BitwiseShift Oct 12 '16

Oh man, so many things. I won't touch anything that has to access monetary systems with a 10 ft pole. Unless the script can click a button and doesn't have to worry about dealing with depositing and withdrawing money. And when you say martingale, I'm thinking of the fair game model, but I assume you mean betting strategies for martingale models.

I know you don't want to be preached, but any kind of betting is a loser's game, especially if this team coins thing is truly martingale. And it appears to be martingale, as it has a page proving it's provably fair, as required by law. I know a well known martingale betting approach is to double up on failure, which is horrendous. I've studied these models in statistics classes, there are no winning systems, just losers and those that break even. I'm an A.I./Data mining student, math is my second language. It's like people trying frequency analysis on lottery numbers, it doesn't work.

Unless there is something more to this, I'm not really willing to code something that is battling a losing game. I, for example, haven't seen what the dice do, but I don't think that will change the matter.