path of exile macro

Gtuner IV general support. Operation, questions, updates, feature request.

path of exile macro

Postby KingRump » Tue May 12, 2020 5:32 am

hi, i am new to this, can you help me create a macro for ps4 to press left,up and right on the d-pad? and be able to use down on the d-pad to start and stop it?
thank you
User avatar
KingRump
Sergeant
Sergeant
 
Posts: 8
Joined: Tue May 12, 2020 4:43 am

Re: path of exile macro

Postby Mad » Tue May 12, 2020 5:53 am

Welcome. :smile0201:
Code: Select all
#include <ps4.gph>
 
bool toggle;
 
main {
    if(event_active(PS4_DOWN)) {
        toggle = !toggle;
    }
 
    if(toggle) combo_run(myCombo);
}
 
combo myCombo {
    set_val(PS4_LEFT, 100);
    wait(100);
    set_val(PS4_UP, 100);
    wait(100);
    set_val(PS4_RIGHT, 100);
    wait(100);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: path of exile macro

Postby KingRump » Tue May 12, 2020 6:09 am

i need these to be pressed in sequence of 1ms of each other and to loop until i use the down d-pad to stop it. how would i enter that in to this?


when i run this i get
GPC error: poe.gpc(15): Declaration syntax error 'combo'




thank you for your help!!
Last edited by KingRump on Tue May 12, 2020 6:46 am, edited 1 time in total.
User avatar
KingRump
Sergeant
Sergeant
 
Posts: 8
Joined: Tue May 12, 2020 4:43 am

Re: path of exile macro

Postby Mad » Tue May 12, 2020 6:17 am

It is set to loop when you press dpad down. The buttons will press one after the other.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: path of exile macro

Postby KingRump » Tue May 12, 2020 6:51 am

ok i will go back and re read how to use this, because i get this when i try to run it


GPC error: poe4.gpc(15): Declaration syntax error 'combo'
User avatar
KingRump
Sergeant
Sergeant
 
Posts: 8
Joined: Tue May 12, 2020 4:43 am

Re: path of exile macro

Postby Mad » Tue May 12, 2020 7:17 am

KingRump wrote:ok i will go back and re read how to use this, because i get this when i try to run it


GPC error: poe4.gpc(15): Declaration syntax error 'combo'

It's compiles. Make sure you are copying all of the script and into a blank file

Gtuner>File>New>Empty GPC File.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: path of exile macro

Postby KingRump » Wed May 13, 2020 3:29 am

YES!! it did :smile0517:

thank you for your time and patience with me.
:smile0202:
User avatar
KingRump
Sergeant
Sergeant
 
Posts: 8
Joined: Tue May 12, 2020 4:43 am

Re: path of exile macro

Postby Mad » Wed May 13, 2020 5:46 am

KingRump wrote:YES!! it did :smile0517:

thank you for your time and patience with me.
:smile0202:

No problem, glad it's working for you. :joia:
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am


Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 122 guests