Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old September 9, 2021, 23:50   #291
HugoTheGreat2011
Veteran
 
HugoTheGreat2011's Avatar
 
Join Date: Jan 2012
Location: East Coast, U.S.
Age: 38
Posts: 1,164
HugoTheGreat2011 is on a distinguished road
Can you elaborate more about what do you mean autoexplore? How do you want it to work? Any non-*band examples?
__________________
My best try at PosChengband 7.0.0's nightmare-mode on Angband.live:
https://www.youtube.com/watch?v=rwAR0WOphUA

If I'm offline I'm probably in the middle of maintaining Gentoo or something-Linux or other
HugoTheGreat2011 is offline   Reply With Quote
Old September 10, 2021, 01:12   #292
Sideways
Knight
 
Join Date: Nov 2008
Posts: 843
Sideways is on a distinguished road
Quote:
Originally Posted by Kodiologist View Post
Okay, thanks for explaining. If I submit a PR soon, it will probably just be code cleanup, so it shouldn't require any laborious playtesting to review. Autoexplore, even a very simple version of it, sure would be nice, but it would be challenging for me to implement. I'm decent at C, but I've never edited a 'band before.
The problem with autoexplore in *bands is that it causes players to die.

(To be clear, that doesn't mean it couldn't be implemented; indeed, it could fairly easily build on the existing travel code used by commands like H, *j and ]J. You should be aware of the minor drawback involved, though...)
__________________
The Complainer worries about the lack of activity here these days.
Sideways is offline   Reply With Quote
Old September 10, 2021, 01:43   #293
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,170
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by Sideways View Post
The problem with autoexplore in *bands is that it causes players to die.

(To be clear, that doesn't mean it couldn't be implemented; indeed, it could fairly easily build on the existing travel code used by commands like H, *j and ]J. You should be aware of the minor drawback involved, though...)
Vanilla has movement by mouse which is kind of a primitive auto-explore. You click somewhere and the character will try to run there - normal run interruption rules apply.
__________________
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 September 10, 2021, 03:58   #294
Kodiologist
Scout
 
Kodiologist's Avatar
 
Join Date: Nov 2018
Posts: 30
Kodiologist is on a distinguished road
Quote:
Originally Posted by HugoTheGreat2011 View Post
Can you elaborate more about what do you mean autoexplore? How do you want it to work? Any non-*band examples?
DCSS is famous for its autoexplore. The old joke is that you can play DCSS with just two keys: O to autoexplore and Tab to attack the nearest monster. ToME 4 also has fancy autoexplore. In both cases, the basic idea is to move the player towards unexplored regions of the map and stop if a monster is seen. Once the whole map is explored, autoexplore walks you to a staircase. When items appear in DCSS, autoexplore walks you to each item once, so you can decide if you want to pick it up, and thereafter ignores it. ToME 4 is generally played with autopickup on because there's an item that lets you sell stuff automatically, prompting you what to keep. (For the record, Angband-style no-selling is way better than automatic selling.)

In a 'band, I think the obvious way to start on autoexplore would be to expand the run code. Move the player in a path to the nearest unexplored accessible square, using the same stop criteria as for running, but ignoring forks.

As Sideways says, though, autoexplore could be dangerous. In a 'band, generally detection magic is important, and waiting until you see monsters face-to-face is asking for trouble. So it would only really be useful for the early game for non-squishy characters, or if you were on a dungeon level on which you knew there were no serious threats.
Kodiologist is offline   Reply With Quote
Old September 10, 2021, 04:44   #295
Sideways
Knight
 
Join Date: Nov 2008
Posts: 843
Sideways is on a distinguished road
Quote:
Originally Posted by Kodiologist View Post
In a 'band, I think the obvious way to start on autoexplore would be to expand the run code. Move the player in a path to the nearest unexplored accessible square, using the same stop criteria as for running, but ignoring forks.
I think expanding the travel code would be the more natural option, since the travel code, unlike the run code, already contains all the pathfinding needed. (It would need several hacks to be used by the autoexplorer; at a minimum, one to allow unknown areas as travel targets and one to keep going upon reaching the first target; but the second one could be borrowed from autoget.)

Writing a functional autoexplorer based on existing travel code would not be very difficult at all. More difficult would be deciding when it should stop, exactly which areas it should count as unexplored, how it should treat secret doors and areas hidden behind them, adding in a variety of options allowing the player to customize its behavior, etc.
__________________
The Complainer worries about the lack of activity here these days.
Sideways is offline   Reply With Quote
Old September 10, 2021, 15:29   #296
Kodiologist
Scout
 
Kodiologist's Avatar
 
Join Date: Nov 2018
Posts: 30
Kodiologist is on a distinguished road
Oh right, I keep forgetting that travel already exists. I should use it more often.
Kodiologist is offline   Reply With Quote
Old September 12, 2021, 03:10   #297
Kodiologist
Scout
 
Kodiologist's Avatar
 
Join Date: Nov 2018
Posts: 30
Kodiologist is on a distinguished road
I just got killed by the mana bolt of a dark elven warlock. With easy_damage, I saw a message saying I took upwards of 120 damage, which is weird because the monster lore says "Mana Bolt (90, 1x)", which if I understand correctly means that the maximum damage is 90. But, I had a speed disadvantage (+2 for me vs. +10 for the typical dark elven warlock), so maybe the message summed the effect of several mana bolts.
Kodiologist is offline   Reply With Quote
Old September 12, 2021, 05:13   #298
Sideways
Knight
 
Join Date: Nov 2008
Posts: 843
Sideways is on a distinguished road
Quote:
Originally Posted by Kodiologist View Post
I just got killed by the mana bolt of a dark elven warlock. With easy_damage, I saw a message saying I took upwards of 120 damage, which is weird because the monster lore says "Mana Bolt (90, 1x)", which if I understand correctly means that the maximum damage is 90. But, I had a speed disadvantage (+2 for me vs. +10 for the typical dark elven warlock), so maybe the message summed the effect of several mana bolts.
90 is the average damage; mana bolts from a typical dark elven warlock are 1d80+50, so you rolled close to the upper limit of that range.
__________________
The Complainer worries about the lack of activity here these days.
Sideways is offline   Reply With Quote
Old September 12, 2021, 10:43   #299
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,594
Donated: $40
Pete Mack is on a distinguished road
1d80 is scary high variance. Ouch! I think I prefer angband's use of max damage for lore, even for low variance attacks that can never actually reach it.
Pete Mack is offline   Reply With Quote
Old September 12, 2021, 14:59   #300
Kodiologist
Scout
 
Kodiologist's Avatar
 
Join Date: Nov 2018
Posts: 30
Kodiologist is on a distinguished road
Ooh, so it's mean damage. The interpretation of it doesn't seem to be described in the help section about recall, so yeah, I assumed it was like vanilla. I agree with Pete that the maximum is more informative, even though it's less representative, since what you need to know for tactical decision-making is what you can survive. But it would also be quite reasonable to include both the mean and the maximum, if there's room.
Kodiologist is offline   Reply With Quote
Reply

Tags
frogcomposband


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
[Announce] FrogComposband 7.1.liquorice released Sideways Variants 135 December 1, 2020 17:10
[Announce] FrogComposband 7.1.chocolate released Sideways Variants 86 February 23, 2020 02:04
[Announce] FrogComposband 7.1.toffee released Sideways Variants 129 July 18, 2019 15:22
[Announce] FrogComposband 7.0.nougat released Sideways Variants 152 November 6, 2018 13:16
[Announce] FrogComposband 7.0.mango released Sideways Variants 133 August 3, 2018 11:53


All times are GMT +1. The time now is 16:33.


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