PDA

View Full Version : XBOX 360 HOW TO SWITCH (BACK+A)BETWEEN 4CHARACTERS WHILE USING THE SAME RIGHT STICK SETUP?



SUPERFEAZELL
16th March 18, 12:03
//This script was modified to fit my control style but I don't know how to make the switch
//work 4 times and toggle back to the first... at it's present state it will switch between
//the first two characters... (Vega/Balrog) but I need this script to switch....
//(Vega/Balrog/Deejay/Guile) then back to Vega while using only the right stick for control
//I beg of you great...... Master Excalibur

// Script was generated with < Script Manipulator > ver. 9.8 Date :02/28/18 Time: 7:57:12 PM
//------------------------------------------------------------------------
define BACK_PUNCH = 17; // TRIANGLE, Y
define BACK_KICK = 18; // CIRCLE, B
define FRONT_KICK = 19; // CROSS, A
define FRONT_PUNCH = 20; // SQUARE, X
define R1 = 3; // R1, RB
define R2 = 4; // R2, RT
define THROW = 6; // L1, LB
define L2 = 7; // L2, LT
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
define back_button = 1; // back button
define START_button = 2; // START BUTTON
//-----------------------------------------------------
define BACK = 128; // BACK FLAG
define FORWARD = 129; // FORWARD FLAG
// End Flags. 254 and 255 should never be used in the
// data segment for other purposes.
//-----------------------------------------------------
define EOC = 254; // End of Combo
define EOD = 255; // End of Data Segment
//-----------------------------------------------------
define DeeJayT22 = 2;
define DeeJayT24 = 3;
define DeeJayT13 = 4;
define DeeJayT14 = 5;
define DudleyT22 = 6;
define DEEJAYSLIDENEGEDGEU2 = 7;
define DeeJayULTRA1TNE = 8;
define DeeJaymagic19 = 9;
define OPTIONSELECTU2 = 10;
define GuileT20 = 11;
define GuileT21 = 12;
define GuileT22 = 13;
define GuileT23 = 14;
define GuileT24 = 15;
define BalrogT17 = 16;
define BalrogT18 = 17;
define BalrogT19 = 18;
define BalrogT20 = 20;
define VegaT20 = 21;
define VegaT21 = 22;
define VegaT22 = 23;
define VegaT23 = 24;
define VegaT24 = 25;
define DEEJAYPSYCHIC = 26;
define BALROGPSYCHIC = 27;
define VEGAPSYCHIC = 28;

data(
DeeJayT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
40,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,2,
2,UP,100,
R1,100,
2,
1,BACK,100,
160,
0,2,
2,FORWARD,100,
L2 ,100,
2,
EOC,
DeeJayT24,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
50,
2,BACK,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_KICK,100,
2,
0,15,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DeeJayT13,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,5,
2,UP,100,
R2,100,
2,
EOC,
DeeJayT14,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
FRONT_KICK,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DudleyT22,
2,DOWN,100,
BACK,100,
100,
2,DOWN,100,
BACK,100,
2,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
THROW,100,
2,
1,DOWN,100,
102.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
0,2,
2,UP,100,
THROW,100,
2,
1,DOWN,100,
140,
0,2,
2,UP,100,
R2,100,
2,
EOC,
DEEJAYSLIDENEGEDGEU2,
3,R2,100,
DOWN,100,
BACK,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
DeeJayULTRA1TNE,
2,DOWN,100,
FORWARD,100,
16,
3,DOWN,100,
FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
18,
2,FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
29,
2,R1,100,
FORWARD,100,
9,
1,BACK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
1,L2,100,
9,
EOC,
DeeJaymagic19,
2,BACK_PUNCH,100,
BACK_KICK,100,
90,
0,5,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
OPTIONSELECTU2,
3,DOWN,100,
BACK,100,
R2,100,
80,
2,DOWN,100,
BACK,100,
83,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
9,
2,DOWN,100,
BACK,100,
10,
3,THROW,100,
UP,100,
FORWARD,100,
10,
EOC,
GuileT20,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
FRONT_PUNCH,100,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
BACK_PUNCH,100,
4,DOWN,100,
BACK,100,
FRONT_KICK,100,
BACK_KICK,100,
99.5,
1,UP,100,
0,1,
EOC,
GuileT21,
2,FRONT_PUNCH,100,
FRONT_KICK,100,
0,
3,BACK,100,
FRONT_PUNCH,100,
FRONT_KICK,100,
EOC,
GuileT22,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
45,
2,BACK,100,
R1,100,
2,
0,2,
2,FORWARD,100,
R1,100,
2,
EOC,
GuileT23,
2,UP,100,
FORWARD,100,
2,
0,50,
1,R1,100,
2,
0,40,
2,DOWN,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_PUNCH,100,
2,
EOC,
GuileT24,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
40,
3,DOWN,100,
FORWARD,100,
R2,100,
2,
1,DOWN,100,
75,
2,UP,100,
L2,100,
2,
EOC,
BalrogT17,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
45,
2,BACK,100,
R2,100,
2,
1,BACK,100,
40,
2,BACK,100,
BACK_KICK,100,
15,
0,7.5,
2,FORWARD,100,
R1,100,
7.5,
0,7.5,
1,BACK,100,
7.5,
0,7.5,
2,FORWARD,100,
R2,100,
7.5,
EOC,
BalrogT18,
3,BACK,100,
DOWN,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_KICK,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
EOC,
BalrogT19,
2,BACK,100,
DOWN,100,
200,
1,BACK,100,
2,
3,BACK,100,
UP,100,
R1,100,
2,
1,BACK,100,
100,
1,FORWARD,100,
2,
1,BACK,100,
2,
2,FORWARD,100,
FRONT_KICK,100,
2,
0,2,
1,FRONT_KICK,100,
200,
EOC,
BalrogT20,
2,BACK_PUNCH,100,
BACK_KICK,100,
100,
0,15,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
0,2,
1,DOWN,100,
75,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
45,
2,DOWN,100,
FRONT_KICK,100,
2,
0,2,
2,UP,100,
R1,100,
2,
EOC,
VegaT20,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R1,100,
5,
1,BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
1,FORWARD,100,
75,
2,BACK_PUNCH,100,
BACK_KICK,100,
2,
EOC,
VegaT21,
2,UP,100,
FORWARD,100,
2,
2,BACK,100,
DOWN,100,
50,
3,DOWN,100,
BACK,100,
R1,100,
5,
2,DOWN,100,
BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
100,
2,FORWARD,100,
L2,100,
2,
EOC,
VegaT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
5,
1,DOWN,100,
40,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
47.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
5,
3,FORWARD,100,
UP,100,
L2,100,
2,
1,FORWARD,100,
100,
1,BACK,100,
25,
2,BACK,100,
THROW,100,
2,
EOC,
VegaT23,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
52.5,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
51,
1,FRONT_KICK,100,
2,
0,32.5,
1,FRONT_KICK,100,
2,
0,35,
2,DOWN,100,
BACK_PUNCH,100,
2,
4,DOWN,100,
EOC,
VegaT24,
DOWN,100,
FORWARD,100,
R2,100,
2,
2,DOWN,100,
BACK,100,
75,
1,FORWARD,100,
2,
0,2,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
L2,100,
2,
EOC,
DEEJAYPSYCHIC,
2,DOWN,100,
BACK,100,
16,
1,BACK,100,
9,
2,DOWN,100,
BACK,100,
29,
1,BACK,100,
19,
2,DOWN,100,
BACK,100,
9,
1,BACK,100,
10,
2,BACK,100,
BACK_PUNCH,100,
5,
1,FORWARD,100,
5,
1,BACK,100,
9,
3,L2,100,
DOWN,100,
FORWARD,100,
10,
1,BACK,100,
9,
EOC,
BALROGPSYCHIC,
2,DOWN,100,
BACK,100,
92,
2,BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,THROW,100,
FORWARD,100,
9,
EOC,
VEGAPSYCHIC,
2,DOWN,100,
BACK,100,
73,
1,BACK,100,
10,
2,DOWN,100,
BACK,100,
9,
3,DOWN,100,
BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,L2,100,
FORWARD,100,
9,
EOC,
EOD );
unmap 9; //PS4_RX
unmap 10; //PS4_RY
unmap 11; //PS4_LX
unmap 12; //PS4_LY
unmap 8; //PS4_L3
unmap 5; //PS4_R3
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int value_1, value_2, value_3, value_4, value_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int Right;
int Left;
int BTN;

