seeing what cards the ai has in its hand
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
seeing what cards the ai has in its hand
by muppet » 26 May 2018, 15:28
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.
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
by melvin » 27 May 2018, 00:48
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.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: seeing what cards the ai has in its hand
by muppet » 27 May 2018, 07:44
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
by melvin » 27 May 2018, 09:28
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
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
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: seeing what cards the ai has in its hand
by melvin » 27 May 2018, 09:31
I have fixed this for the next version, thanks for the report.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 57 guests