Can ssomeone fix this error?
Posted: Sun May 13, 2018 9:28 am
- Code: Select all
//Posted by biddnaz, a member of the community in the device Forums - http://device.com/forums
//Posted : Friday 11th of May, 2018 16:15 UTC
// GPC Online Library// skywalkers_v16_script.gpc
/*#########################################################################################################################################################################################################################################
######################################## FORTNITE - BATTLE ROYAL SCRIPT FOR device / TITAN ONE #########################################################################################################################################
########################################==========================================================#########################################################################################################################################
################################## TOGGLE MENU ############################################# DESCRIPTION ##################################################################################################################################
##################################=============#############################################=============##################################################################################################################################
######################|------*/int in_game_sens = 6; /*#######|----------------------Important for AutoBuild!------------------------|###############################################################################################
######################|------*/int RapidFire = FALSE; /*#######|-------HOLD "Scope_BTN" and press "Jump_BTN" for toggle on_off--------|#################################################################################################
######################|------*/int AntiRecoil = TRUE; /*#######|-------HOLD "Scope_BTN" and press "Crouch_BTN" for toggle on_off------|#################################################################################################
######################|------*/int AutoRun = TRUE; /*#######|---------------NO TOGGLE WHILE IN-GAME POSSIBLE!----------------------|#################################################################################################
######################|------*/int Aimbot = TRUE; /*#######|-------HOLD "Scope_BTN" and press "D-PAD RIGHT" for toggle on_off-----|#################################################################################################
##############################|>>>>>>*/int SniperMode = FALSE;/*///////HOLD "Scope_BTN" and press "D-PAD UP" for toggle on_off////////|###############################################################################################
######################|------*/int AimAssist = FALSE; /*#######|---------------NO TOGGLE WHILE IN-GAME POSSIBLE!----------------------|###############################################################################################
######################|------*/int AutoBuild = FALSE; /*#######|-----------*/int DefenseBuild=FALSE; int ManualBuild=TRUE;/*----------|##########################################################################################################
######################|------*/int Jitter = FALSE; /*#######|---*/int TacMode=FALSE; int PumpMode=TRUE; int JumpMode = FALSE;/*-----|#######################################################################################################
######################|------*/int DropShot = FALSE; /*#######|------------*/int DefenseMode=FALSE; int AttackMode=TRUE;/*-----------|###############################################################################################
#########################################################################################################################################################################################################################################*/
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|
// COPYRIGHT! DON'T SHARE/SELL OR PUBLISH THIS SCRIPT/CODE OR ANY VALUE!!! |
// PATENT REGISTRED! |
//----------------------------------------------------------------------------------|
// CREDITS GO TO " xXSkyWalkerXx1 " |
//----------------------------------------------------------------------------------|
// VERSION: V16 |
//----------------------------------------------------------------------------------|
// NOTICE: Jitter: -For Jitter you need 2 shotguns! (WORKS AGAIN!) |
// |
// AutoBuild: -DefenseBuild - Mode: means if you will be attack of a player |
// then you build automaticly a wall around you |
// -ManualBuild - Mode: means if you press DPAD-DOWN you build a |
// wall around you |
// -Press short Dpad_Down to activate AutoBuild |
// -Sens 10 are to fast for AutoBuild |
// |
// DropShot: -DefenseMode: means if you will be attack of a player |
// then DropShot will be enabled |
// -AttackMode: means if you hold Scope_BTN and press Shoot_BTN |
// DropShot will be enabled |
// |
// TOGGLE SYSTEM: - To switch between Jitter-moden: hold Scope_BTN and press |
// once Dpad_LEFT (not possible for JumpMode) |
// - To switch between Aimbot-moden: hold Scope_BTN and press |
// once Dpad_LEFT |
////////////////////////////////////////////////////////////////////////////////////|
//###########################################################################################################
int Scope_BTN;int Shoot_BTN;int LY;int Run_BTN;int Reload_BTN;int Jump_BTN;int UP;int RY;int RIGHT;int RX;int Crouch_BTN;int RightBumber;int LeftBumber;int Left;int Down;
int a;int b;int build1;int build2;int Melee_BTN; int Switch_BTN;int antirecoil;
int shoot_rate = 4; // BulletSpeed for RapidFire
int valueY = 22;
int valueX = 21;
int antirecoil_sg = 24;
int antirecoil_fg = 31;
int rapidfire;
int AimSpeed = 120;
int delayA = 20; // AimAssist
int delay = 14; // Aimbot
int build_speed = 1800; // Speed of AutoBuild, default: 1800
int waitjitter = 500;
//###########################################################################################################
//-------------------------------------------------------------------------------------------
//COLOR IDENTIFICATION added by biddnaz; code by WalterHMartinez
define Blue = 1;
define Red = 2;
define Green = 3;
define Pink = 4;
define SkyBlue = 5;
define Yellow = 6;
define White = 7;
data(1,
2, 0, 0, 0, //1. Blue
0, 2, 0, 0, //2. Red
0, 0, 2, 0, //3. Green
0, 0, 0, 2, //4. Pink
2, 0, 2, 0, //5. SkyBlue
0, 2, 2, 0, //6. Yellow
2, 2, 2, 2 //7. White
);
int Col_ind;
//END
init { //-BUTTON LAYOUT-\\
if(get_console() == PIO_PS4){
Scope_BTN = PS4_L2;
Shoot_BTN = PS4_R2;
LY = PS4_LY;
Run_BTN = PS4_L3;
Reload_BTN = PS4_SQUARE;
Jump_BTN = PS4_CROSS;
UP = PS4_UP;
RY = PS4_RY;
RIGHT = PS4_RIGHT;
RX = PS4_RX;
RY = PS4_RY;
Crouch_BTN = PS4_CIRCLE;
Left = PS4_LEFT;
Down = PS4_DOWN;
RightBumber = PS4_R1;
LeftBumber = PS4_L1;
Melee_BTN = PS4_R3;
Switch_BTN = PS4_TRIANGLE;
}else{
Switch_BTN = XB1_Y;
RightBumber = XB1_RB;
Scope_BTN = XB1_LT;
Shoot_BTN = XB1_RT;
LY = XB1_LY;
Run_BTN = XB1_LS;
Reload_BTN = XB1_X;
Jump_BTN = XB1_A;
UP = XB1_UP;
RY = XB1_RY;
RIGHT = XB1_RIGHT;
RX = XB1_RX;
RY = XB1_RY;
Crouch_BTN = XB1_B;
Left = XB1_LEFT;
Down = XB1_DOWN;
LeftBumber = XB1_LB;
Melee_BTN = XB1_RS;
}
//AutoBuild - WaitTimes
build1 = build_speed/in_game_sens;
build2 = (build_speed-(build_speed/5))/in_game_sens;
//RapidFire - Settings
rapidfire = (1000/10)/shoot_rate; set_val(TRACE_6,rapidfire);
}//CREDITS: xXSkyWalkerXx1
//###########################################################################################################
main {
/////////////////////////////////////////////// added by biddnaz;
// Color Identification
if ((Jitter) && PumpMode) colourled(Blue); //Pumpmode on
if ((Jitter) && TacMode) colourled(Green); //Tacmode on
if ((SniperMode)) colourled(Yellow); //SniperMode on
if ((Aimbot) && !Jitter) colourled(Red); //Aimbot on / Jitter Off
if (!Aimbot && !Jitter && !SniperMode) colourled(SkyBlue); // everything off
if(SniperMode){
if(get_val(Scope_BTN)&&get_ptime(Scope_BTN)>= 220){
combo_run(Aimbot2);}
if(event_release(Scope_BTN)){ combo_stop(Aimbot2);}
}
if(AimAssist){
if(get_val(Scope_BTN)){
combo_run(AssY);
combo_run(AssX);
}
if((get_val(RY)) > valueY || (get_val(RY)) < valueY*(-1)){
combo_stop(AssY);
}
if((get_val(RX)) > valueX || (get_val(RX)) < valueX*(-1)){
combo_stop(AssX);
}
}
if(get_val(Scope_BTN) && event_press(Jump_BTN)){
RapidFire =! RapidFire;
if(RapidFire == TRUE){combo_run(Notify);a=0;b=2;}
if(RapidFire == FALSE){combo_run(Notify);a=2;b=0;}
}
if(RapidFire){
if(get_val(Shoot_BTN)){
combo_run(Rapidfire);
}
}
if(get_val(Scope_BTN) && event_press(RIGHT)){
SniperMode =! SniperMode;
Aimbot =! Aimbot;
if(Aimbot == TRUE){combo_run(Notify);a=0;b=2;SniperMode=FALSE;}
if(Aimbot == FALSE){combo_run(Notify);a=2;b=0;}
}
if(Aimbot){
if(get_val(Scope_BTN)&&get_ptime(Scope_BTN)>= 200){
combo_run(Aimbot1);}
if(event_release(Scope_BTN)){ combo_stop(Aimbot1);}
}
if(AutoRun){if(get_val(LY) <= -20){set_val(Run_BTN, 100);}}
/* Removed by Biddnaz
if(ManualBuild==TRUE||DefenseBuild==TRUE){
if(get_val(Scope_BTN) && event_press(Down)){
combo_stop(autobuild);
ManualBuild =! ManualBuild;
DefenseBuild =! DefenseBuild;
if(ManualBuild == TRUE){combo_run(Notify);a=0;b=2;}
if(DefenseBuild == TRUE){combo_run(Notify);a=0;b=2;}}}
if(AutoBuild){
if(DefenseBuild){if((get_rumble(RUMBLE_A)||get_rumble(RUMBLE_B))&&get_val(Shoot_BTN)<=19){combo_run(autobuild);}}
if(ManualBuild){if(get_val(Down)){set_val(Down,0);combo_run(autobuild);}}
} */
if(get_val(Scope_BTN)&&event_press(UP)){ Jitter=!Jitter;
if(Jitter == TRUE){combo_run(Notify);a=0;b=2;}
if(Jitter == FALSE){combo_run(Notify);a=2;b=0;}
}
if(Jitter){
if(get_val(Scope_BTN) && event_press(Left)){
PumpMode =! PumpMode;
TacMode =! TacMode;
if(TacMode == TRUE){combo_run(Notify);a=0;b=2;}
if(PumpMode == FALSE){combo_run(Notify);a=2;b=0;}
if(TacMode){ waitjitter = waitjitter + 90;}
if(PumpMode){ waitjitter = waitjitter + 190;}
}
if(get_val(Shoot_BTN)){combo_run(jitter);combo_stop(Rapidfire);combo_run(AutoAim_Shotgun);if(JumpMode){combo_run(Jump);}}
if(event_release(Shoot_BTN)){combo_stop(jitter);}
}
if(AntiRecoil){
if(get_val(Shoot_BTN)){combo_run(Antirecoil);}
if(get_rumble(RUMBLE_A) <= 50){antirecoil = antirecoil_sg;}
if(get_rumble(RUMBLE_A) > 50){antirecoil = antirecoil_fg;}
if(abs(get_val(RY)) >= antirecoil+ 10){combo_stop(Antirecoil);}
}
/* Removed by biddnaz
if(get_val(Scope_BTN) && event_press(Melee_BTN)){
DropShot =! DropShot;
if(DropShot == TRUE){combo_run(Notify);a=0;b=2;}
if(DropShot == FALSE){combo_run(Notify);a=2;b=0;}
}
if(DropShot){
if(DefenseMode){if(get_val(Shoot_BTN)==0&&get_rumble(RUMBLE_A)||get_rumble(RUMBLE_B)){combo_run(DropShot);}}
if(AttackMode){if(get_val(Scope_BTN)&&get_val(Shoot_BTN)){combo_run(DropShot);}}
}
*/
}//CREDITS: xXSkyWalkerXx1
//###########################################################################################################
combo Notify {
/*set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(550);
set_led(LED_1,0);
set_led(LED_2,0);
set_led(LED_3,0);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,0);
set_led(LED_3,0);
set_led(LED_4,0);
wait(250);
set_led(LED_1,0);
set_led(LED_2,a);
set_led(LED_3,b);
set_led(LED_4,0);
wait(250);
reset_leds(); removed by biddnaz*/
}
combo Jump{
set_val(Jump_BTN,100);
wait(40);
wait(waitjitter);
set_val(Jump_BTN,100);
}
combo DropShot{
set_val(Melee_BTN,100);
wait(40);
wait(200);
set_val(Melee_BTN,100);
}
combo jitter{
set_val(RightBumber,100);
set_val(Shoot_BTN,100);
wait(40);
wait(waitjitter);
set_val(LeftBumber,100);
set_val(Shoot_BTN,100);
wait(40);
wait(waitjitter);
}
combo autobuild{
set_val(Crouch_BTN,100);
wait(175);
wait(25);
set_val(RX,100);
wait(build1/6);
set_val(Shoot_BTN,100);
wait(build1-(build1/6));
wait(25);
set_val(Shoot_BTN,100);
set_val(RX,100);
wait(build1);
wait(25);
set_val(Shoot_BTN,100);
set_val(RX,100);
wait(build1);
wait(25);
set_val(Shoot_BTN,100);
set_val(RX,100);
wait(build2);
wait(25);
}
combo AssY {
set_val(RY, valueY);
wait(delayA);
set_val(RY, valueY*(-1));
wait(delayA);
}
combo AssX {
wait(2);
set_val(RX, valueX);
wait(delayA/1.5);
set_val(RX, valueX*(-1));
wait(delayA/1.5);
}
combo Rapidfire {
set_val(Shoot_BTN, 100);
wait(rapidfire);
set_val(Shoot_BTN, 0);
}
combo Aimbot1{
set_val(Scope_BTN,100);
wait(AimSpeed);
set_val(Scope_BTN,0);
wait(delay);
}
combo Aimbot2{
set_val(Scope_BTN,100);
wait(600); // by biddnaz changed from 350
set_val(Scope_BTN,0);
wait(10);
}
combo AutoAim_Shotgun{
set_val(Scope_BTN,100);
wait(100);
set_val(Scope_BTN,0);
wait(350);
}
combo Antirecoil {
set_val(RY, antirecoil);
wait(delay);
set_val(RY, antirecoil);
wait(delay);
}
// COLOR LED function added by biddnaz; code by WalterHMartinez
//--------------------------------------------------------------
function colourled(Colour) {
Col_ind = (Colour * 4) - 3;
set_led(LED_1, dbyte(Col_ind));
set_led(LED_2, dbyte(Col_ind + 1));
set_led(LED_3, dbyte(Col_ind + 2));
set_led(LED_4, dbyte(Col_ind + 3));
}
------ GPC: Build started ------
> New* :
> ERROR line 19: syntax error near unexpected token '|'.
Build failed with 1 errors ...
i dont understand