[Release][Autohotkey script] PoE Autoflasks & autoquit. menu

Shout-Out

User Tag List

Page 11 of 32 FirstFirst ... 789101112131415 ... LastLast
Results 151 to 165 of 473
  1. #151
    Wrongusername's Avatar Sergeant
    Reputation
    100
    Join Date
    Feb 2011
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well old "method" no longer works with vanilla game, but you may just change {1 Down 1 UP} to {1} to revert to it.
    You may also try adding one of
    SetKeyDelay, 10, 10
    SetKeyDelay, 50, 50
    SetKeyDelay, 0, 10
    SetKeyDelay, -1, 0
    as the first line in script and try it with both new and old method to see if it helps.
    This problem is likely caused by ISBoxer as if you just open 2 game clients without it you'll most likely see it keep drinking pots.

    [Release][Autohotkey script] PoE Autoflasks & autoquit.
  2. #152
    byterj's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    edit. tyvm
    Last edited by byterj; 05-14-2013 at 04:12 PM.

  3. #153
    TidoMan's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a way to make it so it will only use instant flasks under a certain hp threshhold?

    Right now, I want it so it uses a normal potion at 85% hp,
    An instant flask when at 60% hp,
    And then an instant recovery when at low hp.

    So far, I can do the first and third options because you already included an instantRecoveryWhenLow life method.

    I tried making new constructors but for some reason it doesn't read them.

    Example

    PlayerConfig["instant"]:={minLifeRatioToDrink: 0.60, minManaRatioToDrink: 0.55, minManaToDrink: 40, minLifeRatioToPopGranite: 0.65, minLifeRatioToQuit: 0.0 } ; disableAutoPotions:true, minLifeRatioToQuit:, minNShieldRatioToQuit: , HasZealotsOath: false, }

    PlayerConfig["instant"].FlaskConfig:=[]

    then

    PlayerConfig["instant"].FlaskConfig[3]:={Hotkey:"{3 Down 3 UP}",OverrideFlaskDuration:0}


    Anyway, any help would be appreciated



    Edit - Some things that don't appear to be working with the flask script.

    Potions that have instant recovery on low life don't seem to be working. Sometimes I stay around 20-30% hp when fighting a mob and my low life instant recovery flask isn't used (This is with low life set to true on the config too)
    PlayerConfig["Default"].FlaskConfig[2]:={Hotkey:"{2 Down 2 UP}",instantRecoveryOnLowLife:true}.

    Instant recovery potions aren't used even when hp goes below potion popping threshhold.
    -I tried having one regular flask, then two instant recoveries. The regular one was used once I dropped below the hp thresh hold, but the instant recoveries wouldn't be used after I passed the threshhold again until the first flask duration ran out, even with override set to 0.
    PlayerConfig["Default"].FlaskConfig[3]:={Hotkey:"{3 Down 3 UP}",OverrideFlaskDuration:0}
    Last edited by TidoMan; 05-22-2013 at 01:42 PM.

  4. #154
    azmodael's Avatar Member
    Reputation
    4
    Join Date
    May 2013
    Posts
    32
    Thanks G/R
    0/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to extend the script to work with Granite flasks?

  5. #155
    username1001011's Avatar Member
    Reputation
    2
    Join Date
    Apr 2013
    Posts
    120
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by azmodael View Post
    Is it possible to extend the script to work with Granite flasks?
    I'd be interested in that also drink granite flask when you lose live

  6. #156
    TidoMan's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by azmodael View Post
    Is it possible to extend the script to work with Granite flasks?
    It already works with granite flasks.

    There's an option in the config that states when to pop granite flasks.

  7. #157
    username1001011's Avatar Member
    Reputation
    2
    Join Date
    Apr 2013
    Posts
    120
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TidoMan View Post
    It already works with granite flasks.

    There's an option in the config that states when to pop granite flasks.
    Now I just need the granite flasks thx

  8. #158
    TidoMan's Avatar Private
    Reputation
    1
    Join Date
    May 2013
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, I figured out that while the script notices that a flask is an instant low on life recovery, it'll set the timer to 0 if the flask is used below 35% hp.

    The problem was that instant recovery life flasks were not being used below 35% hp, the script only set the flask timer to 0 if it was used below 35% hp.

    If you want the script to use instant low life recovery flasks when you hit 35% or lower,

    add this.


    if ((PlayerStats.CurrHP/PlayerStats.MaxHP)<=0.35)
    {
    hKey:=CurrentConfig.FlaskConfig[ADD YOUR FLASK NUMBER HERE].Hotkey
    ControlSend,,%hkey%, % "ahk_id" hwnd
    break
    }



    below this


    if (currLifeRatio<CurrentConfig.minLifeRatioToDrink || (PlayerStats.CurrHP<CurrentConfig.minLifeToDrink))
    if ((!WindowQueuedFlaskEffects[k].HasKey("hpQueueEndtime")) || (A_TickCount>=(WindowQueuedFlaskEffects[k].hpQueueEndtime-lagCompensation)))
    {
    tflaskNum1:=GetMaxChargesFlaskOfType(FlasksData,"FlaskLife")
    tflaskNum2:=GetMaxChargesFlaskOfType(FlasksData,"FlaskHybrid")
    if ((tflaskNum1!=) && (tflaskNum2!=))
    flaskNum:=(FlasksData[tflaskNum1].ChargesCurrent>FlasksData[tflaskNum2].ChargesCurrent) ? tflaskNum1 : tflaskNum2
    else
    {
    if (tflaskNum1!="")
    flaskNum:=tflaskNum1
    if (tflaskNum2!="")
    flaskNum:=tflaskNum2
    }
    if (flaskNum!="")
    {
    if CurrentConfig.FlaskConfig[flaskNum].HasKey("OverrideFlaskDuration")
    EffectDuration:=CurrentConfig.FlaskConfig[flaskNum].OverrideFlaskDuration
    else
    EffectDuration:=FlasksData[flaskNum].EffectDuration

    if ((CurrentConfig.FlaskConfig[flaskNum].instantRecoveryOnLowLife) && ((PlayerStats.CurrHP/PlayerStats.MaxHP)<=0.35)) ; "Low life" can be caused by auras hp reservation from blood magic
    EffectDuration:=lagCompensation

    WindowQueuedFlaskEffects[k].hpQueueEndtime:=A_TickCount+EffectDuration*100
    if (FlasksData[flaskNum].HasKey("ManaRegAmount")) ; hybrid flask
    WindowQueuedFlaskEffects[k].ManaQueueEndtime:=A_TickCount+EffectDuration*100

    if (trayNotifications)
    {
    pname:=PlayerStats.Name
    TrayTip, PoE autoPotions sipping HP flask %flaskNum% on %pname%, %A_Space% , 2
    }
    hKey:=CurrentConfig.FlaskConfig[flaskNum].Hotkey
    ControlSend,,%hkey%, % "ahk_id" hwnd
    break
    }
    }




    This is pretty much a hardcoded method that sends the flask with low hp recovery when you reach below 35%.

    You have to manually write the flask # that is associated with instant low life recovery before pasting it in. For example, if your instant low life recovery potion is on your 5th sloth, you'd have to add

    if ((PlayerStats.CurrHP/PlayerStats.MaxHP)<=0.35)
    {
    hKey:=CurrentConfig.FlaskConfig[5].Hotkey
    ControlSend,,%hkey%, % "ahk_id" hwnd
    break
    }


    Edit, also - Remove the break from the original long script, and add it to the low hp pots one, otherwise it wont search for low hp pots if the any potion before it has run out.
    Last edited by TidoMan; 05-24-2013 at 11:59 PM.

  9. #159
    username1001011's Avatar Member
    Reputation
    2
    Join Date
    Apr 2013
    Posts
    120
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is there a way to drink granite flasks if energy shield is getting hit? once you have CI then life doesn't matter anymore.

  10. #160
    username1001011's Avatar Member
    Reputation
    2
    Join Date
    Apr 2013
    Posts
    120
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got it working using this:

    Code:
    PlayerConfig["xxx"]:={minManaRatioToDrink: 0.35, minManaToDrink: 70, minNShieldRatioToPopGranite: 0.8}

  11. #161
    Ref's Avatar Private
    Reputation
    1
    Join Date
    Apr 2013
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im getting a Error at Line 51
    "GetWindowBasics(hwnd, byref mB=" ", byref pH=" ", byref mS=" ")

    Error: Functions cannot contain Functions
    I have this error if try start scipt.Please help,if anybody know how

  12. #162
    metaxer's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    9 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great work
    Last edited by metaxer; 05-28-2013 at 12:04 PM.

  13. #163
    username1001011's Avatar Member
    Reputation
    2
    Join Date
    Apr 2013
    Posts
    120
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    works with latest version. Thx for the quick update.

  14. #164
    hevi's Avatar Member
    Reputation
    10
    Join Date
    Oct 2007
    Posts
    92
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't get the autoquit function to work with isboxer, I changed the cliname and running it as admin, it will log the main client but none of the others.
    Last edited by hevi; 06-02-2013 at 11:20 AM.

  15. #165
    fabcard's Avatar Member
    Reputation
    10
    Join Date
    Jun 2013
    Posts
    137
    Thanks G/R
    38/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all,
    As you guys already know, PoE got updated (version 0.11.0) today and due that the script is no longer working. I've tried commenting the "baseMgrPtr:=" line and it found a new address. I replaced the old address with no luck. Nothing is working neither F4.
    I hope someone fix this awesome script soon. Can't wait to use it again on new PoE version
    Thanks in advance.

Page 11 of 32 FirstFirst ... 789101112131415 ... LastLast

Similar Threads

  1. [Release] Custom scripts
    By ion564 in forum World of Warcraft Emulator Servers
    Replies: 20
    Last Post: 05-12-2008, 07:02 PM
  2. [Release] WarsongGulch Script
    By Pragma in forum World of Warcraft Emulator Servers
    Replies: 33
    Last Post: 03-23-2008, 08:07 PM
  3. [Release] |Custom Scripted Instance| Shadow Lair
    By wurstbr0t in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 03-05-2008, 12:03 PM
  4. [RELEASE]Ascent/script compiles 3710 (latest 2/6/08)
    By vivec45 in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 02-06-2008, 07:04 AM
  5. [RELEASE] FunServer Script's ( + Level Cap 80-255 )
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 36
    Last Post: 01-10-2008, 02:44 PM
All times are GMT -5. The time now is 06:57 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search