Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004734 [DCSS] Bug Report feature always 2011-10-13 07:10 2013-08-18 20:17
Reporter reid View Status public  
Assigned To SamB
Priority normal Resolution done Local or Remote Local
Status resolved   Operating System Linux
Projection none   Console or Tiles Console
ETA none Fixed in Branch 0.13 ancient branch Product Branch 0.10 ancient branch
  Product Version 0.10-a0-1263-gc6be924
Summary 0004734: wizmode: moving onto a "trap" created with &( undiscovered_trap causes a crash
Description
ASSERT(t != NON_ENTITY && t < MAX_TRAPS) in 'traps.cc' at line 1114 failed.


I can only trigger this with &( undiscovered_trap in wizmode, so this is perhaps a case of "don't do that". But it would be nice if &( undiscovered_trap did actually create a working undiscovered trap, rather than a crash-causing semi-trap.
Steps To Reproduce
Additional Information
Tags wizard mode
Attached Files ? file icon 0001-Make-call-T-instead-when-invoked-for-trap-feature.patch [^] (3,909 bytes) 2013-08-17 06:13 [Show Content]

- Relationships

-  Notes
(0015205)
reid (reporter)
2011-10-13 07:51

Oh, there's a separate &T command to create a trap. So I guess the only feature request is that &( undiscovered_trap do nothing, or tell the user about &T, or do "&T any trap", rather than corrupt the level in some way.
(0015397)
KiloByte (manager)
2011-10-21 11:37

"create feature" already special-cases a number of features, it might call &T there as well.
(0023774)
chris (updater)
2013-08-17 06:16

Uploaded a something.
(0023787)
neil (administrator)
2013-08-18 20:16

Chris's patch is applied in trunk (0.13-a0-2722-g24cb661), thanks! It's still not perfect: if you do &(web it will ask you what kind of trap to create, even though you already told it.

- Issue History
Date Modified Username Field Change
2011-10-13 07:10 reid New Issue
2011-10-13 07:51 reid Note Added: 0015205
2011-10-21 02:20 SamB Tag Attached: wizard mode
2011-10-21 02:20 SamB Status new => assigned
2011-10-21 02:20 SamB Assigned To => SamB
2011-10-21 11:37 KiloByte Note Added: 0015397
2013-04-13 03:34 SamB Status assigned => confirmed
2013-08-17 06:13 chris File Added: 0001-Make-call-T-instead-when-invoked-for-trap-feature.patch
2013-08-17 06:16 chris Note Added: 0023774
2013-08-18 20:16 neil Note Added: 0023787
2013-08-18 20:17 neil Status confirmed => resolved
2013-08-18 20:17 neil Fixed in Branch => 0.13 development branch
2013-08-18 20:17 neil Resolution open => done


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker