| MantisBT - VCMI | 
| View Issue Details | 
| 
 | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0001870 | VCMI | Mechanics - Adventure Map | public | 2014-08-14 07:46 | 2022-04-12 11:04 | 
| 
 | 
| Reporter | Kantor |  | 
| Assigned To | SXX |  | 
| Priority | normal | Severity | minor | Reproducibility | sometimes | 
| Status | closed | Resolution | fixed |  | 
| Platform |  | OS |  | OS Version |  | 
| Product Version |  |  | 
| Target Version |  | Fixed in Version | 0.98f |  | 
| 
 | 
| Summary | 0001870: Sometimes creatures can spawn on unreachable area | 
| Description | This happened to me only at week of some creature. Check screenshot. VCMI version: 7-08-2014
 | 
| Steps To Reproduce |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to | 0001859 | closed | beegee | Crash when rendering "unknown pattern" in undergroud |  | has duplicate | 0002333 | closed | SXX | Wandering creatures spawn in the Void (underground) |  | has duplicate | 0002150 | closed | SXX | month monster - there being in places where they should not be | 
 | 
| Attached Files |  Creature spawned on unreachable area.png (161,944) 2014-08-14 07:46 https://bugs.vcmi.eu/file_download.php?file_id=1883&type=bug
 
  
 | 
| 
 | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2014-08-14 07:46 | Kantor | New Issue |  | 
| 2014-08-14 07:46 | Kantor | File Added: Creature spawned on unreachable area.png |  | 
| 2014-08-14 10:03 | Warmonger | Relationship added | related to 0001859 | 
| 2014-08-14 10:03 | Warmonger | Note Added: 0004915 |  | 
| 2014-08-15 19:42 | Ivan | Note Added: 0004917 |  | 
| 2014-08-18 04:50 | Warmonger | Note Added: 0004921 |  | 
| 2014-08-18 04:51 | Warmonger | Note Edited: 0004921 | bug_revision_view_page.php?bugnote_id=4921#r2618 | 
| 2014-08-18 09:08 | Ivan | Note Added: 0004925 |  | 
| 2014-09-23 16:37 | Ivan | Assigned To | => Ivan | 
| 2014-09-23 16:37 | Ivan | Status | new => assigned | 
| 2015-11-25 06:10 | SXX | Relationship added | has duplicate 0002333 | 
| 2015-11-25 06:14 | SXX | Assigned To | Ivan => SXX | 
| 2015-11-25 06:19 | SXX | Note Added: 0006108 |  | 
| 2015-11-25 06:19 | SXX | Status | assigned => resolved | 
| 2015-11-25 06:19 | SXX | Fixed in Version | => 0.98f | 
| 2015-11-25 06:19 | SXX | Resolution | open => fixed | 
| 2015-11-25 07:28 | SXX | Relationship added | has duplicate 0002150 | 
| 2016-09-08 14:34 | SXX | Note Added: 0006632 |  | 
| 2022-04-12 11:04 | Povelitel | Status | resolved => closed | 
	| Notes | 
	| 
 | 
	|  | 
		
			| There must be something about rendering underground that I don't know. |  | 
	| 
 | 
	| 
		
			| (0004917) |  
			| Ivan |  
			| 2014-08-15 19:42 |  | 
		
			| Maybe RMG doesn't set TerrainTile::blocked property? I don't see any references to it in RMG. |  | 
	| 
 | 
	| 
		
			| (0004921) |  
			| Warmonger |  
			| 2014-08-18 04:50 (edited on: 2014-08-18 04:51)
 |  | 
		
			| Yes of course, but it doesn't explain creatures spawning on regular maps. I simply don't know which underground tiles should be blocked, which should be rock and which not and what is the algorithm for pattern placement and rendering. 
 
 |  | 
	| 
 | 
	| 
		
			| (0004925) |  
			| Ivan |  
			| 2014-08-18 09:08 |  | 
		
			| Ah, I thought that this is specific to RMG. 
 Pathfinder seems to be working correctly here - it simply check for rock terrain. So for regular maps such test should work too - just add check for it in CPrivilagedInfoCallback::getFreeTiles()
 |  | 
	| 
 | 
	| 
		
			| (0006108) |  
			| SXX |  
			| 2015-11-25 06:19 |  |  | 
	| 
 | 
	| 
		
			| (0006632) |  
			| SXX |  
			| 2016-09-08 14:34 |  | 
		
			| BTW this code need more fixes since it's can place creatures on top of unreachable tiles / on top of blocking static objects. |  |