I've set this up to use SimpleReverse battlerage strategy, but it doesn't appear to be using any battlerage attacks. Also, when trying to initiate with F2, it says nothing like that can be seen. I have to manually attack, then press F2 to start. If there are more than one target in the room, it tries to move to the second one, but again says it cannot be found until I manually attack.
Thanks for this, it's a really helpful script - combined with @Trevize's goldtracker, it has made bashing something other than a grindey chore!
I'm trying to set up a trigger to re-def sulphur if it's gone down and there are no more targets in a room. I have a HaveSulphur variable - what I'd like is, at the point when the priority list changes to become empty, a check to whether HaveSulphur is 0, and if not, add it to the do queue.
So:
if HaveSulphur == 0 then
send("queue add eqbal educe sulphur")
end
And something similar with mercury.
Where do I put something like this? I'm guessing it's something to do with the keneanung.bashing.prioListChangedCallback script, but I'm not sure where exactly I need to put it, or what I should do...
You are correct, creating a script with the keneanung.bashing.prioListChangedCallback is the right way to go.
-- script name: redefPrimes -- registered event handlers: keneanung.bashing.prioListChangedCallback
function redefPrimes() if #keneanung.bashing.targetList == 0 then if HaveSulphur == 0 then send("queue add eqbal educe sulphur") end if HaveMercury == 0 then send("queue add eqbal educe mercury") end end end
One more advice: Make the haveXYZ variables a boolean (true or false values) makes it usually more clear what should go into those variables. And you can shorten if clauses to something like "if haveXYZ then"
I have the script and it looks great, but it ignores Battlerage completely whether set to "simple" or "simple reverse." Both strategies behave the same way as "none." Am I doing something wrong?
Is that the only thing that's broken? It's possible you have another script clashing with Keneanung's - this'd explain only the battlerage functions being affected
Aurora says, "Tharvis, why are you always breaking things?!" Artemis says, "You are so high maintenance, Tharvis, gosh." Tecton says, "It's still your fault, Tharvis."
I found that SVO had created two folders in which to store the F2 keybinding. I had disabled the first one. I disabled the second, but it didn't stay disabled after I saved it and restarted Mudlet, so I deleted both folders.
The Bashing script still won't work, though. When I press F2, it tells me: (svof): Do-Repeat enabled; will repeat kill grizzly forever
It does use the correct custom attack, which is combination &tar slice/smash. But it never switches to anything else nor does it recognize when a denizen raises a shield, even though I've entered the custom attack for that.
Mudlet compiles the scripts when it starts up the profile. Even if you delete the script, Mudlet still remembers it until you restart. This could be why F2 is still running dor...
Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
I'm not clear about the F2 keybinding. I thought that Keneanung's script replaced SVO's keybinding with its own. But does it? I still have the message that it will kill the target forever. I've restarted Mudlet completely several times and it no longer reactivates the SVO keybinding, but Battlerage doesn't work automatically.
It doesn't replace it, but it adds another F2 key binding, which admittedly is stupid in hindsight. Mine's the one in the "Bashing" top level folder. Maybe I should add a "disableKey" into my script....
The F2 keybinding does the same thing as the SFO F2 keybinding, yes? It repeats the command forever until you stop it.
And it doesn't initiate Battlerage, for me. It just uses my basic command over and over, ignoring Battlerage completely. That's the problem I don't know how to fix.
Okay. Well, I've removed the SVO F2 keybinding. I've uninstalled and reinstalled the bashing script several times, now, and restarted Mudlet over and over again. The bashing script continues to ignore battlerage.
Okay, installed this to replace my old hunting script, two things, one I don't like, one is an issue.
Flay target shield, how do I get it to register the target is in the middle, not at the end?
Also is there any way of making this auto start when you enter a room with remembered denizens? My old script just relied on dor and I used rage manually, but I kind of preferred that to having to start it every time I enter a room. I guess I could override that part, but both would be even better!
Weird, I swear I tried that. Working now, thanks! Might just experiment with switching the turn on key/alias around, the current one I find a bit annoying.
The only thing I can imagine having an effect (other than svof being slow/dumb) is that there is a tempTimer of 0.5 seconds that will block outgoing attacks... I put that in because svof expected the "balance lost" prompt immediately after sending the attack command, but there were other lines in between and thus it kinda spammed the attack, which was annoying.
------------------------------------------------- | BALANCE RECOVERED! | BALANCE RECOVERED! | ------------------------------------------------- (1.782s) You must be standing first. 3949h, 4378m, 11645e, 12136w 54% 25% cexkdb[pr]-(stand) You stand up. (0.241s) 3949h, 4378m, 11645e, 12136w 54% 25% cexkdb- A drudge goon batters you repeatedly with his three arms. 2924h, 4378m, 11645e, 12136w 54% 25% cexkdb-(-1025h, 21.9%) You may drink another health or mana elixir. (4.053s) 2924h, 4378m, 11655e, 12148w 54% 25% cexkdb-(sip health) You take a drink from an oaken vial. The elixir heals and soothes you. 3970h, 4378m, 11655e, 12148w 54% 25% cexkdb-(+1046h, 22.3%) You bleed 40 health. 3930h, 4378m, 11655e, 12148w 54% 25% cexkdb-(-40h, 0.9%) You slip behind a drudge goon and garrote him with your whip.
I think it's to do with standing, or at least this instance was... but there's 4.6 seconds between balance and that attack finally working. 3.2 between standing and the attack going through.
------------------------------------------------- | BALANCE RECOVERED! | BALANCE RECOVERED! | ------------------------------------------------- [System]: Running queued eqbal command: GET GOLD You pick up 276 gold sovereigns. [System]: Running queued eqbal command: PUT GOLD IN SCROLLCASE You put 276 gold sovereigns in a black leather scroll case capped with gold. (1.923s) 3959h, 4378m, 11658e, 12808w 89% 26% cexkdb- A suit of guardian armour rears back and slams his helmet into your forehead, blurring your vision with the impact. 3343h, 4378m, 11658e, 12820w 89% 26% cexkdb-(-616h, 13.2%) You bleed 39 health. 3304h, 4378m, 11658e, 12820w 89% 26% cexkdb-(-39h, 0.8%) You may drink another health or mana elixir. (4.487s) 3304h, 4378m, 11658e, 12820w 89% 26% cexkdb-(sip health) You take a drink from an oaken vial. The elixir heals and soothes you. 4220h, 4378m, 11658e, 12820w 89% 26% cexkdb-(+916h, 19.6%) A suit of guardian armour rears back and slams his helmet into your forehead, blurring your vision with the impact. 3600h, 4378m, 11658e, 12820w 89% 26% cexkdb-(-620h, 13.2%) A loud humming rattles a suit of guardian armour before his gauntlet slams into your gut, doubling you over. 3108h, 4378m, 11668e, 12832w 89% 26% cexkdb-(-492h, 10.5%) You bleed 51 health. 3057h, 4378m, 11668e, 12832w 89% 26% cexkdb-(-51h, 1.1%)
No, here we go, not knocked down this time, 6 seconds between balance and the attack this time.
Not that I know of. Those logs honestly don't show much except that it doesn't attack. But not what happens before and after and whether svof thinks you have some kind of affliction or tried to send something else before...
No, no afflictions, not trying to send anything else, at least not that I can see. That's just getting balance back from garotte, then finally hitting again.
Comments
All I've had today are six gummy bears and some scotch
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
I'm trying to set up a trigger to re-def sulphur if it's gone down and there are no more targets in a room. I have a HaveSulphur variable - what I'd like is, at the point when the priority list changes to become empty, a check to whether HaveSulphur is 0, and if not, add it to the do queue.
So:
And something similar with mercury.
Where do I put something like this? I'm guessing it's something to do with the keneanung.bashing.prioListChangedCallback script, but I'm not sure where exactly I need to put it, or what I should do...
One more advice: Make the haveXYZ variables a boolean (true or false values) makes it usually more clear what should go into those variables. And you can shorten if clauses to something like "if haveXYZ then"
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
Artemis says, "You are so high maintenance, Tharvis, gosh."
Tecton says, "It's still your fault, Tharvis."
The Bashing script still won't work, though. When I press F2, it tells me:
(svof): Do-Repeat enabled; will repeat kill grizzly forever
It does use the correct custom attack, which is combination &tar slice/smash. But it never switches to anything else nor does it recognize when a denizen raises a shield, even though I've entered the custom attack for that.
Maybe I should add a "disableKey" into my script....
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
And it doesn't initiate Battlerage, for me. It just uses my basic command over and over, ignoring Battlerage completely. That's the problem I don't know how to fix.
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
Why?
Flay target shield, how do I get it to register the target is in the middle, not at the end?
Also is there any way of making this auto start when you enter a room with remembered denizens? My old script just relied on dor and I used rage manually, but I kind of preferred that to having to start it every time I enter a room. I guess I could override that part, but both would be even better!
The second option is not possible right now.
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
Overall I love it, thank you!
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
| BALANCE RECOVERED! | BALANCE RECOVERED! |
------------------------------------------------- (1.782s)
You must be standing first.
3949h, 4378m, 11645e, 12136w 54% 25% cexkdb[pr]-(stand)
You stand up. (0.241s)
3949h, 4378m, 11645e, 12136w 54% 25% cexkdb-
A drudge goon batters you repeatedly with his three arms.
2924h, 4378m, 11645e, 12136w 54% 25% cexkdb-(-1025h, 21.9%)
You may drink another health or mana elixir. (4.053s)
2924h, 4378m, 11655e, 12148w 54% 25% cexkdb-(sip health)
You take a drink from an oaken vial.
The elixir heals and soothes you.
3970h, 4378m, 11655e, 12148w 54% 25% cexkdb-(+1046h, 22.3%)
You bleed 40 health.
3930h, 4378m, 11655e, 12148w 54% 25% cexkdb-(-40h, 0.9%)
You slip behind a drudge goon and garrote him with your whip.
I think it's to do with standing, or at least this instance was... but there's 4.6 seconds between balance and that attack finally working. 3.2 between standing and the attack going through.
| BALANCE RECOVERED! | BALANCE RECOVERED! |
-------------------------------------------------
[System]: Running queued eqbal command: GET GOLD
You pick up 276 gold sovereigns.
[System]: Running queued eqbal command: PUT GOLD IN SCROLLCASE
You put 276 gold sovereigns in a black leather scroll case capped with gold. (1.923s)
3959h, 4378m, 11658e, 12808w 89% 26% cexkdb-
A suit of guardian armour rears back and slams his helmet into your forehead, blurring your vision
with the impact.
3343h, 4378m, 11658e, 12820w 89% 26% cexkdb-(-616h, 13.2%)
You bleed 39 health.
3304h, 4378m, 11658e, 12820w 89% 26% cexkdb-(-39h, 0.8%)
You may drink another health or mana elixir. (4.487s)
3304h, 4378m, 11658e, 12820w 89% 26% cexkdb-(sip health)
You take a drink from an oaken vial.
The elixir heals and soothes you.
4220h, 4378m, 11658e, 12820w 89% 26% cexkdb-(+916h, 19.6%)
A suit of guardian armour rears back and slams his helmet into your forehead, blurring your vision
with the impact.
3600h, 4378m, 11658e, 12820w 89% 26% cexkdb-(-620h, 13.2%)
A loud humming rattles a suit of guardian armour before his gauntlet slams into your gut, doubling
you over.
3108h, 4378m, 11668e, 12832w 89% 26% cexkdb-(-492h, 10.5%)
You bleed 51 health.
3057h, 4378m, 11668e, 12832w 89% 26% cexkdb-(-51h, 1.1%)
No, here we go, not knocked down this time, 6 seconds between balance and the attack this time.
I just switched from old svo to the latest svof, could be some sort of conflict I guess?
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof