Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quest options not working. #44

Open
wants to merge 836 commits into
base: unleashed
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
836 commits
Select commit Hold shift + click to select a range
dfaed33
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Dec 31, 2018
9d191b4
Update README.md
APN-Pucky Dec 31, 2018
d233279
Exclude *.hpp
APN-Pucky Dec 31, 2018
b97733e
Add Virulence+Sabotage+Swipe+Drain tests
APN-Pucky Dec 31, 2018
b00537e
Merge branch 'coveralls' into merged
APN-Pucky Dec 31, 2018
3d16197
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Dec 31, 2018
785170e
Fix Tests + More Tests
APN-Pucky Dec 31, 2018
b2ebb10
Second Fix Test
APN-Pucky Dec 31, 2018
b1c3a47
More Iteration + fixed test
APN-Pucky Dec 31, 2018
7f96469
Load test cases from files
APN-Pucky Jan 1, 2019
47060e0
Rename test -> tests
APN-Pucky Jan 1, 2019
d049bc5
More Tests
APN-Pucky Jan 1, 2019
e1f0e5f
Test different higher Boost version in test build.
APN-Pucky Jan 1, 2019
2261201
Test again
APN-Pucky Jan 1, 2019
de0008c
Test it again again
APN-Pucky Jan 1, 2019
dcafe8c
Yes for PPA
APN-Pucky Jan 1, 2019
70224e8
Dev-Headers from boost needed
APN-Pucky Jan 1, 2019
7d6e394
Test build without timer
APN-Pucky Jan 1, 2019
9b45dd4
add p_thread lib to build
APN-Pucky Jan 1, 2019
9c7f638
TMP Speed up for travis testing
APN-Pucky Jan 1, 2019
d47d97a
Add pthread lib to all linux builds.
APN-Pucky Jan 1, 2019
ef446d5
Add raid guess
APN-Pucky Jan 3, 2019
d0cfa1c
Update raids.xml
APN-Pucky Jan 3, 2019
4ab2c65
Format raid.xml
APN-Pucky Jan 5, 2019
e849fac
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Jan 5, 2019
9f20358
Add '+vc' Option, prints + sims values of cards in the deck
APN-Pucky Jan 7, 2019
2b2ea11
Clean-up some dev-stuff
APN-Pucky Jan 7, 2019
2ad9025
Inline '+vc' output
APN-Pucky Jan 7, 2019
d57ffc5
Fix bad test
APN-Pucky Jan 7, 2019
4fec663
return instead of assert for gauntlet vs gauntlet sims when printing …
APN-Pucky Jan 9, 2019
de908a5
Fix weird indent
APN-Pucky Jan 10, 2019
e5b306e
Update TODO
APN-Pucky Jan 10, 2019
4e1564a
Update download-all.sh
APN-Pucky Jan 20, 2019
deb83ea
Update update_xml.sh
APN-Pucky Jan 20, 2019
14dafc6
+TODO
APN-Pucky Jan 22, 2019
66e5349
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Feb 17, 2019
035b906
start genetic
APN-Pucky Feb 17, 2019
e78b091
Fix anneal candidate range, void -> void position
APN-Pucky Feb 17, 2019
0741a48
Merge branch 'merged' into genetic
APN-Pucky Feb 17, 2019
e782b54
Freezed cards compatible to multiple optimized decks
APN-Pucky Feb 17, 2019
deba144
genetic algo groundwork
APN-Pucky Feb 17, 2019
ed940f7
genetic algo structure
APN-Pucky Feb 19, 2019
836c1f2
More genetic + Tests
APN-Pucky Feb 21, 2019
c6a3883
Add Captain Daedalus Raid
APN-Pucky Feb 21, 2019
884021c
Fix Raid Id
APN-Pucky Feb 22, 2019
dd496d9
Raid Update
APN-Pucky Feb 22, 2019
efa8cc8
Update TODO
APN-Pucky Mar 11, 2019
bc33491
Add Support for multiple decks in climb and anneal
APN-Pucky Mar 20, 2019
f583081
genetic algo parameters
APN-Pucky Mar 20, 2019
af9276c
Genetic in AHK
APN-Pucky Mar 20, 2019
a67b4d1
Merge branch 'genetic' into merged
APN-Pucky Mar 20, 2019
a5ea3d9
Genetic Release in compiled AHK
APN-Pucky Mar 20, 2019
85b7c89
Update timecmd.bat
APN-Pucky Mar 20, 2019
26625d7
Add flag 'strict-ownedcards'
APN-Pucky Mar 20, 2019
2652686
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Mar 20, 2019
e1b966d
'dom-maxed' interaction with 'strict-ownedcards'
APN-Pucky Mar 20, 2019
5cfccc2
Init omp2
APN-Pucky Mar 21, 2019
10dfe17
Multi deck support for openmp
Mar 21, 2019
813da5b
Fix wrong Result type
Mar 21, 2019
82c8b51
Try newer gcc/g++ version
APN-Pucky Mar 21, 2019
e718752
Laod newer gcc/g++ version
APN-Pucky Mar 21, 2019
3651aea
Retry updateing gcc
APN-Pucky Mar 21, 2019
0e0a0bf
Reretry g++ updater
APN-Pucky Mar 21, 2019
f9719d2
g++ update 2
APN-Pucky Mar 21, 2019
39b6109
-lgomp instead of -lomp
APN-Pucky Mar 21, 2019
082011e
Merge branch 'omp2' of github.com:APN-Pucky/tyrant_optimize into omp2
APN-Pucky Mar 21, 2019
2b02e38
Test OpenMP with MXE
APN-Pucky Mar 21, 2019
8f92a23
Merge branch 'omp2' of https://github.com/APN-Pucky/tyrant_optimize i…
APN-Pucky Mar 21, 2019
ab7211b
omp+mxe 2
APN-Pucky Mar 21, 2019
ec6a13d
Test new build.sh 1
APN-Pucky Mar 21, 2019
c651d7d
Fix bash spacing?
APN-Pucky Mar 21, 2019
499dc70
Fix bash array loop
APN-Pucky Mar 21, 2019
253a74d
Fix bash spacing again
APN-Pucky Mar 21, 2019
96912e3
Wildcard for zip creation
APN-Pucky Mar 21, 2019
dcf18b7
Test openmp compare
APN-Pucky Mar 21, 2019
acf0ec2
min fixes
APN-Pucky Mar 21, 2019
ac8df8a
Actually use openmp_compare
APN-Pucky Mar 22, 2019
e1d1758
Compare chagnes
APN-Pucky Mar 22, 2019
2f6b1b6
openmp further testing
APN-Pucky Mar 22, 2019
21a090a
More Multithreading
APN-Pucky Mar 22, 2019
9f4b8e9
Another variation
APN-Pucky Mar 22, 2019
826ddf6
All openmp with reduction
APN-Pucky Mar 22, 2019
4e44b34
rm _DEBGU_MSG
APN-Pucky Mar 22, 2019
8d4d10a
More parallel
APN-Pucky Mar 22, 2019
820dfbd
Close parallel blcok earlier
APN-Pucky Mar 22, 2019
e7c84ab
Update .travis.yml
APN-Pucky Mar 22, 2019
368730f
Shorter lock frames in openmp_compare_red
APN-Pucky Mar 22, 2019
a8b86fa
Fix weird mgit formating
APN-Pucky Mar 23, 2019
418d8c7
Finalize OpenMP
APN-Pucky Mar 23, 2019
46606f3
OMP_CANCELLATION
APN-Pucky Mar 23, 2019
1ee15ae
OMP no default in Linux Makefile
APN-Pucky Apr 9, 2019
0139924
Fix Freeze Climb bug
APN-Pucky Apr 9, 2019
3be59c2
Update raids.xml
APN-Pucky Apr 11, 2019
27d8b8a
Test Mac Travis 1
APN-Pucky Apr 24, 2019
98fa8fa
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Apr 24, 2019
a401e7c
Test Mac Travis 2
APN-Pucky Apr 24, 2019
dcacce9
Test Mac Travis 3
APN-Pucky Apr 24, 2019
368f6d4
Test Mac Travis 5
APN-Pucky Apr 24, 2019
6e38a1d
Test Mac Travis 6
APN-Pucky Apr 24, 2019
7f8943d
Travis Mac No CMake
APN-Pucky Apr 24, 2019
36f2591
Set default BGE_VALUE=1 instead of -1
APN-Pucky May 5, 2019
d519db6
Update bges.txt (Aftermath Conquest)
dsuchka May 9, 2019
5607512
Merge pull request #11 from dsuchka/merged
APN-Pucky May 10, 2019
a0793e6
Support BGE SuperHeroism
APN-Pucky May 11, 2019
0d5a6d6
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky May 11, 2019
fb13081
Update Superheroism BGE
APN-Pucky May 13, 2019
67637aa
Remove BGE Blood Vengance and make the effect permanent.
APN-Pucky May 20, 2019
86b18c1
Add Global Legion
APN-Pucky May 20, 2019
570ab6b
Some small typo fixes
APN-Pucky May 20, 2019
2508880
Expand Mimic targets to 'on p/a/d'
APN-Pucky May 20, 2019
48fd670
Partial Enhance skill changes
APN-Pucky May 21, 2019
21c12e4
Fix naming, etc.
APN-Pucky May 21, 2019
3a43aab
Premerge omp changes
APN-Pucky May 21, 2019
3b6d944
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
APN-Pucky May 21, 2019
667836a
Add Corrosive
APN-Pucky May 21, 2019
041d2a2
Fix Corrosive
APN-Pucky May 21, 2019
cd48e59
TestDebugSkillChanges
APN-Pucky May 21, 2019
b340796
Fix Corrosive Reset
APN-Pucky May 21, 2019
ba7854c
Add test parameter for iterations
APN-Pucky May 21, 2019
6ec862a
Fix Mimic for all triggers
APN-Pucky May 22, 2019
dbcee9f
Update Mimic to only target activate and attacked
APN-Pucky May 22, 2019
e7e57da
More test cases
APN-Pucky May 23, 2019
76aa7c1
further testing
APN-Pucky May 23, 2019
ca8bb7d
Update sim_test.cpp
APN-Pucky May 23, 2019
9abcce4
Debug travis test error
APN-Pucky May 23, 2019
92c092a
Reduce memory load
APN-Pucky May 23, 2019
7443d81
Update sim_test.cpp
APN-Pucky May 23, 2019
af6dcac
Disable crash test
APN-Pucky May 23, 2019
5b1a42a
Fix Mimic Bug + More Tests
APN-Pucky May 27, 2019
431bdae
support Sentinel Icarus Raid (raids.xml)
dsuchka May 31, 2019
40188e0
Merge pull request #13 from dsuchka/merged
APN-Pucky May 31, 2019
8d47963
Fix Climb_Forts Bug
APN-Pucky Jun 6, 2019
aeca3c2
Split large tyrant_optimize.cpp
APN-Pucky Jun 13, 2019
8cc327a
Beam test/debug impl
APN-Pucky Jun 14, 2019
129bb50
Small beam improvements
APN-Pucky Jun 14, 2019
8753832
Fix genetic bug
APN-Pucky Jun 14, 2019
5b650bd
Finalize Beam Climb
APN-Pucky Jun 14, 2019
cd3c9ab
Fix Travis Linux Test
APN-Pucky Jun 14, 2019
d14230f
;;;
APN-Pucky Jun 14, 2019
1c03ca0
Another travis test
APN-Pucky Jun 14, 2019
fcd52e0
fix static merge
APN-Pucky Jun 14, 2019
23ba2ab
Add chrono lib to tuo.h
APN-Pucky Jun 14, 2019
1993765
Fix test based updated update
APN-Pucky Jun 14, 2019
1fa598e
Release v2.64.0
APN-Pucky Jun 14, 2019
f667567
Merge tag 'v3.0.4' into merged
APN-Pucky Jun 18, 2019
4993429
Fix Double Enhance Bug
APN-Pucky Jun 21, 2019
9e4d03d
Android + C++17 compatibility
APN-Pucky Jun 26, 2019
8682e15
RM omp from linux default
APN-Pucky Jul 4, 2019
103e706
Petrisis Fleshcrafter Raid
APN-Pucky Jul 29, 2019
19aff55
Fix Inhibit, Sabotage, and Disease
dsuchka Aug 3, 2019
15a0ad5
Merge pull request #15 from dsuchka/merged
APN-Pucky Aug 3, 2019
3309c8f
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Aug 3, 2019
d337e72
RM test due to buffs(?)
APN-Pucky Aug 3, 2019
ca8e9c6
Add 'enhance-early' fix
APN-Pucky Jan 4, 2020
e0f18dd
Enhance is semi-activation skill...
APN-Pucky Jan 4, 2020
2234abf
Add Fix Revenge On Death
APN-Pucky Jan 5, 2020
49df4f2
Add Fix: Death from BGE
dsuchka Feb 23, 2020
a0f66c0
Merge pull request #16 from dsuchka/merged
APN-Pucky Feb 23, 2020
0c5f02a
dsuchka's Death BGE Fix release
APN-Pucky Feb 23, 2020
b2e6eb0
Bugfix of Fix Death from BGE: skip all except summon
dsuchka Feb 23, 2020
590cc17
Limit travis github release to commit title
APN-Pucky Feb 24, 2020
60ec35f
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Feb 24, 2020
51b8653
Release name set to the travis build number
APN-Pucky Feb 24, 2020
80fa478
Init Evaluation DeckStrategy
APN-Pucky Mar 6, 2020
38617cd
First tuning of parameters of evaluate
APN-Pucky Mar 6, 2020
5e82d09
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
APN-Pucky Mar 6, 2020
cf0ec2a
RM debug int statement
APN-Pucky Mar 6, 2020
f7b7b9e
Add Scaling/Modifier for SuperHeroism
Apr 27, 2020
9dc138f
Add Fix: Legion under Mega(morphosis)
dsuchka May 7, 2020
35d01b2
Merge pull request #18 from dsuchka/merged
dsuchka May 7, 2020
883f500
Add Deck return and start param load
APN-Pucky May 13, 2020
2b8ba8d
Testable version of bunches
APN-Pucky May 14, 2020
e6b1767
Fix Test and add flags 'deck'/'enemy:deck'
APN-Pucky May 14, 2020
d3af2f3
Add @X@ references
APN-Pucky May 14, 2020
4a381d3
Call init everytime and fix genetic for pool without alpha_dominion
May 15, 2020
334fdd6
Stop debug print of last deck
May 15, 2020
f35983b
Imporve error hanling in read_custom_cards
May 15, 2020
1d0654b
Refresh time each run
APN-Pucky May 16, 2020
f652f20
Add Param opt $
APN-Pucky May 16, 2020
b406a22
Update bges.txt
Isilrond Jun 13, 2020
978c6eb
Merge pull request #19 from Isilrond/patch-2
APN-Pucky Jun 14, 2020
91c629c
War BGE Update
Isilrond Jul 24, 2020
28452f3
Merge pull request #20 from Isilrond/patch-3
APN-Pucky Jul 25, 2020
6c897ff
Update bges.txt
Isilrond Jul 25, 2020
037d248
Merge pull request #21 from Isilrond/patch-4
APN-Pucky Jul 26, 2020
43f1057
Add simple LiveSim GUI
APN-Pucky Sep 7, 2020
c1d5e37
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Sep 7, 2020
9047f82
Rename LiveSim
APN-Pucky Sep 7, 2020
64900eb
Update maximum Brawl Score
APN-Pucky Sep 7, 2020
063f230
Fix Avalanche Mutant Fortress On Play Summon
APN-Pucky Sep 12, 2020
fd1b244
Avalanche Fixed
APN-Pucky Sep 12, 2020
7c59f7d
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
APN-Pucky Sep 12, 2020
7ef3cdd
Fix Stasis for summons during enemy turn.
APN-Pucky Sep 12, 2020
c131458
More Live Sim Options
APN-Pucky Sep 13, 2020
77da1a3
Live Sim Scores for individual cards
APN-Pucky Sep 13, 2020
1a2c2ab
TUO live sim scores with random
APN-Pucky Sep 13, 2020
267dfe5
More Max Brawl score
APN-Pucky Sep 23, 2020
753c860
Fix too high max_braw_score interfeering with anneal scaling
APN-Pucky Sep 25, 2020
715aa24
Add Scaling opts
APN-Pucky Oct 7, 2020
871646d
Scale enhance S X by the factor of S
APN-Pucky Oct 9, 2020
274f1eb
Devotion now gives 40% hp
Oct 21, 2020
55ad5db
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
Oct 21, 2020
803c37e
Update raid.xml
Isilrond Oct 23, 2020
11ca498
Merge pull request #22 from Isilrond/patch-5
APN-Pucky Oct 23, 2020
8798d78
Add '+vc-x X' to print output with '!' for best X cards locked. This …
APN-Pucky Jan 23, 2021
ed7d100
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
APN-Pucky Jan 23, 2021
4753caa
Update README.md
APN-Pucky May 16, 2021
abbfe71
Fix <fstream> missing compile bug
APN-Pucky Jan 20, 2022
3bc54c7
Update README.md
APN-Pucky Jul 24, 2022
4d85357
Update README.md
APN-Pucky Jul 24, 2022
08cbd1c
Update README.md
APN-Pucky Jul 24, 2022
b8cbbe7
Update README.md
APN-Pucky Jul 24, 2022
7a56454
Android compatibility changes
APN-Pucky Jul 25, 2022
68b05eb
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
APN-Pucky Jul 25, 2022
de4da24
Rename app
APN-Pucky Jul 25, 2022
5929155
Again rename...
APN-Pucky Jul 25, 2022
fafa3e1
Update README.md
APN-Pucky Jul 26, 2022
f7c675d
Fix rename
APN-Pucky Jul 30, 2022
ae8e296
Merge branch 'merged' of github.com:APN-Pucky/tyrant_optimize into me…
APN-Pucky Jul 30, 2022
7c6cbf0
Action (#28)
APN-Pucky Dec 7, 2022
bed5b59
Delete .travis.yml
APN-Pucky Dec 7, 2022
cb7fad9
RM travis ci build folder
APN-Pucky Dec 7, 2022
70d91a6
Add uploads
APN-Pucky Dec 7, 2022
3fee873
resort releases
APN-Pucky Dec 7, 2022
0874e4c
Fix workflow release
APN-Pucky Dec 7, 2022
c3cbe86
purge release job
APN-Pucky Dec 7, 2022
330ced0
Update macos.yml
APN-Pucky Dec 7, 2022
00a2c22
Change release type to zip
APN-Pucky Dec 7, 2022
c1958c4
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Dec 7, 2022
8928bf4
Update windows.yml
APN-Pucky Dec 7, 2022
64e9a7d
Boost180 (#29)
APN-Pucky Dec 7, 2022
f9f1ebc
Mac12 (#31)
APN-Pucky Dec 7, 2022
27c90c8
Add test workflow (#30)
APN-Pucky Dec 7, 2022
52e35ee
Coveralls (#32)
APN-Pucky Dec 7, 2022
1789e88
Update test.yml
APN-Pucky Dec 7, 2022
9f596ff
Create dependabot.yml
APN-Pucky Dec 7, 2022
c1f9490
Update test.yml
APN-Pucky Dec 7, 2022
86ce363
Update test.yml
APN-Pucky Dec 7, 2022
229b4bb
Copy license
APN-Pucky Dec 7, 2022
bf6ac4d
Merge branch 'merged' of https://github.com/APN-Pucky/tyrant_optimize…
APN-Pucky Dec 7, 2022
39bdf09
Update test.yml
APN-Pucky Dec 7, 2022
be6b9ef
Cleanup coverage
APN-Pucky Dec 7, 2022
b248fd8
Bump ci
APN-Pucky Apr 2, 2023
22adeac
Update barrier skill
APN-Pucky Apr 2, 2023
8b5a3f6
Update mimic skill
APN-Pucky Apr 2, 2023
e0c3912
Update leech skill
APN-Pucky Apr 2, 2023
8d745f8
Prepare for remaining updates
APN-Pucky Apr 2, 2023
4cd75ab
Tuo6 (#44)
APN-Pucky Apr 2, 2023
1c9463b
Update pyproject.toml
APN-Pucky Apr 2, 2023
f8f4658
Update README.md
APN-Pucky Apr 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: install
run: |
sudo apt-get update
sudo apt-get --yes install g++ make cmake libboost-all-dev lcov
- name: build
run: make debug && make test
- name: xml fetch
run: ./update_xml.sh
- name: test
run: ./tuo-test --log_level=message
- name: lcov
run: |
lcov -b . -d . -o coverage.output --capture
lcov --remove coverage.output '/usr/include/*' './include/*' '/usr/lib/*' -o coverage.output
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.output
48 changes: 48 additions & 0 deletions .github/workflows/travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: travis

on: [push]

jobs:
build:
name: ubuntu
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: git fetch --prune --unshallow --tags
- run: "./build/windows/requirements.sh"
- run: "./build/windows/build.sh"
- run: ./update_xml.sh
- run: source build/windows/package.sh

- name: Upload tuo
uses: actions/upload-artifact@v3
with:
name: tuo
path: |
*.exe
*.zip
- name: Create Release
if: contains(github.ref, 'tags/v')
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: upload windows artifact
if: contains(github.ref, 'tags/v')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: tuo.zip
asset_name: tuo.zip
asset_content_type: application/zip
50 changes: 49 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,50 @@
obj/**
tu_optimize
obj-debug/**
obj-test/**
data/ownedcards_*.txt
data/customdecks_*.txt
data/*.etg
data/cards_section_*.xml
data/fusion_recipes_cj2.xml
data/missions.xml
data/skills_set.xml
data/levels.xml
tuo
tuoold
tuodebug
test/**
data/customdecks.txt
data/ownedcards.txt
out.txt
out.*
*.cmd
*.dat
*.out
tuo.exe
*.ini
*.swp
*.swo
*.stackdump
*.gcov
*.data
example.txt
.coveralls.yml
build-*
tuo-*
tuo-omp
tuo-debug.exe
tuodebug.exe
tuo-x86-debug.exe
tuo-x86.exe
tuo-test.exe
tuo-x86-test.exe
.cproject
test.tuo
.project
.settings/
tets.tuo
params/
cmake_install.cmake
CMakeFiles
CMakeCache.txt
.vscode
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "extern/hPMML"]
path = extern/hPMML
url = ../hPMML
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [4.8.0] - 2023-04-02

- Update subdue skill
- Added options `update-subdue-before-attack` and `no-update-subdue-before-attack` to toggle new behaviour
- Update counter skill
- Added options `update-counter-without-damage` to toggle new behaviour
- Update corrosive skill
- Added options `update-corrosive-protect-armor` to toggle new behaviour
- Update poison skill
- Added options `update-poison-after-attacked` to toggle new behaviour

## [4.7.0] - 2023-04-02

- Update mimic skill
- Added options `update-leech-increase-max-hp` and `no-update-leech-increase-max-hp` to toggle new behaviour

## [4.6.0] - 2023-04-02

- Update mimic skill
- Added options `update-dont-evade-mimic-selection` and `no-update-dont-evade-mimic-selection` to toggle new behaviour

## [4.5.0] - 2023-04-02

- Update barrier skill
- Added options `update-barrier-each-turn` and `no-update-barrier-each-turn` to toggle new behaviour

## [6.0.0] - 2023-04-02

- Add machine learning in data/*.pmml
- To train you own model checkout ml/README.md

## [5.0.0] - 2023-03-25

- Add database in data/database.yml
38 changes: 38 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
cmake_minimum_required(VERSION 2.6)

# partial module - included by src/cmake/CMakeLists.txt

#set(TGT test-${PKG}-cmake)
set( CMAKE_CXX_STANDARD 14 )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Ofast")
if(STATIC)
set( BUILD_SHARED_LIBRARIES OFF)
set( Boost_USE_STATIC_LIBS ON )
set( CMAKE_EXE_LINKER_FLAGS "-static")
endif()
add_definitions(-DTYRANT_OPTIMIZER_VERSION="${VERSION}" ${DEBUG} -DNQUEST)

project(tuo)
file(GLOB TUO_SOURCES "*.cpp")

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/extern/hPMML/include)

enable_language(CXX)
add_executable(tuo ${TUO_SOURCES})

option(USE_OPENMP "Use OpenMP instead of Boost" OFF)
if(USE_OPENMP)
# src: https://stackoverflow.com/a/12404666
find_package(OpenMP REQUIRED)
if (OPENMP_FOUND)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif()
endif()
find_package(Boost EXACT COMPONENTS system thread filesystem regex timer REQUIRED)

target_link_libraries(tuo ${Boost_LIBRARIES} )

install(TARGETS tuo)
#install(TARGETS ${TGT} DESTINATION bin)
22 changes: 22 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) 2018 Silverglint - Creative Software


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.
60 changes: 48 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,54 @@
MAIN := tuo.exe
SRCS := $(wildcard *.cpp)
OBJS := $(patsubst %.cpp,obj/%.o,$(SRCS))
INCS := $(wildcard *.h)
AHK2EXE="C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe"
AHK32BIT="C:\Program Files\AutoHotkey\Compiler\ANSI 32-bit.bin"

CPPFLAGS := -Wall -Werror -std=gnu++11 -O3 -DNDEBUG
LDFLAGS := -lboost_system -lboost_thread -lboost_filesystem -lboost_regex
ifeq ($(OS),Windows_NT)
detected_OS := Windows
else
detected_OS := $(shell sh -c 'uname -s 2>/dev/null || echo not')
endif
OS =windows #default=windows

all: $(MAIN)
ifeq ($(detected_OS),Windows)
OS =windows
endif
ifeq ($(detected_OS),Darwin) # Mac OS X
OS =osx
endif
ifeq ($(detected_OS),Linux) # Mac OS X
OS =linux
endif
main:
$(MAKE) -f make/Makefile.${OS} all

obj/%.o: %.cpp $(INCS)
$(CXX) $(CPPFLAGS) -o $@ -c $<
all: main debug test

$(MAIN): $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
test:
$(MAKE) -f make/Makefile-test.${OS} all

debug:
$(MAKE) -f make/Makefile-debug.${OS} all
ahk: starterahk livesimahk
livesimahk: SimpleTUOLiveSim.ahk
$(AHK2EXE) /in SimpleTUOLiveSim.ahk /out SimpleTUOLiveSim.exe
$(AHK2EXE) /in SimpleTUOLiveSim.ahk /out SimpleTUOLiveSim-x86.exe /bin $(AHK32BIT)
starterahk: SimpleTUOptimizeStarter.ahk
$(AHK2EXE) /in SimpleTUOptimizeStarter.ahk /out SimpleTUOptimizeStarter.exe
$(AHK2EXE) /in SimpleTUOptimizeStarter.ahk /out SimpleTUOptimizeStarter-x86.exe /bin $(AHK32BIT)
clean:
del /q $(MAIN).exe obj\*.o
$(MAKE) -f make/Makefile.${OS} clean
$(MAKE) -f make/Makefile-debug.${OS} clean
$(MAKE) -f make/Makefile-test.${OS} clean
commit:
-git add .
-git commit
push: commit
git push

release-noahk: push
git tag $(shell git describe --tags --abbrev=0 | perl -lpe 'BEGIN { sub inc { my ($$num) = @_; ++$$num } } s/(v\d+\.\d+\.)(\d+)/$$1 . (inc($$2))/eg')
git push --tags

release: ahk release-noahk

pull: commit
git pull
18 changes: 0 additions & 18 deletions Makefile-debug

This file was deleted.

18 changes: 0 additions & 18 deletions Makefile.osx

This file was deleted.

Loading