Forums Tyrant

Automatic deck optimization - leftylink's thread page 8 (locked)

Subscribe to Automatic deck optimization - leftylink's thread 220 posts

avatar for aboardbr aboardbr 48 posts
Flag Post
Originally posted by catepillar:
Originally posted by aboardbr:

So what am I doing wrong? Maybe outdated source code?

You are running an outdated version. Are you sure you ran git checkout leftylink-integration with no errors?

When I run the command I receive this message:
Branch leftylink-integration set up to track remote branch leftylink-integration from origin.
Switched to a new branch ‘leftylink-integration’

Is it right?

 
avatar for FuChunx3 FuChunx3 22 posts
Flag Post

I’m also unable to use hashes (I’m using “windoze” and followed catepillar’s guide on page 1). I got the same thing as aboardbr did the first time I ran git checkout leftylink-integration . I ran it again to make sure and now I get:
M Makefile
Already on ‘leftylink-integration’

 
avatar for hunterhogan hunterhogan 1905 posts
Flag Post

Having trouble? No warranties or guaranties. Use at your own risk.

Originally posted by hunterhogan:
Originally posted by DarkBlood1:

Can anyone upload the latest version?

I’m sure you, DarkBlood1, will not make me regret this, and I hope I don’t regret it for other reasons.

I have no idea if this will work Compiled on Microsoft Windows 7 Home Premium.

http://www.hunterthinks.com/solo/games/T_O_2012_12_19_Win_Compiled.zip

 
avatar for MetalSmasher86 MetalSmasher86 86 posts
Flag Post

Every time I try to use this thing, I get the same error message every time:

Any ideas?

 
avatar for jt7785 jt7785 16 posts
Flag Post

An improvement request:
Instead of writing “Deck improved: 1 Hades → 0 Hades: win%: 99.9 (999 of 1000)”
Why not writing:
“Deck improved: Hades, Longshot : win%: 99.9 (999 of 1000)”
Meaning, write the entire deck used instead of what slot was changed.
This way, if I’m ok with the results, and want to break the process (ctrl+c) without having to wait for it to finish, I can create the deck with no problem…
This request is for any type of printing (adding -a for example gives another format).

 
avatar for DarkBlood1 DarkBlood1 2357 posts
Flag Post

Probably you are using the latest cards.xml with the Necrogeddon alt-art not deleted.
http://kg.tyrantonline.com/assets/cards.xml

Delete this part in the xml:

<unit>
<id>862</id>
<name>Necrogeddon</name>
<picture>necrogeddonalt.jpg</picture>
<hidden>1</hidden>
<attack>1</attack>
<health>7</health>
<cost>3</cost>
<rarity>4</rarity>
<skill id="rally" x="3" y="3"/>
<skill id="swipe"/>
<skill id="disease"/>
<type>3</type>
<set>5000</set>
</unit>
 
avatar for thror13 thror13 663 posts
Flag Post
Originally posted by jt7785:

An improvement request:
Instead of writing “Deck improved: 1 Hades → 0 Hades: win%: 99.9 (999 of 1000)”
Why not writing:
“Deck improved: Hades, Longshot : win%: 99.9 (999 of 1000)”
Meaning, write the entire deck used instead of what slot was changed.
This way, if I’m ok with the results, and want to break the process (ctrl+c) without having to wait for it to finish, I can create the deck with no problem…
This request is for any type of printing (adding -a for example gives another format).

i, too endorse a “verbose” option

 
avatar for FuChunx3 FuChunx3 22 posts
Flag Post

I am able to use decks saved in my custom decks file and optimize from there, but when I use hashes I just get a list of my custom decks. Using the example that Gut posted on the previous page:
>op.exe QVM9CtBmLMMB+iLw+iEDhG “Mission 228” climb 1000
The deck QVM9CtBmLMMB+iLw+iEDhG was not found. Available decks:
Custom decks:
(omitted)

 
avatar for Safcdav Safcdav 33 posts
Flag Post

Guys, probably a noob question, but I’m getting some odd results with the optimizer. I d/led hunterhogans compiled version and am typing in;

tyrant_optimize.exe ogre-spam “Mission 229” -o -s -r climb 600

Everyone else is telling me this should come up with a deck at around 50% win rate, however mine is coming up with 85.25%