main { if(get_val(11) >20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}
if(get_val(XB360_LB)) combo_run(LPDASHSTR);
if(get_val(XB360_RS)) combo_stop(LPDASHSTR);
if (get_val(XB360_X)) {BTN=20;combo_run (TURBO);}
if (get_val(XB360_Y)) {BTN=17;combo_run (TURBO);}
if (get_val(XB360_A)) {BTN=19;combo_run (TURBO);}
if (get_val(XB360_B)) {BTN=18;combo_run (TURBO);}
if (get_val(XB360_RB)) {BTN=3;combo_run (TURBO);}
if (get_val(XB360_RT)) {BTN=4;combo_run (TURBO);}
if(delay_t>0){
delay_t=delay_t-get_rtime();
if(delay_t>2000 ){
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
// Determine Back and Forward
if(get_val(RIGHT)) {
back = LEFT; forward = RIGHT;
} else if(get_val(LEFT)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// switch by hold XB360_BACK + press XB360_A
if(get_val(XB360_BACK )){
if(event_press(XB360_A )){
switch=!switch;
if(switch){
RUMBLE_TYPE=RUMBLE_A;
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}else{
RUMBLE_TYPE=RUMBLE_B;
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
set_val(XB360_A ,0);
}
// If there is a combo to be executed
if(i >= 0 && delay_t<=0) {
// Execute the combo step-by-step
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else { // the combo finished
i = -1;
delay_t=0;
}
}
// CANCEL combos condition-----------------------------------------
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if ( (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==3){
if ( (abs(get_val (8)) <= 20 && abs(get_val (5)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}
// Make sure the user inputs does not interfere in the combo
set_val(BACK_PUNCH , 0);
set_val(BACK_KICK , 0);
set_val(FRONT_KICK , 0);
set_val(FRONT_PUNCH , 0);
set_val(L2 , 0);
set_val(UP , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
// if no combo execute - look for combo activation
} else {
// EDIT THIS PART OF SCRIPT for combo run ---------------------------
//////////////////////////////////////////////////////////////////////////
if(switch){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VEGAPSYCHIC);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT20);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VegaT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(VegaT24);
}
// switch
} else {
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BALROGPSYCHIC);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT19);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BalrogT17);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT20);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}

SUPERFEAZELL

SUPERFEAZELL is online now Fastest Thing Alive

--------------------------------------------------------------------------------
Join Date:Oct 2014Posts:17 Thanked:0 Times Mentioned:0 Post(s)Tagged:0 Topic(s)

page5 the end!!!!
GPC Code:
if(switch){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT22);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT24);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT13);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT14);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} else {
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT20);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT22);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(GuileT24);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} /////////////////////////////////////////////////////////////////////////////////////////////
}// <combo activation> end
}//<main> block end
}
combo LPDASHSTR{
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 100);
wait(995);
set_val(Left, 100);
wait(11);
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 0);
}
combo TURBO {
set_val(BTN, 100);
wait(20);
set_val(BTN, 0);
wait(20);
set_val(BTN, 0);
}
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
// Returns the starting index of a combo
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
// Set the buttons, values and wait time of a step
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
value_1 = dbyte(i); i = i + 1;
} else { button_1 = -1; value_1 = 0; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
value_2 = dbyte(i); i = i + 1;
} else { button_2 = -1; value_2 = 0; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
value_3 = dbyte(i); i = i + 1;
} else { button_3 = -1; value_3 = 0; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
value_4 = dbyte(i); i = i + 1;
} else { button_4 = -1; value_4 = 0; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
value_5 = dbyte(i); i = i + 1;
} else { button_5 = -1; value_5 = 0; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
else if(wait_time > 2530) wait_time = 2530;
return(TRUE);
}
// If the step has FORWARD and BACK buttons, set the correct value.
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
// Set the buttons and values, function used on the combos.
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, value_1);
if(button_2 != -1) set_val(button_2, value_2);
if(button_3 != -1) set_val(button_3, value_3);
if(button_4 != -1) set_val(button_4, value_4);
if(button_5 != -1) set_val(button_5, value_5);
}

Excalibur
17th March 18, 06:06
And you want to switch between those charcters witch only back+A ?

SUPERFEAZELL
21st March 18, 19:50
Yes with only (back +A)

SUPERFEAZELL
1st April 18, 04:33
Xbox 360 console and xbox controller/ normal game setting... only problem... need the gpc script above to switch between all four characters while only using the right analog stick and dpad setup for control.

Excalibur
1st April 18, 05:16
Xbox 360 console and xbox controller/ normal game setting... only problem... need the gpc script above to switch between all four characters while only using the right analog stick and dpad setup for control.

Show me how you want to group them!

define DeeJayT22 = 2;
define DeeJayT24 = 3;
define DeeJayT13 = 4;
define DeeJayT14 = 5;
define DudleyT22 = 6;
define DEEJAYSLIDENEGEDGEU2 = 7;
define DeeJayULTRA1TNE = 8;
define DeeJaymagic19 = 9;
define OPTIONSELECTU2 = 10;
define GuileT20 = 11;
define GuileT21 = 12;
define GuileT22 = 13;
define GuileT23 = 14;
define GuileT24 = 15;
define BalrogT17 = 16;
define BalrogT18 = 17;
define BalrogT19 = 18;
define BalrogT20 = 20;
define VegaT20 = 21;
define VegaT21 = 22;
define VegaT22 = 23;
define VegaT23 = 24;
define VegaT24 = 25;
define DEEJAYPSYCHIC = 26;
define BALROGPSYCHIC = 27;
define VEGAPSYCHIC = 28;

Excalibur
1st April 18, 05:27
Here you go :


//Posted by SUPERFEAZELL, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

//Posted : Sunday 1st of April, 2018 8:33 UTC

//This script was modified to fit my control style but I don't know how to make the switch
//work 4 times and toggle back to the first... at it's present state it will switch between
//the first two characters... (Vega/Balrog) but I need this script to switch....
//(Vega/Balrog/Deejay/Guile) then back to Vega while using only the right stick for control
//I beg of you great...... Master Excalibur

// Script was generated with < Script Manipulator > ver. 9.8 Date :02/28/18 Time: 7:57:12 PM
//------------------------------------------------------------------------
define BACK_PUNCH = 17; // TRIANGLE, Y
define BACK_KICK = 18; // CIRCLE, B
define FRONT_KICK = 19; // CROSS, A
define FRONT_PUNCH = 20; // SQUARE, X
define R1 = 3; // R1, RB
define R2 = 4; // R2, RT
define THROW = 6; // L1, LB
define L2 = 7; // L2, LT
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
define back_button = 1; // back button
define START_button = 2; // START BUTTON
//-----------------------------------------------------
define BACK = 128; // BACK FLAG
define FORWARD = 129; // FORWARD FLAG
// End Flags. 254 and 255 should never be used in the
// data segment for other purposes.
//-----------------------------------------------------
define EOC = 254; // End of Combo
define EOD = 255; // End of Data Segment
//-----------------------------------------------------
define DeeJayT22 = 2;
define DeeJayT24 = 3;
define DeeJayT13 = 4;
define DeeJayT14 = 5;
define DudleyT22 = 6;
define DEEJAYSLIDENEGEDGEU2 = 7;
define DeeJayULTRA1TNE = 8;
define DeeJaymagic19 = 9;
define OPTIONSELECTU2 = 10;
define GuileT20 = 11;
define GuileT21 = 12;
define GuileT22 = 13;
define GuileT23 = 14;
define GuileT24 = 15;
define BalrogT17 = 16;
define BalrogT18 = 17;
define BalrogT19 = 18;
define BalrogT20 = 20;
define VegaT20 = 21;
define VegaT21 = 22;
define VegaT22 = 23;
define VegaT23 = 24;
define VegaT24 = 25;
define DEEJAYPSYCHIC = 26;
define BALROGPSYCHIC = 27;
define VEGAPSYCHIC = 28;

