Evaluate Decks (game simulator)

1861 posts

Flag Post

API + Library for Tyrant battle simulation, simulator optimized for best perfomance.
I believe you already know what this is all about, so I don’t need to explain…

Howto:
1. Run application
2. Pick either preset decks or customize them on your own, alternatively, pick raid
3. Switch to evaluation tab and run test, enjoy blazing fast simulations up to 5.000.000 games per minute, easily the fastest tyrant sim

Screenshots:

Google Project page:
http://code.google.com/p/evaluatedecks/

Sources:
svn checkout http://evaluatedecks.googlecode.com/svn/trunk/ evaluatedecks-read-only


Update 30:
Added quests.
Added average net gain to result hash.

Uploaded latest version here:

http://evaluatedecks.googlecode.com/files/EvaluateDecks_v30.zip


Concerning future updates of EvaluateDecks
Since my world is changing upside down on the weekly basis, I decided to take a step aside and start a funding project for EvaluateDecks aimed to support latest awakening patch. I can see this as the only way for me to raise my motivation enough to free up some personal time that I always spend with the only person I appreciate and finally fix this tool.
I am counting on you with this, you are my last hope!


Warning:

Please note that some modules are compressed with UPX (Ultimate Packer for eXecutables), which is often detected by anti-virus scanners as a threat.

Game resources, used by EvaluateDecks(in case you don’t want application to download them), unpack to the same folder:

http://evaluatedecks.googlecode.com/files/resources_11.07.2012.zip

In case anyone wants to have some fun with Mission decks using Batch Eval, here is a list, containing all mission decks in one txt file

Note for Macintosh users:
This application is only for Windows, but you might want to check this post


Donations:
I am accepting donations via PayPal, this link should work, if it doesn’t work, then you can send payment directly to mailbox vanilin@bk.ru (that works for sure)
You are welcome!
I appreciate your appreciation, your feedback made this possible.
I have earned ~250$ for almost a year I have been developing this tool.


Thank you for the donates, from the bottom of my heart!

 
Flag Post

looks nice, its should be accessible to more ppl with GUI. will give it a go

 
Flag Post

Is this one more friendly to computor retards?

 
Flag Post

Update 1:
Added more custom decks and missions (89,90,CF1-4,MB1-4,DR1-4), just unpack interface exe and core dll and overwrite previous version.

Update 2:
Fixed a bug with Fear against Flying assault cards.
Fixed a bug with pierce skill not loading with definitions of cards.
Added skill filter and name filter.
Reworked card database, now it’s loaded from native xml.
Added some extra simulation results that could be useful for faction battles.

Update 3 (Cumulative):
You don’t need any of the previous updates, I’d also recommend deleting old ‘cards’ folder if you are going to overwrite previous version
Reworked interface – now card images are created from images downloaded directly from dev assets, they don’t look as fancy as they looked before because I could use some help with overlays for cards and fonts… Also utility loads much slower because of this.
Added ability to save decks as custom and mission and decks are loaded from text files now, i think you can post your decks or files with decks here and I will add them in future version.
Added all raids, with all those fancy abilities like fusion and infuse.
Added set filter, check out X-Dog card in <hidden> set. ;)
Added ability to update database directly from tyrantonline.com
Added ability to stop simulation.

Update 4:
Added blazing fast simulation mode, uses additional executable, turned on by default.
Added minimalistic mode, not requiring card images, so this update can be used as standalone version.
Both raids and missions now use native xml files.
Bunch of small fixes I don’t even remember of.

Update 5:
Added two buttons to send decks from minimalistic to visual pages.
Fixed various bugs of update 4.

Update 6:
Added batch evaluation mode.
Added new faction.
Fixed loading of new cards.
Added export to Excel.

Update 7:
Added new skills.
Added hashes.
Fixed bugs with Flying, Poison, Flurry, Immobilize.
Minor API changes.

If you used previous version and updated sheets
when latest patch came out, you will have to
manually delete file ‘cards.xml’ and let application
redownload it, otherwise, visual mode may not load
properly.

Update 8:
Now evaluation takes into account order of skills.
Fixed rally – tribute chain.
Fixed mimic – tribute chain.
Fixed commander detection in minimalistic.
Card doesn’t get counter damage if it deals no
damage.
Changed colors a bit.
Fixed Protect.
Fixed an unhandled exception situation.
Now you can use ‘:’ in deck names.

