Enochen / bastmush

Automatically exported from code.google.com/p/bastmush
0 stars 0 forks source link

potion quaffer doesn't register buying a single potion #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is your username on Aardwolf?
Jaxas

What steps will reproduce the problem?
1.buy a single potion at a shop. the counters don't increase.
2.
3.

Fixed by changing the following triggers:

<trigger enabled="y" expand_variables="y" ignore_case="y" match="^You 
buy((\s(.*)\s\*\s)|\s)(?:@healdesc) from (.*) for (\d+) gold.$" 
name="Shop_Heal" regexp="y" script="Shop_Heal" sequence="50"/>

<trigger enabled="y" expand_variables="y" ignore_case="y" match="^You 
buy((\s(.*)\s\*\s)|\s)(?:@manadesc) from (.*) for (\d+) gold.$" 
name="Shop_Mana" regexp="y" script="Shop_Mana" sequence="50"/>

<trigger enabled="y" expand_variables="y" ignore_case="y" match="^You 
buy((\s(.*)\s\*\s)|\s)(?:@buffdesc) from (.*) for (\d+) gold.$" 
name="Shop_Buff" regexp="y" script="Shop_Buff" sequence="50"/>

To this (they are missing an "a":

<trigger enabled="y" expand_variables="y" ignore_case="y" match="^You 
buy((\s(.*)\s\*\s)|\sa\s)(?:@healdesc) from (.*) for (\d+) gold.$" 
name="Shop_Heal" regexp="y" script="Shop_Heal" sequence="50"/>

<trigger enabled="y" expand_variables="y" ignore_case="y" match="^You 
buy((\s(.*)\s\*\s)|\sa\s)(?:@manadesc) from (.*) for (\d+) gold.$" 
name="Shop_Mana" regexp="y" script="Shop_Mana" sequence="50"/>

<trigger enabled="y" expand_variables="y" ignore_case="y" match="^You 
buy((\s(.*)\s\*\s)|\sa\s)(?:@buffdesc) from (.*) for (\d+) gold.$" 
name="Shop_Buff" regexp="y" script="Shop_Buff" sequence="50"/>

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Look in Help->About
Mushclient Version:

type 'checkversion'
Aardwolf MUSH Version:

type 'plugins' and look for the version next to one of the bastmush plugins
Bastmush version:

Please add the output from "config all" below

Please provide any additional information below.

Original issue reported on code.google.com by javan...@netzero.com on 5 Jan 2012 at 1:45

GoogleCodeExporter commented 9 years ago
fixed in next release

Original comment by enda...@gmail.com on 8 Jan 2012 at 7:31