Page 4 of 4 FirstFirst ... 2 3 4
Results 31 to 38 of 38

Thread: potted tea tree

  1. #31
    Senior Member
    Join Date
    Oct 2013
    Posts
    209

    Default

    If you mean a built-in daily deed that can be selected in preferences, I don't see it (r16472). Does it need something else to activate?

  2. #32

    Default

    Bale means that all necessary support for the tea tree has been implemented. A built-in teatree deed would be a new feature request.

    Here's a custom deed for it that should work (untested):
    Code:
    $CUSTOM|Combo|Teatree|_pottedTeaTreeUsed|$ITEM|Activi tea|false|teatree Activi tea|$ITEM|shake the tree|false|teatree shake|$ITEM|Activi tea|false|teatree Activi tea|$ITEM|Alacri tea|false|teatree Alacri tea|$ITEM|Boo tea|false|teatree Boo tea|$ITEM|Chari tea|false|teatree Chari tea|$ITEM|Craft tea|false|teatree Craft tea|$ITEM|Cruel tea|false|teatree Cruel tea|$ITEM|Dexteri tea|false|teatree Dexteri tea|$ITEM|Feroci tea|false|teatree Feroci tea|$ITEM|Flamibili tea|false|teatree Flamibili tea|$ITEM|Flexibili tea|false|teatree Flexibili tea|$ITEM|Frost tea|false|teatree Frost tea|$ITEM|Gill tea|false|teatree Gill tea|$ITEM|Impregnabili tea|false|teatree Impregnabili tea|$ITEM|Improprie tea|false|teatree Improprie tea|$ITEM|Insani tea|false|teatree Insani tea|$ITEM|Irritabili tea|false|teatree Irritabili tea|$ITEM|Loyal tea|false|teatree Loyal tea|$ITEM|Mana tea|false|teatree Mana tea|$ITEM|Mediocri tea|false|teatree Mediocri tea|$ITEM|Monstrosi tea|false|teatree Monstrosi tea|$ITEM|Morbidi tea|false|teatree Morbidi tea|$ITEM|Nas tea|false|teatree Nas tea|$ITEM|Net tea|false|teatree Net tea|$ITEM|Neuroplastici tea|false|teatree Neuroplastici tea|$ITEM|Obscuri tea|false|teatree Obscuri tea|$ITEM|Physicali tea|false|teatree Physicali tea|$ITEM|Proprie tea|false|teatree Proprie tea|$ITEM|Royal tea|false|teatree Royal tea|$ITEM|Serendipi tea|false|teatree Serendipi tea|$ITEM|Sobrie tea|false|teatree Sobrie tea|$ITEM|Toast tea|false|teatree Toast tea|$ITEM|Twen tea|false|teatree Twen tea|$ITEM|Uncertain tea|false|teatree Uncertain tea|$ITEM|Vitali tea|false|teatree Vitali tea|$ITEM|Voraci tea|false|teatree Voraci tea|$ITEM|Wit tea|false|teatree Wit tea|$ITEM|Yet tea|false|teatree Yet tea

  3. #33
    Senior Member Erich's Avatar
    Join Date
    Jul 2010
    Posts
    363

    Default

    Bale means that all necessary support for the tea tree has been implemented. A built-in teatree deed would be a new feature request.

    Here's a custom deed for it that should work (untested):
    Code:
    $CUSTOM|Combo|Teatree|_pottedTeaTreeUsed|$ITEM|Activi tea|false|teatree Activi tea|$ITEM|shake the tree|false|teatree shake|$ITEM|Activi tea|false|teatree Activi tea|$ITEM|Alacri tea|false|teatree Alacri tea|$ITEM|Boo tea|false|teatree Boo tea|$ITEM|Chari tea|false|teatree Chari tea|$ITEM|Craft tea|false|teatree Craft tea|$ITEM|Cruel tea|false|teatree Cruel tea|$ITEM|Dexteri tea|false|teatree Dexteri tea|$ITEM|Feroci tea|false|teatree Feroci tea|$ITEM|Flamibili tea|false|teatree Flamibili tea|$ITEM|Flexibili tea|false|teatree Flexibili tea|$ITEM|Frost tea|false|teatree Frost tea|$ITEM|Gill tea|false|teatree Gill tea|$ITEM|Impregnabili tea|false|teatree Impregnabili tea|$ITEM|Improprie tea|false|teatree Improprie tea|$ITEM|Insani tea|false|teatree Insani tea|$ITEM|Irritabili tea|false|teatree Irritabili tea|$ITEM|Loyal tea|false|teatree Loyal tea|$ITEM|Mana tea|false|teatree Mana tea|$ITEM|Mediocri tea|false|teatree Mediocri tea|$ITEM|Monstrosi tea|false|teatree Monstrosi tea|$ITEM|Morbidi tea|false|teatree Morbidi tea|$ITEM|Nas tea|false|teatree Nas tea|$ITEM|Net tea|false|teatree Net tea|$ITEM|Neuroplastici tea|false|teatree Neuroplastici tea|$ITEM|Obscuri tea|false|teatree Obscuri tea|$ITEM|Physicali tea|false|teatree Physicali tea|$ITEM|Proprie tea|false|teatree Proprie tea|$ITEM|Royal tea|false|teatree Royal tea|$ITEM|Serendipi tea|false|teatree Serendipi tea|$ITEM|Sobrie tea|false|teatree Sobrie tea|$ITEM|Toast tea|false|teatree Toast tea|$ITEM|Twen tea|false|teatree Twen tea|$ITEM|Uncertain tea|false|teatree Uncertain tea|$ITEM|Vitali tea|false|teatree Vitali tea|$ITEM|Voraci tea|false|teatree Voraci tea|$ITEM|Wit tea|false|teatree Wit tea|$ITEM|Yet tea|false|teatree Yet tea
    Originally Posted by darkcodelagsniper View Post
    This is what I was originally looking for. Thank you kindly.

  4. #34
    Junior Member
    Join Date
    Jan 2017
    Posts
    3

    Default

    I apologize in advance if I'm wrong but I'm 70% sure I might've found a bug when using the "teatree" CLI command.

    Here's my issue: I'm executing a CLI script by invoking java in a command prompt. I have a list of daily commands I execute, but when ran twice in a day, my script will get hung-up after "You have already harvested your potted tea tree today.".
    I've temporarily fixed it by just moving my teatree harvest to the end of the script, but is there something I can do to avoid not moving onto my next task if this error is thrown?
    DISCLAIMER: I just wrote the script this evening so to be fair, I'm not sure if it is hung up after a successful harvest or not (I pulled my tea the old-fashioned way today) but the exact command I execute is "teatree cuppa royal tea". Has anyone else encountered something like this?

  5. #35
    Developer
    Join Date
    Apr 2010
    Posts
    4,110

    Default

    I suggest if you don't want it to abort, to check _pottedTeaTreeUsed = false before running the command.

    Failed commands tend to cause an abort.

  6. #36
    Junior Member
    Join Date
    Jan 2017
    Posts
    3

    Default

    Thanks for the speedy reply

    I just found it odd that most other daily use items/skills/Witchess fights would continue onto the next item even when invoked with no uses left. (i.e. trying to eat with no fullness left, using Chroner Cross with no daily uses, casting Summon Geeky Gifts with no uses left, etc.). Shouldn't it try to move onto the next command even after failure like these things? I understand it's a campground item so the mechanics are probably different. I'd also believe you if you told me that's just how it works and to drop it

    I'm not necessarily interested in avoiding the hang-up now that its the last thing anyway, but thanks for the tip

    I can get this to replicate in the CLI inside mafia as well and not just in the command prompt (which I'm sure is unsurprising).

    An easy way to demonstrate would be the following .TXT script:

    teatree cuppa royal tea
    breakfast (or use <daily item>)

    If you attempt to run this script twice (once initially to pick your tea, and again for... fun?), you'll never see breakfast ran twice, where as the inverse:

    breakfast (or use <daily item>)
    teatree cuppa royal tea

    spits out all sorts of failed summon/use cases without being hung-up.

    I know this is a super tedious and mundane detail, this is literally the only "problem" I've ever had with Mafia so I can't thank or appreciate the work everyone that contributes to this project enough; please don't think I'm trying to shit on anyone's work by asking about this .

  7. #37
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,756

    Default

    alternatively, guard the aborting command with a "try":
    try ; teatree whatevertea

    that will still "abort", but then proceed to ignore the abort
    there are many guards in the castle^W^Wmy daily scripts

  8. #38
    Junior Member
    Join Date
    Jan 2017
    Posts
    3

    Default

    alternatively, guard the aborting command with a "try":
    try ; teatree whatevertea
    Originally Posted by xKiv View Post
    "try; teatree cuppa royal tea" works great Thanks for the work-around.

Similar Threads

  1. Replies: 0
    Last Post: 09-28-2015, 01:25 AM
  2. 16333: Lots of items from the potted tea tree
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 09-27-2015, 09:13 PM
  3. 16227: deadwood tree & fur tree
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 08-22-2015, 02:29 PM
  4. Feature - Implemented VIP room tree
    By bordemstirs in forum Bug Reports
    Replies: 9
    Last Post: 01-20-2012, 06:06 PM
  5. Bug - Not A Bug crimbo tree
    By bordemstirs in forum Bug Reports
    Replies: 4
    Last Post: 12-23-2010, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •