Page 1 of 1

Mac New OS - High Sierra Issues

Posted: Wed Oct 18, 2017 2:31 am
by GeneralButtercup82
All Mac Users - I recently upgraded to High Sierra and when I try to load a game started under either High Sierra or Sierra it loads to the "enter your password" screen, as soon as I type a single key it jumps to "incorrect password"! Anyone else experiencing? Any possible fixes? Thanks.

Re: Mac New OS - High Sierra Issues

Posted: Wed Oct 18, 2017 11:12 am
by Itlnprd1
Buttercup I thought that it was only me, well I downgraded one Mac so I was able to play, remember I sent out the upgrade email?

Re: Mac New OS - High Sierra Issues

Posted: Wed Oct 18, 2017 8:33 pm
by Itlnprd1
Let me know if you find a fix, because I would prefer both my Macs on High Sierra.

Re: Mac New OS - High Sierra Issues

Posted: Thu Oct 19, 2017 11:02 pm
by pk867
Does Java need to be reinstalled?

Can you play a HotSeat game? What version of the game do you have?

I have not upgraded yet because I am the guy that handles Mac versions.

I do not want to hose my system until we get the final done.

Re: Mac New OS - High Sierra Issues

Posted: Sun Oct 22, 2017 2:41 pm
by VPaulus
I'm a Windows guy, but that sounds that it could be an administrator or permission issue. Are you logged in to the Mac as an administrator?

I'm not sure if this applies to the new High Sierra but follow these steps to ensure your program permissions are set to administrator levels:
1. Open System Preferences.
2. Select Users and Groups.
3. Make sure your user account has the Admin option beneath it.

If the issue persists, I suggest you to create a new administrator profile to see if a new admin account resolves the problem.
When you create a new administrator account, a separate Home folder is created so settings from another user account do not interfere with troubleshooting:

1. Click on the Apple menu and select System Preferences.
2. Click Users & Groups.
3. Click Add (+) below the list of accounts.
4. Choose Administrator from the New Account pop-up menu.
5. Enter a full name for the account.
Note: An account name is generated automatically. If you want to use a different account name, enter it now. After the account is created, you can’t change the account name.
6. Enter the account password in the Password and Verify fields, and then enter a hint to help you remember the password.
7. Click Create User.
8. Log in to the new Administrator account and retest the application you were having problems with.

Re: Mac New OS - High Sierra Issues

Posted: Wed Nov 08, 2017 10:45 pm
by baxteig
I've upgraded to High Sierra and getting the same problem - I tried your suggestion above and it didn't work. How was it resolved?

Re: Mac New OS - High Sierra Issues

Posted: Thu Nov 09, 2017 9:27 pm
by Peter Stauffenberg
Which GS version are you running?

What happens if you play hotseat? Does the game work over several turns? Or do you get problems With other dialog boxes as well? E. g. what happens if you try to save the game and want to type in a different file save game name?

What happens if you start a Vanilla CEAW PBEM game? Do you have the same problem there?

I know there is MAC specific code in the class files something like this ub chatDialog.class used for asking for password:

if (System.getProperty("os.name").compareTo("Mac OS X") != 0) // GS v4.07
SwingUtilities.convertPointToScreen(warWindowLocation,this.getParent());

This is done trying to find the operating system. Maybe we get false trying to check for the MAC OS Version because High Sierra will give a different response. Do you know if High Sierra is considered to be Mac OS X or not?

I'm a window guy so I know very little about MAC PC's.

Re: Mac New OS - High Sierra Issues

Posted: Thu Nov 09, 2017 9:41 pm
by Peter Stauffenberg
I just tried to add code to read the OS of my PC and it reported Windows Vista even though I'm running Windows 10. This is probably because the Java class files for CEAW are compiled With Java v1.4.2. At that time Windows 10 didn't exist.

So we might have to try out adding some code to read the Version for MAC users With different Versions including High Sierra to see what the code reports for that OS version. If it's the same as for the older MAC Versions.

We might need to have a volunteer with High Sierra installed who want to get GS v4.0 beta files where we can try out different code to understand what is going on. Anyone who want to get GS v4.0 early and help looking into this problem?

Re: Mac New OS - High Sierra Issues

Posted: Fri Nov 10, 2017 4:50 pm
by pk867
High Sierra is Mac OS X and the code correctly identifies the operating system as 10.13.1 (High Sierra)

Re: Mac New OS - High Sierra Issues

Posted: Sun Nov 12, 2017 7:05 pm
by baxteig
Hi,

Just back from London and catching up. I installed OS High Sierra and running GS V4.023. Current games not working as 'Invalid p/w' message comes up on entering one character of p/w. I'm not a techie, so need to go easy on me (!) but I'm happy to try out any suggestions.

Playing a new PBEM allows me to play first Axis move without a problem (no probs with setting p/w). First Allies move only allows one character p/w and in some cases then freezes.

Ian

Re: Mac New OS - High Sierra Issues fixed with v4.029

Posted: Mon Nov 20, 2017 12:18 am
by pk867
Hi All,

High Sierra is broken when it comes to PBEM games, You can still play HotSeat and against the AI,

but the mechanics for PBEM is broken concerning password creation and verification. Oracle would have to fix the NSEvents

for Java as it pertains to High Sierra only.

