Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old June 9, 2011, 12:36   #1
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,954
PowerWyrm is on a distinguished road
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 (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote

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
small glitches on 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

All times are GMT +1. The time now is 12:35.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.