Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old November 3, 2019, 21:48   #71
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,077
wobbly is on a distinguished road
Things that shield monsters from vampire strike:

gold
object
staircase
wobbly is offline   Reply With Quote
Old November 3, 2019, 22:45   #72
DavidMedley
Adept
 
Join Date: Oct 2019
Posts: 113
DavidMedley is on a distinguished road
Quote:
Originally Posted by wobbly View Post
Things that shield monsters from vampire strike:

gold
object
staircase
Yeah, I made a note of that as well. It's *anything* (as far as I can tell) including yourself. Also, the message to the player is not very precise. Took me a while to figure out what it actually meant - I thought it was a monster resistance. "There is no open space to attack from" might be better.
DavidMedley is offline   Reply With Quote
Old November 6, 2019, 17:48   #73
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,077
wobbly is on a distinguished road
inscribing @v1 doesn't work for throwing weapons
wobbly is offline   Reply With Quote
Old November 8, 2019, 12:57   #74
scrarth
Rookie
 
Join Date: Nov 2019
Posts: 3
scrarth is on a distinguished road
Encountered a couple of bugs in a 4.2.0 game, played on a Windows 7 machine.

The first bug was encountered when targeting and then teleporting away Gothmog, and then casting the spell Single Combat on an enemy using a direction key (i.e. not targeting). This resulted in the error attached as angband_error1.jpg. After the game crashed and reloading the save I was in the Single Combat room with Gothmog, not the enemy I actually cast the spell on. Fortunately I was able to beat him, but it was definitely not a fight I was expecting.

Steps to reproduce
1. Target an enemy using * or '
2. Teleport away using the rod of teleport in inventory
3. Stand next to a different enemy and cast Single Combat, using an arrow key instead of * or '

Some time after this when I tried to book cast recall out of the dungeon, I get the error message attached in angband_error2.png (side note, why does the website upload the first as .jpg and the second as .png? They're both .pngs). I can't remember for sure but I think this was the first time I recalled since encountering the first bug, so the two might be related.

Steps to reproduce
1. Cast Recall from book

I've attached a savefile for convenience, both bugs are reproducible in it. I'd really appreciate it if the savefile could be fixed, hopefully the bugs aren't too hard to track down.
Attached Thumbnails
Click image for larger version

Name:	angband_error1.jpg
Views:	9
Size:	16.5 KB
ID:	1768  
Attached Images
 
Attached Files
File Type: zip Argil.zip (49.1 KB, 3 views)
scrarth is offline   Reply With Quote
Old November 8, 2019, 18:38   #75
Chud
Swordsman
 
Join Date: Jun 2010
Posts: 284
Chud is on a distinguished road
See other thread "You fail to harm ..." -- seems like it may be a bug.
Chud is offline   Reply With Quote
Old November 8, 2019, 22:32   #76
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,832
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by scrarth View Post
Encountered a couple of bugs in a 4.2.0 game, played on a Windows 7 machine.

The first bug was encountered when targeting and then teleporting away Gothmog, and then casting the spell Single Combat on an enemy using a direction key (i.e. not targeting). This resulted in the error attached as angband_error1.jpg. After the game crashed and reloading the save I was in the Single Combat room with Gothmog, not the enemy I actually cast the spell on. Fortunately I was able to beat him, but it was definitely not a fight I was expecting.

Steps to reproduce
1. Target an enemy using * or '
2. Teleport away using the rod of teleport in inventory
3. Stand next to a different enemy and cast Single Combat, using an arrow key instead of * or '

Some time after this when I tried to book cast recall out of the dungeon, I get the error message attached in angband_error2.png (side note, why does the website upload the first as .jpg and the second as .png? They're both .pngs). I can't remember for sure but I think this was the first time I recalled since encountering the first bug, so the two might be related.

Steps to reproduce
1. Cast Recall from book

I've attached a savefile for convenience, both bugs are reproducible in it. I'd really appreciate it if the savefile could be fixed, hopefully the bugs aren't too hard to track down.
Thanks for the detailed report. I think I have an idea what caused it - Single Combat requires a targeted monster, and so it used the one you had previously targeted, which caused bad things to happen because he was out of LoS etc. I'll look at the savefile.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old November 8, 2019, 23:50   #77
DavidMedley
Adept
 
Join Date: Oct 2019
Posts: 113
DavidMedley is on a distinguished road
Tasty Coins!

I used Vampire Strike on creeping adamantite coins. Yummy!

I also was surprised that it was resistant to acid. Seems like the ideal weapon to use against metal.

Last edited by DavidMedley; November 8, 2019 at 23:57.
DavidMedley is offline   Reply With Quote
Old November 9, 2019, 00:38   #78
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,916
Derakon is on a distinguished road
Adamantite, and mithril, are both corrosion-proof. That holds for armor made of the metal just as much as it does for monsters made of it.
Derakon is offline   Reply With Quote
Old November 9, 2019, 03:48   #79
backwardsEric
Rookie
 
Join Date: Aug 2019
Posts: 8
backwardsEric is on a distinguished road
witch/blackguard/slice of meat with original tiles

With 4.2.0 using the original tiles on Mac OS X, witches and blackguards are rendered as 'p's and slices of meat are rendered as ','s.
backwardsEric is offline   Reply With Quote
Old November 9, 2019, 08:11   #80
backwardsEric
Rookie
 
Join Date: Aug 2019
Posts: 8
backwardsEric is on a distinguished road
memory leak selling item with brand, curse, or slay

Running 4.2.0 on a Mac and collecting a report of memory leaks from it with the Leaks instrument in XCode reported leaks of 32 or 240 bytes where the memory was allocated from this partial call stack (I've omitted the functions before process_command()):

Code:
mem_zalloc()
object_copy()
object_copy_amt()
store_sell()
store_menu_handle()
menu_select()
use_store()
event_signal()
move_player()
do_cmd_walk()
process_command()
There was also a leak of 32 bytes where the memory was allocated from this partial call stack:

Code:
mem_zalloc()
object_copy()
object_copy_amt()
do_cmd_stash()
process_command()
From the code, space may be allocated for slays/brands/curses in the temporary object used in either store_sell() or do_cmd_stash() but that space is not released before the temporary object falls out of scope. The attached file is a patch from git format-patch for store.c and ui-store.c to plug the leak.

object_info_ego() in obj-info.c and wiz_reroll_item() in wiz-debug.c also look like they could leak the memory for slays/brands/curses, but I didn't exercise those functions when profiling Angband with the Leaks instrument.
Attached Files
File Type: txt store-leak.txt (2.6 KB, 3 views)
backwardsEric is offline   Reply With Quote
Reply


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
Bugs with 3.5 donalde Vanilla 10 February 24, 2014 18:28
Bugs: V3.1.2 Pete Mack Vanilla 34 December 1, 2010 18:18
Bugs Adley Development 2 October 10, 2010 22:11
V bugs (3.1.1) Pete Mack Vanilla 3 January 10, 2010 10:02
V 3.9 Bugs momo125 Vanilla 3 September 11, 2007 16:48


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


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