Page 1 of 1

seeing what cards the ai has in its hand

PostPosted: 26 May 2018, 15:28
by muppet
These used to be visible if you wanted to see them. Is there an admin command I can use to see the ai's hand. It is useful for debugging cards and seeing what mad things it is doing.

e.g. currently looking at the mad plays with arcbound ravager and similar sacrifice permanents.

Re: seeing what cards the ai has in its hand

PostPosted: 27 May 2018, 00:48
by melvin
Trying clicking on the icon for AI's hand or pressing 'S'. The 'S' key is described in the README.txt file under Duel Screen.

Re: seeing what cards the ai has in its hand

PostPosted: 27 May 2018, 07:44
by muppet
yes that is how it used to work but now the cards are just grey backs.

Re: seeing what cards the ai has in its hand

PostPosted: 27 May 2018, 09:28
by melvin
I can confirm that it only shows the card back. Earlier on I was trying it out in debug mode and it works.

Looks like it was changed in https://github.com/magarena/magarena/co ... ae4c0a36ed to work only in debug mode and a setting was supposed to be added to manually enable it (https://github.com/magarena/magarena/issues/217) but is not completed.

For now, you can need to enable debug mode to use this feature. Find the Magarena.jar and run it using
Code: Select all
java -Xms256M -Xmx512M -noverify -Ddebug=true -jar Magarena.jar

Re: seeing what cards the ai has in its hand

PostPosted: 27 May 2018, 09:31
by melvin
I have fixed this for the next version, thanks for the report.