[AHK] Simple script for expedition: Tujen Haggle - quick buy/reroll with hotkey menu

User Tag List

Page 2 of 6 FirstFirst 123456 LastLast
Results 16 to 30 of 78
  1. #16
    xerance's Avatar Active Member CoreCoins Purchaser
    Reputation
    32
    Join Date
    Jan 2018
    Posts
    152
    Thanks G/R
    36/30
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by camapxam View Post
    for some unknown reason, i could set the delay to 800, it only took longer, but not changing the result of the "1" action. As i said earlier, wheel scrolling down too much at 1st attempt, tujen's mad. And buying at 3rd is still high price for me. I can only pull the price down after 3rd one. Maybe he hate me, but the highest range in 3rd attempt is still at 90%
    yah, sounds like the script goes to fast and doesn't registrate the clicks in-between the scolls. What's your ingame ping and what ahk version are you using? I'm running this on a potato laptop without any issues with ahk version 1.1.30.01 unicode 32bit.

    try this and see what happens if you add a sleep before each click

    Code:
    $1::
    if !GetKeyState("capslock","T")
     {
     Send, 1
     }
    
     else
     {
    	Click
    	Loop, 9
    	{
    		Send {WheelDown 1}
    	}
    	MouseGetPos xx, yy
    	rCordXX = %xx%
    	rCordYY = %yy%
    	BlockInput, MouseMove
    	IniRead, CordXX, Config.ini, ConfirmPos, xx
    	IniRead, CordYY, Config.ini, ConfirmPos, yy
    	MouseMove, CordXX , CordYY , 0
    	Click
    	Sleep 100
    	Loop, 8
    	{
    		Send {WheelDown 1}
    	}
    	Sleep 150
    	Click
    	Sleep 100
    	Loop, 7
    	{
    		Send {WheelDown 1}
    	}
    	Sleep 150
    	Click
    	Sleep 100
    	Click
    	MouseMove, rCordXX , rCordYY , 0	
    	BlockInput, MouseMoveOff
     }
    return
    you could also try to replace the click with
    Send {Click}
    not that it should matter.
    Last edited by xerance; 04-18-2022 at 02:00 PM.

    [AHK] Simple script for expedition: Tujen Haggle - quick buy/reroll with hotkey
  2. #17
    camapxam's Avatar Active Member
    Reputation
    23
    Join Date
    Nov 2009
    Posts
    274
    Thanks G/R
    196/20
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xerance View Post
    yah, sounds like the script goes to fast and doesn't registrate the clicks in-between the scolls. What's your ingame ping and what ahk version are you using? I'm running this on a potato laptop without any issues with ahk version 1.1.30.01 unicode 32bit.

    try this and see what happens if you add a sleep before each click

    Code:
    $1::
    if !GetKeyState("capslock","T")
     {
     Send, 1
     }
    
     else
     {
    	Click
    	Loop, 9
    	{
    		Send {WheelDown 1}
    	}
    	MouseGetPos xx, yy
    	rCordXX = %xx%
    	rCordYY = %yy%
    	BlockInput, MouseMove
    	IniRead, CordXX, Config.ini, ConfirmPos, xx
    	IniRead, CordYY, Config.ini, ConfirmPos, yy
    	MouseMove, CordXX , CordYY , 0
    	Click
    	Sleep 100
    	Loop, 8
    	{
    		Send {WheelDown 1}
    	}
    	Sleep 150
    	Click
    	Sleep 100
    	Loop, 7
    	{
    		Send {WheelDown 1}
    	}
    	Sleep 150
    	Click
    	Sleep 100
    	Click
    	MouseMove, rCordXX , rCordYY , 0	
    	BlockInput, MouseMoveOff
     }
    return
    you could also try to replace the click with
    Send {Click}
    not that it should matter.
    Tried your code, it scroll the haggle bar down to ~80%, then nothing happen, not even clicking to the confirm button. It does sound like it's skipping actions.
    I use AHK 1.1.33.10, ingame ping range from 45-60 without vpn, i'm SEA, not known for good ping.

  3. #18
    bipolardefect's Avatar Member
    Reputation
    2
    Join Date
    Jul 2021
    Posts
    13
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have similar problem, seems like its skipping actions, usually it goes too far, then on second haggling it buys at the 90% price. I cant understand how to make it scroll to 10-20% at the second haggling and then buy.
    Mouse delay didnt resolve anything, like its not working.

  4. #19
    xerance's Avatar Active Member CoreCoins Purchaser
    Reputation
    32
    Join Date
    Jan 2018
    Posts
    152
    Thanks G/R
    36/30
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bipolardefect View Post
    Have similar problem, seems like its skipping actions, usually it goes too far, then on second haggling it buys at the 90% price. I cant understand how to make it scroll to 10-20% at the second haggling and then buy.
    Mouse delay didnt resolve anything, like its not working.
    I can't reproduce it on either my computer or my laptop nor my friends computer. It seems like it has some issues with sending the click command.

    You could try to reinstalling ahk (unicode 32bit version), I'm currently at "v1.1.30.01 unicode 32bit" and see if that works.

  5. Thanks camapxam (1 members gave Thanks to xerance for this useful post)
  6. #20
    camapxam's Avatar Active Member
    Reputation
    23
    Join Date
    Nov 2009
    Posts
    274
    Thanks G/R
    196/20
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xerance View Post
    I can't reproduce it on either my computer or my laptop nor my friends computer. It seems like it has some issues with sending the click command.

    You could try to reinstalling ahk (unicode 32bit version), I'm currently at "v1.1.30.01 unicode 32bit" and see if that works.
    oh nvm, it's in installing option
    tHANKS, WORK PERFECTLY WITH THIS EXACTLY VERSON, MIGHT BE 32BIT PART. AS YOU SEE I'M ALREADY CAP )
    Last edited by camapxam; 05-21-2022 at 03:39 AM.

  7. Thanks xerance (1 members gave Thanks to camapxam for this useful post)
  8. #21
    kukoxe's Avatar Member
    Reputation
    1
    Join Date
    Oct 2020
    Posts
    4
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have similar problem, seems like its skipping actions, usually it goes too far, then on second haggling it buys at the 90% price. I cant understand how to make it scroll to 10-20% at the second haggling and then buy.
    Mouse delay didnt resolve anything, like its not working.
    I have the same problem. I have reinstalled AHK to v1.1.30.01 unicode 32bit, and to the latest version as well. Unfortunately, that doesn't solve it.

    Do you possibly have any ideas?

  9. #22
    threetwoone's Avatar Banned
    Reputation
    1
    Join Date
    Jun 2022
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for sharing!

  10. #23
    Easerr's Avatar Member
    Reputation
    1
    Join Date
    Apr 2017
    Posts
    8
    Thanks G/R
    1/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much, you saved my hand

  11. #24
    xerance's Avatar Active Member CoreCoins Purchaser
    Reputation
    32
    Join Date
    Jan 2018
    Posts
    152
    Thanks G/R
    36/30
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kukoxe View Post
    I have the same problem. I have reinstalled AHK to v1.1.30.01 unicode 32bit, and to the latest version as well. Unfortunately, that doesn't solve it.

    Do you possibly have any ideas?
    Code:
    ; ##########################################
    ; # Expedition Tujen Haggle - test version #
    ; ##########################################
    #IfWinActive   Path of Exile
    #NoEnv  
    #SingleInstance  , Force
    SetWorkingDir %A_ScriptDir% 
    SendMode, Input
    ConfigINI=%A_scriptdir%\Config.ini
    ifnotexist,%ConfigINI%
    {
    	IniWrite, 0	, %ConfigINI%, ConfirmPos, xx
    	IniWrite, 0	, %ConfigINI%, ConfirmPos, yy
    	IniWrite, 0	, %ConfigINI%, RerollPos, xx
    	IniWrite, 0	, %ConfigINI%, RerollPos, yy
    }
    return
    
    
    $1::
    if !GetKeyState("capslock","T")
     {
     Send, 1
     }
    
     else
     {
    	MouseClick, left
    	Loop, 15
    	{
    		Send {WheelDown 1}
    		Sleep 20
    	}
    	MouseGetPos xx, yy
    	rCordXX = %xx%
    	rCordYY = %yy%
    	BlockInput, MouseMove
    	IniRead, CordXX, Config.ini, ConfirmPos, xx
    	IniRead, CordYY, Config.ini, ConfirmPos, yy
    	MouseMove, CordXX , CordYY , 0
    	Sleep 40
    	MouseClick, left
    	Sleep 40
    	Loop, 8
    	{
    		Send {WheelDown 1}
    		Sleep 20
    	}
    	Sleep 40
    	MouseClick, left
    	Sleep 40
    	MouseClick, left
    	Sleep 40
    	MouseClick, left
    	MouseMove, rCordXX , rCordYY , 0	
    	BlockInput, MouseMoveOff
     }
    return
    
    $2::
    if !GetKeyState("capslock","T") 
     {
     Send, 2
     }
    
     else
     {
    	BlockInput, MouseMove
    	MouseGetPos xx, yy
    	rCordXX = %xx%
    	rCordYY = %yy%
    	IniRead, CordXX, Config.ini, RerollPos, xx
    	IniRead, CordYY, Config.ini, RerollPos, yy
    	MouseMove, CordXX , CordYY , 0
    	Sleep 40
    	MouseClick, left
    	MouseMove, rCordXX , rCordYY , 0
    	BlockInput, MouseMoveOff
     }
    return
    
    
    
    
    +F9::
    	MouseGetPos xx, yy
    	IniWrite,%xx%	,	%ConfigINI%, ConfirmPos, xx
    	IniWrite,%yy%	,	%ConfigINI%, ConfirmPos, yy
    return
    
    
    +F10::
    	MouseGetPos xx, yy
    	IniWrite,%xx%	,	%ConfigINI%, RerollPos, xx
    	IniWrite,%yy%	,	%ConfigINI%, RerollPos, yy
    return
    Can you test if this work? my only guess is that something doesn't go well with "Click".
    Last edited by xerance; 06-26-2022 at 12:55 PM.

  12. Thanks jusikapide (1 members gave Thanks to xerance for this useful post)
  13. #25
    camapxam's Avatar Active Member
    Reputation
    23
    Join Date
    Nov 2009
    Posts
    274
    Thanks G/R
    196/20
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xerance View Post
    Code:
    ; ##########################################
    ; # Expedition Tujen Haggle - test version #
    ; ##########################################
    #IfWinActive   Path of Exile
    #NoEnv  
    #SingleInstance  , Force
    SetWorkingDir %A_ScriptDir% 
    SendMode, Input
    ConfigINI=%A_scriptdir%\Config.ini
    ifnotexist,%ConfigINI%
    {
    	IniWrite, 0	, %ConfigINI%, ConfirmPos, xx
    	IniWrite, 0	, %ConfigINI%, ConfirmPos, yy
    	IniWrite, 0	, %ConfigINI%, RerollPos, xx
    	IniWrite, 0	, %ConfigINI%, RerollPos, yy
    }
    return
    
    
    $1::
    if !GetKeyState("capslock","T")
     {
     Send, 1
     }
    
     else
     {
    	MouseClick, left
    	Loop, 15
    	{
    		Send {WheelDown 1}
    		Sleep 20
    	}
    	MouseGetPos xx, yy
    	rCordXX = %xx%
    	rCordYY = %yy%
    	BlockInput, MouseMove
    	IniRead, CordXX, Config.ini, ConfirmPos, xx
    	IniRead, CordYY, Config.ini, ConfirmPos, yy
    	MouseMove, CordXX , CordYY , 0
    	Sleep 40
    	MouseClick, left
    	Sleep 40
    	Loop, 8
    	{
    		Send {WheelDown 1}
    		Sleep 20
    	}
    	Sleep 40
    	MouseClick, left
    	Sleep 40
    	MouseClick, left
    	Sleep 40
    	MouseClick, left
    	MouseMove, rCordXX , rCordYY , 0	
    	BlockInput, MouseMoveOff
     }
    return
    
    $2::
    if !GetKeyState("capslock","T") 
     {
     Send, 2
     }
    
     else
     {
    	BlockInput, MouseMove
    	MouseGetPos xx, yy
    	rCordXX = %xx%
    	rCordYY = %yy%
    	IniRead, CordXX, Config.ini, RerollPos, xx
    	IniRead, CordYY, Config.ini, RerollPos, yy
    	MouseMove, CordXX , CordYY , 0
    	Sleep 40
    	MouseClick, left
    	MouseMove, rCordXX , rCordYY , 0
    	BlockInput, MouseMoveOff
     }
    return
    
    
    
    
    +F9::
    	MouseGetPos xx, yy
    	IniWrite,%xx%	,	%ConfigINI%, ConfirmPos, xx
    	IniWrite,%yy%	,	%ConfigINI%, ConfirmPos, yy
    return
    
    
    +F10::
    	MouseGetPos xx, yy
    	IniWrite,%xx%	,	%ConfigINI%, RerollPos, xx
    	IniWrite,%yy%	,	%ConfigINI%, RerollPos, yy
    return
    Can you test if this work? my only guess is that something doesn't go well with "Click".
    this one works but not as fast as your gif image in the 1st post

  14. #26
    jiumittosama's Avatar Member
    Reputation
    1
    Join Date
    Jun 2022
    Posts
    4
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks u very much , good luck to you !

  15. #27
    xerance's Avatar Active Member CoreCoins Purchaser
    Reputation
    32
    Join Date
    Jan 2018
    Posts
    152
    Thanks G/R
    36/30
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by camapxam View Post
    this one works but not as fast as your gif image in the 1st post
    Need to adjust sleep values, I believe I ran sleep 20 in gif showcase, however it tends to screw up more often on bad latency, so for safety measure these values are higher.

  16. Thanks jiumittosama (1 members gave Thanks to xerance for this useful post)
  17. #28
    jiumittosama's Avatar Member
    Reputation
    1
    Join Date
    Jun 2022
    Posts
    4
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xerance View Post
    Need to adjust sleep values, I believe I ran sleep 20 in gif showcase, however it tends to screw up more often on bad latency, so for safety measure these values are higher.

    I have had a big problem, I still use it normally until today, suddenly when I press the number "1", the game immediately goes out, do you know what the error is?

  18. #29
    xerance's Avatar Active Member CoreCoins Purchaser
    Reputation
    32
    Join Date
    Jan 2018
    Posts
    152
    Thanks G/R
    36/30
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jiumittosama View Post
    I have had a big problem, I still use it normally until today, suddenly when I press the number "1", the game immediately goes out, do you know what the error is?
    >the game immediately goes out

    Exactly what do you mean by "goes out"? it closes itself?

  19. #30
    jiumittosama's Avatar Member
    Reputation
    1
    Join Date
    Jun 2022
    Posts
    4
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that's right man, the game was shut down after I started pressing the number "1" even though I had used it well before.

Page 2 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Created simple script for pindle farming, no autoloot though
    By shnwj in forum Diablo 2 Resurrected Bots and Programs
    Replies: 1
    Last Post: 10-06-2021, 10:47 PM
  2. [Bot] WTB AHK custom Script for Elite dangerous! [Serious Only]
    By BAKERKUSH in forum MMO Exploits|Hacks
    Replies: 0
    Last Post: 08-17-2018, 10:39 AM
  3. [Request] Script for raid frames (3 players). Will tip with $
    By cdonis84 in forum WoW UI, Macros and Talent Specs
    Replies: 1
    Last Post: 11-29-2012, 12:11 AM
  4. Need a realllllly simple script for AUTO IT!
    By unfunkable in forum Diablo 3 Bots Questions & Requests
    Replies: 3
    Last Post: 06-06-2012, 07:35 AM
  5. VERY SIMPLE GUIDE for noobs to create a private server with custom EVERYTHING
    By c0ddingt0n in forum WoW EMU Guides & Tutorials
    Replies: 21
    Last Post: 05-15-2008, 08:54 PM
All times are GMT -5. The time now is 07:18 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search