Fortnite AFK script

Forum to discuss the scripts, configs and connection of XIM with the Titan devices.

Moderator: antithesis

Fortnite AFK script

Postby teckx » Fri Feb 21, 2020 6:41 pm

The old one no longer works. Could someone please look into one please? last one would join the game, hit A every few seconds then B. repeat
now it gets stuck leaving game and starting a new game
User avatar
teckx
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 194
Joined: Tue Mar 27, 2018 1:53 pm

Re: Fortnite AFK script

Postby Mad » Fri Feb 21, 2020 7:24 pm

teckx wrote:The old one no longer works. Could someone please look into one please? last one would join the game, hit A every few seconds then B. repeat
now it gets stuck leaving game and starting a new game

Post the script you were using so we can take a look.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Fortnite AFK script

Postby teckx » Sat Feb 22, 2020 3:02 am

Code: Select all
//Posted : Thursday 19th of July, 2018 16:58 UTC  
 
//FORTNITE AFK XP
//When in Lobby press down on D-Pad to start script
//Works for both PS4 and XBOX ONE
//Credit: dricon
#include <titanone.gph>
 
int onoff;
 
main
{
    if(event_press(PS4_DOWN)){onoff = !onoff;
    }
    if(onoff){combo_run(AFK);
    }
}
 
combo AFK
{
    set_val(PS4_CIRCLE, 100);
    wait(2400);
    set_val(PS4_CIRCLE, 0);
    wait(10);
    set_val(PS4_TRIANGLE, 100);
    wait(100);
    set_val(PS4_TRIANGLE, 0);
    wait(200);
    set_val(PS4_CROSS, 100);
    wait(100);
    set_val(PS4_CROSS, 0);
    wait(200);
}
User avatar
teckx
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 194
Joined: Tue Mar 27, 2018 1:53 pm

Re: Fortnite AFK script

Postby J2Kbr » Wed Feb 26, 2020 4:37 am

Please try this modified version:
Code: Select all
#include <ps4.gph>
 
bool onoff;
 
main {
    if(event_active(PS4_DOWN)) {
        onoff = !onoff;
    }
    if(onoff) {
        combo_run(Join);
    } else {
        combo_stop(Join);
        combo_stop(AFK);
    }
}
 
combo Join {
    set_val(PS4_TRIANGLE, 100.0);
    wait(100);
    set_val(PS4_TRIANGLE, 0.0);
    wait(100);
    combo_run(AFK);
    wait(30000);
    combo_stop(AFK);
}
 
combo AFK {
    set_val(PS4_CIRCLE, 100.0);
    wait(100);
    set_val(PS4_CIRCLE, 0.0);
    wait(2400);
 
    set_val(PS4_CROSS, 100.0);
    wait(100);
    set_val(PS4_CROSS, 0.0);
    wait(2400);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to XIM Apex, XIM4, XIM Edge with Titan devices

Who is online

Users browsing this forum: No registered users and 17 guests

cron