Highlighted tile can "hesitate" between two tiles
issueid=3499 12-19-2014 10:09 PM
Ancient Member
Number of reported issues by Al-Khwarizmi: 57
Highlighted tile can "hesitate" between two tiles

OK, this bug is very visual but somewhat hard to describe in text, let's see what can I do with my non-native English...

Set the game to tiled mode. Place the cursor pointing to a tile, the tile will be highlighted with four golden arrows. Now move the cursor very slowly towards an adjacent tile.

If you do it right, there will be a point in this trajectory where the golden arrows "hesitate" between the two tiles, i.e., they repeatedly move very fast from one tile to another, creating a quite unpleasant effect. Although I mention the slow movement as an easy way to reproduce the bug, this can be triggered randomly during a game just from placing the cursor in the wrong place.

Note that I have observed the bug both in full screen and windowed mode, but at least in my machine it's triggered more easily in full screen (maybe because it has more resolution, the window is too small to locate the precise points that trigger the bug?), so I recommend full screen to reproduce.
Issue Details
Issue Number 3499
Project ADOM (Ancient Domains Of Mystery)
Category All with NotEye
Status Fixed
Priority 5 - Medium
Affected Version ADOM r53
Fixed Version ADOM r60
Milestone Initial Steam Release
Users able to reproduce bug 4
Users unable to reproduce bug 0
Assigned Users Zeno
Tags (none)

12-20-2014 12:20 PM
jt jt is offline
I've observed this effect as well, it's probably some kind of rounding error.

08-11-2015 08:11 PM
The Creator
We fail to reproduce this with R59.

08-12-2015 09:17 AM
Senior Member
I did have this happen to me on daily basis in R59 though. I don't use mouse in ADOM at all and despite that the bug happened rather often. When the mouse was moved, the bug stopped but eventually started again. Might had something to do with me often using alt+tab to switch to different things on my PC while the game was running. I'd love to give a more detailed report on this, but after a while I kind of got used to it and I stopped noticing it. I'll try to pay attention when it happens next.

I'm playing in full screen mode, OS is Win 8.1, desktop resolution is 1440x900 (NotEye set to preserve it).

08-12-2015 09:24 AM
ixi ixi is offline
Junior Member
Happens for me in R59 as well. In fullscreen mode. My resolution is 1366x768.

08-12-2015 08:11 PM
Senior Member
OK, I observed this bug for a bit and here's what I could figure out:

http://i.imgur.com/1DsMrQH.png - admire my mad Paint skills. I wanted to grab a screenshot with NotEye, but it resulted in hiding the gauntlet cursor AND moving the yellow arrows cursor somewhere else for some reason, so I had to make this image instead.

So, whenever this bug happens, the game behaves as if it can't decide where yellow arrows should be, making them jump from one tile to adjacent and back in rapid, but not constant pace. However when you move your mouse (moving it several pixels also stops the jumping of the yellow arrows), it turns out the now visible gauntlet cursor is actually on a different tile, as pictured. When this bug happens and you try to move your mouse slowly, you'll see that the game incorrectly detects on where exactly gauntlet cursor is, the possible difference being anywhere from a few pixels to as much as the whole cursor size. So, it's possible to have one cursor pointing to one tile and the other cursor highlighting another tile. If you get the gauntlet to a position messing up the detection (either to where you started or a new one), the jumping yellow arrows part of the bug will reactivate.

You can get rid of this problem by moving the gauntlet cursor to the edge of the screen. If, as pictured, the game thinks the gauntlet cursor is higher than it really is, you need to move your mouse to the top edge of the screen. When the game thinks the gauntlet cursor is more to the left than it really is (bug can happen horizontally or vertically, never had it happen both at once yet though), you need to move your mouse to the left edge etc. This fixes the cursor position detection.

To make the bug appear again you need to alt+tab from and back to the game and then move your PC enough to make the screen scroll to adjust to PC's position.

I haven't been testing this extensively, but it seems I can reproduce this rather consistently after it appears for the first time.

08-19-2015 08:19 PM
Ancient Member
Thanks Scooter Fox, this was very helpful. Fixed for r60.

(The problem was because NotEye: (1) auto-scrolled the map, (2) computed cursor location based on the mouse position and map position, (3) fixed the map location so that it does not get scrolled off the screen, (4) drawn the map. So, when auto-scrolling required a fix (which happened on large screens / when the PC was close to the border), cursor location was still based on unfixed scrolling. Now fixing also happens just after auto-scrolling, not just before drawing the map, which fixes the problem.)

+ Reply