Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Obsolete > v4

 
 
Thread Tools Display Modes
Old February 21, 2012, 01:16   #1
jevansau
Adept
 
Join Date: Jan 2009
Age: 64
Posts: 200
jevansau is on a distinguished road
Bug report v4 9feb8de

There seems to be a problem with overflow when finesse/prowess gets too high.
Damage rises at an extreme rate, and then you get to a point where Angband hangs on a hit ( I guess the critical calculation is open ended and the chance of passing is 100%).

The current save (attached) exhibits the problem. If you reduce the attack potential by swapping gloves, it works OK (although damage is still ridiculously high).

Regards,
Jonathan
Attached Files
File Type: zip Cuan.zip (16.4 KB, 331 views)
jevansau is offline  
Old February 21, 2012, 02:42   #2
Old Coach
Apprentice
 
Join Date: Feb 2009
Posts: 61
Old Coach is on a distinguished road
Ah, you beat me to it! Just found the same problem today.
Old Coach is offline  
Old February 21, 2012, 20:49   #3
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,079
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Thanks both for the report, and for the savefile. There are several ways to fix this, and I daresay we'll end up trying more than one ...
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline  
Old February 22, 2012, 19:59   #4
jevansau
Adept
 
Join Date: Jan 2009
Age: 64
Posts: 200
jevansau is on a distinguished road
As I understand it, the issue arises because the critical chance gets over 100% and the same check is repeated for each extra dice until it fails.
May I suggest dropping the percentage to 90% of its previous value for each roll after the first.
This will still reward very high finesse and prowess, but cannot become open ended.

Regards,
Jonathan
jevansau is offline  
Old February 22, 2012, 20:04   #5
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 39
Posts: 919
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Quote:
Originally Posted by jevansau View Post
As I understand it, the issue arises because the critical chance gets over 100% and the same check is repeated for each extra dice until it fails.
Haha, so you can get an infinite damage crit, but as punishment the game locks up on you calculating the damage? Sounds like something out of Dragon Ball... :P
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline  
Old February 22, 2012, 20:51   #6
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,022
Derakon is on a distinguished road
I did the math beforehand and extrapolated that even an extremely well-equipped warrior shouldn't have had a crit chance above 60% or so (I forget exactly what I ended up with but it was in that region). But clearly I screwed something up there. Those calculations should be fixed. Additionally some kind of safety cap should be put into place to ensure that crit chance is never above 90% or so, but that's just there to make certain the game fails gracefully in unforeseen situations. The cap should never even come close to being hit in practice.
Derakon is offline  
 


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
Bug report: / on numpad on win7 Remuz Development 6 July 8, 2011 14:16
Bug Report: Graphics not masking Blue Baron Development 12 July 7, 2011 16:20
Bug report: shopkeeper greetings Derakon Development 4 June 19, 2011 18:43
Bug report - money not updated jens Development 0 June 18, 2011 22:20
Vanilla Bug Report: Everburning Lantern The G Masta Vanilla 1 November 11, 2009 17:35


All times are GMT +1. The time now is 05:28.


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