data(
DeeJayT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
40,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,2,
2,UP,100,
R1,100,
2,
1,BACK,100,
160,
0,2,
2,FORWARD,100,
L2 ,100,
2,
EOC,
DeeJayT24,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
50,
2,BACK,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_KICK,100,
2,
0,15,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DeeJayT13,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,5,
2,UP,100,
R2,100,
2,
EOC,
DeeJayT14,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
FRONT_KICK,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DudleyT22,
2,DOWN,100,
BACK,100,
100,
2,DOWN,100,
BACK,100,
2,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
THROW,100,
2,
1,DOWN,100,
102.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
0,2,
2,UP,100,
THROW,100,
2,
1,DOWN,100,
140,
0,2,
2,UP,100,
R2,100,
2,
EOC,
DEEJAYSLIDENEGEDGEU2,
3,R2,100,
DOWN,100,
BACK,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
DeeJayULTRA1TNE,
2,DOWN,100,
FORWARD,100,
16,
3,DOWN,100,
FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
18,
2,FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
29,
2,R1,100,
FORWARD,100,
9,
1,BACK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
1,L2,100,
9,
EOC,
DeeJaymagic19,
2,BACK_PUNCH,100,
BACK_KICK,100,
90,
0,5,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
OPTIONSELECTU2,
3,DOWN,100,
BACK,100,
R2,100,
80,
2,DOWN,100,
BACK,100,
83,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
9,
2,DOWN,100,
BACK,100,
10,
3,THROW,100,
UP,100,
FORWARD,100,
10,
EOC,
GuileT20,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
FRONT_PUNCH,100,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
BACK_PUNCH,100,
4,DOWN,100,
BACK,100,
FRONT_KICK,100,
BACK_KICK,100,
99.5,
1,UP,100,
0,1,
EOC,
GuileT21,
2,FRONT_PUNCH,100,
FRONT_KICK,100,
0,
3,BACK,100,
FRONT_PUNCH,100,
FRONT_KICK,100,
EOC,
GuileT22,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
45,
2,BACK,100,
R1,100,
2,
0,2,
2,FORWARD,100,
R1,100,
2,
EOC,
GuileT23,
2,UP,100,
FORWARD,100,
2,
0,50,
1,R1,100,
2,
0,40,
2,DOWN,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_PUNCH,100,
2,
EOC,
GuileT24,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
40,
3,DOWN,100,
FORWARD,100,
R2,100,
2,
1,DOWN,100,
75,
2,UP,100,
L2,100,
2,
EOC,
BalrogT17,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
45,
2,BACK,100,
R2,100,
2,
1,BACK,100,
40,
2,BACK,100,
BACK_KICK,100,
15,
0,7.5,
2,FORWARD,100,
R1,100,
7.5,
0,7.5,
1,BACK,100,
7.5,
0,7.5,
2,FORWARD,100,
R2,100,
7.5,
EOC,
BalrogT18,
3,BACK,100,
DOWN,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_KICK,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
EOC,
BalrogT19,
2,BACK,100,
DOWN,100,
200,
1,BACK,100,
2,
3,BACK,100,
UP,100,
R1,100,
2,
1,BACK,100,
100,
1,FORWARD,100,
2,
1,BACK,100,
2,
2,FORWARD,100,
FRONT_KICK,100,
2,
0,2,
1,FRONT_KICK,100,
200,
EOC,
BalrogT20,
2,BACK_PUNCH,100,
BACK_KICK,100,
100,
0,15,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
0,2,
1,DOWN,100,
75,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
45,
2,DOWN,100,
FRONT_KICK,100,
2,
0,2,
2,UP,100,
R1,100,
2,
EOC,
VegaT20,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R1,100,
5,
1,BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
1,FORWARD,100,
75,
2,BACK_PUNCH,100,
BACK_KICK,100,
2,
EOC,
VegaT21,
2,UP,100,
FORWARD,100,
2,
2,BACK,100,
DOWN,100,
50,
3,DOWN,100,
BACK,100,
R1,100,
5,
2,DOWN,100,
BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
100,
2,FORWARD,100,
L2,100,
2,
EOC,
VegaT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
5,
1,DOWN,100,
40,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
47.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
5,
3,FORWARD,100,
UP,100,
L2,100,
2,
1,FORWARD,100,
100,
1,BACK,100,
25,
2,BACK,100,
THROW,100,
2,
EOC,
VegaT23,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
52.5,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
51,
1,FRONT_KICK,100,
2,
0,32.5,
1,FRONT_KICK,100,
2,
0,35,
2,DOWN,100,
BACK_PUNCH,100,
2,
4,DOWN,100,
EOC,
VegaT24,
DOWN,100,
FORWARD,100,
R2,100,
2,
2,DOWN,100,
BACK,100,
75,
1,FORWARD,100,
2,
0,2,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
L2,100,
2,
EOC,
DEEJAYPSYCHIC,
2,DOWN,100,
BACK,100,
16,
1,BACK,100,
9,
2,DOWN,100,
BACK,100,
29,
1,BACK,100,
19,
2,DOWN,100,
BACK,100,
9,
1,BACK,100,
10,
2,BACK,100,
BACK_PUNCH,100,
5,
1,FORWARD,100,
5,
1,BACK,100,
9,
3,L2,100,
DOWN,100,
FORWARD,100,
10,
1,BACK,100,
9,
EOC,
BALROGPSYCHIC,
2,DOWN,100,
BACK,100,
92,
2,BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,THROW,100,
FORWARD,100,
9,
EOC,
VEGAPSYCHIC,
2,DOWN,100,
BACK,100,
73,
1,BACK,100,
10,
2,DOWN,100,
BACK,100,
9,
3,DOWN,100,
BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,L2,100,
FORWARD,100,
9,
EOC,
EOD );
unmap 9; //PS4_RX
unmap 10; //PS4_RY
unmap 11; //PS4_LX
unmap 12; //PS4_LY
unmap 8; //PS4_L3
unmap 5; //PS4_R3
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int value_1, value_2, value_3, value_4, value_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int Right;
int Left;
int BTN;

main {
if(get_val(XB360_BACK)){
if(event_press(XB360_A)){
switch ++;
if(switch >5) switch = 1;
}
}
if(get_val(11) >20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}

if(get_val(XB360_LB)) combo_run(LPDASHSTR);
if(get_val(XB360_RS)) combo_stop(LPDASHSTR);
if (get_val(XB360_X)) {BTN=20;combo_run (TURBO);}
if (get_val(XB360_Y)) {BTN=17;combo_run (TURBO);}
if (get_val(XB360_A)) {BTN=19;combo_run (TURBO);}
if (get_val(XB360_B)) {BTN=18;combo_run (TURBO);}
if (get_val(XB360_RB)){BTN= 3;combo_run (TURBO);}
if (get_val(XB360_RT)){BTN= 4;combo_run (TURBO);}
if(delay_t>0){
delay_t=delay_t-get_rtime();
if(delay_t>2000 ){
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
// Determine Back and Forward
if(get_val(RIGHT)) {
back = LEFT; forward = RIGHT;
} else if(get_val(LEFT)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// switch by hold XB360_BACK + press XB360_A
if(get_val(XB360_BACK )){
if(event_press(XB360_A )){
switch=!switch;
if(switch){
RUMBLE_TYPE=RUMBLE_A;
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}else{
RUMBLE_TYPE=RUMBLE_B;
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
set_val(XB360_A ,0);
}
// If there is a combo to be executed
if(i >= 0 && delay_t<=0) {
// Execute the combo step-by-step
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else { // the combo finished
i = -1;
delay_t=0;
}
}
// CANCEL combos condition-----------------------------------------
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if ( (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==3){
if ( (abs(get_val (8)) <= 20 && abs(get_val (5)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}
// Make sure the user inputs does not interfere in the combo
set_val(BACK_PUNCH , 0);
set_val(BACK_KICK , 0);
set_val(FRONT_KICK , 0);
set_val(FRONT_PUNCH , 0);
set_val(L2 , 0);
set_val(UP , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
// if no combo execute - look for combo activation
} else {
// EDIT THIS PART OF SCRIPT for combo run ---------------------------
//////////////////////////////////////////////////////////////////////////
if(switch == 1){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VEGAPSYCHIC);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT20);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VegaT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(VegaT24);
}
// switch
} else if(switch == 3){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BALROGPSYCHIC);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT19);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BalrogT17);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT20);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}

else if(switch == 4){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT22);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT24);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT13);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT14);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} else if(switch == 5){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT20);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT22);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(GuileT24);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} /////////////////////////////////////////////////////////////////////////////////////////////
}// <combo activation> end
}//<main> block end
}
combo LPDASHSTR{
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 100);
wait(995);
set_val(Left, 100);
wait(11);
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 0);
}
combo TURBO {
set_val(BTN, 100);
wait(20);
set_val(BTN, 0);
wait(20);
set_val(BTN, 0);
}
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
// Returns the starting index of a combo
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
// Set the buttons, values and wait time of a step
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
value_1 = dbyte(i); i = i + 1;
} else { button_1 = -1; value_1 = 0; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
value_2 = dbyte(i); i = i + 1;
} else { button_2 = -1; value_2 = 0; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
value_3 = dbyte(i); i = i + 1;
} else { button_3 = -1; value_3 = 0; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
value_4 = dbyte(i); i = i + 1;
} else { button_4 = -1; value_4 = 0; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
value_5 = dbyte(i); i = i + 1;
} else { button_5 = -1; value_5 = 0; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
else if(wait_time > 2530) wait_time = 2530;
return(TRUE);
}
// If the step has FORWARD and BACK buttons, set the correct value.
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
// Set the buttons and values, function used on the combos.
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, value_1);
if(button_2 != -1) set_val(button_2, value_2);
if(button_3 != -1) set_val(button_3, value_3);
if(button_4 != -1) set_val(button_4, value_4);
if(button_5 != -1) set_val(button_5, value_5);
}

