[WarMetal Tyrant] Evaluate Decks (game simulator)

1840 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

- 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

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

DarkBlood1, that is untrue, they are not from battlesim, but from some spreadsheet I’ve found on internet and it includes Leonidas, try filters – Unique – Imperial – Assault – 3 turns

foobarbax, I am really sceptical about publishing sources since it does no good, at least from my expirience, if someone is interested in using something, let me know

JotarkKa yeah, that would be great, if only I was used to implementing cool interfaces ;) i’ll look into it, I had much fun implementing the math, since it is described on wiki really well, but on interface I spent only leftovers of my energy
I don’t get it then – surge means you will actually defend instead of attacking? What the difference between swapping decks?
I used spreadsheet that had like 411 cards and then started pulling raid cards from wiki, are there more?

BenchBreaker I am still not sure about preset decks, I was thinking about storing all user decks in a text file, so you can edit them with notepad, but, the problem is it is easy to make mistakes in card names when manually typing card names

I’m confused – so how many exactly simulators do we have? Was your sim based on qlz’s code?
Yep, thats the problem, however, do you often use stats from battlesim to judge how good some new deck is? I don’t think it can be very useful since it’s full random against some other exemplar decks which, afaik, are sometimes replaced with other exemplar decks with higher ratio(which is extremely subjective). From my expirience, certain decks can be really good agains certain other decks and thats all, you can’t really build all around good deck, and thats what we call balance, I mean if you are going to defeat certain deck with high probability, you can design a deck that will work very well, but there is no such deck that beats any other deck with high chance. And also, too much random involved, it’s not starcraft, you can’t clearly outplay your opponent…

All the stuff with GUI and DLL was really just to allow you to use core classes I’ve implemented, it used to be a console app, who uses them nowadays …

 
Flag Post

This is a great tool! Very easy to use. It is extremely useful for making autodecks for farming, and for those guys who resort to auto-fighting as they are too lazy/busy to actually surge manually ;). Thanks for it.

 
Flag Post

Just a question from a curious guys: Can you make it also compute damage like in faction battles / raid battles (as seen from the wiki ,say at http://warmetal.wikia.com/wiki/Factions (maybe that also applies to raids?) – if those formulas are correct)?

Then you can make more optimal auto-raid decks too as damage is more important then win/loss ratio.

 
Flag Post
Originally posted by NETRAT:

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
3. Switch to evaluation tab and run test

Screenshot:

http://imageshack.us/f/717/evaldecksscreenshot.jpg/

Mirrors:

http://uploadbox.com/files/ea3d2beef4/

http://www.mediafire.com/?dggc32i1795b7nu

Is the source code available?

 
Flag Post

yruhn I don’t know if they are correct either, ofc I can, the right question is if I would, feels like a minor thing, I will look into it

othermaciej nope, why is everyone asking?! why would you need it?

Originally posted by NETRAT:

foobarbax, I am really sceptical about publishing sources since it does no good, at least from my expirience, if someone is interested in using something, let me know