![]() |
#1 |
Adept
Join Date: Jun 2008
Location: Chicago
Posts: 105
![]() |
4.0.4 bugs
Well i just downloaded the new version onto my Windows 7 machine, copied over my 4.0.3 user directory, and found a repeatable crash bug my first trip back to town.
i was doing a bit of inventory management in town and went to drop a stack of staves of ID inscribed with what i thought was just !k!d!v (aka don't do something stupid) and it would crash the game every time i tried to drop 1 or more of them... Turns out when i looked closer i had a leading space in the inscription. re-inscribing correctly fixed the crash. error text is assertion failed! program: _ File: z-textblock.c line 115 expression: new_length >= 0 a zip file with the save file and a screenshot of the error is attached. Thomas Price aka The Bookworm |
![]() |
![]() |
![]() |
#2 |
Adept
Join Date: Jun 2008
Location: Chicago
Posts: 105
![]() |
lets try that attachment again this time paying attention to the file size limits and cropping the error message screencap
![]() Thomas Price aka The Bookworm |
![]() |
![]() |
![]() |
#3 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,317
Donated: $60
![]() ![]() |
Thanks for the savefile. Also, thanks for providing the ideal first bug - genuine bug, reproducible, gets the bug thread started, but not going really going to affect the playing of this version too much
![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: Apr 2008
Posts: 2,914
![]() |
Sorry, but I've found another bug while playing the PWMAngband comp character and I've managed to reproduced it with the Angband code.
First, get a spellcaster which wields a weapon that improves its primary stat (INT for a mage, WIS for a priest...). Then put in your inventory a weapon that does NOT improve its primary stat. Then inspect that weapon. After you get back to the main screen, the character will have its mana reduced... Looking at the code, this happens because inspecting something calls calc_bonuses() just the same way it calls it while truly updating the bonuses. And calc_bonuses() now calls calc_mana() which modifies max mana. The fix is then trivial, just add a parameter to calc_bonuses() that tells if the subfunctions should alter the player structure (update) or not (object info), and only alter it if that parameter is TRUE. calc_torch(): don't update the visuals, just calculate state->cur_light calc_mana(): don't update the mana, just calculate state->cumber_glove and state->cumber_armor
__________________
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! |
![]() |
![]() |
![]() |
#5 | |
Swordsman
Join Date: Aug 2015
Posts: 279
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#6 | |
Prophet
Join Date: Apr 2008
Posts: 2,914
![]() |
Quote:
__________________
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! |
|
![]() |
![]() |
![]() |
#7 |
Veteran
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 2,109
![]() |
A very minor bug. When you first encounter a monster, say a sleeping unique, target it and then use the 'l'ook command to figure out what the monster's vulnerabilities and dangers are, the "more" prompt appears in the middle of the title description line for the monster. If you 'l'ook again, the problem has resolved itself. Happens with each new monster encountered.
__________________
“We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.” ― Tom Stoppard, Rosencrantz and Guildenstern are Dead |
![]() |
![]() |
![]() |
#8 |
Veteran
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 2,109
![]() |
This one's not necessarily a bug, but I've never understood it. A drolem (a constructed dragon) fires a missile? @ receives the message, "The drolem fires a large arrow." How is it that a dragon, constructed though it may be, is firing a large arrow?
__________________
“We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.” ― Tom Stoppard, Rosencrantz and Guildenstern are Dead |
![]() |
![]() |
![]() |
#9 |
Prophet
Join Date: Dec 2009
Posts: 9,024
![]() |
It has a ballista in its mouth alongside the Zyklon-B dispensers.
|
![]() |
![]() |
![]() |
#10 | |
Veteran
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 2,109
![]() |
Quote:
![]()
__________________
“We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.” ― Tom Stoppard, Rosencrantz and Guildenstern are Dead |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
4.0.3 bugs | Nick | Vanilla | 86 | December 6, 2015 18:16 |
4.0.2 Bugs | Ingwe Ingweron | Vanilla | 205 | November 13, 2015 02:31 |
4.0.1 Bugs | Elsairon | Vanilla | 116 | September 10, 2015 07:45 |
Bugs with 3.5 | donalde | Vanilla | 10 | February 24, 2014 17:28 |
Bugs | Adley | Development | 2 | October 10, 2010 21:11 |