It is currently 19 Jul 2025, 00:53
   
Text Size

Bug reports

Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins

Re: Bug reports

Postby Lodici » 06 Feb 2014, 12:13

muaddib wrote:exec java -Xms256M -Xmx256M -jar Magarena.exe disableLogViewer
Sorry, I work in Windows but that looks like what I would do. You will know if it has worked since the game log will be completely blank (including no titlebar).

You might also want to try setting the -Xmx argument to -Xmx512M.
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Bug reports

Postby ShawnieBoy » 06 Feb 2014, 19:36

Created Insight and discovered that the AI then really dislikes playing green cards, to the point of preferring to discard a game-winning Cytospawn Shambler. I'm not sure how the AI scores making your opponent draw.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Bug reports

Postby Lodici » 07 Feb 2014, 06:05

muaddib wrote:exec java -Xms256M -Xmx256M -jar Magarena.exe disableLogViewer
I have added memory utilization stats to the About dialog (https://buildhive.cloudbees.com/job/mel ... arena/712/). When Magarena starts becoming sluggish please can you open the About dialog by clicking on the wizard icon in any options menu screen and let me know the figures displayed.
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Bug reports

Postby TheNyGuy » 10 Feb 2014, 04:58

Thanks for an excellent UI and AI!

Hitting spacebar to pass is not recognized unless I first go to the Options/Settings menu by clicking on the Black and White book icon. Once I close the pop-up window, the spacebar is recognized. (Windows 8.1)
TheNyGuy
 
Posts: 24
Joined: 07 Apr 2013, 22:19
Has thanked: 2 times
Been thanked: 0 time

Re: Bug reports

Postby Lodici » 10 Feb 2014, 12:11

TheNyGuy wrote:Thanks for an excellent UI and AI!

Hitting spacebar to pass is not recognized unless I first go to the Options/Settings menu by clicking on the Black and White book icon. Once I close the pop-up window, the spacebar is recognized. (Windows 8.1)
Thanks - tracking at http://code.google.com/p/magarena/issues/detail?id=481.
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Bug reports

Postby hong yie » 15 Feb 2014, 14:07

Ai may choose "No" when playing "Farhaven Elf".
While in most cases, more lands should be better, need to fix the heuristic search, i think. :)

when i click undo & play it again, the Ai might change its decision to search. what cause it choose yes / no ?

this Ai bug may cause decks using "search land" ability lost its strength when played in "firemind.ch"
User avatar
hong yie
Programmer
 
Posts: 216
Joined: 10 Mar 2013, 06:44
Location: Jakarta
Has thanked: 75 times
Been thanked: 9 times

Re: Bug reports

Postby ShawnieBoy » 15 Feb 2014, 15:12

I've noticed this occasionally with Solemn Simulacrum too - A MagicSimpleMayChoice.SEARCH_LAND would fix it, unless you can assign defaults to MagicMayChoice?
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Bug reports

Postby hong yie » 16 Feb 2014, 05:54

ShawnieBoy wrote:I've noticed this occasionally with Solemn Simulacrum too - A MagicSimpleMayChoice.SEARCH_LAND would fix it, unless you can assign defaults to MagicMayChoice?
is this mean we need to change the "timing" property in the card script?
i think putting "yes" as default value is a good way to fix it, as long as nothing in the card script is effected.
User avatar
hong yie
Programmer
 
Posts: 216
Joined: 10 Mar 2013, 06:44
Location: Jakarta
Has thanked: 75 times
Been thanked: 9 times

Re: Bug reports

Postby hong yie » 16 Feb 2014, 13:49

i found a crash.
don't understand what happened here.
Attachments
crash.png
crash.log
(1.4 KiB) Downloaded 212 times
User avatar
hong yie
Programmer
 
Posts: 216
Joined: 10 Mar 2013, 06:44
Location: Jakarta
Has thanked: 75 times
Been thanked: 9 times

Re: Bug reports

Postby Lodici » 16 Feb 2014, 14:10

hong yie wrote:i found a crash.
don't understand what happened here.
The jvm ran out of memory. Assuming you are using Windows, in the same folder as magarena.exe, create a new text file and name it "Magarena.l4j.ini". Open the file in notepad, add "-Xmx512m" and save. This will increase the memory available to the jvm from 256M to 512M. You can check this in the latest 1.47 snapshot build by clicking on the wizard image to open the About dialog which now displays memory usage.
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Bug reports

Postby hong yie » 17 Feb 2014, 01:39

Lodici wrote:The jvm ran out of memory. Assuming you are using Windows, in the same folder as magarena.exe, create a new text file and name it "Magarena.l4j.ini". Open the file in notepad, add "-Xmx512m" and save. This will increase the memory available to the jvm from 256M to 512M. You can check this in the latest 1.47 snapshot build by clicking on the wizard image to open the About dialog which now displays memory usage.
This update is available in next version?
if its already set for next version, i'll consider it solved then.
i'm sure all players would like to have more stable Magarena and most of us have more than 2GB RAM in their system already, it should be set as default (i think). :)
User avatar
hong yie
Programmer
 
Posts: 216
Joined: 10 Mar 2013, 06:44
Location: Jakarta
Has thanked: 75 times
Been thanked: 9 times

Re: Bug reports

Postby Lodici » 18 Feb 2014, 00:01

hong yie wrote:This update is available in next version?
No, the INI fix is something you have to do manually and this only applies to Windows. I agree the default 256M is too low but to set the default "-Xmx" consistently across all platforms will require an update to the central CI build process I think. Which means more work for @melvin. :)
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Bug reports

Postby ShawnieBoy » 18 Feb 2014, 01:05

Group hug for Melvin :)
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Re: Bug reports

Postby melvin » 18 Feb 2014, 01:46

Increased maximum heap size from 256M to 512M, https://code.google.com/p/magarena/sour ... ae15e698db
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

Re: Bug reports

Postby muaddib » 18 Feb 2014, 09:47

Leutenant Kirtar didn't sacrificed.
Attachments
scr5.png
User avatar
muaddib
Tester
 
Posts: 118
Joined: 03 Mar 2011, 08:37
Location: Russia
Has thanked: 0 time
Been thanked: 5 times

PreviousNext

Return to Magarena

Who is online

Users browsing this forum: No registered users and 0 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 0 guests

Login Form