Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 16, 2021, 15:42   #81
whartung
Adept
 
Join Date: May 2020
Posts: 101
whartung is on a distinguished road
Quote:
Originally Posted by Ingwe Ingweron View Post
Why do people keep posting 4.2.1 things in this 4.2.2 thread?
Because if there's something from 4.2.1 that you might like to see changed, that change will happen in 4.2.2.
whartung is offline   Reply With Quote
Old March 17, 2021, 00:59   #82
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,706
Donated: $40
Pete Mack is on a distinguished road
Lagduf is a snaga. Therefore he is--or should be--vulnerable to light. Certain uniques have to be easy to kill by one trick or another. Otherwise the game is just a tedious grind.
Lagduf is surely one of them.
Pete Mack is offline   Reply With Quote
Old March 17, 2021, 10:08   #83
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,946
PowerWyrm is on a distinguished road
Here's the Windows version of file_exists() in z-file.c:

Code:
bool file_exists(const char *fname)
{
	char path[MAX_PATH];
	DWORD attrib;

	/* API says we mustn't pass anything larger than MAX_PATH */
	my_strcpy(path, s, sizeof(path));

	attrib = GetFileAttributes(path);
	if (attrib == INVALID_FILE_NAME) return false;
	if (attrib & FILE_ATTRIBUTE_DIRECTORY) return false;

	return true;
}
No idea what "s" is...
Is that even compiling?
__________________
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!
PowerWyrm is offline   Reply With Quote
Old March 17, 2021, 11:41   #84
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,431
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by PowerWyrm View Post
No idea what "s" is...
Is that even compiling?
On the one hand, that seems totally bizarre - surely "s" should be "fname";
on the other hand, it's been compiling and running without complaint since 2007.
__________________
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 March 19, 2021, 10:21   #85
Kusunose
Rookie
 
Join Date: Jan 2019
Posts: 10
Kusunose is on a distinguished road
It seems that function is not used in the windows build.

HAVE_STAT is defined both with MinGW and MSVC and the
function above, enclosed in "#if defined(HAVE_STAT)",
is used instead.

With MinGW, HAVE_STAT is defined in autoconf.h, and with
MSVC, in h-config.h .
Kusunose is offline   Reply With Quote
Old March 19, 2021, 22:50   #86
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,431
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by Kusunose View Post
It seems that function is not used in the windows build.

HAVE_STAT is defined both with MinGW and MSVC and the
function above, enclosed in "#if defined(HAVE_STAT)",
is used instead.

With MinGW, HAVE_STAT is defined in autoconf.h, and with
MSVC, in h-config.h .
Aha, thank you.
__________________
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 March 20, 2021, 00:20   #87
Grotug
Veteran
 
Join Date: Nov 2013
Posts: 1,541
Grotug is on a distinguished road
The slays on thrown weapons are still doing double the damage displayed. I killed a mature multihued dragon with a single throw of a throwing axe that claimed to do 426 damage to dragons (mature multihued has 1000hp I believe).
__________________
Beginner's Guide to Angband 4.2.3 Part 1: https://www.youtube.com/watch?v=m9c9e2wMngM

Detailed account of my Ironman win here.
Grotug is offline   Reply With Quote
Old March 20, 2021, 01:09   #88
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,706
Donated: $40
Pete Mack is on a distinguished road
Oh man, I have to try this out!

Quote:
Originally Posted by Grotug View Post
The slays on thrown weapons are still doing double the damage displayed. I killed a mature multihued dragon with a single throw of a throwing axe that claimed to do 426 damage to dragons (mature multihued has 1000hp I believe).
Pete Mack is offline   Reply With Quote
Old March 20, 2021, 20:16   #89
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 2,123
Ingwe Ingweron is on a distinguished road
@ arrived in a cavern level at DL 63 and received the message, "Teleportation is forbidden" upon attempting to teleport. @ is wearing nothing that is cursed. Is this a new feature of cavern levels? Or any levels? Is it randomly assigned or limited to caverns? Is it true of vaults on otherwise regular levels? Curious minds want to know if this is a new feature of 4.2.2 and what the parameters are.
__________________
“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
Ingwe Ingweron is offline   Reply With Quote
Old March 20, 2021, 21:07   #90
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,706
Donated: $40
Pete Mack is on a distinguished road
Some cavern levels have it. I dunno why. I immediately recall if I can't immediately go back up the stairs
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
Reviving Iso-Angband, an isometric view addon for Angband Hajo Development 111 August 3, 2014 20:44


All times are GMT +1. The time now is 07:40.


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