Coder Social home page Coder Social logo

markusjx / autobet Goto Github PK

View Code? Open in Web Editor NEW
17.0 5.0 1.0 90.33 MB

A simple GTA Online horseracing-autobetting-bot

Home Page: https://markusjx.github.io/autobet/

License: MIT License

Python 0.88% JavaScript 5.00% CSS 0.45% CMake 1.16% C++ 49.06% TypeScript 40.87% NSIS 0.04% SCSS 2.53%
gta5 gtav gta-online gtav-multiplayer gta-online-autobet

autobet's People

Contributors

dependabot[bot] avatar markusjx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

hobbit19

autobet's Issues

Run the script, but nothing happens.

Dear Sirs, I am trying to use the script, but not to a move. I left for 3 min and nothing happened. could you post a script mini video?
image

I have doubts the following points:
1 - What resolution of the GTA? 1366x724 Usage
2 - Does the mouse pointer move (visually)? When is the script open?
3 - What to do when the pointer does not move?
4 - What screen mode to use? Window, borderless window or full screen?

Update/Rebuild web ui

Allow the web ui to send push notifications to the user when the Betting stops due to an error

Bot doesn't work on multi screen systems

Describe the bug
the bot doesnt work on a system with multiple screeens. it is clicking to the left of the horse cards. ive already tried using the configurator, but it didnt help.

To Reproduce
Steps to reproduce the behavior:

  1. have a system with 2 screens
  2. start the bot.

Log files

out.log

Autobet stuck on 'initializing'

Would you be so kind as to update autobet for the latest version? I would love to use autobet but unfortunately it doesn't detect my game (Social Club).

Add option to set the 'increase bet' button position/Use vJoy to click the 'increase bet' button

Hello.
I would like to use autobet, but it fails to increase the bet, mouse is placed near the edge instead of over the button:
image
So it always bets 100 and views the race.

Perhaps you can use XInput to send pad's button strokes instead of moving the mouse. When you use a gamepad's d-pad the cursor will automatically move to the button in that direction.

Steps to reproduce the behavior:

  1. Start GTA online autobet
  2. Ctrl+Shift+F10
  3. Let autobet do its magic

Expected behavior
Autobet bets max when there is a chance of winning

Log files
There is no output.log in my computer.

Thanks in advance.

Add statistics/historic data

Add historic data using csv files

  • Each race should be represented by a row inside the csv file containing
    • The odds of each horse
    • The odds of the horse a bet was placed on
    • The odds of the horse that won
    • The payout/loss
  • Once stopped, the program should add some information about the current session
    • The winnings
    • The time running
    • The number of won/lost bets
    • The number of bets skipped
    • The amount of money spent on bets
  • Add a button inside the ui for enabling/disabling the collection of historic data
  • Add a reader for the horses that won

High memory usage

The program uses too much RAM (about 1.5G) caused by the text detection AIs. This can be reduced by using methods described down here. I will not work actively on this, since it is not a huge problem as a minimum of 8G of RAM is recommended for playing GTA 5 anyway. And 8G of memory should be enough to run the game and this program. But using the following methods the size of the program on the hard drive can be reduced, too.

To do

  • Quantize weights using the transform_graph tool
  • Dequantize the the weights in the graph in the ai library
  • Strip unused nodes (or make strip_unused_nodes work)

Optional

  • Use one ai to detect the probabilities and winnings to cut the memory usage in half
  • Let the ai library return an instance of an ai instead of creating static instances
  • Upgrade to tensorflow v2.3.0

Xbox Game Stream Support

As an Xbox user I think it would be pretty nice, if your software would support GTA Online on Xbox One.

There is an option to stream Xbox games to any device (also to a PC) and play them with a controller.

Maybe you could add a controller emulation to do the inputs instead of the current mouse input, so Xbox users could use it, too. I don't think that there are a lot more tasks to make it work.

Thank You!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.