tyrant_optimize bug report

1 view
Skip to first unread message

andor9

unread,
Mar 29, 2013, 10:58:22 AM3/29/13
to
Please reply this thread to report bugs of tyrant_optimize.

Hunter Hogan

unread,
Apr 10, 2013, 5:13:43 PM4/10/13
to Tyrant...@googlegroups.com
Using Tyrant Optimizer version 1.0.10 with 100007 sims per deck
Requesting session id...
 ... started session with id c2cb3a21c99dc008e891d820f669oR09
Getting decks...
 ... 50 decks retrieved
Running tyrant_optimize.exe SzBnHZ-BL-BN "Raid #7" -t 1 sim 100007
Assertion failed: summoned->m_type == CardType::assault || summoned->m_type == CardType::structure, file sim.cpp, line 2164

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

I get a pop-up box to close the program. I click close, and the python wrapper continues.

andor9

unread,
Apr 12, 2013, 3:05:44 AM4/12/13
to Tyrant...@googlegroups.com
It has been fixed in 1.0.11. Sorry for inconvenience.

Roland Kopka

unread,
May 20, 2013, 4:06:02 PM5/20/13
to Tyrant...@googlegroups.com
I use the v.1.0.12.
It can't recognize this hash: TlAoA/+iBoBqD2EDPJhe-Ag, because it doesn't know the card with id 1253

Rygard

unread,
May 25, 2013, 10:52:48 AM5/25/13
to Tyrant...@googlegroups.com
You may be having an issue with your cards.xml file, make sure you have the most current version of this file from haleon, or from the latest optimize

Rzwo Dzwo

unread,
Aug 4, 2013, 6:44:59 AM8/4/13
to Tyrant...@googlegroups.com
Bug through all versions: 
Wanna simulate Ascension 3 (but same with 1 to 4) and when I start, it takes a some time, doing nothing and then it says: 0% Winchance. Evaluated 1883 decks.
Got a picture of it. 
I don´t know, whats wrong. I have tried it with every change. More Iterations, ordered deck and so on... always the same result. 
Other simualtions are working as always... only these 4 (so far) don´t work. 
I have the newest xml-files and the newest exe-version.

So tell me, what is wrong

Rzwo Dzwo

unread,
Aug 4, 2013, 8:21:55 AM8/4/13
to Tyrant...@googlegroups.com
Scythos also not working :)
Epic Imperial Purger works...

andor9

unread,
Aug 12, 2013, 9:26:37 AM8/12/13
to Tyrant...@googlegroups.com
You'd better first make your own "working" deck then use the optimizer to *optimize* your deck.
It is not a good idea to ask the optimizer to start from scratch --- it takes longer time to run and sometimes may fail to "really hard" enemies such as Ascension or Scythos.

Poisoni

unread,
Aug 19, 2013, 9:12:21 AM8/19/13
to Tyrant...@googlegroups.com
I know I'm going to seem stupid here, but I downloaded the latest version from hunter's site, unzipped the file with 7-zip, and the optimizer won't even start. I select open the application and it opens a small black window with white text, but before I can read the text it crashes. It doesn't even last long enough to appear on my taskbar as a program running is how quick it closes.
Many thanks for any help with this.

Lars

unread,
Sep 6, 2013, 11:55:06 AM9/6/13
to Tyrant...@googlegroups.com
Poisoni - You need to run it in a shell.  Try running Windows+R, then "cmd" to open up a command shell.  Then run the application from here.

Scaler

unread,
Sep 26, 2013, 1:57:57 PM9/26/13
to Tyrant...@googlegroups.com
Hi,

When I try to compile tyrant_optimize 1.1.4 with Linux (Ubuntu), I get this errors :

sim.cpp: In instantiation of ‘void PerformAttack::modify_attack_damage(unsigned int) [with CardType::CardType <anonymous> = (CardType::CardType)2u]’:
sim.cpp:1399:9:   required from ‘void PerformAttack::op() [with CardType::CardType def_cardtype = (CardType::CardType)2u]’
sim.cpp:1679:75:   required from here
sim.cpp:1492:9: erreur: comparaison entre des expressions entières signée et non signée [-Werror=sign-compare]
sim.cpp: In instantiation of ‘void PerformAttack::modify_attack_damage(unsigned int) [with CardType::CardType <anonymous> = (CardType::CardType)0u]’:
sim.cpp:1399:9:   required from ‘void PerformAttack::op() [with CardType::CardType def_cardtype = (CardType::CardType)0u]’
sim.cpp:1683:84:   required from here
sim.cpp:1492:9: erreur: comparaison entre des expressions entières signée et non signée [-Werror=sign-compare]
sim.cpp: In instantiation of ‘void PerformAttack::modify_attack_damage(unsigned int) [with CardType::CardType <anonymous> = (CardType::CardType)1u]’:
sim.cpp:1399:9:   required from ‘void PerformAttack::op() [with CardType::CardType def_cardtype = (CardType::CardType)1u]’
sim.cpp:1712:105:   required from here
sim.cpp:1492:9: erreur: comparaison entre des expressions entières signée et non signée [-Werror=sign-compare]
cc1plus: all warnings being treated as errors
make: *** [obj/sim.o] Erreur 1

Scaler

unread,
Sep 26, 2013, 2:06:58 PM9/26/13
to Tyrant...@googlegroups.com
I removed "-Werror" from the make file, the warnings are still showing but it's compiling.

Rand AlThor

unread,
Jan 10, 2014, 7:15:14 PM1/10/14
to Tyrant...@googlegroups.com


On Friday, September 6, 2013 8:55:06 AM UTC-7, Lars wrote:
Poisoni - You need to run it in a shell.  Try running Windows+R, then "cmd" to open up a command shell.  Then run the application from here.


Can you explain this to someone who is not tech savy?
 

Roboticus

unread,
Jan 12, 2014, 7:42:37 AM1/12/14
to Tyrant...@googlegroups.com

Whenever I try to open the windows-compiled version, this happens:

the prompt disappears and the program doesn't load. In that screenshot I'm not using the most recent version, but the same problem happens there,

Lars

unread,
Feb 7, 2014, 3:14:50 PM2/7/14
to Tyrant...@googlegroups.com
Rand AlThor and Robotics are both asking the same question.

1.  Open Command Prompt
    a) Press Windows Key and R -- this should bring up a Run dialog window.
    b) In the text after Open, type "cmd" (without the quotes)
    You should see a new window with a black background.  This is the command prompt window.


  More details here:  http://pcsupport.about.com/od/windows7/a/command-prompt-windows-7.htm

2. Navigate to the directory
that the program is in
  Use "cd" followed by the directory name

 More details here:  http://coweb.cc.gatech.edu/ice-gt/339

3. Run the command
  ./tyrant_optimize.exe
     This will show you all the options.

  ./tyrant_optimize.exe T0CtBqBpBcBa "Siege on Kor" -r sim 1000
     Find how well the ordered deck http://tyrant.40in.net/kg/deck.php?nid=T0CtBqBpBcBa does against the raid Siege on Kor.


Reply all
Reply to author
Forward
0 new messages