Longer wait times on Titan One?

GPC1 script programming for Titan One. Code examples, questions, requests.

Re: Longer wait times on Titan One?

Postby seyko » Thu Mar 08, 2018 3:59 pm

Here is my final script.. I tweaked it a lot and made it a little bit shorter.. It ran through for a whole season (10 Matches) completely without any errors or false presses.

You can add this to your GPC library if you want to.

Code: Select all
// PES 2018 MyClub AFK Divisions Simulation 
// GP Farming Script by Excalibur & fakkkker
// This script starts 10 matches in the divison simulation to farm GP
// Instructions:
// - Your Manager & Players have to have full contracts (10) before you start
// the script.
// - You have to highlight the 'Divisions (SIM)' Button in game and then
// press PS4 Touchpad & D-Pad Up at the same time to start the script. It will
// loop the script for 10 Matches and stop automatically after all matches
// have been played.
// Have fun with the GP you get from this!
 
 
define LED_OFF = 2;
define Light_Blue = 1;
define Light_Red = 2;
define Light_Green = 3;
define Light_Pink = 4;
define Light_SkyBlue = 5;
define Light_Yellow = 6;
define Light_White = 7;
define Blue = 8;
define Red = 9;
define Green = 10;
define Pink = 11;
define SkyBlue = 12;
define Yellow = 13;
define White = 14;
define Dim_Blue = 15;
define Dim_Red = 16;
define Dim_Green = 17;
define Dim_Pink = 18;
define Dim_SkyBlue = 19;
define Dim_Yellow = 20;
define Dim_White = 21;
 
data(1,// begin of data segment--------
1,0,0,0, //1. Light_Blue
0,1,0,0, //2. Light_Red
0,0,1,0, //3. Light_Green
0,0,0,1, //4. Light_Pink
1,0,1,0, //5. Light_SkyBlue
0,1,1,0, //6. Light_Yellow
1,1,1,1, //7. Light_White
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
3,0,0,0, //1. Dim_Blue
0,3,0,0, //2. Dim_Red
0,0,3,0, //3. Dim_Green
0,0,0,3, //4. Dim_Pink
3,0,3,0, //5. Dim_SkyBlue
0,3,3,0, //6. Dim_Yellow
3,3,3,3 //7. Dim_White
); // end of data segment--------------
 
///////////////////////////////////////
// variables
int Col_ind;
int onoff;
int timer;
int cross_timer;
int options;
int secs;
int mins;
int X_count;
int Change_View;
int yrk;
int yrk2;
int matches;
 
 
main {//---------------------------------
 
////////////////////////////////
// LED color indication
if(onoff) colourled(Green); // ON
else colourled(Red);// OFF
 
 
if(get_val(PS4_TOUCH) && event_press(PS4_UP)) {
onoff = !onoff;
matches = 1;
mins = 0;
secs = 0;
timer = 0;
Change_View = FALSE;
yrk = FALSE;
}
 
if(onoff && matches < 11){
timer = timer + get_rtime();
cross_timer = cross_timer + get_rtime();
options = options + get_rtime();
 
if(timer >= 1000){
timer = 0;
secs ++;
if(secs >= 60){
secs =0;
mins ++;
}
}
 
//-------------------------------------
//Start match search
if(mins <= 1 && secs <= 8) {
    combo_run(PRESS_YRK2);
}
//-------------------------------------
//Start match and switch view to matchplan to auto skip replays
if (mins == 1 && secs >= 20 && !yrk) {
combo_run(PRESS_YRK);
}
//-------------------------------------
//Skip halftime menu
if(mins > 2 && mins < 12 && secs < 20) {
    combo_run(PRESS_YRK2);
}
//---------------------------------------
//Skip replays at the end of the match
if (mins > 15 && secs < 30 && mins < 17) {
combo_run(START);
}
//---------------------------------------
//Skip all postmatch screens
if(mins == 17 && secs <= 28 ){
combo_run(PRESS_YRK2);
}
//---------------------------------------
//Reset mins & secs, go left to start new match
if(mins >= 18){
combo_run(MENU);
}
 
}
 
 
set_val(TRACE_1,secs);
set_val(TRACE_2,mins);
set_val(TRACE_3,options/100);
 
}//-----------------------------------------
 
// COMBO BLOCKS
//--------------------------------------------------------------
combo START {
set_val(PS4_OPTIONS, 100);
wait(130);
wait(1000);
set_val(PS4_CIRCLE, 100);
wait(60);
wait(1000);
}
 
combo PRESS_YRK {
set_val(PS4_CROSS, 100);
wait(60);
wait(4000);
wait(4000);
wait(4000);
wait(4000);
set_val(PS4_TRIANGLE, 100);
wait(130);
wait(1000);
yrk = TRUE;
}
 
 
combo PRESS_YRK2 {
set_val(PS4_CROSS, 100);
wait(60);
wait(600);
}
 
 
combo MENU{
wait(4000);
wait(1000);
set_val(PS4_LEFT, 100);
wait(60);
wait(4000);
wait(1000);
mins = 0;
secs = 0;
timer = 0;
Change_View = FALSE;
yrk = FALSE;
options = 0;
matches ++;
}
 
// COLOR LED function
//--------------------------------------------------------------
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));
}
User avatar
seyko
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Fri Dec 11, 2015 8:37 pm

Re: Longer wait times on Titan One?

Postby J2Kbr » Fri Mar 09, 2018 6:32 am

Thank you seyko for sharing the final results with us. Really appreciated.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Previous

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 96 guests