|
metadata
can some1 explain to me what am i doing wrong?
I downloaded the latest version of the "download_owned_cards.ps1" PowerShell script from [mfukar's Github](https://gist.github.com/mfukar/c1abe685c3fe7d5260c4643f7c238a7d), extracted the script from the .zip, placed the script inside the ".\data" subfolder of TUO, copied the json text from the body of the API response from "api.php?message=init" and pasted into a notepad, saved the notepad as "json.txt", placed the "json.txt" inside the ".\data" subfolder of TUO, opened PowerShell and ran the following commands:
* Set-ExecutionPolicy remoteSigned -Scope Process
* D:\TUO\data\download_owned_cards.ps1
Then i got the message "[-] To update owned cards, supply the response to api.php?message=init in json.txt" even though the json.txt is correctly placed in the data folder together with the PowerShell script itself
|
|
|
metadata
In the result below, TUO says 10 cards (which should exclude the commander and dominion) but it only lists 8 cards. However, 2 of the cards have a #2 beside them. Does that mean that both cards are included in the deck?
Optimized Deck: 10 units: $3300 72.2905: Serapherus the Blaze, Alpha Retainer, Seize #2, Tabernacle of Andor, Tetrapede Volt, Bunker Builder, HyperSec Hunter, Prixis Worldbender, MX Shellfire, Seraph's Wrath #2
Below is another example where the # corresponds to the seemingly incorrect count.
10 units: $3300 79.716: Darius Caporegime, Barracus' Nexus-4, Divinity Supreme, Tabernacle of Andor #2, Tetrapede Volt, HyperSec Hunter, Prixis Worldbender, MX Shellfire, Seraph's Wrath #3
|
|
|
metadata
"#" is used to describe multiple cards. Like Hypersec Hunter #2 means 2 Hypersec Hunters
|
|
|
metadata
> *Originally posted by **[minionmasterSXS](/forums/2468/topics/920187?page=17#13565795)**:*
> can some1 explain to me what am i doing wrong?
> I downloaded the latest version of the "download_owned_cards.ps1" PowerShell script from [mfukar's Github](https://gist.github.com/mfukar/c1abe685c3fe7d5260c4643f7c238a7d), extracted the script from the .zip, placed the script inside the ".\data" subfolder of TUO, copied the json text from the body of the API response from "api.php?message=init" and pasted into a notepad, saved the notepad as "json.txt", placed the "json.txt" inside the ".\data" subfolder of TUO, opened PowerShell and ran the following commands:
> * Set-ExecutionPolicy remoteSigned -Scope Process
> * D:\TUO\data\download_owned_cards.ps1
>
> Then i got the message "[-] To update owned cards, supply the response to api.php?message=init in json.txt" even though the json.txt is correctly placed in the data folder together with the PowerShell script itself
I'm guessing you used the command :
& "C:\PATH\TO\SCRIPT\ download_owned_cards.ps1”
that wont work so try the following:
change line 21 of “download_owned_cards.ps1” to:
$are_cards_updated = "false"
then go to the data folder and right-click “download_owned_cards.ps1” and select “run with powershell”
|
|
|
metadata
> *Originally posted by **[Merilli](/forums/2468/topics/920187?page=17#13566980)**:*
> "#" is used to describe multiple cards. Like Hypersec Hunter #2 means 2 Hypersec Hunters
Thanks Merilli
|
|
|
metadata
> *Originally posted by **[breezue89](/forums/2468/topics/920187?page=17#13567168)**:*
> > *Originally posted by **[minionmasterSXS](/forums/2468/topics/920187?page=17#13565795)**:*
> > can some1 explain to me what am i doing wrong?
> > I downloaded the latest version of the "download_owned_cards.ps1" PowerShell script from [mfukar's Github](https://gist.github.com/mfukar/c1abe685c3fe7d5260c4643f7c238a7d), extracted the script from the .zip, placed the script inside the ".\data" subfolder of TUO, copied the json text from the body of the API response from "api.php?message=init" and pasted into a notepad, saved the notepad as "json.txt", placed the "json.txt" inside the ".\data" subfolder of TUO, opened PowerShell and ran the following commands:
> > * Set-ExecutionPolicy remoteSigned -Scope Process
> > * D:\TUO\data\download_owned_cards.ps1
> >
> > Then i got the message "[-] To update owned cards, supply the response to api.php?message=init in json.txt" even though the json.txt is correctly placed in the data folder together with the PowerShell script itself
>
> I'm guessing you used the command :
>
> & "C:\PATH\TO\SCRIPT\ download_owned_cards.ps1”
>
> that wont work so try the following:
>
> change line 21 of “download_owned_cards.ps1” to:
>
> $are_cards_updated = "false"
>
> then go to the data folder and right-click “download_owned_cards.ps1” and select “run with powershell”
>
changing line 21 is the same as doing nothing since the script stops at line 3.
i used the 2 commands exactly as shown, i did not type any "&" or surrounded the path with double quotes either, also i tried what you said and got the exact same result.
|
|
|
metadata
> *Originally posted by **[minionmasterSXS](/forums/2468/topics/920187?page=17#13567255)**:*
> changing line 21 is the same as doing nothing since the script stops at line 3.
> i used the 2 commands exactly as shown, i did not type any "&" or surrounded the path with double quotes either, also i tried what you said and got the exact same result.
Asking you to change line 21 was an attempt to pre-empt an error I encountered when my script was successful in getting past line 3.
Anyways, good luck with getting it sorted
|
|
|
metadata
> *Originally posted by **[breezue89](/forums/2468/topics/920187?page=17#13567421)**:*
> > *Originally posted by **[minionmasterSXS](/forums/2468/topics/920187?page=17#13567255)**:*
> > changing line 21 is the same as doing nothing since the script stops at line 3.
> > i used the 2 commands exactly as shown, i did not type any "&" or surrounded the path with double quotes either, also i tried what you said and got the exact same result.
>
> Asking you to change line 21 was an attempt to pre-empt an error I encountered when my script was successful in getting past line 3.
>
> Anyways, good luck with getting it sorted
>
>
first of all, i forgot to thank you for you help, very much apreciated! and also the link i posted is not the correct one as it goes to a previous version of the powershell script, heres the [latest version](http://https://gist.github.com/mfukar/623ac05dafa9c8015f3fb5302f777a81) (which is the one i'm currently using). With that said:
I finally got some progress...
basicaly i had 2 very small but big details i missed:
1. had my file as "json.txt.txt" instead of "json.txt" (figured it out by checking "show file extensions" and renaming the file afterwards)
2. in powershell i was running the script from the default directory instead of navigating to the correct directory first and then running the script (figured this one out by intuition)
first (as a test) I tried running the script (using the same steps mentioned above but navigating to correct directory first) with the version of PowerShell that already comes with windows (5. something) and this time it ran past line 5 (old line 3) and got a whole list of errors, i looked at the list and imediatly notcied that pre-installed powershell definetly wouldn't cut it (just like mentioned in the link "**Reqs Powershell 7.**").
with all figured out, i proceeded to install [PowerShell v7.1](http://https://github.com/PowerShell/PowerShell/releases/tag/v7.1.0) and this is the [result](https://prnt.sc/y6dlto).
Can you help me out correcting the script so i can test again?
|
|
|
metadata
Hello guys !
Back to TU after 3-4 years and i am loving it so far!
I need lil help to make the sim runs please. What i did so far is enter some of the cards i got and nothings else (no editing files.renaming etc). Please help me figure it out what i am doing wrong ..no matter what i do i sitll get the same error .
https://ibb.co/VNBtsRL
|
|
|
metadata
> *Originally posted by **[Iskren1](/forums/2468/topics/920187?page=17#13567863)**:*
> Hello guys !
> Back to TU after 3-4 years and i am loving it so far!
> I need lil help to make the sim runs please. What i did so far is enter some of the cards i got and nothings else (no editing files.renaming etc). Please help me figure it out what i am doing wrong ..no matter what i do i sitll get the same error .
> https://ibb.co/VNBtsRL
It looks like you do not have executable file. And also it is pretty outdated.
What you should do is download the latest version and launch starter https://github.com/APN-Pucky/tyrant_optimize/releases/download/v4.4.1/tuo.v4.4.1_32+64_bit.zip.
|
|
|
metadata
Hi guys! I'm a returning player, and i have a few questions:
A) Is there a way to get all my cards, or do i have to write them one by one?
B) is there a list of updated gauntlets that i can download?
Thanks for the help!
|
|
|
metadata
> *Originally posted by **[silvertongue26](/forums/2468/topics/920187?page=17#13570926)**:*
> Hi guys! I'm a returning player, and i have a few questions:
> A) Is there a way to get all my cards, or do i have to write them one by one?
> B) is there a list of updated gauntlets that i can download?
>
> Thanks for the help!
A) yes: [here](https://bence.zahalka.hu/2018/01/29/tyrant-unleashed-optimizer-powershell-tools-english-version/)
B) no… at least there aren’t any public ones that I’m aware of
|
|
|
metadata
|
|
|
metadata
Hey guys,
I was trying to use the sim to see how to see what deck I should be using against Cain Mutant, but the sim doesn't seem to be working properly.
On a regular mission (such as Mesmerize Mutant) this is the output I get with this input:
https://imgur.com/a/TUXxanI
https://imgur.com/a/na2Wm5k
But for Cain Mutant, things look like this:
https://imgur.com/a/y2PhxXd
https://imgur.com/a/GJwikY4
Any tips as to how I can fix this? Thanks in advance! :)
(I have tried putting more units in the "My Deck" section, all that does is return the same units I put in as the most optimal deck when it's obviously not)
|
|
|
metadata
> *Originally posted by **[Flame96](/forums/2468/topics/920187?page=17#13639508)**:*
> Hey guys,
>
> I was trying to use the sim to see how to see what deck I should be using against Cain Mutant, but the sim doesn't seem to be working properly.
> On a regular mission (such as Mesmerize Mutant) this is the output I get with this input:
> https://imgur.com/a/TUXxanI
> https://imgur.com/a/na2Wm5k
>
> But for Cain Mutant, things look like this:
> https://imgur.com/a/y2PhxXd
> https://imgur.com/a/GJwikY4
>
> Any tips as to how I can fix this? Thanks in advance! :)
> (I have tried putting more units in the "My Deck" section, all that does is return the same units I put in as the most optimal deck when it's obviously not)
>
My guess is that after evaluating 75 decks, all with 0 % chance to win, algorithm gave up. Try a different climb method, like anneal, genetic, climbex.
|
|
|
metadata
> *Originally posted by **[razor15](/forums/2468/topics/920187?page=17#13639678)**:*
> > *Originally posted by **[Flame96](/forums/2468/topics/920187?page=17#13639508)**:*
> > Hey guys,
> >
> > I was trying to use the sim to see how to see what deck I should be using against Cain Mutant, but the sim doesn't seem to be working properly.
> > On a regular mission (such as Mesmerize Mutant) this is the output I get with this input:
> > https://imgur.com/a/TUXxanI
> > https://imgur.com/a/na2Wm5k
> >
> > But for Cain Mutant, things look like this:
> > https://imgur.com/a/y2PhxXd
> > https://imgur.com/a/GJwikY4
> >
> > Any tips as to how I can fix this? Thanks in advance! :)
> > (I have tried putting more units in the "My Deck" section, all that does is return the same units I put in as the most optimal deck when it's obviously not)
> >
>
> My guess is that after evaluating 75 decks, all with 0 % chance to win, algorithm gave up. Try a different climb method, like anneal, genetic, climbex.
Thank you for the advice! It turns out that either trying different operations or giving the engine a push in the right direction by suggesting a deck that has a chance of succeeding fix the problem. :)
|
|
|
metadata
Hi,
i try to create the "ownedcards.txt" using the "download_owned_cards.ps1" with MS Powershell 7.
It comes up short and goes as fast as nothing.
No txt files where created, no errors where prompt.
The download_owned_cards.ps1 is in the tyrant_optimize-4.4.1\data folder and my json.txt also.
The json.txt is filled with the api browser thingy (https://bence.zahalka.hu/2018/01/29/tyrant-unleashed-optimizer-powershell-tools-english-version/).
Can someone please help!?
|
|
|
metadata
Hi, is it possible to add fan-made BGEs in TUO. The BGEs I want to try out are:
Acid: Corrosive now does poison damage in addition to the corrosive
Copy: At the start of the turn, mimic will copy a random opponents skill, including armor, pierce etc.
Seize: Strike will now target both assault and structures at the same time.
|
|
|
metadata
> *Originally posted by **[lafl951159](/forums/2468/topics/920187?page=17#13660956)**:*
> Hi, is it possible to add fan-made BGEs in TUO. The BGEs I want to try out are:
>
> Acid: Corrosive now does poison damage in addition to the corrosive
> Copy: At the start of the turn, mimic will copy a random opponents skill, including armor, pierce etc.
> Seize: Strike will now target both assault and structures at the same time.
This is not official, but there is a "bges.txt" file in the TUO\data folder. Back it up then try playing with it and see what happens.
|
|
|
metadata
I know about the "bges.txt" file.
Question is: What do I have to do to implement the BGEs. It isn't like you can just type in the BGEs you just came up with and sim it in the TUO. As I see, its only useful for when you want to sim multiple BGEs at one time. The BGEs that I suggested goes beyond its capability for now, unless the creator of the sim adds the BGEs as an additional option to the sim together with Iron Will and Devour amongst other things.
|
|
|
metadata
> *Originally posted by **[lafl951159](/forums/2468/topics/920187?page=17#13660956)**:*
> Hi, is it possible to add fan-made BGEs in TUO. The BGEs I want to try out are:
>
> Acid: Corrosive now does poison damage in addition to the corrosive
> Copy: At the start of the turn, mimic will copy a random opponents skill, including armor, pierce etc.
> Seize: Strike will now target both assault and structures at the same time.
Without changing the code of TUO it is impossible. All the logic is hardcoded inside. And, I am afraid, TUO maintainer has no time and interest to implement just fun things.
So the only way to do that is to use set of regular skills to kind of emulate some ideas. But it may require changing skill sets of the cards or introdicing new ones.
For example, to make strike target both asaults and structures - you have to update all xmls adding forth Siege skill to all сards with Strike. Doing that by hands - quite a hard task, only coding skills could help here to simplify the process.
|