Bugzilla – Full Text Bug Listing |
Summary: | Cannot click to move or interact with objects on MacOS 10.7.4 with GeForce 7300GT card | ||
---|---|---|---|
Product: | Salem | Reporter: | Andorn <M8R-vog5dj> |
Component: | Client | Assignee: | loftar <fredrik> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | --- | ||
Version: | unspecified | ||
Hardware: | Macintosh | ||
OS: | Mac OS | ||
Attachments: | MapView patch for image output |
Description
Andorn
2012-07-12 00:36:42 CEST
It's a bit weird, though. Even if it gets the coordinates wrong, it shouldn't mean that no hit whatever is detected (since all colors are valid). What values are you, in fact, getting in the various phases? I'm getting tile hit color values outside of the valid [0 - 25) range. Stand in the new player area, after getting a body. With the camera zoomed in to about 45 degrees, Click the top center of the clothes chest. The player does not move. Zoom the camera out all the way out to 90 degrees, looking straight down. Clock the top center of the clothes chest, same spot. The player moves to the chest. I added some debugging statements to the code. In the log below, the first mousedown happens with the camera at 45 deg, the second with the camera at 90 deg: MapView mousedown button 1 Running HitTest colorAtPixel= java.awt.Color[r=144,g=0,b=0] hit mesh=haven.MapMesh@1510e56 tile hitcolor = java.awt.Color[r=74,g=8,b=0] coord = (73, 7)rl.limit.sz = (25, 25) colorAtPixel= java.awt.Color[r=240,g=240,b=0] nohit MapView mousedown button 1 Running HitTest colorAtPixel= java.awt.Color[r=144,g=0,b=0] hit mesh=haven.MapMesh@1510e56 tile hitcolor = java.awt.Color[r=3,g=18,b=0] coord = (2, 17)rl.limit.sz = (25, 25) pixel hitcolor = java.awt.Color[r=110,g=70,b=0] colorAtPixel= java.awt.Color[r=240,g=240,b=0] Let me know if you want a dump of the code that generated this output. Since you know how to modify the client, you may want to use the new getimage() function of GOut to capture a screenshot of the image output when the click-test scene has been drawn, to see what it looks like. Created attachment 5 [details]
MapView patch for image output
Example patch for MapView.java for using getimage() to help with debugging.
|