Unknown2008-11-09 22:03:13
I've spent all day trying to set my MUSHclient up to automatically loop through influence attacks and for some reason am having a LOT of trouble. Which doesn't make sense because
A) I know what I'm doing.
B) I've done this before.
Using VBscript, I've set it up so each time I use a begging attack, a trigger recognizes the attack and updates a variable which determines which attack I use on my next equilibrium recovery. I have an alias which sends 'influence @target with begging' and 'setvariable "begging", "1"', which works fine to start the ego battle and set me up to supplicate on my next equilibrium recovery. I then have a trigger which catches the 'you humbly request a little help' line from supplication use and sends 'setvariable "begging", "2"' to the code, which makes me hit with begging again on my next recovery.
The problem is, for some reason I can't discover, MUSHclient absolutely can't trigger anything off of the begging line:
"You thrust your hand out to an elfen lady and beg shamelessly."
I even set up a trigger simply for the word 'thrust', and I got it to work perfectly by saying 'thrust', but for some reason no matter how much I fiddle with capitalization and with all the various MUSHclient options I can't make any sort of trigger activate upon receiving the begging line. The same goes for trying to get my autoinfluencer to turn off upon:
"An elfen lady keeps asking herself why she considered giving so much away, and
pays you no attention."
No matter which part of that line I set up a trigger for, in any variation (with a male denizen, for example), I can't get it to work. I've never had trouble throwing together such simple triggers before and I'm starting to think there's something inherently weird about the output the game is sending me that's making it impossible for MUSHclient to catch. Any suggestions?
A) I know what I'm doing.
B) I've done this before.
Using VBscript, I've set it up so each time I use a begging attack, a trigger recognizes the attack and updates a variable which determines which attack I use on my next equilibrium recovery. I have an alias which sends 'influence @target with begging' and 'setvariable "begging", "1"', which works fine to start the ego battle and set me up to supplicate on my next equilibrium recovery. I then have a trigger which catches the 'you humbly request a little help' line from supplication use and sends 'setvariable "begging", "2"' to the code, which makes me hit with begging again on my next recovery.
The problem is, for some reason I can't discover, MUSHclient absolutely can't trigger anything off of the begging line:
"You thrust your hand out to an elfen lady and beg shamelessly."
I even set up a trigger simply for the word 'thrust', and I got it to work perfectly by saying 'thrust', but for some reason no matter how much I fiddle with capitalization and with all the various MUSHclient options I can't make any sort of trigger activate upon receiving the begging line. The same goes for trying to get my autoinfluencer to turn off upon:
"An elfen lady keeps asking herself why she considered giving so much away, and
pays you no attention."
No matter which part of that line I set up a trigger for, in any variation (with a male denizen, for example), I can't get it to work. I've never had trouble throwing together such simple triggers before and I'm starting to think there's something inherently weird about the output the game is sending me that's making it impossible for MUSHclient to catch. Any suggestions?
Aerotan2008-11-09 23:34:46
Have you tried triggering off of just "You thrust your hand out to" ?
I know that for my influencing on zMUD, I just have a macro set up that fires begging and changes the variable, which causes it to fire supplication the next time, and then I just wait for eq and press that button as needed.
Besides, I'm not sure an auto-influencer is such a hot idea to begin with...
I know that for my influencing on zMUD, I just have a macro set up that fires begging and changes the variable, which causes it to fire supplication the next time, and then I just wait for eq and press that button as needed.
Besides, I'm not sure an auto-influencer is such a hot idea to begin with...
Penelope2008-11-10 01:25:02
Before spending valuable time building such a system I suggest issuing yourself or emailing support to ask if such a system is or isn't against the rules. Auto Bashers are very much against the rules and this, while not risking your character's life, is still very much akin to such a system.
Unknown2008-11-10 02:16:41
As long as the auto-basher can't operate without some kind of user input, it is allowed, or so has the been ruling for every auto-anything in IRE.
As in, you have to be there to select what room to go to, or what target to hit, etc.
As in, you have to be there to select what room to go to, or what target to hit, etc.
Esano2008-11-10 06:48:20
QUOTE(Ophion @ Nov 10 2008, 09:03 AM) 580697
I've spent all day trying to set my MUSHclient up to automatically loop through influence attacks and for some reason am having a LOT of trouble. Which doesn't make sense because
A) I know what I'm doing.
I've done this before.
Using VBscript, I've set it up so each time I use a begging attack, a trigger recognizes the attack and updates a variable which determines which attack I use on my next equilibrium recovery. I have an alias which sends 'influence @target with begging' and 'setvariable "begging", "1"', which works fine to start the ego battle and set me up to supplicate on my next equilibrium recovery. I then have a trigger which catches the 'you humbly request a little help' line from supplication use and sends 'setvariable "begging", "2"' to the code, which makes me hit with begging again on my next recovery.
The problem is, for some reason I can't discover, MUSHclient absolutely can't trigger anything off of the begging line:
"You thrust your hand out to an elfen lady and beg shamelessly."
I even set up a trigger simply for the word 'thrust', and I got it to work perfectly by saying 'thrust', but for some reason no matter how much I fiddle with capitalization and with all the various MUSHclient options I can't make any sort of trigger activate upon receiving the begging line. The same goes for trying to get my autoinfluencer to turn off upon:
"An elfen lady keeps asking herself why she considered giving so much away, and
pays you no attention."
No matter which part of that line I set up a trigger for, in any variation (with a male denizen, for example), I can't get it to work. I've never had trouble throwing together such simple triggers before and I'm starting to think there's something inherently weird about the output the game is sending me that's making it impossible for MUSHclient to catch. Any suggestions?
A) I know what I'm doing.
I've done this before.
Using VBscript, I've set it up so each time I use a begging attack, a trigger recognizes the attack and updates a variable which determines which attack I use on my next equilibrium recovery. I have an alias which sends 'influence @target with begging' and 'setvariable "begging", "1"', which works fine to start the ego battle and set me up to supplicate on my next equilibrium recovery. I then have a trigger which catches the 'you humbly request a little help' line from supplication use and sends 'setvariable "begging", "2"' to the code, which makes me hit with begging again on my next recovery.
The problem is, for some reason I can't discover, MUSHclient absolutely can't trigger anything off of the begging line:
"You thrust your hand out to an elfen lady and beg shamelessly."
I even set up a trigger simply for the word 'thrust', and I got it to work perfectly by saying 'thrust', but for some reason no matter how much I fiddle with capitalization and with all the various MUSHclient options I can't make any sort of trigger activate upon receiving the begging line. The same goes for trying to get my autoinfluencer to turn off upon:
"An elfen lady keeps asking herself why she considered giving so much away, and
pays you no attention."
No matter which part of that line I set up a trigger for, in any variation (with a male denizen, for example), I can't get it to work. I've never had trouble throwing together such simple triggers before and I'm starting to think there's something inherently weird about the output the game is sending me that's making it impossible for MUSHclient to catch. Any suggestions?
Try setting this as the pattern:
^You thrust your hand out to (.*?) and beg shamelessly\\.
Also, what wrapwidth are you using? That might cause some errors with lengthy NPC names.
Unknown2008-11-10 17:38:22
Thanks, I'll try that. And it's not fully automatic, it still needs me to move around, start each battle, and sip to restore my ego.
Daganev2008-11-10 18:19:56
For my auto influencing system on Nexus, I just use the "^You thrust your hand out" line.
Unknown2008-11-10 21:25:08
QUOTE(daganev @ Nov 10 2008, 11:19 AM) 580953
For my auto influencing system on Nexus, I just use the "^You thrust your hand out" line.
Yeah, and it ought to be that simple for me, but for some reason it isn't. I put in the line Esano suggested and it worked for awhile, but stopped picking up the supplication line. Now it's randomly picking up the supplication line again and not the begging one, despite me changing nothing about it. Can't get any of the lines that show an influence battle is over or a denizen has already been influenced to deactivate my influencing variable, either.
I should've known that the very first character I bought a single credit for after years of playing IRE games would run into ridiculous, insurmountable problems.
Unknown2008-11-10 21:38:43
It might help to post your triggers that are giving you problems, together with lines they caught and lines they didn't. Nothing this simple is insurmountable, I assure you.
Unknown2008-11-10 21:42:39
Okay, I think I might know how to bypass this BS, but I need to figure out how to do something. In MUSHclient you can have a trigger send to "execute", which allows you to trigger aliases, otherwise the alias text itself is sent to the world and does nothing. I.E. if I set a trigger to send an alias called "moop", it will send "moop" to the game instead of through my system.
SO: is there a way to execute an alias in a trigger that is being sent to a script? An equivalent to the 'send "whatever"' command.
As for a more detailed rundown of my triggers, here's the raw copy and paste:
enabled="y"
match="^You thrust your hand out to (.*?) and beg shamelessly\\."
regexp="y"
send_to="12"
sequence="100"
variable="begging">
setvariable "begging", "1"
enabled="y"
lines_to_match="2"
match="abject poverty"
regexp="y"
send_to="12"
sequence="100"
variable="begging">
setvariable "begging", "2"
enabled="y"
match="keeps asking himself"
regexp="y"
send_to="12"
sequence="100">
setvariable "begging", "0"
enabled="y"
ignore_case="y"
lines_to_match="2"
match="sighs dramatically and searches"
regexp="y"
send_to="12"
sequence="100"
>
setvariable "begging", "0"
custom_colour="2"
enabled="y"
match="You have recovered equilibrium"
regexp="y"
send_to="12"
sequence="100"
>
if getvariable("begging") = "1" then
send "beg2"
end if
if getvariable("begging") = "2" then
send "beg1"
end if
The 'beg1' and 'beg2' I'm sending are in-game aliases that use the appropriate influence command on whatever I've got targeted.
SO: is there a way to execute an alias in a trigger that is being sent to a script? An equivalent to the 'send "whatever"' command.
As for a more detailed rundown of my triggers, here's the raw copy and paste:
match="^You thrust your hand out to (.*?) and beg shamelessly\\."
regexp="y"
send_to="12"
sequence="100"
variable="begging">
lines_to_match="2"
match="abject poverty"
regexp="y"
send_to="12"
sequence="100"
variable="begging">
match="keeps asking himself"
regexp="y"
send_to="12"
sequence="100">
ignore_case="y"
lines_to_match="2"
match="sighs dramatically and searches"
regexp="y"
send_to="12"
sequence="100"
>
enabled="y"
match="You have recovered equilibrium"
regexp="y"
send_to="12"
sequence="100"
>
send "beg2"
end if
if getvariable("begging") = "2" then
send "beg1"
end if
The 'beg1' and 'beg2' I'm sending are in-game aliases that use the appropriate influence command on whatever I've got targeted.
Unknown2008-11-10 21:45:43
You send to Script to execute script code. Then, if you want to also send commands from that same trigger, you use Send or Execute.
Unknown2008-11-10 21:54:43
QUOTE(Zarquan @ Nov 10 2008, 02:45 PM) 581012
You send to Script to execute script code. Then, if you want to also send commands from that same trigger, you use Send or Execute.
I have no problem using 'send', but trying to do something like
execute "beg1"
Just brings up an error window. And that's with 'beg1' as a MUSHclient alias, not an in-game alias like I had it before.
Unknown2008-11-11 00:21:52
QUOTE(Ophion @ Nov 10 2008, 11:54 PM) 581021
I have no problem using 'send', but trying to do something like
execute "beg1"
Just brings up an error window. And that's with 'beg1' as a MUSHclient alias, not an in-game alias like I had it before.
execute "beg1"
Just brings up an error window. And that's with 'beg1' as a MUSHclient alias, not an in-game alias like I had it before.
Try world.execute "beg1" instead of just execute.
Unknown2008-11-11 22:36:06
The world. call is essential if you aren't using Lua in MUSHclient.
Edit: Now that I think about it, I don't think the world. call is necessary if the trigger is executing the code block.
Edit: Now that I think about it, I don't think the world. call is necessary if the trigger is executing the code block.