2K21 VC Farmer PS4 *Patched

Documentation, usage tips and configuration guides for Titan Two scripts and bytecodes published by the community users.

2K21 VC Farmer PS4 *Patched

Postby Nefliminator » Thu Sep 24, 2020 10:50 pm

VC Farmer for 2k21
*2k patched it 9/26-9/27. Still works but only up to 8,000 at a time for now. Will work on an update.

Still a work in progress but seems to be working for the time being :smile0202:

Notes: The game time in the code is set to 70,000. If you are running into problems and need more time change that number in 2 places in the code. Missed shots, macro making you play defense, and etc.

Let me know of any upgrades that might be good. I'm planning making it not push the stick so much to lessen the chance of defense.

Steps:
1. Go to settings and make your difficulty rookie and favorite team golden state warriors
2. Go to CPU/User Sliders
CPU - All shots 100 (close, inside, mid and 3)
Both rebounding 100
Shot Contest 0
Post Shot 0
Offensive Consistency 100
USER - 3PT 100
Both Rebounding 0
Shot Contest 0
Offensive Consistency 100
3. Go to Play Now
Choose Blacktop
Choose 1v1
Choose to play for the Ringers.
4. Set game conditions to 5 (Score Limit)
5. Choose Stephen Curry as left player and Klay Thompson as right player.
6. Go through the intro and everything.
7. Right before the check in push/click the big touch pad in the middle of ps4 controller.

Code: Select all
#pragma METAINFO("2k21 VC Farm", 1, 0, "Nefliminator")
#define irand(a,b) (((int)(rand() * (fix32)(b+1 - a))) + a) //adds in the irand function
 
int   rx; //random x
int   ry; //random y
int   rt; //random time
int   t;  //time
fix32 v;  //value that sets 0-100 stick pull   
fix32 x;
fix32 y;
 
int minutes;
int seconds;
uint32 milli = 0;
int enable = 0;
//--------------------------------------------------------------------------
main
{   
    if(event_active(BUTTON_2))
    {
        enable=!enable;
    }
    if(enable)
    {
        combo_run(loop);
    }
    else combo_stop(loop);
}
//--------------------------------------------------------------------------
combo loop
{   
    if(milli <= 70000 && !slow_shot && !shot_wait && !restart_match)
    {   
        rx = irand(-29,-32); //range for the x on the slow_shot
        ry = irand(90,97);   //range for the y on the slow_shot
        rt = irand(850,900); //range for the pull back time on the slow_shot
        v  = 0.0;             //initial setting of v (y start point)
        y  = (fix32)ry;      //casting the random y value to y
        x  = (fix32)rx;      //casting the random x value to x
        //printf("%d", milli);
        combo_run(slow_shot);
        milli = milli + 900;
    }
    else if(milli > 70000 && !slow_shot && !shot_wait && !restart_match)
    {   
        combo_run(restart_match);
        milli = 0;
    }
}
combo restart_match
{
    set_val(BUTTON_10, 100);
    wait(1000);
    set_val(BUTTON_13, 100);
    wait(1000);
    set_val(BUTTON_16, 100);
    wait(1000);
    set_val(BUTTON_11, 100);
    wait(1000);
    set_val(BUTTON_16, 100);
    wait(1000);
}
//--------------------------------------------------------------------------
combo slow_shot
{
    set_val(STICK_1_Y, v);
    wait(1);
    set_val(STICK_1_Y, v);
    if(abs(v) <= 100.0)
    {
        combo_restart(slow_shot);
        v = v + 1.5;
        //v = v + (2.0 + rand()) / 2.0; (test run - was too slow on shot start)
    }
    else
    {
        combo_run(shot_wait);
    }
    wait(0);
}
combo shot_wait
{
    set_val(STICK_1_Y, y);
    set_val(STICK_1_X, x);
    wait(rt);
}
Last edited by Nefliminator on Mon Sep 28, 2020 12:17 am, edited 2 times in total.
User avatar
Nefliminator
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Tue Feb 18, 2020 2:37 am

Re: 2K21 VC Farmer PS4

Postby Mad » Sat Sep 26, 2020 9:15 am

Awesome, members are always looking for 2k scripts. :smile0202:

I didn't see it in the online resource, you should upload it. :smile0517:

If you're unsure how to: Gtuner>Tools>Preferences>ConsoleTuner>Enter forum login details (case sensitive) then Tools>Publish Wizard.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am

Re: 2K21 VC Farmer PS4

Postby Nefliminator » Sun Sep 27, 2020 3:55 pm

Mad wrote:Awesome, members are always looking for 2k scripts. :smile0202:

I didn't see it in the online resource, you should upload it. :smile0517:

If you're unsure how to: Gtuner>Tools>Preferences>ConsoleTuner>Enter forum login details (case sensitive) then Tools>Publish Wizard.


Thanks :) I hadn't published it because I couldn't get it to work. Didn't realize the user name was case sensitive too haha.
User avatar
Nefliminator
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Tue Feb 18, 2020 2:37 am

Re: 2K21 VC Farmer PS4

Postby datzbrandon » Sun Sep 27, 2020 9:06 pm

did they patch this? it works but i left it on for ~5 hours and didnt get any vc or barely any like 5k...not sure what i started with
User avatar
datzbrandon
Command Sergeant Major
Command Sergeant Major
 
Posts: 116
Joined: Sun Nov 01, 2015 8:57 pm

Re: 2K21 VC Farmer PS4

Postby Nefliminator » Mon Sep 28, 2020 12:08 am

datzbrandon wrote:did they patch this? it works but i left it on for ~5 hours and didnt get any vc or barely any like 5k...not sure what i started with


Crap... they mustve patched it today. It was working yesterday. Tried leaving it running twice and both times I got 8,000. So that might be the max. I can try adding something in to make it go to the main menu and set up the match again. $8000 is usually about 45-60min of run time.
User avatar
Nefliminator
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Tue Feb 18, 2020 2:37 am

Re: 2K21 VC Farmer PS4 *Patched

Postby datzbrandon » Mon Sep 28, 2020 9:21 pm

ya lol that sounds like it might be hard to do tho lol
User avatar
datzbrandon
Command Sergeant Major
Command Sergeant Major
 
Posts: 116
Joined: Sun Nov 01, 2015 8:57 pm

Re: 2K21 VC Farmer PS4 *Patched

Postby Nefliminator » Tue Sep 29, 2020 12:49 am

datzbrandon wrote:ya lol that sounds like it might be hard to do tho lol


I learned enough that it isn't too hard. Bad news is that even restarting the session doesn't make it work. Changing the length of the game got me to 9,500 but for now it looks like you can only use it to farm from 0vc up to a max of around 8,000vc. Then you have to spend it if you want to farm more.

If I knew they were going to patch it I would've ran it 24hrs a day haha. I only got about 300k-400k.
User avatar
Nefliminator
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Tue Feb 18, 2020 2:37 am

Re: 2K21 VC Farmer PS4 *Patched

Postby Oartnick » Wed Nov 18, 2020 12:52 pm

Hey Nefliminator!

I was wondering if you could please update the VC script and put out a next gen one for the xbox series x and the ps5. The menu has changed to where you have to navigate left instead of up to do a rematch.

Any information would be amazing!

Thanks!
User avatar
Oartnick
Corporal
Corporal
 
Posts: 4
Joined: Sat Oct 03, 2020 4:18 pm

Re: 2K21 VC Farmer PS4 *Patched

Postby Oartnick » Wed Nov 18, 2020 12:53 pm

and I dont care that I can only get 8,000 at a time, its better than nothing!
User avatar
Oartnick
Corporal
Corporal
 
Posts: 4
Joined: Sat Oct 03, 2020 4:18 pm

Re: 2K21 VC Farmer PS4 *Patched

Postby Mad » Wed Nov 18, 2020 7:42 pm

Oartnick wrote:The menu has changed to where you have to navigate left instead of up to do a rematch.

You can change this combo (press F1 in gtuner for a button list):
Code: Select all
combo restart_match 
{
    set_val(BUTTON_10, 100);
    wait(1000);
    set_val(BUTTON_13, 100);
    wait(1000);
    set_val(BUTTON_16, 100);
    wait(1000);
    set_val(BUTTON_11, 100);
    wait(1000);
    set_val(BUTTON_16, 100);
    wait(1000);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am


Return to User's Script Documentation

Who is online

Users browsing this forum: No registered users and 89 guests