Dracorex, Zarak, Monarch, Obsidian, Monarch, Monarch, Monarch, Flare Singularity, Zarak, Monarch, Monarch

My guess is that it’s ignoring the -s for some reason. Someone please help, I’m lost without the optimizer.

 
avatar for hunterhogan hunterhogan 1905 posts
Flag Post
Originally posted by Safcdav:

Guys, probably a noob question, but I’m getting some odd results with the optimizer. I d/led hunterhogans compiled version and am typing in;

tyrant_optimize.exe ogre-spam “Mission 229” -o -s -r climb 600

Everyone else is telling me this should come up with a deck at around 50% win rate, however mine is coming up with 85.25%

Dracorex, Zarak, Monarch, Obsidian, Monarch, Monarch, Monarch, Flare Singularity, Zarak, Monarch, Monarch

My guess is that it’s ignoring the -s for some reason. Someone please help, I’m lost without the optimizer.

Cross check your results with SimTyrant and/or iteratedecks. 85% might be high, but 50% is wrong.
http://haileon.com/SimTyrantJS?deck1=QVhFLMBmLM+jvlhFLM+i&amp;surge=1&amp;ordered=1&amp;mission=317&amp;sims=10000

P.S. I would use a number higher than 600. Some day, I will do the math to figure out what the minimum number of simulations is based on the the number of permutations in the two decks, but 600 is certainly too low.

 
avatar for catepillar catepillar 2026 posts
Flag Post

Safcdav: I just ran your simulation on 1M trials, and it returned 80.0%. SimTyrant returned 79.7%. This is WELL within margin of error for SimTyrant.

 
avatar for hunterhogan hunterhogan 1905 posts
Flag Post
Originally posted by MetalSmasher86:

Every time I try to use this thing, I get the same error message every time:

Any ideas?

Originally posted by FuChunx3:

I am able to use decks saved in my custom decks file and optimize from there, but when I use hashes I just get a list of my custom decks. Using the example that Gut posted on the previous page:
>op.exe QVM9CtBmLMMB+iLw+iEDhG “Mission 228” climb 1000
The deck QVM9CtBmLMMB+iLw+iEDhG was not found. Available decks:
Custom decks:
(omitted)

I think this is the answer. Get the latest cards.xml and then delete the bad necrogeddon.

Originally posted by DarkBlood1:

Probably you are using the latest cards.xml with the Necrogeddon alt-art not deleted.
http://kg.tyrantonline.com/assets/cards.xml

Delete this part in the xml:

&lt;unit&gt;
&lt;id&gt;862&lt;/id&gt;
&lt;name&gt;Necrogeddon&lt;/name&gt;
&lt;picture&gt;necrogeddonalt.jpg&lt;/picture&gt;
&lt;hidden&gt;1&lt;/hidden&gt;
&lt;attack&gt;1&lt;/attack&gt;
&lt;health&gt;7&lt;/health&gt;
&lt;cost&gt;3&lt;/cost&gt;
&lt;rarity&gt;4&lt;/rarity&gt;
&lt;skill id="rally" x="3" y="3"/&gt;
&lt;skill id="swipe"/&gt;
&lt;skill id="disease"/&gt;
&lt;type&gt;3&lt;/type&gt;
&lt;set&gt;5000&lt;/set&gt;
&lt;/unit&gt;
 
avatar for Thunor Thunor 50 posts
Flag Post
Originally posted by Puppenmaedchen:
Originally posted by Kyrossian:
Originally posted by Puppenmaedchen:

Which branch do I have to compile to have quests, effects, emulate and on kill effects available? I do not understand how this branching on github works and which files I need to recompile to get updated. I would really appreciate any help there.

The post catepillar posted still works as far as instructions go.

I couldn’t find a post on how to merge the updates, that’s what I was really asking, even if I probably phrased it wrong. Sorry ’bout that.

I’m having the same issue… its possible to merge onkill and emulate branches with integration one?

 
avatar for hockeymatt hockeymatt 31 posts
Flag Post
Originally posted by hunterhogan:

Having trouble? No warranties or guaranties. Use at your own risk.

Originally posted by hunterhogan:
Originally posted by DarkBlood1:

Can anyone upload the latest version?

I’m sure you, DarkBlood1, will not make me regret this, and I hope I don’t regret it for other reasons.

I have no idea if this will work Compiled on Microsoft Windows 7 Home Premium.