Excalibur
1st April 18, 05:38
Or maybe this will be the better aproach :

hold BACK and press :

- UP : switch = 1

- RIGHT : switch = 2

- DOWN : switch = 3

- LEFT : switch = 4

- A : switch = 5


//Posted by SUPERFEAZELL, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

//Posted : Sunday 1st of April, 2018 8:33 UTC

//This script was modified to fit my control style but I don't know how to make the switch
//work 4 times and toggle back to the first... at it's present state it will switch between
//the first two characters... (Vega/Balrog) but I need this script to switch....
//(Vega/Balrog/Deejay/Guile) then back to Vega while using only the right stick for control
//I beg of you great...... Master Excalibur

// Script was generated with < Script Manipulator > ver. 9.8 Date :02/28/18 Time: 7:57:12 PM
//------------------------------------------------------------------------
define BACK_PUNCH = 17; // TRIANGLE, Y
define BACK_KICK = 18; // CIRCLE, B
define FRONT_KICK = 19; // CROSS, A
define FRONT_PUNCH = 20; // SQUARE, X
define R1 = 3; // R1, RB
define R2 = 4; // R2, RT
define THROW = 6; // L1, LB
define L2 = 7; // L2, LT
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
define back_button = 1; // back button
define START_button = 2; // START BUTTON
//-----------------------------------------------------
define BACK = 128; // BACK FLAG
define FORWARD = 129; // FORWARD FLAG
// End Flags. 254 and 255 should never be used in the
// data segment for other purposes.
//-----------------------------------------------------
define EOC = 254; // End of Combo
define EOD = 255; // End of Data Segment
//-----------------------------------------------------
define DeeJayT22 = 2;
define DeeJayT24 = 3;
define DeeJayT13 = 4;
define DeeJayT14 = 5;
define DudleyT22 = 6;
define DEEJAYSLIDENEGEDGEU2 = 7;
define DeeJayULTRA1TNE = 8;
define DeeJaymagic19 = 9;
define OPTIONSELECTU2 = 10;
define GuileT20 = 11;
define GuileT21 = 12;
define GuileT22 = 13;
define GuileT23 = 14;
define GuileT24 = 15;
define BalrogT17 = 16;
define BalrogT18 = 17;
define BalrogT19 = 18;
define BalrogT20 = 20;
define VegaT20 = 21;
define VegaT21 = 22;
define VegaT22 = 23;
define VegaT23 = 24;
define VegaT24 = 25;
define DEEJAYPSYCHIC = 26;
define BALROGPSYCHIC = 27;
define VEGAPSYCHIC = 28;

data(
DeeJayT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
40,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,2,
2,UP,100,
R1,100,
2,
1,BACK,100,
160,
0,2,
2,FORWARD,100,
L2 ,100,
2,
EOC,
DeeJayT24,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
50,
2,BACK,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_KICK,100,
2,
0,15,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DeeJayT13,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,5,
2,UP,100,
R2,100,
2,
EOC,
DeeJayT14,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
FRONT_KICK,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DudleyT22,
2,DOWN,100,
BACK,100,
100,
2,DOWN,100,
BACK,100,
2,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
THROW,100,
2,
1,DOWN,100,
102.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
0,2,
2,UP,100,
THROW,100,
2,
1,DOWN,100,
140,
0,2,
2,UP,100,
R2,100,
2,
EOC,
DEEJAYSLIDENEGEDGEU2,
3,R2,100,
DOWN,100,
BACK,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
DeeJayULTRA1TNE,
2,DOWN,100,
FORWARD,100,
16,
3,DOWN,100,
FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
18,
2,FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
29,
2,R1,100,
FORWARD,100,
9,
1,BACK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
1,L2,100,
9,
EOC,
DeeJaymagic19,
2,BACK_PUNCH,100,
BACK_KICK,100,
90,
0,5,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
OPTIONSELECTU2,
3,DOWN,100,
BACK,100,
R2,100,
80,
2,DOWN,100,
BACK,100,
83,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
9,
2,DOWN,100,
BACK,100,
10,
3,THROW,100,
UP,100,
FORWARD,100,
10,
EOC,
GuileT20,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
FRONT_PUNCH,100,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
BACK_PUNCH,100,
4,DOWN,100,
BACK,100,
FRONT_KICK,100,
BACK_KICK,100,
99.5,
1,UP,100,
0,1,
EOC,
GuileT21,
2,FRONT_PUNCH,100,
FRONT_KICK,100,
0,
3,BACK,100,
FRONT_PUNCH,100,
FRONT_KICK,100,
EOC,
GuileT22,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
45,
2,BACK,100,
R1,100,
2,
0,2,
2,FORWARD,100,
R1,100,
2,
EOC,
GuileT23,
2,UP,100,
FORWARD,100,
2,
0,50,
1,R1,100,
2,
0,40,
2,DOWN,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_PUNCH,100,
2,
EOC,
GuileT24,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
40,
3,DOWN,100,
FORWARD,100,
R2,100,
2,
1,DOWN,100,
75,
2,UP,100,
L2,100,
2,
EOC,
BalrogT17,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
45,
2,BACK,100,
R2,100,
2,
1,BACK,100,
40,
2,BACK,100,
BACK_KICK,100,
15,
0,7.5,
2,FORWARD,100,
R1,100,
7.5,
0,7.5,
1,BACK,100,
7.5,
0,7.5,
2,FORWARD,100,
R2,100,
7.5,
EOC,
BalrogT18,
3,BACK,100,
DOWN,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_KICK,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
EOC,
BalrogT19,
2,BACK,100,
DOWN,100,
200,
1,BACK,100,
2,
3,BACK,100,
UP,100,
R1,100,
2,
1,BACK,100,
100,
1,FORWARD,100,
2,
1,BACK,100,
2,
2,FORWARD,100,
FRONT_KICK,100,
2,
0,2,
1,FRONT_KICK,100,
200,
EOC,
BalrogT20,
2,BACK_PUNCH,100,
BACK_KICK,100,
100,
0,15,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
0,2,
1,DOWN,100,
75,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
45,
2,DOWN,100,
FRONT_KICK,100,
2,
0,2,
2,UP,100,
R1,100,
2,
EOC,
VegaT20,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R1,100,
5,
1,BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
1,FORWARD,100,
75,
2,BACK_PUNCH,100,
BACK_KICK,100,
2,
EOC,
VegaT21,
2,UP,100,
FORWARD,100,
2,
2,BACK,100,
DOWN,100,
50,
3,DOWN,100,
BACK,100,
R1,100,
5,
2,DOWN,100,
BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
100,
2,FORWARD,100,
L2,100,
2,
EOC,
VegaT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
5,
1,DOWN,100,
40,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
47.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
5,
3,FORWARD,100,
UP,100,
L2,100,
2,
1,FORWARD,100,
100,
1,BACK,100,
25,
2,BACK,100,
THROW,100,
2,
EOC,
VegaT23,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
52.5,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
51,
1,FRONT_KICK,100,
2,
0,32.5,
1,FRONT_KICK,100,
2,
0,35,
2,DOWN,100,
BACK_PUNCH,100,
2,
4,DOWN,100,
EOC,
VegaT24,
DOWN,100,
FORWARD,100,
R2,100,
2,
2,DOWN,100,
BACK,100,
75,
1,FORWARD,100,
2,
0,2,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
L2,100,
2,
EOC,
DEEJAYPSYCHIC,
2,DOWN,100,
BACK,100,
16,
1,BACK,100,
9,
2,DOWN,100,
BACK,100,
29,
1,BACK,100,
19,
2,DOWN,100,
BACK,100,
9,
1,BACK,100,
10,
2,BACK,100,
BACK_PUNCH,100,
5,
1,FORWARD,100,
5,
1,BACK,100,
9,
3,L2,100,
DOWN,100,
FORWARD,100,
10,
1,BACK,100,
9,
EOC,
BALROGPSYCHIC,
2,DOWN,100,
BACK,100,
92,
2,BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,THROW,100,
FORWARD,100,
9,
EOC,
VEGAPSYCHIC,
2,DOWN,100,
BACK,100,
73,
1,BACK,100,
10,
2,DOWN,100,
BACK,100,
9,
3,DOWN,100,
BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,L2,100,
FORWARD,100,
9,
EOC,
EOD );
unmap 9; //PS4_RX
unmap 10; //PS4_RY
unmap 11; //PS4_LX
unmap 12; //PS4_LY
unmap 8; //PS4_L3
unmap 5; //PS4_R3
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int value_1, value_2, value_3, value_4, value_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int Right;
int Left;
int BTN;

