![]() |
#1 |
Prophet
Join Date: Apr 2008
Posts: 2,955
![]() |
Some glitches encountered while porting new features to my variant
1) Variable dungeon size (potential problem -- feature currently disabled in the source)
For my variant, I removed the line in cave_gen() that forces dungeon size to max (size_percent = 100) and used the admin character to generate a lot of cave levels. After 1000 levels or so, the code triggered a failed assertion in try_door(). This is caused by tunnels being generated outside of the cave bounds, due to calls to in_bounds_fully() instead of cave_in_bounds_fully() 2) Monster recall Some colors for monster spells have not been updated after the change regarding the new protections: plasma, force... still refer to sound resistance. 3) Monster races With the new parsing system, monster races that are not defined in monster.txt get an empty entry in r_info. Some functions use the "name" or "text" fields (pointers) without checking that they're not NULL. This could lead to potential crashes.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#2 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
Quote:
Just to warn you, that the 3.2 code will generate sparser levels, in part due to a bug I found. I'm fixing a bunch of issues and will be checking in a new version to staging (I'll message you when that happens) and you may want to grab a newer version. Or you can just wait until 3.3 (hopefully in July) and look at it then. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
small glitches on rephial.org | fph | Vanilla | 2 | February 2, 2010 18:28 |
Porting Angband to Flash 10 | andrewdoull | Vanilla | 0 | November 23, 2008 06:04 |
Looking for variant with these features | CJNyfalt | Variants | 6 | September 16, 2008 19:27 |
Porting questions (80 column limit and terminals) | abszero | Vanilla | 15 | April 11, 2008 09:26 |
Porting Angband to Facebook? | NorthernFalcon | Vanilla | 2 | January 22, 2008 08:37 |