Path of Exile. Auto flask and Auto loot.
8 posts
• Page 1 of 1
Path of Exile. Auto flask and Auto loot.
- Code: Select all
Any help would be appreciated, and no hurry. I have them each set to a memory slot now
- Code: Select all
#include <ps5.gph>
bool toggle;
main {
if(event_active(PS5_RIGHT)) {
toggle = !toggle;
}
if(toggle) combo_run(myCombo);
}
combo myCombo {
set_val(PS5_L1, 100);
wait(100);
set_val(PS5_R1, 100);
wait(100);
set_val(PS5_LEFT, 100);
wait(100);
set_val(PS5_UP, 4000);
wait(100);
set_val(PS5_RIGHT, 100);
wait(100);
}
Last edited by Maxxgold on Sat May 15, 2021 1:35 pm, edited 2 times in total.
-
Maxxgold - Sergeant Major of the Army
- Posts: 265
- Joined: Mon Aug 01, 2016 8:43 pm
Re: Need some help combining a script.
- Code: Select all
#include <ps5.gph>
bool toggle;
bool loot;
main {
if(event_active(PS5_RIGHT)) {
toggle = !toggle;
}
if(is_active(PS5_L3) && event_active(PS5_CROSS)) {
loot = !loot;
}
if(toggle) combo_run(myCombo);
if(loot) combo_run(autoloot);
}
combo autoloot {
set_val(PS5_CROSS, 100);
wait(100);
set_val(PS5_CROSS, 0);
wait(100);
}
combo myCombo {
set_val(PS5_L1, 100);
wait(100);
set_val(PS5_R1, 100);
wait(100);
set_val(PS5_LEFT, 100);
wait(100);
set_val(PS5_UP, 4000);
wait(100);
set_val(PS5_RIGHT, 100);
wait(100);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Need some help combining a script.
Damn, you are fast. I’ll load it up, and give it a go. Thank you
-
Maxxgold - Sergeant Major of the Army
- Posts: 265
- Joined: Mon Aug 01, 2016 8:43 pm
Re: Need some help combining a script.
Ok, it works perfect. You do have to stand right on some loot or it will fire the ability set to “X,” but it works great. Once you stand on loot and enable it, it picks up all the loot, and doesn’t use the ability.
Any way to get one vibration for on, and two for off on each script? It’s not necessary, but it would be nice to get some feedback. Either way, thank you very much.
Any way to get one vibration for on, and two for off on each script? It’s not necessary, but it would be nice to get some feedback. Either way, thank you very much.
-
Maxxgold - Sergeant Major of the Army
- Posts: 265
- Joined: Mon Aug 01, 2016 8:43 pm
Re: Path of Exile. Auto flask and loot.
- Code: Select all
#include <ps5.gph>
bool toggle;
bool loot;
main {
if(event_active(PS5_RIGHT)) {
toggle = !toggle;
if(toggle) combo_run(Rumble1);
else combo_run(Rumble2);
}
if(is_active(PS5_L3) && event_active(PS5_CROSS)) {
loot = !loot;
if(loot) combo_run(Rumble1);
else combo_run(Rumble2);
}
if(toggle) combo_run(myCombo);
if(loot) combo_run(autoloot);
}
combo autoloot {
set_val(PS5_CROSS, 100);
wait(100);
set_val(PS5_CROSS, 0);
wait(100);
}
combo myCombo {
set_val(PS5_L1, 100);
wait(100);
set_val(PS5_R1, 100);
wait(100);
set_val(PS5_LEFT, 100);
wait(100);
set_val(PS5_UP, 4000);
wait(100);
set_val(PS5_RIGHT, 100);
wait(100);
}
combo Rumble1 {
ffb_set(FFB_1, 100f, 250);
wait(0);
wait(500);
ffb_reset();
}
combo Rumble2 {
call(Rumble1);
call(Rumble1);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Path of Exile. Auto flask and loot.
If anyone is using this, the best way to auto loot, is to leave X set to nothing. This may not be optimal in all setups. Alternatively, you can leave X unbound on the R2 and L2 settings, and then just hold R2 or L2 for looting. I’ll see if I can think of a better way to improve this, but it does work well with X unbound.
When you leave X empty and turn on auto X, you can kill and loot efficiently. You can also set X on the L2 and R2 to an ability, and every time you press the R2 or L2, that ability will trigger. I have Snipers Mark set to X on R2, and all,I have to do is pull the trigger, and Snipers Mark gets set on an enemy.
When you leave X empty and turn on auto X, you can kill and loot efficiently. You can also set X on the L2 and R2 to an ability, and every time you press the R2 or L2, that ability will trigger. I have Snipers Mark set to X on R2, and all,I have to do is pull the trigger, and Snipers Mark gets set on an enemy.
-
Maxxgold - Sergeant Major of the Army
- Posts: 265
- Joined: Mon Aug 01, 2016 8:43 pm
Re: Path of Exile. Auto flask and Auto loot.
This is the final version, at least at this point. Thanks for all your help Mad
When Auto-Flask is enabled, your controller will turn Red. When Auto-Loot is enabled, your controller will turn Green. When both are enabled, your controller will turn Yellow. When one script is turned off, the controller will change color to the script that is running. When Auto-loot or Auto-flask is turned on your controller will rumble once. When they are turned off your controller will rumble twice.
Path of Exile is a super fast paced game, and it is easy to forget what is turned on. You have to be careful next to portals, NPC’s, or anything that “X” can interact with. If you are standing next to a portal, and Auto-loot is on, you will waste maps jumping back and forth, killing your limited supply of portals, which is why I need to know exactly which script is running when I’m near something I can interact with.
I get clear of everything, and then turn on the Auto-loot and Auto-Flask.
When Auto-Flask is enabled, your controller will turn Red. When Auto-Loot is enabled, your controller will turn Green. When both are enabled, your controller will turn Yellow. When one script is turned off, the controller will change color to the script that is running. When Auto-loot or Auto-flask is turned on your controller will rumble once. When they are turned off your controller will rumble twice.
Path of Exile is a super fast paced game, and it is easy to forget what is turned on. You have to be careful next to portals, NPC’s, or anything that “X” can interact with. If you are standing next to a portal, and Auto-loot is on, you will waste maps jumping back and forth, killing your limited supply of portals, which is why I need to know exactly which script is running when I’m near something I can interact with.
I get clear of everything, and then turn on the Auto-loot and Auto-Flask.
- Code: Select all
#pragma METAINFO("Path of Exile 2", 1, 0, "Maxxgold")
#ifndef set_led // IMPORTANT: Don't delete this line.
#define set_led(LED_INDENTIFER, INTENSITY) led_set(LED_INDENTIFER, (fix32) INTENSITY, NULL);
#define RED LED_2
#define GREEN LED_3
#define BLUE LED_1
#endif // IMPORTANT: Don't delete this line.
#include <ps5.gph>
bool toggle;
bool loot;
main {
if(event_active(PS5_RIGHT)) {
toggle = !toggle;
if(toggle) {
combo_run(Rumble1);
set_led(RED, 100);
}
else {
combo_run(Rumble2);
led_reset();
if(loot) set_led(GREEN, 100);
}
}
if(is_active(PS5_L3) && event_active(PS5_CROSS)) {
loot = !loot;
if(loot) {
combo_run(Rumble1);
set_led(GREEN, 100);
}
else {
combo_run(Rumble2);
led_reset();
if(toggle) set_led(RED, 100);
}
}
if(toggle) combo_run(myCombo);
if(loot) combo_run(autoloot);
}
combo autoloot {
set_val(PS5_CROSS, 100);
wait(100);
set_val(PS5_CROSS, 0);
wait(100);
}
combo myCombo {
set_val(PS5_L1, 100);
wait(100);
set_val(PS5_R1, 100);
wait(100);
set_val(PS5_LEFT, 100);
wait(100);
set_val(PS5_UP, 4000);
wait(100);
set_val(PS5_RIGHT, 100);
wait(100);
}
combo Rumble1 {
ffb_set(FFB_1, 100f, 250);
wait(0);
wait(500);
ffb_reset();
}
combo Rumble2 {
call(Rumble1);
call(Rumble1);
}
-
Maxxgold - Sergeant Major of the Army
- Posts: 265
- Joined: Mon Aug 01, 2016 8:43 pm
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 58 guests