Update 9:
Fixed Tartarus Swarm raid.
Fixed loading txt file with empty lines.
Removed crappy decks from custom.txt.

Update 10:
Added a checkbox to enable cards ordering (cards will be played in same order they have in deck setup).
Fixed a bug with Rally targeting jammed or immobilized cards.
Fixed a bug with Flurry stopping after killing opposite card.
Added stalled column to both evaluation pages.
Added proxy settings for Update DB page.
Exclusive card set(9000) is now visible by default.
Improved deck text display on evaluation pages.

Update 11:
Added summaries for stalled columns.
Improved integer summaries display.
Fixed incorrect hash generation for specific decks.
Added a lot of export/import options of decks.
Added different folders to store decks.
Added options to load anti-mission and anti-raid decks.
Added popup menu for Batch Eval decks list.
Fixed a bug with ReLoad Custom Decks and Batch Eval.
Added checkbox to display deck namein Batch Eval.
Added sorting, grouping and filters for Batch Eval.
Reworked and improved filters on visual page.

Update 12:
Added wildcard option to evaluation.
Added an option to download data sheets from different sources(kg,fb,dev).
Added stats by card table with a lot of fancy stats.
Added extra checks of card images.
Fixed a bug with Mimic – Supply chain.
Fixed minor bug with Weaken – Rally mechanics(when attack dropped below zero).
Fixed “Display deck name” function on Batch Eval.
Fixed stalling – it was actually after 100 turns.
Reworked points calculation.

Update 13:
Fixed damage calculation done to commander(for card).
Fixed weaken targeting(could target 2 wait card).
Fixed point calculation.
Improved card name filter on Visual page.
Added time taken label on Evaluate page.
Fixed w/o columns for rush decks.

Update 14:
Fixed w/o columns.
Added an option for custom turn limit(on settings page).
Deck names are displayed on Evaluate page.

Update 15:
Added display of time passed during evaluation.
Added an option to stop evaluation.
Added confirmation to Visual.
Added card rating on Visual (Settings).
Added Homeworld skills.
Reworked debuff lifting.
Replaced obsolete decks for batch eval.
Improved card names input in minimalistic.
Improved text filter on Visual (a bit).
Improved card images on Visual (still WIP).
Fixed infuse now it changes skill target faction.
Fixed avoided dmg calculation for armor.
Fixed Jam – Payback combo.
Fixed Siphon and Leech amount on kill.
Fixed valor.
Fixed two undetectable-elusive bugs.
Fixed point calculation(yet again).
Fixed critical leak in Visual page.

Update 16:
Fixed crash with invalid decks.
Fixed crash with decks comprising more than 10 cards.
Fixed a card input in minimalistic.
Fixed exception upon editing eval grid.
Added tournament mode switch.
Added message about IterateDecks crash.
Updated batch eval deck list.
Removed upx compression from iteratedecks.exe

Update 17:
Fixed and improved card input in Minimalistic.
Fixed Payback – Jam, rest of skills are not casted.
Updated mission ID cap.
Updated batch eval deck list.

Update 18:
Added Freeze and Blizzard skills.
Added fancy button on Evaluate page.
Added two Jotun’s decks.
Added refresh to fancystats – counts as heal.
Added skill proc requirements.
Updated card ID cap.
Fixed accessing cards by ID.
Fixed points counter for Crush damage.
Fixed mimic supply by non assault cards.
Fixed errors, involving few cards with same name.

Update 19:
Added table displaying amount of procs.
Fixed major flaw with procs counter.
Fixed Flurry procs counter.
Fixed Tribute procs counter.
Fixed Fear procs counter.
Winrate w/o a card now uses requirements.

 
Flag Post

how do you get one?

 
This post has been removed by an administrator or moderator
 
Flag Post

bah

 
Flag Post

My computer keeps telling me that my keys are being logged, but I’m watching them and nothing is happening. Is this a bug?

 
Flag Post
Originally posted by CasketKrusher:

My computer keeps telling me that my keys are being logged, but I’m watching them and nothing is happening. Is this a bug?

it has nothing to do with this tool, try drweb cureit

 
Flag Post
Originally posted by NETRAT:
Originally posted by CasketKrusher:

My computer keeps telling me that my keys are being logged, but I’m watching them and nothing is happening. Is this a bug?

it has nothing to do with this tool, try drweb cureit

Vin Diesel was on my computer earlier and I think he might have logged the keys. I’m doing a system scan now though. Thanks.

 
Flag Post

You’ll probably want to either make a new thread, or dispel completely the virus/trojan notion that has been placed in this one, as I can’t imagine anyone would want to download it right now.

 
Flag Post

not sure if thread cloning does any good
are there any kind of thread moderation? what are flag posts for?
also, ppl used to download and install dev-cpp just to compile and check console sim… this one is much faster and with api

 
Flag Post

Update 1:
Added more custom decks and missions (89,90,CF1-4,MB1-4,DR1-4), just unpack interface exe and core dll and overwrite previous version.
http://www.mediafire.com/?axdn37wf1dnmp73

 
Flag Post

Whoa, good job! May I ask if you have any plan to release the API (and allow people to use the dll)?

 
Flag Post

what do you mean by releasing? pack includes API and DLL
API passes selected decks data to DLL, DLL runs tests…

 
Flag Post

my complaints:
-no need to show the pictures, it takes too long. just a list of cards would be better. the interface is not pretty, i like the original battlesim more.
-I want to show cards with specific skills
-it’s a pain in the ass to look for the cards amongst the pictures
-search function
-the results are confusing, I have no idea what they mean. who’s the winner mentioned? I wanna test defense decks. is it surge or fight?
-can you only test 2 decks against each other in this?
-you can’t add/delete missions on your own

good things:
-I can finally test 2 decks against each other
-more cards

 
Flag Post

- you mean original console battlesim? I’m really not into this and pics hold much more info than just name of a card, I doubt anyone can tell cards abilities just by its name. No, it is not pretty since I am not a designer. Can’t even imagine how can you provide all the info about cards without pics, I just tried to make it close to original flash interface.
- yes, I know, I would like too, later
- filter doesnt help? search would help?
- same
- I’ve never joined any faction, so I don’t know what this surge mode is about, any attempt to find useful info about it failed miserably, all I know – decks perform worse on surge than on fight, It’s a fight, and win means attacking deck wins, stalemates count as losses

- original idea was to test decks against raids, because missions are easy and in faction wars, I doubt you can rely on random-auto
- I thought battlesim has all standard cards

 
Flag Post

JotarkKa, the developer of this program (NETRAT) said that the cards are the same that they are in the original code of tyrant-battle-simulator.

Here:
http://code.google.com/p/tyrant-battle-simulator/source/browse/trunk/TyrInit.h

Yesterday I updated to the latest code so this program have the same exact amount of cards, but ONLY 1 is left, T-46 Leonidas.


So NETRAT, you created a very good program with a GUI, thank you very much! Im going to test it.

Here is the official list of cards, search for “leonidas” and add the values.
http://kg.tyrantonline.com/assets/cards.xml

<unit>
<id>410</id>
<name>T-46 Leonidas</name>
<picture>ironslug150.jpg</picture>
<attack>3</attack>
<health>6</health>
<cost>3</cost>
<unique>1</unique>
<rarity>3</rarity>
<gold_cost>10000</gold_cost>
<skill id="armored" x="1"/>
<skill id="strike" x="2"/>
<type>1</type>
<set>9000</set>
<reserve>1</reserve>
<cannot_sell>1</cannot_sell>
</unit>

ironslug150.jpg

 
Flag Post

can you manually edit the defence deck? i can only seem to load the preset def decks and not edit them
also can you add decks to the preset?

 
Flag Post
Originally posted by NETRAT:

what do you mean by releasing? pack includes API and DLL
API passes selected decks data to DLL, DLL runs tests…

I meant library documents. (function name, arguments, return value, etc.)

 
Flag Post
Originally posted by NETRAT:

- you mean original console battlesim? I’m really not into this and pics hold much more info than just name of a card, I doubt anyone can tell cards abilities just by its name. No, it is not pretty since I am not a designer. Can’t even imagine how can you provide all the info about cards without pics, I just tried to make it close to original flash interface.
- yes, I know, I would like too, later
- filter doesnt help? search would help?
- same
- I’ve never joined any faction, so I don’t know what this surge mode is about, any attempt to find useful info about it failed miserably, all I know – decks perform worse on surge than on fight, It’s a fight, and win means attacking deck wins, stalemates count as losses

