Page 1 of 1

Change default autofight threshold

PostPosted: Friday, 20th July 2012, 21:57
by danr
I've read a few times recently that it's a good idea to set autofight to a higher percentage, e.g. so you stop auto-fighting earlier.

Should that higher level (I think 50% HP was recommended?) be made a default? I think it makes more sense to use a conservative default, and let reckless players reduce it if they want. I'm guessing almost no one would, though.

Re: Change default autofight threshold

PostPosted: Friday, 20th July 2012, 22:18
by Eji1700
danr wrote:I've read a few times recently that it's a good idea to set autofight to a higher percentage, e.g. so you stop auto-fighting earlier.

Should that higher level (I think 50% HP was recommended?) be made a default? I think it makes more sense to use a conservative default, and let reckless players reduce it if they want. I'm guessing almost no one would, though.

I've always wondered if it would be possible to set autofight to stop whenver a new monster appeared in your view. This could obviously be quite tedious, but really all my "oh shit" autofight moments come from not wanting to play "chase another bat" which quickly becomes "oh look an ogre!"

Re: Change default autofight threshold

PostPosted: Friday, 20th July 2012, 22:21
by crate
I prefer to just watch my hp and read messages instead of changing the autofight threshold.

Re: Change default autofight threshold

PostPosted: Friday, 20th July 2012, 22:51
by Deimos
Eji, yes it is possible.

And thats good to know crate.

As far as 50%+ default... maybe. I suspect a lot of people will change it back down though. It can get kind of annoying, but it definitely will save a lot of tabbers from killing themselves.

Re: Change default autofight threshold

PostPosted: Friday, 20th July 2012, 22:56
by evilmike
I keep it at the default, but I've thought 50% might be useful in some cases. I like to hold down autofight on heavy armour characters, when I know that my enemies can't deal too much damage in one turn.

Re: Change default autofight threshold

PostPosted: Saturday, 21st July 2012, 00:16
by XuaXua
Eji1700 wrote:
danr wrote:I've read a few times recently that it's a good idea to set autofight to a higher percentage, e.g. so you stop auto-fighting earlier.

Should that higher level (I think 50% HP was recommended?) be made a default? I think it makes more sense to use a conservative default, and let reckless players reduce it if they want. I'm guessing almost no one would, though.

I've always wondered if it would be possible to set autofight to stop whenver a new monster appeared in your view. This could obviously be quite tedious, but really all my "oh shit" autofight moments come from not wanting to play "chase another bat" which quickly becomes "oh look an ogre!"


I was screwing around with the autofight script but accidentally overwrote what I did.

Re: Change default autofight threshold

PostPosted: Saturday, 21st July 2012, 10:10
by sardonica
Eji1700 wrote:
danr wrote:I've read a few times recently that it's a good idea to set autofight to a higher percentage, e.g. so you stop auto-fighting earlier.

Should that higher level (I think 50% HP was recommended?) be made a default? I think it makes more sense to use a conservative default, and let reckless players reduce it if they want. I'm guessing almost no one would, though.

I've always wondered if it would be possible to set autofight to stop whenver a new monster appeared in your view. This could obviously be quite tedious, but really all my "oh shit" autofight moments come from not wanting to play "chase another bat" which quickly becomes "oh look an ogre!"


Autofight stops every time you lift your finger from the <tab> key...

Re: Change default autofight threshold

PostPosted: Saturday, 21st July 2012, 11:58
by Eji1700
sardonica wrote:
Eji1700 wrote:
danr wrote:I've read a few times recently that it's a good idea to set autofight to a higher percentage, e.g. so you stop auto-fighting earlier.

Should that higher level (I think 50% HP was recommended?) be made a default? I think it makes more sense to use a conservative default, and let reckless players reduce it if they want. I'm guessing almost no one would, though.

I've always wondered if it would be possible to set autofight to stop whenver a new monster appeared in your view. This could obviously be quite tedious, but really all my "oh shit" autofight moments come from not wanting to play "chase another bat" which quickly becomes "oh look an ogre!"


Autofight stops every time you lift your finger from the <tab> key...

Given the speed it can process though I find it annoying that if i forget to just lightly tap the damn thing I can be very quickly two shot by an offscreen monster. I mean it doesn't happen often but dealing with things like imps early game can take long enough normally that I'd prefer to just Tab it to death, and if i've got something like an ogre lurking around a corner that can get me killed. Obviously its carelessness on my part, but really I thought the whole point of autofight was to help with the tedium of some of the more auto win battles in the game. I'll just mod the files myself, but it seems odd that it isn't that way to begin with. If you evaluated the situation and thought that hitting Tab was actually a smart thing to do, you'd probably want to know if anything changes.

Re: Change default autofight threshold

PostPosted: Saturday, 21st July 2012, 12:39
by galehar
Eji1700 wrote:I'll just mod the files myself, but it seems odd that it isn't that way to begin with.

Good luck with that. Holding down tab isn't a delayed action. The game has no way of telling if you're holding the key or just tapping it very fast. If autofight doesn't work on monsters that just come into view, it's going to be very annoying.

Re: Change default autofight threshold

PostPosted: Saturday, 21st July 2012, 13:43
by XuaXua
Basically, and I wrote this elsewhere in a thread where I was trying to add it, you'll need Autofight to track the incoming messages for some iteration on "comes into view" which is the message when a new monster... comes into view. "come into view" is when more than one appear at the same time.

Then it needs to track that it wasn't a duplicate message.

It may or may not work on monsters you've already encountered re-entering view.

Re: Change default autofight threshold

PostPosted: Saturday, 21st July 2012, 20:36
by sanka
galehar wrote:Good luck with that. Holding down tab isn't a delayed action. The game has no way of telling if you're holding the key or just tapping it very fast. If autofight doesn't work on monsters that just come into view, it's going to be very annoying.


I guess it should work that if your last action was tab and a new monster comes into view and you press tab again then it gives you a warning prompt, which you can only answer Y/N.

I do not really understant why it would be annoying, but if it is for some players, simply made it optional.

Could be hard to code it - I do not know what info is accessible from the script.

Re: Change default autofight threshold

PostPosted: Sunday, 22nd July 2012, 00:30
by ElectricAlbatross
Eji1700 wrote:
danr wrote:I've read a few times recently that it's a good idea to set autofight to a higher percentage, e.g. so you stop auto-fighting earlier.

Should that higher level (I think 50% HP was recommended?) be made a default? I think it makes more sense to use a conservative default, and let reckless players reduce it if they want. I'm guessing almost no one would, though.

I've always wondered if it would be possible to set autofight to stop whenver a new monster appeared in your view. This could obviously be quite tedious, but really all my "oh shit" autofight moments come from not wanting to play "chase another bat" which quickly becomes "oh look an ogre!"

  Code:
force_more_message = into view

gives you a -more- prompt whenever you see a new critter on the screen. Granted, this isn't optimal since it'd also happen when you weren't tabbing, but it's good to really make a note of new monsters in whatever situation. I also have
  Code:
force_more_message = You kill the
force_more_message = You destroy the

so that I can tab enemies one at a time. Hitting space after every kill soon becomes automatic enough not to be a bother.