Hello all,
First of all thanks very much Nick for the amazing speedwalk plugin, it works wonders. I am having one small issue which may be an elementary fix, but I can't seem to understand how to do it.
If I set the speedwalk to 0.1 instead of the default delay time of 0.5, then it tends to walk too fast and actually go past <TARGET> mobs.
If I am right, I suspect it is because it is seeing the [Exits: north south] before it sees the [TARGET] in the room which I am triggering off to pause the speedwalk, and so it steps to the next room, then pauses it and has nothing to attack.
Is there a way I can trigger off part of my prompt instead? e.g. if I put the word MELON next to my hp/mana so that I see 100 100 MELON every return, then it would see that AFTER the exits and hopefully allow quicker walking between targets.
I tried playing with the XML but am not proficient enough to change the part I think I need to change.
I amended the original:
<!ENTITY exits_trigger
"^((?P<exits>\\[Exits\\: .+\\])|(.*)Alas, you cannot go that way\\.)$" >
to
<!ENTITY exits_trigger
"^((?P*100 100 MELON*)|(.*)Alas, you cannot go that way\\.)$" >
And when I tried to enable the plugin, and use it in a speedwalk it gave me:
Run-time error
Plugin: Slow_speedwalk (called from world: MUDworld)
Function/Sub: func_handle_speedwalk called by alias
Reason: processing alias ""
C:\Program Files (x86)\MUSHclient\lua\wait.lua:178: C:\Program Files (x86)\MUSHclient\lua\wait.lua:110: Bad regular expression syntax
stack traceback:
[C]: ?
C:\Program Files (x86)\MUSHclient\lua\wait.lua:178: in function 'make'
[string "Plugin: Slow_speedwalk"]:10: in function <[string "Plugin: Slow_speedwalk"]:8>
Could somebody possibly help, and let me know where I may be going wrong? Or if in fact I'm completely wrong in my train of thought.
Much appreciated.
First of all thanks very much Nick for the amazing speedwalk plugin, it works wonders. I am having one small issue which may be an elementary fix, but I can't seem to understand how to do it.
If I set the speedwalk to 0.1 instead of the default delay time of 0.5, then it tends to walk too fast and actually go past <TARGET> mobs.
If I am right, I suspect it is because it is seeing the [Exits: north south] before it sees the [TARGET] in the room which I am triggering off to pause the speedwalk, and so it steps to the next room, then pauses it and has nothing to attack.
Is there a way I can trigger off part of my prompt instead? e.g. if I put the word MELON next to my hp/mana so that I see 100 100 MELON every return, then it would see that AFTER the exits and hopefully allow quicker walking between targets.
I tried playing with the XML but am not proficient enough to change the part I think I need to change.
I amended the original:
<!ENTITY exits_trigger
"^((?P<exits>\\[Exits\\: .+\\])|(.*)Alas, you cannot go that way\\.)$" >
to
<!ENTITY exits_trigger
"^((?P*100 100 MELON*)|(.*)Alas, you cannot go that way\\.)$" >
And when I tried to enable the plugin, and use it in a speedwalk it gave me:
Run-time error
Plugin: Slow_speedwalk (called from world: MUDworld)
Function/Sub: func_handle_speedwalk called by alias
Reason: processing alias ""
C:\Program Files (x86)\MUSHclient\lua\wait.lua:178: C:\Program Files (x86)\MUSHclient\lua\wait.lua:110: Bad regular expression syntax
stack traceback:
[C]: ?
C:\Program Files (x86)\MUSHclient\lua\wait.lua:178: in function 'make'
[string "Plugin: Slow_speedwalk"]:10: in function <[string "Plugin: Slow_speedwalk"]:8>
Could somebody possibly help, and let me know where I may be going wrong? Or if in fact I'm completely wrong in my train of thought.
Much appreciated.