main {
if(get_val(XB360_BACK)){

if(event_press(XB360_UP)){
switch = 1;
}
if(event_press(XB360_RIGHT)){
switch = 2;
}
if(event_press(XB360_DOWN)){
switch = 3;
}
if(event_press(XB360_LEFT)){
switch = 4;
}
if(event_press(XB360_A)){
switch = 5;
}
}
if(get_val(11) >20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}

if(get_val(XB360_LB)) combo_run(LPDASHSTR);
if(get_val(XB360_RS)) combo_stop(LPDASHSTR);
if (get_val(XB360_X)) {BTN=20;combo_run (TURBO);}
if (get_val(XB360_Y)) {BTN=17;combo_run (TURBO);}
if (get_val(XB360_A)) {BTN=19;combo_run (TURBO);}
if (get_val(XB360_B)) {BTN=18;combo_run (TURBO);}
if (get_val(XB360_RB)){BTN= 3;combo_run (TURBO);}
if (get_val(XB360_RT)){BTN= 4;combo_run (TURBO);}
if(delay_t>0){
delay_t=delay_t-get_rtime();
if(delay_t>2000 ){
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
// Determine Back and Forward
if(get_val(RIGHT)) {
back = LEFT; forward = RIGHT;
} else if(get_val(LEFT)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// switch by hold XB360_BACK + press XB360_A
if(get_val(XB360_BACK )){
if(event_press(XB360_A )){
switch=!switch;
if(switch){
RUMBLE_TYPE=RUMBLE_A;
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}else{
RUMBLE_TYPE=RUMBLE_B;
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
set_val(XB360_A ,0);
}
// If there is a combo to be executed
if(i >= 0 && delay_t<=0) {
// Execute the combo step-by-step
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else { // the combo finished
i = -1;
delay_t=0;
}
}
// CANCEL combos condition-----------------------------------------
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if ( (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==3){
if ( (abs(get_val (8)) <= 20 && abs(get_val (5)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}
// Make sure the user inputs does not interfere in the combo
set_val(BACK_PUNCH , 0);
set_val(BACK_KICK , 0);
set_val(FRONT_KICK , 0);
set_val(FRONT_PUNCH , 0);
set_val(L2 , 0);
set_val(UP , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
// if no combo execute - look for combo activation
} else {
// EDIT THIS PART OF SCRIPT for combo run ---------------------------
//////////////////////////////////////////////////////////////////////////
if(switch == 1){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VEGAPSYCHIC);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT20);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VegaT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(VegaT24);
}
// switch
} else if(switch == 3){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BALROGPSYCHIC);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT19);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BalrogT17);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT20);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}

else if(switch == 4){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT22);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT24);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT13);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT14);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} else if(switch == 5){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT20);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT22);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(GuileT24);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} /////////////////////////////////////////////////////////////////////////////////////////////
}// <combo activation> end
}//<main> block end
}
combo LPDASHSTR{
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 100);
wait(995);
set_val(Left, 100);
wait(11);
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 0);
}
combo TURBO {
set_val(BTN, 100);
wait(20);
set_val(BTN, 0);
wait(20);
set_val(BTN, 0);
}
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
// Returns the starting index of a combo
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
// Set the buttons, values and wait time of a step
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
value_1 = dbyte(i); i = i + 1;
} else { button_1 = -1; value_1 = 0; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
value_2 = dbyte(i); i = i + 1;
} else { button_2 = -1; value_2 = 0; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
value_3 = dbyte(i); i = i + 1;
} else { button_3 = -1; value_3 = 0; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
value_4 = dbyte(i); i = i + 1;
} else { button_4 = -1; value_4 = 0; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
value_5 = dbyte(i); i = i + 1;
} else { button_5 = -1; value_5 = 0; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
else if(wait_time > 2530) wait_time = 2530;
return(TRUE);
}
// If the step has FORWARD and BACK buttons, set the correct value.
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
// Set the buttons and values, function used on the combos.
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, value_1);
if(button_2 != -1) set_val(button_2, value_2);
if(button_3 != -1) set_val(button_3, value_3);
if(button_4 != -1) set_val(button_4, value_4);
if(button_5 != -1) set_val(button_5, value_5);
}

