mac osx: double cursor/mouse sensitivity

The worst monsters in the Hearthlands warp the fabric of space and time...

mac osx: double cursor/mouse sensitivity

Postby _Gunnar » Thu Dec 10, 2015 4:42 pm

Great job on fixing the movement bug on macs with java 8!
loftar wrote:
gummi wrote:It's perfectly playable now! Woot. <3

Well, the double cursors and stuff at least seems like a different bug, so with your verification I'll consider this one solved. Thanks for verifying it!

However there is a weird problem where the new client doesn't seem to inherit the right mouse sensitivity settings. You can get rid of the double cursor by clicking on the title bar of the client it seems, but the sensitivity problem remains, and makes controlling your character very sluggish. In addition the haven cursor "lags" behind the actual position of the mouse cursor before catching up a fraction of a second later, I'm wondering if it is something to do with mouse acceleration and apples terrible mouse drivers?
Image
User avatar
_Gunnar
 
Posts: 1430
Joined: Thu Dec 22, 2011 1:15 pm

Re: mac osx: double cursor/mouse sensitivity

Postby romovs » Thu Dec 10, 2015 5:10 pm

I had a similar lagging cursor issue on Linux too.
Apparently AWT implementation supports only 2 colors for hardware cursors and as the result the client falls back to software rendering.
Could be fixed by forcing hardware cursor in the client. It will produce ugly bi-color in game cursors but at least should move normally.
Perhaps same underlying reason on Mac OS X as well?
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: mac osx: double cursor/mouse sensitivity

Postby loftar » Thu Dec 10, 2015 5:22 pm

Yeah, software rendering of the mouse cursor is a pain; it naturally does make the mouse lag after the "real" cursor, since the software rendered cursor can only react to the real cursor already having been moved. It's also such bullshit that AWT can only present two-color cursors on X11, since X11 has supported true-color cursors since forever by now, but it is what it is. That said, though, the client does currently add a bit of unnecessary input-lag as well due to it buffering a frame or two too many, which I aim to remedy.

I don't know what's up with OSX, though. I mean, even if the ability to display custom cursors is limited, that doesn't explain why it draws the default cursor even though the client has told it not to.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: mac osx: double cursor/mouse sensitivity

Postby _Gunnar » Thu Dec 10, 2015 6:30 pm

romovs wrote:I had a similar lagging cursor issue on Linux too.
Apparently AWT implementation supports only 2 colors for hardware cursors and as the result the client falls back to software rendering.
Could be fixed by forcing hardware cursor in the client. It will produce ugly bi-color in game cursors but at least should move normally.
Perhaps same underlying reason on Mac OS X as well?

Hi romovs, is this an option in your client somewhere that I'm missing?
Image
User avatar
_Gunnar
 
Posts: 1430
Joined: Thu Dec 22, 2011 1:15 pm

Re: mac osx: double cursor/mouse sensitivity

Postby romovs » Thu Dec 10, 2015 6:35 pm

_Gunnar wrote:Hi romovs, is this an option in your client somewhere that I'm missing?

Command line switch '-c'
Code: Select all
java -Xms1024m -Xmx1024m -jar hafen.jar -c -U http://game.havenandhearth.com/hres/ game.havenandhearth.com
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: mac osx: double cursor/mouse sensitivity

Postby _Gunnar » Thu Dec 10, 2015 7:54 pm

romovs wrote:
_Gunnar wrote:Hi romovs, is this an option in your client somewhere that I'm missing?

Command line switch '-c'
Code: Select all
java -Xms1024m -Xmx1024m -jar hafen.jar -c -U http://game.havenandhearth.com/hres/ game.havenandhearth.com


Thanks man, will try it
Edit: works perfectly, also now don't have the double cursor. There is another issue in the the FPS using your java 8 client is much lower than the java 6 one - I get 60 in a house with java 6 version but only 30 with the java 8 one. Will also write this in your thread.
Image
User avatar
_Gunnar
 
Posts: 1430
Joined: Thu Dec 22, 2011 1:15 pm


Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 27 guests