This has been fixed in CEAW-GS v4.00 final using automatic password feature not manual.

Re: Mac New OS - High Sierra Issues

Posted: Tue Nov 28, 2017 8:41 pm
by Peter Stauffenberg
We have added code that might work as a workaround for High Sierra players. We're trying that out in the closed beta.

The reason behind the problems seems to be the Java code getText() that will create an edit Box to receive input text. It's only used when creating a game name and a typing in passwords. The workaround is that we have allowed players to Select Automatic passwords, thus bypassing the need to ask for passwords. The code will read certain data from the user and have that as a password. The data read is different for each user so you can't login to Your opponent's turn.

We will try and see how the workaround works in the beta.

Re: Mac New OS - High Sierra Issues

Posted: Sun Dec 24, 2017 12:30 am
by yosefbenami
MAC-CEAW-GS v4.029 does not function very well on my MacBook Pro or iMac that run under High Sierra. My version is MacOS 10.13.2 Two problems that have appeared are these:

1. I cannot save a game in progress, though autosave does function. The game does not accept anything typed on the keyboard in the save game window. I had this happened before and found the solution was to change the version of JAVA on my Mac. That no longer seems to be a solution. This also happens with CEAW v4 and the original 2009 CEAW application and CNAW. I suspect that this a problem with JAVA's interaction with High Sierra. This problem does not occur on any of my older Macs, such as my old Macbook running MacOS 10.7.5. On my old MacBook CEAW v4.029 appears to run perfectly. It is also faster than under High Sierra. Under High Sierra, units move with a slight stutter.

2. It would be useful if some keys could be mapped, for example, on a laptop, it would be useful if the direction arrow keys, used for screen movement, can be mapped to the ‘AWSD’ keys as an option.

I hope that these problems can be fixed. I greatly appreciate the hard work done by all the volunteers that worked on this project in order to keep CEAW functionable on Macs. Great Job!

Re: Mac New OS - High Sierra Issues

Posted: Sun Dec 24, 2017 1:47 am
by pk867
Hi,

For CEAW-GS 4.029 to work if playing a PBEM game you can only use the Automatic password feature. High Sierra does not work with Java

and Apple will have to fix to allow manual passwords.

The manual has instructions about this as for the older versions you are out of luck. You can save HotSeat and AI games since they do not require a password.

link - http://www.slitherine.com/forum/viewtop ... 18&t=81322

When you say not function very well that is not specific enough. Do you mean the resolutions? You can have full screen for low (1024x768) and for High 1920x1080 if your Mc supports that resolution. If not you can run 1024x768 windowed and 1366x768 windowed (not full screen) because it is a non supported resolution except in windowed mode.

You need to have the deprecated java installed from Apple.

Re: Mac New OS - High Sierra Issues

Posted: Sun Dec 31, 2017 3:28 pm
by yosefbenami
Happy New Year!
I would like to know if anyone else using MacOS 10.13.2 (High Sierra) cannot get CEAW-GS to work properly. The problem is this: The input window for saving games does not work. Every time I try to input a file name, the dialog window disappears. The game can still be saved (although only once) because the name 'untitled' appears in the dialog box and the save works as long as I do not try to input any text or number. Nothing else can be entered in the dialog box.
I have tried everything I could think of, including removing the settings file and scenario files, reinstalling Java (Apple's latest install named '2017-001'), and reinstalling CEAW-GS v4.029. Everything else works fine except for the 'save game function'. Any keyboard input kicks me out of the dialog window every time.
I cannot say for certain if this is a new or old problem because until the recent upgrade, I have not used CEAW. However the game works fine on my older MacBook under MacOS 10.7.5 (Lion).
I would appreciate any suggestions to try though I suspect that this is an incompatibility problem between Java and High Sierra.

Re: Mac New OS - High Sierra Issues

Posted: Mon Jan 01, 2018 10:16 am
by Peter Stauffenberg
What happens if you rename the untitled file name after it was created by entering the file folder where the save games are stored?

I think the file save creation box uses the same Java function as when asking for password.

Re: Mac New OS - High Sierra Issues

Posted: Mon Jan 01, 2018 2:08 pm
by yosefbenami
STAFFENBERG: Good suggestion.

I can change the file name in the save games folder and retrieve it when loading a game using CEAW-GS but I still cannot save a game with other than the name 'untitled'. When I try to enter a new game save file name, the file name reverts to 'untitled'. And if I try to change the file name, I am kicked out of the dialog box. I also suspected a problem with the password function and tried by reinstalling CEAW-GS both with 'automatic' and 'manual' settings but did not see any effect either way.

Re: Mac New OS - High Sierra Issues

Posted: Thu Jan 04, 2018 2:01 am
by pk867
Hi You have to use the finder outside of the app (which is closed) and change the name.

You start an AI or HotSeat game. After moving, and completing your moves, click the Arrow to advance to the other side's turn. Then end the game.

Then use the finder to make a copy of the current ' * autosave' file. Rename the copy to what you want.

Then when you launch the app and Load either the Multiplayer or AI game and select the renamed file and it will open.

The key is advancing the turn to the next player then ending the game. If you try and rename before the file was created by the application then you have this problem.

So you can save the game at key points that you want.

This is the only workaround that will work because of the issue with High Sierra and naming passwords or game files for saving.