SUPERFEAZELL
2nd April 18, 14:03
Both scripts had small errors :( althought I fixed the second script with my 2cent
knowledge I need help with this error:cool:Line 726: syntax error, unexpected '+', expecting '=' or '(' or '[' near '+'main {
if(get_val(XB360_BACK)){
if(event_press(XB360_A)){
switch ++;
if(switch >5) switch = 1;

Excalibur
3rd April 18, 04:28
Both scripts had small errors :( althought I fixed the second script with my 2cent
knowledge I need help with this error:cool:Line 726: syntax error, unexpected '+', expecting '=' or '(' or '[' near '+'main {
if(get_val(XB360_BACK)){
if(event_press(XB360_A)){
switch ++;
if(switch >5) switch = 1;


This is because you use old version of the CronusPro app. , where this syntax don't support yet.

Update you CronusPro or change the code , like this

if(get_val(XB360_BACK)){
if(event_press(XB360_A)){
switch = switch + 1;
if(switch >5) switch = 1;

VincentEth2018
8th April 18, 21:13
Any help please. I've tried to understand what you were doing here but I think I got the script here and the updates confused. I don't know where the additions and changes actually go here. This is what I have minus most of the comments for space:
Can you please post the entire updated script so I can try and apply it and learn from it. I'm getting a "ERROR: Maximum bytecode length (4096 bytes) exceeded. The last line to be processed was: 1024 column: 28" when I try and build it. Thank you.

I believe this is SUPERFEAZELL (http://cronusmax.com/forums/member.php?u=290417) original script with Excalibur's assistance.

define BACK_PUNCH = 17; // TRIANGLE, Y
define BACK_KICK = 18; // CIRCLE, B
define FRONT_KICK = 19; // CROSS, A
define FRONT_PUNCH = 20; // SQUARE, X
define R1 = 3; // R1, RB
define R2 = 4; // R2, RT
define THROW = 6; // L1, LB
define L2 = 7; // L2, LT
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
define back_button = 1; // back button
define START_button = 2; // START BUTTON


define BACK = 128;
define FORWARD = 129;


define EOC = 254;
define EOD = 255;


define DeeJayT22 = 2;
define DeeJayT24 = 3;
define DeeJayT13 = 4;
define DeeJayT14 = 5;
define DudleyT22 = 6;
define DEEJAYSLIDENEGEDGEU2 = 7;
define DeeJayULTRA1TNE = 8;
define DeeJaymagic19 = 9;
define OPTIONSELECTU2 = 10;
define GuileT20 = 11;
define GuileT21 = 12;
define GuileT22 = 13;
define GuileT23 = 14;
define GuileT24 = 15;
define BalrogT17 = 16;
define BalrogT18 = 17;
define BalrogT19 = 18;
define BalrogT20 = 20;
define VegaT20 = 21;
define VegaT21 = 22;
define VegaT22 = 23;
define VegaT23 = 24;
define VegaT24 = 25;
define DEEJAYPSYCHIC = 26;
define BALROGPSYCHIC = 27;
define VEGAPSYCHIC = 28;


data(
DeeJayT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
40,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,2,
2,UP,100,
R1,100,
2,
1,BACK,100,
160,
0,2,
2,FORWARD,100,
L2 ,100,
2,
EOC,
DeeJayT24,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
50,
2,BACK,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_KICK,100,
2,
0,15,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DeeJayT13,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,5,
2,UP,100,
R2,100,
2,
EOC,
DeeJayT14,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
FRONT_KICK,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DudleyT22,
2,DOWN,100,
BACK,100,
100,
2,DOWN,100,
BACK,100,
2,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
THROW,100,
2,
1,DOWN,100,
102.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
0,2,
2,UP,100,
THROW,100,
2,
1,DOWN,100,
140,
0,2,
2,UP,100,
R2,100,
2,
EOC,
DEEJAYSLIDENEGEDGEU2,
3,R2,100,
DOWN,100,
BACK,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
DeeJayULTRA1TNE,
2,DOWN,100,
FORWARD,100,
16,
3,DOWN,100,
FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
18,
2,FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
29,
2,R1,100,
FORWARD,100,
9,
1,BACK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
1,L2,100,
9,
EOC,
DeeJaymagic19,
2,BACK_PUNCH,100,
BACK_KICK,100,
90,
0,5,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
OPTIONSELECTU2,
3,DOWN,100,
BACK,100,
R2,100,
80,
2,DOWN,100,
BACK,100,
83,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
9,
2,DOWN,100,
BACK,100,
10,
3,THROW,100,
UP,100,
FORWARD,100,
10,
EOC,
GuileT20,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
FRONT_PUNCH,100,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
BACK_PUNCH,100,
4,DOWN,100,
BACK,100,
FRONT_KICK,100,
BACK_KICK,100,
99.5,
1,UP,100,
0,1,
EOC,
GuileT21,
2,FRONT_PUNCH,100,
FRONT_KICK,100,
0,
3,BACK,100,
FRONT_PUNCH,100,
FRONT_KICK,100,
EOC,
GuileT22,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
45,
2,BACK,100,
R1,100,
2,
0,2,
2,FORWARD,100,
R1,100,
2,
EOC,
GuileT23,
2,UP,100,
FORWARD,100,
2,
0,50,
1,R1,100,
2,
0,40,
2,DOWN,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_PUNCH,100,
2,
EOC,
GuileT24,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
40,
3,DOWN,100,
FORWARD,100,
R2,100,
2,
1,DOWN,100,
75,
2,UP,100,
L2,100,
2,
EOC,
BalrogT17,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
45,
2,BACK,100,
R2,100,
2,
1,BACK,100,
40,
2,BACK,100,
BACK_KICK,100,
15,
0,7.5,
2,FORWARD,100,
R1,100,
7.5,
0,7.5,
1,BACK,100,
7.5,
0,7.5,
2,FORWARD,100,
R2,100,
7.5,
EOC,
BalrogT18,
3,BACK,100,
DOWN,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_KICK,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
EOC,
BalrogT19,
2,BACK,100,
DOWN,100,
200,
1,BACK,100,
2,
3,BACK,100,
UP,100,
R1,100,
2,
1,BACK,100,
100,
1,FORWARD,100,
2,
1,BACK,100,
2,
2,FORWARD,100,
FRONT_KICK,100,
2,
0,2,
1,FRONT_KICK,100,
200,
EOC,
BalrogT20,
2,BACK_PUNCH,100,
BACK_KICK,100,
100,
0,15,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
0,2,
1,DOWN,100,
75,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
45,
2,DOWN,100,
FRONT_KICK,100,
2,
0,2,
2,UP,100,
R1,100,
2,
EOC,
VegaT20,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R1,100,
5,
1,BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
1,FORWARD,100,
75,
2,BACK_PUNCH,100,
BACK_KICK,100,
2,
EOC,
VegaT21,
2,UP,100,
FORWARD,100,
2,
2,BACK,100,
DOWN,100,
50,
3,DOWN,100,
BACK,100,
R1,100,
5,
2,DOWN,100,
BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
100,
2,FORWARD,100,
L2,100,
2,
EOC,
VegaT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
5,
1,DOWN,100,
40,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
47.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
5,
3,FORWARD,100,
UP,100,
L2,100,
2,
1,FORWARD,100,
100,
1,BACK,100,
25,
2,BACK,100,
THROW,100,
2,
EOC,
VegaT23,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
52.5,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
51,
1,FRONT_KICK,100,
2,
0,32.5,
1,FRONT_KICK,100,
2,
0,35,
2,DOWN,100,
BACK_PUNCH,100,
2,
4,DOWN,100,
EOC,
VegaT24,
DOWN,100,
FORWARD,100,
R2,100,
2,
2,DOWN,100,
BACK,100,
75,
1,FORWARD,100,
2,
0,2,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
L2,100,
2,
EOC,
DEEJAYPSYCHIC,
2,DOWN,100,
BACK,100,
16,
1,BACK,100,
9,
2,DOWN,100,
BACK,100,
29,
1,BACK,100,
19,
2,DOWN,100,
BACK,100,
9,
1,BACK,100,
10,
2,BACK,100,
BACK_PUNCH,100,
5,
1,FORWARD,100,
5,
1,BACK,100,
9,
3,L2,100,
DOWN,100,
FORWARD,100,
10,
1,BACK,100,
9,
EOC,
BALROGPSYCHIC,
2,DOWN,100,
BACK,100,
92,
2,BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,THROW,100,
FORWARD,100,
9,
EOC,
VEGAPSYCHIC,
2,DOWN,100,
BACK,100,
73,
1,BACK,100,
10,
2,DOWN,100,
BACK,100,
9,
3,DOWN,100,
BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,L2,100,
FORWARD,100,
9,
EOC,
EOD );
unmap 9; //XB1_RX
unmap 10; //XB1_RY
unmap 11; //XB1_LX
unmap 12; //XB1_LY
unmap 8; //XB1_LS
unmap 5; //XB1_RS
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int value_1, value_2, value_3, value_4, value_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int Right;
int Left;
int BTN;


main {
if(get_val(XB360_BACK)){
if(event_press(XB360_UP)){
switch = 1;
}
if(event_press(XB360_RIGHT)){
switch = 2;
}
if(event_press(XB360_DOWN)){
switch = 3;
}
if(event_press(XB360_LEFT)){
switch = 4;
}
if(event_press(XB360_A)){
switch = 5;
}
}
if(get_val(11) >20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}
if(get_val(XB360_LB)) combo_run(LPDASHSTR);
if(get_val(XB360_RS)) combo_stop(LPDASHSTR);
if (get_val(XB360_X)) {BTN=20;combo_run (TURBO);}
if (get_val(XB360_Y)) {BTN=17;combo_run (TURBO);}
if (get_val(XB360_A)) {BTN=19;combo_run (TURBO);}
if (get_val(XB360_B)) {BTN=18;combo_run (TURBO);}
if (get_val(XB360_RB)){BTN= 3;combo_run (TURBO);}
if (get_val(XB360_RT)){BTN= 4;combo_run (TURBO);}
if(delay_t>0){
delay_t=delay_t-get_rtime();
if(delay_t>2000 ){
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
// Determine Back and Forward
if(get_val(RIGHT)) {
back = LEFT; forward = RIGHT;
} else if(get_val(LEFT)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// switch by hold XB360_BACK + press XB360_A
if(get_val(XB360_BACK )){
if(event_press(XB360_A )){
switch = switch + 1;
if(switch > 5) switch = 1;
}
set_val(XB360_A ,0);
}
if(i >= 0 && delay_t<=0) {
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else {
i = -1;
delay_t=0;
}
}
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if ( (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==3){
if ( (abs(get_val (8)) <= 20 && abs(get_val (5)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}
set_val(BACK_PUNCH , 0);
set_val(BACK_KICK , 0);
set_val(FRONT_KICK , 0);
set_val(FRONT_PUNCH , 0);
set_val(L2 , 0);
set_val(UP , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
} else {
if(switch == 1){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VEGAPSYCHIC);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT20);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VegaT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(VegaT24);
}
// switch
} else if(switch == 3){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BALROGPSYCHIC);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT19);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BalrogT17);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT20);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}


else if(switch == 4){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT22);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT24);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT13);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT14);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} else if(switch == 5){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT20);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT22);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(GuileT24);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
}
}// <combo activation> end
}//<main> block end
}
combo LPDASHSTR{
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 100);
wait(995);
set_val(Left, 100);
wait(11);
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 0);
}
combo TURBO {
set_val(BTN, 100);
wait(20);
set_val(BTN, 0);
wait(20);
set_val(BTN, 0);
}
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
value_1 = dbyte(i); i = i + 1;
} else { button_1 = -1; value_1 = 0; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
value_2 = dbyte(i); i = i + 1;
} else { button_2 = -1; value_2 = 0; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
value_3 = dbyte(i); i = i + 1;
} else { button_3 = -1; value_3 = 0; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
value_4 = dbyte(i); i = i + 1;
} else { button_4 = -1; value_4 = 0; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
value_5 = dbyte(i); i = i + 1;
} else { button_5 = -1; value_5 = 0; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
else if(wait_time > 2530) wait_time = 2530;
return(TRUE);
}
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, value_1);
if(button_2 != -1) set_val(button_2, value_2);
if(button_3 != -1) set_val(button_3, value_3);
if(button_4 != -1) set_val(button_4, value_4);
if(button_5 != -1) set_val(button_5, value_5);
}