http://www.hunterthinks.com/solo/games/T_O_2012_12_19_Win_Compiled.zip

Working well…MANY THANKS!!! WITH OLD missions.xml file (through 229)

 
avatar for hockeymatt hockeymatt 31 posts
Flag Post

terminate called after throwing an instance of ‘std::runtime_error’
what(): While trying to find the card with id 1227: no such key in the cards_
by_id map.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.

…Getting this error with NEW missions.xml download

 
avatar for DarkBlood1 DarkBlood1 2357 posts
Flag Post
Originally posted by hockeymatt:

terminate called after throwing an instance of ‘std::runtime_error’
what(): While trying to find the card with id 1227: no such key in the cards_
by_id map.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.

…Getting this error with NEW missions.xml download

<id>1227</id> <name>Nikolas</name>

Update ALL the xmls not just the missions.xml.

https://kg.tyrantonline.com/assets/cards.xml
https://kg.tyrantonline.com/assets/raids.xml
https://kg.tyrantonline.com/assets/missions.xml
https://kg.tyrantonline.com/assets/quests.xml

 
avatar for catepillar catepillar 2026 posts
Flag Post

cards.xml has the continued issue with Necrogeddon.

The devs commented out something they shouldn’t have (naughty devs). Anyways, it’s simple to fix, delete the comments around the upgrade tag for the first Necrogeddon OR delete a necrogeddon.

 
avatar for hockeymatt hockeymatt 31 posts
Flag Post
Originally posted by DarkBlood1:
Originally posted by hockeymatt:

terminate called after throwing an instance of ‘std::runtime_error’
what(): While trying to find the card with id 1227: no such key in the cards_
by_id map.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.

…Getting this error with NEW missions.xml download

<id>1227</id>
<name>Nikolas</name>

Update ALL the xmls not just the missions.xml.


https://kg.tyrantonline.com/assets/cards.xml
https://kg.tyrantonline.com/assets/raids.xml
https://kg.tyrantonline.com/assets/missions.xml
https://kg.tyrantonline.com/assets/quests.xml

THANK YOU for the prompt response. I appreciate your assistance VERY much! I was not aware of the need to update all the files once the new missions were active on KG. Again…thank you.

 
avatar for hockeymatt hockeymatt 31 posts
Flag Post
Originally posted by catepillar:

cards.xml has the continued issue with Necrogeddon.

The devs commented out something they shouldn’t have (naughty devs). Anyways, it’s simple to fix, delete the comments around the upgrade tag for the first Necrogeddon OR delete a necrogeddon.

Verifying that this is still an issue even with the updated files.

 
avatar for cece_it cece_it 22 posts
Flag Post

I have a request .. is possible to implement something that print current optimized deck when stopping with control-c ?? this to avoid long calculations when deck is already good enought.

 
avatar for catepillar catepillar 2026 posts
Flag Post
Originally posted by cece_it:

I have a request .. is possible to implement something that print current optimized deck when stopping with control-c ?? this to avoid long calculations when deck is already good enought.

Not cross-platform friendly. If you want the program to break compatibility with windows, then sure :)

 
avatar for FuChunx3 FuChunx3 22 posts
Flag Post

Would it be possible to add/append the last optimized deck to Custom.txt? Maybe even add a way to name said deck?

 
avatar for burnin8 burnin8 1 post
Flag Post
Originally posted by catepillar:

cards.xml has the continued issue with Necrogeddon.

The devs commented out something they shouldn’t have (naughty devs). Anyways, it’s simple to fix, delete the comments around the upgrade tag for the first Necrogeddon OR delete a necrogeddon.

No upgrade tag on Necrogeddon, only the replace tag. And for those not sure what the comment flags are its these <!-- -->

 
avatar for Kyrossian Kyrossian 30 posts
Flag Post
Originally posted by FuChunx3:

Would it be possible to add/append the last optimized deck to Custom.txt? Maybe even add a way to name said deck?

I have mine set up to print out the hash on the same line as the changes are happening. Is that something that would interest others? The changes themselves are very minor.

 
avatar for pleasedpig pleasedpig 100 posts
Flag Post

I’m having the same problem as Gut1. Deck hashes aren’t working. I’ve fixed necrogeddon, it simply doesn’t recognize hashes. If I try an deck hash, it says:

The deck [hash] was not found. Available decks:

As if it’s trying to load a misspelled custom deck.