06-03-2011, 03:35 AM | #201 |
Pledge
Join Date: Nov 2009
Location: Palermo, Sicily
Posts: 16
|
Reproduceable crash when I use the built in Mac trackpad witxh multi-touch.
The game will crash consistently each time I use two fingers and drag on the trackpad. This client was a new download from Realms Online for play on the Raven server within the last 30 days. Stack trace here: https://gist.github.com/1005825 Excluding this crash/using an external mouse, the game plays extremely well for me. |
06-05-2011, 09:14 PM | #202 | |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
Quote:
I'll have a look into it. Unfortunately I don't have any mac with trackpad with multi-touch so i'll have to guess :-/
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
|
06-05-2011, 09:17 PM | #203 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
crashes
Uploading a new client.
Please tell me if it keeps crashing.
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
06-06-2011, 01:14 AM | #204 |
Apprentice
Join Date: Nov 2007
Posts: 84
|
Bugfixes (Suggestions)
There are 2 related bugs and I think I've found the solution to them (running nm -m on the game executable basically confirms you're using the function in question).
Bug #1 Steps to reproduce: 1) Drag right mouse to turn character 2) Release right mouse while the mouse is still moving. Behavior: The cursor will "hang" on the screen for a moment, when it should actually begin moving smoothly. I did some sleuthing and it looks like you (Surak) are using the CGWarpMouseCursorPosition function from CoreGraphics to "halt" the mouse on-screen during the drag. If you look right below this function in CGRemoteOperations.h there's the following function: CGAssociateMouseAndMouseCursorPosition. If you call this and pass false when the drag starts, and true when the drag is over, it'll accomplish the same thing as using CGWarpMousePosition, but it won't overflow the event queue I've tested it on my own program (which happened to have the same bug) and it fixes the behavior Bug #2 Steps to reproduce: 1) While running drag the right mouse to turn your character 2) Turning may be VERY "choppy" Diagnosis: I'm pretty sure this problem will go away if you fix bug #1, because there won't be drag events getting dropped from CoreGraphic's event queue PS There's a 3rd bug; It looks like Regnum is expecting scroll events' deltaY to be in line numbers, but they're not. This causes scrolling to be really slow, and switching the quickbars to not work. If you multiply the NSEvent's deltaY by 16.0f (or some typical line height) it fixes the issue (confirmed fix with mach_inject)
__________________
Syrtis Ra: Plover : 50 Hunter || Plovercita : 38 Barb
Horus:Plover : 50 Marx || Hollyfeld : 50 Conj || Plovador: 50 Hunter |
06-06-2011, 02:51 AM | #205 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
Ok, I feld challenged (?)
@Plover: New version on AMUN, with your CGAssociateMouseAndMouseCursorPosition thingy. @PGLombardo: this version should handle your trackpad correctly. Please confirm.
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
06-06-2011, 03:21 AM | #206 | ||
Apprentice
Join Date: Nov 2007
Posts: 84
|
Quote:
Quote:
EDIT: Just noticed that scrolling is fixed after I clicked submit! Yay
__________________
Syrtis Ra: Plover : 50 Hunter || Plovercita : 38 Barb
Horus:Plover : 50 Marx || Hollyfeld : 50 Conj || Plovador: 50 Hunter Last edited by Plover; 06-06-2011 at 03:23 AM. Reason: noticed scrolling is fixed |
||
06-06-2011, 03:25 AM | #207 | |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
Quote:
I better go to bed! I'll keep trying tomorrow.
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
|
06-07-2011, 05:32 AM | #208 |
Pledge
Join Date: Mar 2010
Posts: 26
|
Barb crashes much more
for some reason playing my barb causes regnum to crash far more often (16 times yesterday) than my marks.
Here is latest crash log: http://pastebin.com/z0Tti78v Dave |
06-07-2011, 01:04 PM | #209 | |
Banned
Join Date: Dec 2009
Posts: 843
|
Quote:
|
|
06-07-2011, 11:13 PM | #210 |
Pledge
Join Date: Mar 2010
Posts: 26
|
in those 16 crashes I think I tried disabling various things - but I did it at runtime, rather than in config, so I'm not 100% sure.
Is that the recommended setting then? Dave |
|
|