Excalibur
9th April 18, 08:35
here you go :

define BACK_PUNCH = 17; // TRIANGLE, Y
define BACK_KICK = 18; // CIRCLE, B
define FRONT_KICK = 19; // CROSS, A
define FRONT_PUNCH = 20; // SQUARE, X
define R1 = 3; // R1, RB
define R2 = 4; // R2, RT
define THROW = 6; // L1, LB
define L2 = 7; // L2, LT
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
define back_button = 1; // back button
define START_button = 2; // START BUTTON


define BACK = 128;
define FORWARD = 129;


define EOC = 254;
define EOD = 255;


define DeeJayT22 = 2;
define DeeJayT24 = 3;
define DeeJayT13 = 4;
define DeeJayT14 = 5;
define DudleyT22 = 6;
define DEEJAYSLIDENEGEDGEU2 = 7;
define DeeJayULTRA1TNE = 8;
define DeeJaymagic19 = 9;
define OPTIONSELECTU2 = 10;
define GuileT20 = 11;
define GuileT21 = 12;
define GuileT22 = 13;
define GuileT23 = 14;
define GuileT24 = 15;
define BalrogT17 = 16;
define BalrogT18 = 17;
define BalrogT19 = 18;
define BalrogT20 = 20;
define VegaT20 = 21;
define VegaT21 = 22;
define VegaT22 = 23;
define VegaT23 = 24;
define VegaT24 = 25;
define DEEJAYPSYCHIC = 26;
define BALROGPSYCHIC = 27;
define VEGAPSYCHIC = 28;


data(
DeeJayT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
40,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,2,
2,UP,100,
R1,100,
2,
1,BACK,100,
160,
0,2,
2,FORWARD,100,
L2 ,100,
2,
EOC,
DeeJayT24,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
50,
2,BACK,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_KICK,100,
2,
0,15,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DeeJayT13,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
BACK_PUNCH,100,
2,
0,5,
2,UP,100,
R2,100,
2,
EOC,
DeeJayT14,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
30,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
FRONT_KICK,100,
2,
1,BACK,100,
25,
2,FORWARD,100,
BACK_KICK,100,
2,
EOC,
DudleyT22,
2,DOWN,100,
BACK,100,
100,
2,DOWN,100,
BACK,100,
2,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
THROW,100,
2,
1,DOWN,100,
102.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
0,2,
2,UP,100,
THROW,100,
2,
1,DOWN,100,
140,
0,2,
2,UP,100,
R2,100,
2,
EOC,
DEEJAYSLIDENEGEDGEU2,
3,R2,100,
DOWN,100,
BACK,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
DeeJayULTRA1TNE,
2,DOWN,100,
FORWARD,100,
16,
3,DOWN,100,
FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
18,
2,FORWARD,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
29,
2,R1,100,
FORWARD,100,
9,
1,BACK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
1,L2,100,
9,
EOC,
DeeJaymagic19,
2,BACK_PUNCH,100,
BACK_KICK,100,
90,
0,5,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
2,DOWN,100,
BACK,100,
92,
2,DOWN,100,
FORWARD,100,
10,
2,DOWN,100,
BACK,100,
9,
3,UP,100,
FORWARD,100,
THROW,100,
9,
EOC,
OPTIONSELECTU2,
3,DOWN,100,
BACK,100,
R2,100,
80,
2,DOWN,100,
BACK,100,
83,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
10,
2,DOWN,100,
FORWARD,100,
9,
2,DOWN,100,
BACK,100,
10,
3,THROW,100,
UP,100,
FORWARD,100,
10,
EOC,
GuileT20,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
FRONT_PUNCH,100,
2,DOWN,100,
BACK,100,
99.5,
0,1,
2,FORWARD,100,
BACK_PUNCH,100,
4,DOWN,100,
BACK,100,
FRONT_KICK,100,
BACK_KICK,100,
99.5,
1,UP,100,
0,1,
EOC,
GuileT21,
2,FRONT_PUNCH,100,
FRONT_KICK,100,
0,
3,BACK,100,
FRONT_PUNCH,100,
FRONT_KICK,100,
EOC,
GuileT22,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R2,100,
2,
1,BACK,100,
45,
2,BACK,100,
R1,100,
2,
0,2,
2,FORWARD,100,
R1,100,
2,
EOC,
GuileT23,
2,UP,100,
FORWARD,100,
2,
0,50,
1,R1,100,
2,
0,40,
2,DOWN,100,
BACK_KICK,100,
2,
0,5,
2,FORWARD,100,
BACK_PUNCH,100,
2,
EOC,
GuileT24,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
40,
3,DOWN,100,
FORWARD,100,
R2,100,
2,
1,DOWN,100,
75,
2,UP,100,
L2,100,
2,
EOC,
BalrogT17,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
45,
2,BACK,100,
R2,100,
2,
1,BACK,100,
40,
2,BACK,100,
BACK_KICK,100,
15,
0,7.5,
2,FORWARD,100,
R1,100,
7.5,
0,7.5,
1,BACK,100,
7.5,
0,7.5,
2,FORWARD,100,
R2,100,
7.5,
EOC,
BalrogT18,
3,BACK,100,
DOWN,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_KICK,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
1,BACK,100,
27.5,
2,BACK,100,
FRONT_PUNCH,100,
2,
0,2,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
EOC,
BalrogT19,
2,BACK,100,
DOWN,100,
200,
1,BACK,100,
2,
3,BACK,100,
UP,100,
R1,100,
2,
1,BACK,100,
100,
1,FORWARD,100,
2,
1,BACK,100,
2,
2,FORWARD,100,
FRONT_KICK,100,
2,
0,2,
1,FRONT_KICK,100,
200,
EOC,
BalrogT20,
2,BACK_PUNCH,100,
BACK_KICK,100,
100,
0,15,
1,FORWARD,100,
2,
0,2,
1,FORWARD,100,
2,
0,2,
1,DOWN,100,
75,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
45,
2,DOWN,100,
FRONT_KICK,100,
2,
0,2,
2,UP,100,
R1,100,
2,
EOC,
VegaT20,
2,UP,100,
FORWARD,100,
2,
1,BACK,100,
50,
2,BACK,100,
R1,100,
5,
1,BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
BACK_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_PUNCH,100,
2,
1,FORWARD,100,
75,
2,BACK_PUNCH,100,
BACK_KICK,100,
2,
EOC,
VegaT21,
2,UP,100,
FORWARD,100,
2,
2,BACK,100,
DOWN,100,
50,
3,DOWN,100,
BACK,100,
R1,100,
5,
2,DOWN,100,
BACK,100,
45,
3,DOWN,100,
BACK,100,
FRONT_PUNCH,100,
2,
2,DOWN,100,
BACK,100,
32.5,
3,DOWN,100,
BACK,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
5,
2,FORWARD,100,
FRONT_KICK,100,
2,
2,DOWN,100,
BACK,100,
100,
2,FORWARD,100,
L2,100,
2,
EOC,
VegaT22,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
50,
2,DOWN,100,
R2,100,
5,
1,DOWN,100,
40,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
47.5,
2,DOWN,100,
FRONT_PUNCH,100,
2,
1,DOWN,100,
5,
3,FORWARD,100,
UP,100,
L2,100,
2,
1,FORWARD,100,
100,
1,BACK,100,
25,
2,BACK,100,
THROW,100,
2,
EOC,
VegaT23,
2,UP,100,
FORWARD,100,
2,
1,DOWN,100,
52.5,
2,DOWN,100,
R1,100,
2,
1,DOWN,100,
30,
2,DOWN,100,
BACK_KICK,100,
2,
1,DOWN,100,
51,
1,FRONT_KICK,100,
2,
0,32.5,
1,FRONT_KICK,100,
2,
0,35,
2,DOWN,100,
BACK_PUNCH,100,
2,
4,DOWN,100,
EOC,
VegaT24,
DOWN,100,
FORWARD,100,
R2,100,
2,
2,DOWN,100,
BACK,100,
75,
1,FORWARD,100,
2,
0,2,
1,BACK,100,
2,
0,2,
2,FORWARD,100,
L2,100,
2,
EOC,
DEEJAYPSYCHIC,
2,DOWN,100,
BACK,100,
16,
1,BACK,100,
9,
2,DOWN,100,
BACK,100,
29,
1,BACK,100,
19,
2,DOWN,100,
BACK,100,
9,
1,BACK,100,
10,
2,BACK,100,
BACK_PUNCH,100,
5,
1,FORWARD,100,
5,
1,BACK,100,
9,
3,L2,100,
DOWN,100,
FORWARD,100,
10,
1,BACK,100,
9,
EOC,
BALROGPSYCHIC,
2,DOWN,100,
BACK,100,
92,
2,BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,THROW,100,
FORWARD,100,
9,
EOC,
VEGAPSYCHIC,
2,DOWN,100,
BACK,100,
73,
1,BACK,100,
10,
2,DOWN,100,
BACK,100,
9,
3,DOWN,100,
BACK,100,
BACK_KICK,100,
10,
1,FORWARD,100,
9,
1,BACK,100,
10,
2,L2,100,
FORWARD,100,
9,
EOC,
EOD );
unmap 9; //XB1_RX
unmap 10; //XB1_RY
unmap 11; //XB1_LX
unmap 12; //XB1_LY
unmap 8; //XB1_LS
unmap 5; //XB1_RS
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int value_1, value_2, value_3, value_4, value_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int Right;
int Left;
int BTN;


