Skip to content

Commit

Permalink
Initial - Gittified project
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDelay committed Nov 12, 2016
0 parents commit a6fe040
Show file tree
Hide file tree
Showing 64 changed files with 495 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Thumbs.db

*.class
.classpath
.project

*.jar
*.war
*.ear
/bin
/releases
/target

/.idea
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# The MIT License (MIT)

Copyright (c) 2015-2016 DrDelay <info@vi0lation.de>

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
64 changes: 64 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# GambleBot - AceOnline lab bruteforce-gambling

[![Software License][ico-license]](LICENSE.md)
[![Latest Stable Version][ico-githubversion]][link-releases]

This program can use the laboratory in AceOnline like games and put specified fixes on your items.
It is especially useful on private servers, where gamble-cards are free, but certain fixes really rare and require a huge amount of tries.

## Features

* Auto-gamble weapons and armor
* Specify a list of acceptable pre- & suffixes
* Automatically build the next weapon once one if finished, useful if you need many for Legend-upgrade
* Ressources completely customizeable by you

## Build

``` bash
$ javac -d ./build src/de/drdelay/gamblebot/*.java
$ cd build
$ jar cfe GambleBot.jar de.drdelay.gamblebot.GambleBot *
```

## Usage

* Put your desired pre- & suffixes in *config.txt*
* Copy or link the gambles, resets, *enchant.png* and identifier item you are using
* Copy or link the fixes you specified
* Set up your [ingame inventory](#inventory)
``` bash
$ cp config.dist.txt config.txt
$ java -jar GambleBot.jar [factordelay showdelay numberOfWeaps]
```

* factordelay (default: 1500): MS to wait between the two factor button clicks
* showdelay (default: 500): MS to hover the weapon between gamble attempts
* numberOfWeaps (default: 1): It's possible to auto-gamble a bunch of items at once

## Inventory

![Example Inventory](/res/example_inv.png)

* 1: Identifier
* 54-56: Weapons to gamble
* It does not matter where the gambles and resets are, aslong you linked/copied the correct images

## Ressources

Fixes and positions are scanned by comparing pixelwise against the provided image files. Even the slightest difference in color matters.
This means, on certain servers you may have to create your own files. Black (#000000) pixels are ignored, so fill up anything but the text with.

## Credits

- [All Contributors][link-contributors]

## License

The MIT License (MIT). Please see the [License File](LICENSE.md) for more information.

[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-githubversion]: https://poser.pugx.org/DrDelay/GambleBot/v/stable

[link-releases]: https://github.com/DrDelay/GambleBot/releases
[link-contributors]: ../../contributors
4 changes: 4 additions & 0 deletions build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/config.txt

/*.png
!/Blood.png
Binary file added build/Blood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions build/config.dist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bio.png
Attack.png
Maraves.png
Legend.png
-
ofBio.png
ofLegend.png
Attack.png
Maraves.png
Binary file added res/example_inv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Aeon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Agares.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Asmodi_DA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Attack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Bandit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Bandit_DA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Barbican.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Bio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Blood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Cavallino.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Conclave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Deus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/EVOLUTION.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Elite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Luciper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Major.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Malevo_DA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Malevolent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Maraves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Meteo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Origin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/fixes/Ose.png
Binary file added res/fixes/Pinnacle_DA.png
Binary file added res/fixes/RIVALS.png
Binary file added res/fixes/Testament.png
Binary file added res/fixes/Warrior.png
Binary file added res/fixes/ofAgares.png
Binary file added res/fixes/ofAret.png
Binary file added res/fixes/ofBio.png
Binary file added res/fixes/ofCavallino.png
Binary file added res/fixes/ofConclave.png
Binary file added res/fixes/ofDeus.png
Binary file added res/fixes/ofGrindevo.png
Binary file added res/fixes/ofLegend.png
Binary file added res/fixes/ofLimbo.png
Binary file added res/fixes/ofLuciper.png
Binary file added res/fixes/ofMax.png
Binary file added res/fixes/ofOrigin.png
Binary file added res/fixes/ofOse.png
Binary file added res/fixes/ofRukieper.png
Binary file added res/fixes/ofTestament.png
Binary file added res/fixes/ofWarrior.png
Binary file added res/fixes/ofWind.png
Binary file added res/sys/enchant.png/ffbb33.png
Binary file added res/sys/gambles/default/AdvSuper/prefixGmbl.png
Binary file added res/sys/gambles/default/AdvSuper/suffixGmbl.png
Binary file added res/sys/gambles/default/ArmorSuper/prefixGmbl.png
Binary file added res/sys/gambles/default/ArmorSuper/suffixGmbl.png
Binary file added res/sys/gambles/default/StdSuper/prefixGmbl.png
Binary file added res/sys/gambles/default/StdSuper/suffixGmbl.png
Binary file added res/sys/resets/defaults/prefixReset.png
Binary file added res/sys/resets/defaults/suffixReset.png
Binary file added res/sys/searcheye.png/searcheye.png
Binary file added res/sys/searcheye.png/townportal.png
Loading

0 comments on commit a6fe040

Please sign in to comment.