Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 17, 2010, 02:07   #1
Jungle_Boy
Swordsman
 
Join Date: Nov 2008
Posts: 434
Jungle_Boy is on a distinguished road
bug in r2038

There seems to be a bug so that when you swing at a monster with no weapon equipped it does not generate a hit message. You still see when you missed or killed the monster but no hits.
Jungle_Boy is offline   Reply With Quote
Old August 17, 2010, 05:23   #2
Twilight
Apprentice
 
Twilight's Avatar
 
Join Date: Jan 2009
Location: Sweden
Posts: 58
Twilight is on a distinguished road
Good catch!

I'm not sure this is because of my message color patch, but default attack without a weapon didn't get an attack-message type.

I'll attach a one-line patch and I'll post a ticket with the patch as well.
Attached Files
File Type: txt punch.txt (745 Bytes, 117 views)
__________________
It's better to burn out than to fade away!
Twilight is offline   Reply With Quote
Old September 8, 2010, 02:52   #3
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,013
Donated: $40
Pete Mack is on a distinguished road
I found another (rev 2040), by examining the compile log warnings.

Code:
cmd-know.c: In function 'display_knowledge':
cmd-know.c:599:4: warning: case value '27' not in enumerated type 'ui_event_type'
is a genuine bug. ESCAPE should be EVT_ESCAPE
Pete Mack is offline   Reply With Quote
Old September 8, 2010, 23:25   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Pete Mack View Post
I found another (rev 2040), by examining the compile log warnings.

Code:
cmd-know.c: In function 'display_knowledge':
cmd-know.c:599:4: warning: case value '27' not in enumerated type 'ui_event_type'
is a genuine bug. ESCAPE should be EVT_ESCAPE
Wow - what compiler options do you need to see that? I've never seen that warning, and cmd-know.c hasn't been changed since r1994!
Magnate is offline   Reply With Quote
Old September 10, 2010, 02:45   #5
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,013
Donated: $40
Pete Mack is on a distinguished road
This is the latest version of gcc (4.5.0) included in MinGW, using Makefile.win
Pete Mack 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
[r2038] Weird randart thing miyazaki Vanilla 24 September 9, 2010 07:08
[r2038](Possible) bug with max depth for Leather sandals. Twilight Vanilla 4 August 13, 2010 22:18
Bug (possible) with rating for OOD objects in r2038 Twilight Development 2 August 12, 2010 15:00


All times are GMT +1. The time now is 13:34.


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