- original idea was to test decks against raids, because missions are easy and in faction wars, I doubt you can rely on random-auto
- I thought battlesim has all standard cards

maybe there could be a list of cards but when the cursor is on the name it shows the pic? or the abilities etc. could just be written. the point is that most relevant cards are somewhat known by heart to non-noobs. I suppose the info is useful to noobs though.
-filter just doesn’t help enough…need the skill filter at least:)
-surge means defense goes first, it’s an important thing to add. you could add the option to choose whether it’s a defending test or an attacking test and also the results could be shown like this: fight/surge/overall.

-the reason why defending tests are more useful is that defense decks always go auto. off course the attacking decks really go manual so the results aren’t really as good as is shown.
-the console battlesim has most cards but not all of them. the relevant ones I guess.

 
Flag Post
Originally posted by BenchBreaker:

can you manually edit the defence deck? i can only seem to load the preset def decks and not edit them
also can you add decks to the preset?

yes, you use the right mouse button to select the cards for the defdeck. I guess you can’t add decks:(

 
Flag Post
Originally posted by DarkBlood1:

JotarkKa, the developer of this program (NETRAT) said that the cards are the same that they are in the code of the original tyrant-battle-simulator.

Here:
http://code.google.com/p/tyrant-battle-simulator/source/browse/trunk/TyrInit.h

Yesterday I updated to the latest code so this program have the same exact amount of cards, but ONLY 1 is left, T-46 Leonidas.


So NETRAT, you created a very good program with a GUI, thank you very much! Im going to test it.

Here is the official list of cards, search for “leonidas” and add the values.
http://kg.tyrantonline.com/assets/cards.xml

&lt;unit&gt;
&lt;id&gt;410&lt;/id&gt;
&lt;name&gt;T-46 Leonidas&lt;/name&gt;
&lt;picture&gt;ironslug150.jpg&lt;/picture&gt;
&lt;attack&gt;3&lt;/attack&gt;
&lt;health&gt;6&lt;/health&gt;
&lt;cost&gt;3&lt;/cost&gt;
&lt;unique&gt;1&lt;/unique&gt;
&lt;rarity&gt;3&lt;/rarity&gt;
&lt;gold_cost&gt;10000&lt;/gold_cost&gt;
&lt;skill id="armored" x="1"/&gt;
&lt;skill id="strike" x="2"/&gt;
&lt;type&gt;1&lt;/type&gt;
&lt;set&gt;9000&lt;/set&gt;
&lt;reserve&gt;1&lt;/reserve&gt;
&lt;cannot_sell&gt;1&lt;/cannot_sell&gt;
&lt;/unit&gt;

ironslug150.jpg

I added Leonidas myself too:) Can you tell me a bit more of what you’re doing? Are you continuing the project in that other page? is it updated with the newest version from the email? i couldn’t even get the newest version to work btw so I’m using the one before that.

 
Flag Post

JotarkKa:
No, I didn’t touch the code, I have “updated” the code of tyrant-battle-simulator with the extremely weird system of qlz, he was leaving the new updated codes as a Draft in his mail box and left his user/pass on public…… (WTF? GoogleCodes itself is designed for that usage :D).

So, let tyrant-battle-simulator die in peace and pass out to a new language GUI-supported and a dedicated developer like NETRAT.

 
Flag Post
Originally posted by DarkBlood1:

JotarkKa:
No, I didn’t touch the code, I have “updated” the code of tyrant-battle-simulator with the extremely weird system of qlz, he was leaving the new updated codes as a Draft in his mail box and left his user/pass on public…… (WTF? GoogleCodes itself is designed for that usage :D).

So, let tyrant-battle-simulator die in peace and pass out to a new language GUI-supported and a dedicated developer like NETRAT.

I don’t think it was weird…he just wasn’t familiar with that other system. Also I was the one who added a few cards in the email draft to be added to the main code. I still prefer the non-GUI version, also this simulator does nothing but test two decks against each other, which is something less useful but also something I always wanted to do and the console battlesim couldn’t do it.