main {
if(get_val(XB360_BACK)){
if(event_press(XB360_UP)){
switch = 1;
}
if(event_press(XB360_RIGHT)){
switch = 2;
}
if(event_press(XB360_DOWN)){
switch = 3;
}
if(event_press(XB360_LEFT)){
switch = 4;
}
if(event_press(XB360_A)){
switch = 5;
}
}
if(get_val(11) >20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}
if(get_val(XB360_LB)) combo_run(LPDASHSTR);
if(get_val(XB360_RS)) combo_stop(LPDASHSTR);
if (get_val(XB360_X)) {BTN=20;combo_run (TURBO);}
if (get_val(XB360_Y)) {BTN=17;combo_run (TURBO);}
if (get_val(XB360_A)) {BTN=19;combo_run (TURBO);}
if (get_val(XB360_B)) {BTN=18;combo_run (TURBO);}
if (get_val(XB360_RB)){BTN= 3;combo_run (TURBO);}
if (get_val(XB360_RT)){BTN= 4;combo_run (TURBO);}
if(delay_t>0){
delay_t=delay_t-get_rtime();
if(delay_t>2000 ){
if(!combo_running(RUMBLE_NOTIFICATION))combo_run(RUMBLE_NOTIFICATION);
}
}
// Determine Back and Forward
if(get_val(RIGHT)) {
back = LEFT; forward = RIGHT;
} else if(get_val(LEFT)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// switch by hold XB360_BACK + press XB360_A
if(get_val(XB360_BACK )){
if(event_press(XB360_A )){
switch = switch + 1;
if(switch > 5) switch = 1;
}
set_val(XB360_A ,0);
}
if(i >= 0 && delay_t<=0) {
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else {
i = -1;
delay_t=0;
}
}
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if ( (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==3){
if ( (abs(get_val (8)) <= 20 && abs(get_val (5)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}
set_val(BACK_PUNCH , 0);
set_val(BACK_KICK , 0);
set_val(FRONT_KICK , 0);
set_val(FRONT_PUNCH , 0);
set_val(L2 , 0);
set_val(UP , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
} else {
if(switch == 1){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VEGAPSYCHIC);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(VegaT20);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(VegaT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(VegaT24);
}
// switch
} else if(switch == 3){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BALROGPSYCHIC);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT19);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(BalrogT17);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(BalrogT20);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}


else if(switch == 4){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT22);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT24);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(DeeJayT13);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(DeeJayT14);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(DeeJaymagic19);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
} else if(switch == 5){
// Right Stick RIGHT
if (get_val (9) >= 60) { //combo DeeJayT22,
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT21);
}
// Right Stick LEFT
if (get_val (9) <= -60) { //combo DeeJayT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT20);
}
// Right Stick UP
if (get_val (10) <= -60) { //Combo DeeJayT13
cancel=1;
back = LEFT; forward = RIGHT;
i = get_combo_index(GuileT22);
}
// Right Stick DOWN
if (get_val (10) >= 60) { //Combo GuileT24
cancel=1;
back = RIGHT; forward = LEFT;
i = get_combo_index(GuileT23);
}
// hold RS / R3
if (get_val (5)) { //Fatality 2
cancel=3;
i = get_combo_index(GuileT24);
}
// hold RS / R3
if(get_val(5) && get_val(3)) { //Fatality 2
cancel=3;
i = get_combo_index(DEEJAYPSYCHIC);
}
}
}// <combo activation> end
}//<main> block end
}
combo LPDASHSTR{
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 100);
wait(995);
set_val(Left, 100);
wait(11);
set_val(Right, 100);
set_val(XB360_DOWN, 100);
set_val(XB360_LB, 0);
}
combo TURBO {
set_val(BTN, 100);
wait(20);
set_val(BTN, 0);
wait(20);
set_val(BTN, 0);
}
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
value_1 = dbyte(i); i = i + 1;
} else { button_1 = -1; value_1 = 0; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
value_2 = dbyte(i); i = i + 1;
} else { button_2 = -1; value_2 = 0; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
value_3 = dbyte(i); i = i + 1;
} else { button_3 = -1; value_3 = 0; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
value_4 = dbyte(i); i = i + 1;
} else { button_4 = -1; value_4 = 0; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
value_5 = dbyte(i); i = i + 1;
} else { button_5 = -1; value_5 = 0; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
else if(wait_time > 2530) wait_time = 2530;
return(TRUE);
}
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, value_1);
if(button_2 != -1) set_val(button_2, value_2);
if(button_3 != -1) set_val(button_3, value_3);
if(button_4 != -1) set_val(button_4, value_4);
if(button_5 != -1) set_val(button_5, value_5);
}

VincentEth2018
9th April 18, 18:41
Thank you Excalibur. I'm not currently at my console but will give this a try to see if the error has stopped and if I can begin to figure this out. Thanks again for you timely assistance.

VincentEth2018
14th April 18, 00:02
Hello again. I am still getting the "ERROR: Maximum bytecode length (4096 bytes) exceeded. The last line to be processed was: 1032 column: 37" when I try and build. Can someone please explain and give some advice on how to correct this? Thank you.