jonkogan / nullpomino

Automatically exported from code.google.com/p/nullpomino
0 stars 0 forks source link

airankstool crash on start #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ai ranks tool crash on start if config file for it do not exist.
also it doesn't write any file for me, but i may be doing something wrong.

Original issue reported on code.google.com by w.kowa...@gmail.com on 6 Jan 2011 at 9:39

GoogleCodeExporter commented 8 years ago
Thanks for the report wojtek.
I think I fixed it in r644
Also be aware that you need to user the VM parameter -Xmx512m as the program 
will need to load 2*160m in memory.
I dont understand why yet but if you ommit this parameter then the generation 
silently fails.

Original comment by olivier....@gmail.com on 8 Jan 2011 at 11:06

GoogleCodeExporter commented 8 years ago
yes, thanks, i added this parameter and it works. btw why ranks ai stop playing 
after few dozens of pieces?

console output says:
04:57:12,600 [AI_0] INFO  RanksAI: RanksAI: Thread end

Original comment by w.kowa...@gmail.com on 10 Jan 2011 at 3:58

GoogleCodeExporter commented 8 years ago
another thing is that ranks ai will crash nullpomino if started from current 
bat/exe, because ai ranks refers ranksaitool for some filename/path constants 
but there is no swing-layout in class path. so either swing-layout needs to be 
added to all startup script for nullpomino, or filename/path constants should 
be moved to other file.

Original comment by w.kowa...@gmail.com on 10 Jan 2011 at 9:27

GoogleCodeExporter commented 8 years ago
crashes are fixed, i will open new issue for thread end problem.

Original comment by w.kowa...@gmail.com on 21 Jan 2011 at 3:35