Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old July 26, 2012, 10:45   #1
PowerWyrm
Swordsman
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 455
PowerWyrm is on a distinguished road
[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);			
		}
	}
Here, hidden mimics should not abort running...
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old July 26, 2012, 11:45   #2
PowerWyrm
Swordsman
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 455
PowerWyrm is on a distinguished road
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!
PowerWyrm is offline   Reply With Quote
Old July 26, 2012, 20:45   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,808
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
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
Magnate is offline   Reply With Quote
Old July 27, 2012, 12:08   #4
PowerWyrm
Swordsman
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 455
PowerWyrm is on a distinguished road
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!
PowerWyrm is offline   Reply With Quote
Old July 27, 2012, 16:08   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,808
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by PowerWyrm View Post
Didn't see a ticket for these. Opened as #1667.
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
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +1. The time now is 07:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.