Skip to content

mpoon/teemos-casino-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teemo's Casino Bot

The bot is developed and built using IntelliJ IDEA 13 and Groovy. Make sure the Groovy Plugin is enabled in IntelliJ by going to Settings → Plugins.

  • Install JDK 1.7 x86 to default location.

  • Install Groovy 2.1.8 to default location.

  • Open up IntelliJ IDEA and Check out from Version Control which is either in the Quick Start menu or under VCS. Choose Github, enter Github credentials and clone the teemos-casino-bot.git repo.

  • Click Yes for creating a new IDEA project. Choose Create project from existing sources and keep the default name for the project. Uncheck the /leaguelib/src folder so that it is not added to the project roots. Uncheck gson-2.2.2 from Libraries. Keep going and if IntelliJ asks about overwriting the module file, click Reuse. Select or add JDK 1.7 x86 to the project SDK. Import wizard should finish now.

Install some dependencies

  • Go to File -> Project Structure -> Libraries. Add and download org.codehaus.groovy.modules.http-builder:http-builder:0.6 from Maven, then click OK.

  • Right click on leaguelib/src/build.xml and Add as Ant Build File. In the Ant Build window, run the ant build for leaguelib. Should be successful, tests might fail, but as long as the leaguelib.jar is built in the leaguelib/build folder we're all good. In File -> Project Structure -> Libraries, add the Java library at leaguelib/build/jar/leaguelib.jar.

  • Install Tesseract. Copy the kda.traineddata file into /path/to/Tesseract-OCR/tessdata.

  • Download Tess4J. Copy the libtesseract-302.dll and liblept168.dll files into path/to/Tesseract-OCR. Add the tess4j.jar and jai_imageio.jar libraries to the project libraries.

Run the sucker

Right click on Bot.groovy and run Bot.main().

Making changes to leaguelib

Make sure to rerun the ant build if you make any changes to leaguelib.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors