Janalon2010-10-18 02:08:15
CODE
202605  a gilded scarab vial          a love potion                50      16
202608  a gilded scarab vial          an antidote potion            7      16
202617  a gilded scarab vial          empty                        0      16
217886  a felty bat-stoppered vial    nightsweats                102      *
226657  a deep blue vial of churning s empty                        0    173
230689  a silk-covered vial, topped wi nightsweats                100      *
250900  a deep blue vial of churning s a potion of allheale          8    173
251236  a deep blue vial of churning s a sanguine purgative        50    173
251477  a deep blue vial of churning s empty                        0    173
251585  a deep blue vial of churning s empty                        0    173
251745  a deep blue vial of churning s a mending salve              27    173
251783  a deep blue vial of churning s a potion of fire              8    173
251790  a deep blue vial of churning s a sanguine purgative        50    173
251861  a deep blue vial of churning s a potion of healing          42    173
251869  a deep blue vial of churning s a potion of healing          41    173
280656  an opal vial                  a choleric purgative        33    107
280675  an opal vial                  a potion of mana            29    107
202608  a gilded scarab vial          an antidote potion            7      16
202617  a gilded scarab vial          empty                        0      16
217886  a felty bat-stoppered vial    nightsweats                102      *
226657  a deep blue vial of churning s empty                        0    173
230689  a silk-covered vial, topped wi nightsweats                100      *
250900  a deep blue vial of churning s a potion of allheale          8    173
251236  a deep blue vial of churning s a sanguine purgative        50    173
251477  a deep blue vial of churning s empty                        0    173
251585  a deep blue vial of churning s empty                        0    173
251745  a deep blue vial of churning s a mending salve              27    173
251783  a deep blue vial of churning s a potion of fire              8    173
251790  a deep blue vial of churning s a sanguine purgative        50    173
251861  a deep blue vial of churning s a potion of healing          42    173
251869  a deep blue vial of churning s a potion of healing          41    173
280656  an opal vial                  a choleric purgative        33    107
280675  an opal vial                  a potion of mana            29    107
Cern's InfoTabs is quite awesome... although it doesn't seem to recognize sorcelglass vials. This has something to do with the fact that most vials are a (gemstone) vial where sorcelglass can be a (description) vial (of description). It's that second half of the desc that is causing the issue (at least in my layman's assessment).
Here's the regex that needs to be edited:
CODE
(\\d+)\\s+(.*vial)\\s+(.*?)\\s+(\\d+)\\s+(\\d+|\\*)
This one is beyond me. Any ideas?
Unknown2010-10-19 05:29:35
QUOTE (Janalon @ Oct 18 2010, 04:08 AM) <{POST_SNAPBACK}>
CODE
202605  a gilded scarab vial          a love potion                50      16
202608  a gilded scarab vial          an antidote potion            7      16
202617  a gilded scarab vial          empty                        0      16
217886  a felty bat-stoppered vial    nightsweats                102      *
226657  a deep blue vial of churning s empty                        0    173
230689  a silk-covered vial, topped wi nightsweats                100      *
250900  a deep blue vial of churning s a potion of allheale          8    173
251236  a deep blue vial of churning s a sanguine purgative        50    173
251477  a deep blue vial of churning s empty                        0    173
251585  a deep blue vial of churning s empty                        0    173
251745  a deep blue vial of churning s a mending salve              27    173
251783  a deep blue vial of churning s a potion of fire              8    173
251790  a deep blue vial of churning s a sanguine purgative        50    173
251861  a deep blue vial of churning s a potion of healing          42    173
251869  a deep blue vial of churning s a potion of healing          41    173
280656  an opal vial                  a choleric purgative        33    107
280675  an opal vial                  a potion of mana            29    107
202608  a gilded scarab vial          an antidote potion            7      16
202617  a gilded scarab vial          empty                        0      16
217886  a felty bat-stoppered vial    nightsweats                102      *
226657  a deep blue vial of churning s empty                        0    173
230689  a silk-covered vial, topped wi nightsweats                100      *
250900  a deep blue vial of churning s a potion of allheale          8    173
251236  a deep blue vial of churning s a sanguine purgative        50    173
251477  a deep blue vial of churning s empty                        0    173
251585  a deep blue vial of churning s empty                        0    173
251745  a deep blue vial of churning s a mending salve              27    173
251783  a deep blue vial of churning s a potion of fire              8    173
251790  a deep blue vial of churning s a sanguine purgative        50    173
251861  a deep blue vial of churning s a potion of healing          42    173
251869  a deep blue vial of churning s a potion of healing          41    173
280656  an opal vial                  a choleric purgative        33    107
280675  an opal vial                  a potion of mana            29    107
Cern's InfoTabs is quite awesome... although it doesn't seem to recognize sorcelglass vials. This has something to do with the fact that most vials are a (gemstone) vial where sorcelglass can be a (description) vial (of description). It's that second half of the desc that is causing the issue (at least in my layman's assessment).
Here's the regex that needs to be edited:
CODE
(\\d+)\\s+(.*vial)\\s+(.*?)\\s+(\\d+)\\s+(\\d+|\\*)
This one is beyond me. Any ideas?
Edit: Bah, found an online regex tester and that won't do.
I did make something more specific to the vials you currently have:
(\\d+)\\s+(.*vial)\\s+(.*?)\\s+(.*?)\\s+(\\d+)\\s+(\\d+|\\*)
It might need adjusting if you get new design of sorcelglass, or some vial content that does not start with either a, e or n...
Zhov2010-10-19 10:06:03
Here's what I'd do... ignore the design. Make the trigger:
Keep it off normally. Turn it on when you see the prelude:
And off when you see:
CODE
^(\\d+)\\s+(.+?)\\s+(\\d+)\\s+(\\d+|\\*)$
Keep it off normally. Turn it on when you see the prelude:
CODE
*******************************************************************************
Id      Container                      Contents                  Sips  Months
-------------------------------------------------------------------------------
Id      Container                      Contents                  Sips  Months
-------------------------------------------------------------------------------
And off when you see:
CODE
*******************************************************************************
Total Containers: 55
Total Containers: 55