|
|
#1 |
|
Swordsman
Join Date: Apr 2008
Posts: 455
![]() |
[3.4-RC] Minor glitch: mimics reveal themselves when running
When you see a pile of copper coins and you run towards it, you will stop next to it if it's a real pile of cash. If it's a mimic, you will stop 2 squares away from it...
This is caused by the following code in pathfind.c: Code:
/* Look at every soon to be newly adjacent square. */
for (i = -max; i <= max; i++)
{
/* New direction */
new_dir = cycle[chome[prev_dir] + i];
/* New location */
row = py + ddy[prev_dir] + ddy[new_dir];
col = px + ddx[prev_dir] + ddx[new_dir];
/* HACK: Ugh. Sometimes we come up with illegal bounds. This will
* treat the symptom but not the disease. */
if (row >= DUNGEON_HGT || col >= DUNGEON_WID) continue;
if (row < 0 || col < 0) continue;
/* Visible monsters abort running */
if (cave->m_idx[row][col] > 0)
{
monster_type *m_ptr = cave_monster_at(cave, row, col);
/* Visible monster */
if (m_ptr->ml) return (TRUE);
}
}
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant! |
|
|
|
|
|
#2 |
|
Swordsman
Join Date: Apr 2008
Posts: 455
![]() |
Another similar problem: when mimics appear/disappear from view and either disturb_move or disturb_near is on, the player gets disturbed. He should not get disturbed until the mimic reveals itself.
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant! |
|
|
|
|
|
#3 |
|
Angband Devteam member
|
Thanks for these - if there isn't an open ticket for mimic buglets, please could you create one?
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
|
|
|
|
|
#4 |
|
Swordsman
Join Date: Apr 2008
Posts: 455
![]() |
Didn't see a ticket for these. Opened as #1667.
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant! |
|
|
|
|
|
#5 |
|
Angband Devteam member
|
Thank you - we won't forget to fix them, eventually!
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Minor glitch with item selection | PowerWyrm | Development | 2 | February 10, 2012 16:26 |
| A thought about mimics | Max Stats | Vanilla | 3 | April 7, 2011 00:25 |
| Bug: 3.2.0 movement glitch (minor) | Chud | Vanilla | 3 | March 3, 2011 21:35 |
| Feature request: Detect Invisible > Reveal Monsters | Marble Dice | Vanilla | 7 | December 16, 2009 22:15 |
| Minor display glitch in 3.0.9 | Dragonboneman | Vanilla | 17 | October 26, 2007 18:04 |