Carcassonne Central

Carc Central Community => Online Games and Competitions => JCloisterZone FAQ, Suggestions & Bug Reports => Topic started by: forumisto on February 05, 2018, 01:21:18 AM

Title: 4.2.1 problems with Windows 7
Post by: forumisto on February 05, 2018, 01:21:18 AM
I write: java -jar JCloisterZone

The result is:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jcloisterzone/ui/JCloisterZone : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)


> java -version

java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)


The Windows 7 version is Proffesional 64 bits
Title: Re: 4.2.1 problems with Windows 7
Post by: Sinscerly on February 05, 2018, 01:29:10 AM
Hi Forumisto,

It's working on my computer. But I have Windows 10 with Java 8
Title: Re: 4.2.1 problems with Windows 7
Post by: farin on February 05, 2018, 05:44:45 AM
Java 8 is required (since 4.0)
Title: Re: 4.2.1 problems with Windows 7
Post by: Decar on February 05, 2018, 05:45:16 AM
beat me to it  :(y)
Title: Re: 4.2.1 problems with Windows 7
Post by: forumisto on February 05, 2018, 10:18:11 AM
hello

when I select a IA player, the German Cloisters extension dissapears and I can not select it to play.
Nevertheless, if I select German Cloisters extension first and then select an IA player, when the game starts, the German Cloisters tiles appear in the game.
Title: Re: 4.2.1 problems with Windows 7
Post by: farin on February 05, 2018, 12:27:10 PM
German monasteries is still there (last expansion in minor expansion list, just before minis)
Title: Re: 4.2.1 problems with Windows 7
Post by: forumisto on February 06, 2018, 11:27:04 AM
Hello again

In image 1 there are only the local player, after I add the IA player (Adda) then German Cloisters (Los monasterios germanos) dissapear (Image 2)
Title: Re: 4.2.1 problems with Windows 7
Post by: Decar on February 07, 2018, 12:16:12 AM
Some expansions are not available for AI players.  This is because they have not been specifically coded to handle the expansion appropriately.  As you can see several of the expansions have been disabled.  In earlier releases these were greyed out.
Title: Re: 4.2.1 problems with Windows 7
Post by: forumisto on February 07, 2018, 12:19:43 PM
Some expansions are not available for AI players.  This is because they have not been specifically coded to handle the expansion appropriately.  As you can see several of the expansions have been disabled.  In earlier releases these were greyed out.

But if I select German Cloisters (GC) and then select an IA player, the GC checkbox dessapears but in the game there are GC tiles
Title: Re: 4.2.1 problems with Windows 7
Post by: farin on February 08, 2018, 01:06:20 PM
forumisto: that is bug, i am going to fix it
Title: Re: 4.2.1 problems with Windows 7
Post by: forumisto on February 09, 2018, 11:44:16 AM
and, which the reason to remove GC for IA players? I have observed that IA plays well.
Title: Re: 4.2.1 problems with Windows 7
Post by: Decar on February 10, 2018, 09:33:35 AM
if the AI is not written, it won't be playing well based on strategy, it's probably scoring it like a cloister, but not getting it's meeple back.
Title: Re: 4.2.1 problems with Windows 7
Post by: farin on February 11, 2018, 02:48:12 PM
it's possible that AI can play unsupported expansion somehow. Even it can eg place abbot (but now sure if it really do], because it simply tries to evaluate every move and choose best position) But if it not here it means it is completely untested (it can be slow, cause crashed etc. and I would like to avoid it)

It would be nice spent some time with AI, it's currently less maintained part of code. But AI is hard and return of spent time unsure.
I have some other points in short time list, than we will see.