Skip to content

Instantly share code, notes, and snippets.

@Misaka-0x447f
Last active March 8, 2019 00:32
Show Gist options
  • Save Misaka-0x447f/def09c3a7b7224bd499b23daff042f0c to your computer and use it in GitHub Desktop.
Save Misaka-0x447f/def09c3a7b7224bd499b23daff042f0c to your computer and use it in GitHub Desktop.
Let It Die Floor 8 (meta-koya) auto farming script, start using at the floor 9; Required "Cronus Max"; Remember to lock your ps4 wallet with a password to prevent unexpected paid respawn caused by hunter(s).
/* *
* GPC SCRIPT
*
* GPC is a scripting language with C-like syntax.
* To learn more access GPC Language Reference on Help menu.
//
// 2019-01-5 20:42:00
// Combo generated by MAX Combo Plugin.
//----------------------------------------
* *********************************************************** */
int mode = 0;
/*
mode0: off, no light;
mode1: auto kill;
mode2: hold circle to auto press circle;
*/
main {
// infinity loop
if(get_val(PS4_UP) && event_press(PS4_TRIANGLE)) {
mode = 1;
block(PS4_UP, 500);
}
if(get_val(PS4_UP) && event_press(PS4_CROSS)) {
mode = 0;
combo_stop(run);
}
if(get_val(PS4_UP) && event_press(PS4_CIRCLE)) {
mode = 2;
}
if (mode == 1) {
combo_run(run);
}
if (mode == 2 && get_val(PS4_CIRCLE)) {
combo_run(circle);
}
}
combo circle {
set_val(PS4_CIRCLE, 100);
wait(60);
set_val(PS4_CIRCLE, 0);
wait(150);
}
combo run {
// going_down
call(down_hold);
wait(30);
set_val(PS4_CIRCLE, 100);
wait(500);
wait(30000);
set_val(PS4_CIRCLE, 100);
wait(500);
wait(12000);
call(fight_repeat);
// going_up
call(rollback);
call(up);
call(rollback);
call(up);
call(fight);
call(fight);
call(search);
call(rollback);
call(commit);
call(commit);
call(commit);
wait(25000);
set_val(PS4_CIRCLE, 100);
wait(500);
wait(15000);
}
combo fight {
set_val(PS4_L2, 100);
wait(150);
wait(1500);
call(down);
call(up);
wait(150);
}
combo fight_alt {
set_val(PS4_R2, 100);
wait(150);
wait(1500);
call(down);
call(up);
wait(150);
}
combo fight_repeat {
call(fight);
call(fight);
call(fight);
call(fight);
call(fight);
call(fight);
call(fight);
call(fight);
call(fight);
}
combo down {
set_val(PS4_LY, 42);
wait(40);
set_val(PS4_LY, 100);
wait(800);
}
combo down_hold {
set_val(PS4_LY, 40);
wait(40);
set_val(PS4_LY, 100);
wait(4000);
set_val(PS4_LY, 62);
wait(30);
}
combo up {
set_val(PS4_LY, -100);
wait(400);
set_val(PS4_LY, -32);
wait(20);
}
combo up_hold {
set_val(PS4_LY, -100);
wait(3000);
set_val(PS4_LY, -32);
wait(20);
}
combo rollback {
set_val(PS4_LY, -100);
set_val(PS4_LX, -60);
wait(800);
set_val(PS4_LY, -100);
set_val(PS4_LX, 60);
wait(800);
set_val(PS4_LY, -100);
wait(2000);
set_val(PS4_LY, -32);
wait(20);
set_val(PS4_LY, 100);
wait(6000);
call(rd);
call(ld);
call(fight_alt);
call(fight_alt);
call(fight_alt);
call(fight_alt);
call(fight_alt);
}
combo search {
call(up_hold);
call(up_hold);
call(down_hold);
call(rd);
call(ld);
call(rd);
call(ld);
call(rd);
call(ld);
call(rd);
call(ld);
call(rd);
call(ld);
}
combo rd {
set_val(PS4_LX, 100);
set_val(PS4_LY, 60);
wait(2000);
}
combo ld {
set_val(PS4_LX, -100);
set_val(PS4_LY, 60);
wait(2000);
}
combo commit {
set_val(PS4_LX, 100);
set_val(PS4_LY, 60);
wait(400);
set_val(PS4_LX, 100);
set_val(PS4_LY, 60);
set_val(PS4_CIRCLE, 100);
wait(2000);
set_val(PS4_LX, -100);
set_val(PS4_LY, 60);
wait(400);
set_val(PS4_LX, -100);
set_val(PS4_LY, 60);
set_val(PS4_CIRCLE, 100);
wait(2000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment