Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Buddy
    Join Date
    02.06.2012
    Posts
    1,572

    Default [Request] A Gettable and Settable ZetaDia.Me.IsTryingToTownPortal value

    Please can we have a new value added to ZetaDia.Me which plugins can both Get *AND* Set, for "IsTryingToTownPortal".

    So when DB runs it's own "safe" portalling behavior tree (which it runs when a routine/profile has a "return to town" call within it), it'll first set "IsTryingToPortal" to true - and only set it to false once the portal has succeeded (ie town has been reached).

    But also let us manually set this to true if we want to directly call the UsePower for using the townportal stone, and false again after - this will allow me to make combat replacer make sure you aren't trying to return to town - and if you are - clear any enemies within range and not cast buffs. It will also allow me to make the stash replacer set this value to true when stash replacer finds the backpack full and uses the return power.

    Being both settable, and gettable, allows for dynamics between any plugins - from profile plugins that force town-returns, to combat routines, to stash replacer.

    Thanks
    - Giles "The Shrewsbury Devil" Smith.

    My Plugins:
    Giles Trinity v1.6.3.4
    Auto Gear Upgrader & Equipper v1.7.1

    [Donate via PayPal]

  2. #2
    Buddy
    Join Date
    27.01.2012
    Posts
    87

    Default

    Quote Originally Posted by GilesSmith View Post
    Please can we have a new value added to ZetaDia.Me which plugins can both Get *AND* Set, for "IsTryingToTownPortal".

    So when DB runs it's own "safe" portalling behavior tree (which it runs when a routine/profile has a "return to town" call within it), it'll first set "IsTryingToPortal" to true - and only set it to false once the portal has succeeded (ie town has been reached).

    But also let us manually set this to true if we want to directly call the UsePower for using the townportal stone, and false again after.

    This will allow me to make combat replacer make sure you aren't trying to return to town - and if you are - clear any enemies within range and not cast buffs.

    It will also allow me to make the stash replacer set this value to true when stash replacer finds the backpack full and uses the return power.

    Being both settable, and gettable, allows for dynamics between any plugins - from profile plugins that force town-returns, to combat routines, to stash replacer.

    Thanks
    Nice thinking as usual! Keep up the amazing work!

  3. #3
    Buddy
    Join Date
    28.07.2012
    Posts
    239

    Default

    I agree.

  4. #4
    Buddy
    Join Date
    10.07.2012
    Posts
    166

    Default

    bump

  5. #5
    Buddy
    Join Date
    17.06.2012
    Posts
    388

    Default

    bump for support

  6. #6
    Buddy
    Join Date
    16.01.2011
    Posts
    282

    Default

    would be very helpful, was trying to figure out a workaround for this but that would save tons of time and effort

  7. #7
    Buddy
    Join Date
    11.03.2012
    Posts
    61

    Default

    bump

  8. #8
    Buddy
    Join Date
    02.07.2012
    Posts
    178

    Default

    Apoc, I'll suck your dick if you do this. Just saying.

  9. #9
    Buddy
    Join Date
    10.06.2012
    Posts
    561

    Default

    Quote Originally Posted by dookiepie View Post
    Apoc, I'll suck your dick if you do this. Just saying.
    me too

  10. #10
    Buddy
    Join Date
    18.08.2012
    Posts
    21

    Default

    This would really be useful....

 

 
Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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