Popular Post Septomor Posted March 21, 2022 Popular Post Share Posted March 21, 2022 (edited) Read here first Just an update, we're waiting for new patch which was just announced (1.09), and the patch notes for an update to come soon after seems promising. The original goal statement below was created because I believed for many of us, GT7 was not the game we bought, and as far as I know, none one actually wanted to go this route but felt forced to because of patch 1.07/1.08. The patch to come, assumedly 1.10, claims it will adjust rewards for races to a 100% increase to many of the late game races. If so, then I believe these methods will be potentially unnecessary to maintain. In that event, these will all be taken down permanently. For now, as server maintenance is ongoing in gt, I'm taking down the links for the time being they're up until 1.10 comes near. Hope everyone is understanding and thanks for the support/kind words over the past week everyone ? Also no, I was not contacted by Sony or threatened in any way lol Hey all, this is a method to 100% afk farm credits. I know with nerfs people are not happy and are probably turned off by the enormous grind, or at least I am. So here are some scripts, created to adjust for those nerfs. Windows only for the time being. If someone wants to implement this for system independence (or you think AHK just looks ugly), I recommend checking out python libraries. PyAutoGUI seems very reasonable and I can confirm it works on Linux. Discord link for help/development etc Download these/Install: AutoHotKey (if you want to edit the scripts, otherwise use .exe) PS4 Remote Play (Chiaki is an alternative, more setup but you can use every button on the controller, will have to change scripts to work) All Scripts Latest AHK for PanAm v0.9 Latest exe v0.9 Stable* AHK 0.5, Stable* EXE 0.5 Stable as in many report this version as the most consistent version Setup: Use the Tomahawk S VGT. This is the tuning I've been using Change control scheme so steering is directional buttons (D-pad), X is accelerate, D-pad Down is nitros/overtake. Assist settings Navigate to the race Pan American Championship at the bottom of the America/Europe/Asia menu and start the race, pause and hover over `Retry` Launch PS Remote Play, and press start to connect to your PS4/PS5 Running Script: Just double click on the script to open a small window The variables window shows what you can edit without actually editing the script. The goal is to try to make it so you never have to use this window, but you can use it while the script is running to change some variables. Let me know if there are more available variables you want added. Assuming you did the setup, you should just have to press start and it'll run for you. The most up to date script uses PixelSearch, meaning it needs the PS remote play window to be where it is and the top window. It doesn't need to be the active window, just not hidden. The original script ( Original .AHk, .exe) would allow you to minimize your PS remote play and do whatever you want on your computer. The older version should be more likely to fail, though I've read more reports of newer versions being more trouble. Original script runs at about 550k/hr including menu times, newest script runs at around 625k/hr (for PS5, PS4 will have different load times). You can press Ctrl+Escape to close the script or the x button on the window. Let me know how it goes ? Issues: Spin out on occasion, causing long loop times, possible solution, detect time and restart race (addressed in 0.5, possibly fixed) Menu'ing stops at the replay section Needs a background mode Monitor Resolutions are causing pixel mode to fail Changelog; v0.8 Script now looks for ps remote play client resolution and edits the pixel location for pixel search Variables window now contains color 2 delay, which can be edited to increase the delay post-race x button mashing. v0.7 Merged PS4/5 versions Allowed switching between pixel mode and timing mode for those getting stuck at the replay menu v0.6 Changed color for replay section to check, should be more accurate Added menu'ing test option for selecting the championship, in case you have not completed all cafe missions your menu'ing will be different Changed pixel search location slightly to be more centered Bug fixed in 0.601 v0.5 Added delay to turn at beginning to dodge cars Started work on pixel grabber functions Highlighted guide to make instructions better Edited April 14, 2022 by Septomor 57 Link to comment Share on other sites More sharing options...
RSteph77 Posted March 21, 2022 Share Posted March 21, 2022 (edited) Finally ? Once again, thank you very much for this ! I'll take a look at your latest version to see the changes, I just saw that you probably didn't see my previous post. I edited the sizes in the previous version (v0.2) to extend a bit the height to get the menubar from the app not overlayed on the PS5 display. It's not practical when I have to do manual actions like oil change, relaunch... I used variables to implement it in your script if your are interested. I added these 2 constants : width = 720 height := width*4/5 And changed these 2 lines : PixelSearch, x, y, width/2, height*77/100, width/2+20, height*82/100, 0x3F1757, 20, Fast RGB WinMove, ahk_id %id%,, 0, 0, width, height Edited March 21, 2022 by RSteph77 1 Link to comment Share on other sites More sharing options...
Septomor Posted March 21, 2022 Author Share Posted March 21, 2022 2 minutes ago, RSteph77 said: Finally I'll take a look at your latest version to see the changes, I just saw that you probably didn't see my previous post. I edited the sizes in the previous version (v0.2) to extend a bit the height to get the menubar from the app not overlayed on the PS5 display. It's not practical when I have to do manual actions like oil change, relaunch... I used variables to implement it in your script if your are interested. I added these 2 constants : width = 720 height := width*4/5 And changed these 2 lines : PixelSearch, x, y, width/2, height*77/100, width/2+20, height*82/100, 0x3F1757, 20, Fast RGB WinMove, ahk_id %id%,, 0, 0, width, height Hi, can you explain exactly what these are for when moving? I understand you might be taking time to manually change oil and do other stuff, is that implemented? I'm not sure what menu bar you are referring to in this case, is that the bar in the overworld that has your credits total and such? I've been running the races without any oil changes or maintenance, if you think it's worth doing I would like to know (Not that I'd ever drive my real car for 20k miles without an oil change) Link to comment Share on other sites More sharing options...
RSteph77 Posted March 21, 2022 Share Posted March 21, 2022 10 minutes ago, Septomor said: Hi, can you explain exactly what these are for when moving? I understand you might be taking time to manually change oil and do other stuff, is that implemented? I'm not sure what menu bar you are referring to in this case, is that the bar in the overworld that has your credits total and such? I've been running the races without any oil changes or maintenance, if you think it's worth doing I would like to know (Not that I'd ever drive my real car for 20k miles without an oil change) I think the pictures speak for themselves, before : After (slightly bigger window also) : As you can see the "menu bar" of the app overlays on the bottom of the PS5 display and you can't really see where is the cursor or what you're doing. I don't want to implement the oil change or anything else, it's mostly some custom code probably only for me and my usage/preference 1 Link to comment Share on other sites More sharing options...
RawwwPlatinum Posted March 21, 2022 Share Posted March 21, 2022 Hey man, Thank you for your script! I'm at 9mil credits right now. Going for the full 20mil! What changed between v0.2 and v0.4? Is it more consistent? Link to comment Share on other sites More sharing options...
Septomor Posted March 21, 2022 Author Share Posted March 21, 2022 23 minutes ago, RSteph77 said: After (slightly bigger window also) : As you can see the "menu bar" of the app overlays on the bottom of the PS5 display and you can't really see where is the cursor or what you're doing. I don't want to implement the oil change or anything else, it's mostly some custom code probably only for me and my usage/preference Ah thats a good idea, I was wondering about doing that as well since it would help debugging PixelSearch, I will see what I can do, current plan is to insert some script custom settings to switch between the pixelsearch and original mode so only one script needs to be downloaded. Additionally I want to put in other races instead of just Pan America, because who knows how hard they'll hit this method in a patch. If you have other ideas for scripting I'd very much be interested! 5 minutes ago, RawwwPlatinum said: Hey man, Thank you for your script! I'm at 9mil credits right now. Going for the full 20mil! What changed between v0.2 and v0.4? Is it more consistent? It should be more consistent hopefully, I've been trying with each update to improve that but I think this one will handle the menu'ing much better and daily workouts are hopefully fixed, though I won't know for another 8 hours probably. I think I added a small delay to the turning as well to try and avoid the spin out that happened every 10 races or so as mentioned by others. 1 Link to comment Share on other sites More sharing options...
svache Posted March 21, 2022 Share Posted March 21, 2022 1 hour ago, Septomor said: The older version should be more likely to fail I'm a bit surprised to hear this. I ran the script without any issue for roughly 12 hours straight last night, and about 8 hours during the day yesterday. What kind of things are to be expected if it fails? (like, could it mess up the game if not noticed quickly?) Link to comment Share on other sites More sharing options...
RawwwPlatinum Posted March 21, 2022 Share Posted March 21, 2022 3 minutes ago, Septomor said: Ah thats a good idea, I was wondering about doing that as well since it would help debugging PixelSearch, I will see what I can do, current plan is to insert some script custom settings to switch between the pixelsearch and original mode so only one script needs to be downloaded. Additionally I want to put in other races instead of just Pan America, because who knows how hard they'll hit this method in a patch. If you have other ideas for scripting I'd very much be interested! It should be more consistent hopefully, I've been trying with each update to improve that but I think this one will handle the menu'ing much better and daily workouts are hopefully fixed, though I won't know for another 8 hours probably. I think I added a small delay to the turning as well to try and avoid the spin out that happened every 10 races or so as mentioned by others. Awesome! I'm going to sleep now. Hopefully the script will keep going on :). I have read on Reddit that the Tri-Oval track is also a very fast and easy farm. Maybe you can script for that track also. It's around 1:30 per race I think. Again thank you for your work! Link to comment Share on other sites More sharing options...
Septomor Posted March 21, 2022 Author Share Posted March 21, 2022 15 minutes ago, svache said: I'm a bit surprised to hear this. I ran the script without any issue for roughly 12 hours straight last night, and about 8 hours during the day yesterday. What kind of things are to be expected if it fails? (like, could it mess up the game if not noticed quickly?) right, it's more in theory that it should fail ? it was all based on timings which are random an not always predictable. So when cutting down on times it was possible that the loop would get stuck due to a miscalculation. Now in 0.4 it's a reactionary script, so no timing is used to switch between the race and the menu'ing process. This means we can instantly go from one to the other, ie, delay is no minimum. Original script's loop time was 5:54, v0.4's loop time is about 5:01. v0.2 was around 5:20 14 minutes ago, RawwwPlatinum said: Awesome! I'm going to sleep now. Hopefully the script will keep going on :). I have read on Reddit that the Tri-Oval track is also a very fast and easy farm. Maybe you can script for that track also. It's around 1:30 per race I think. Again thank you for your work! Yep been working on it, it's very difficult to get the clean race, but have been trying. It might be possible for people to record macros as well of them beating a race which then can be translated in ahk. If anyone's brave enough to do windmills/fisherman's on keyboard : ) Link to comment Share on other sites More sharing options...
thefourfoldroot Posted March 21, 2022 Share Posted March 21, 2022 (edited) Never have (and never will) use something like this, but just interested in how much electricity it takes to constantly run this AFK for the credits earned, and so whether it wouldn’t just be cheaper to buy the bloody credits (something else I’d never do). Edited March 21, 2022 by thefourfoldroot 3 Link to comment Share on other sites More sharing options...
Popular Post richtayls Posted March 21, 2022 Popular Post Share Posted March 21, 2022 7 minutes ago, thefourfoldroot said: Never have (and never will) use something like this, but just interested in how much electricity it takes to constantly run this AFK for the credits earned, and so whether it wouldn’t just be cheaper to buy the bloody credits (something else I’d never do). If this script earns 625k credits per hour then that’s 15 million per day, which would cost £120 from the PSN store, hopefully you’re on a cheaper electricity tariff than that. 8 Link to comment Share on other sites More sharing options...
dotazured Posted March 21, 2022 Share Posted March 21, 2022 1 hour ago, Septomor said: Ah thats a good idea, I was wondering about doing that as well since it would help debugging PixelSearch, I will see what I can do, current plan is to insert some script custom settings to switch between the pixelsearch and original mode so only one script needs to be downloaded. Additionally I want to put in other races instead of just Pan America, because who knows how hard they'll hit this method in a patch. If you have other ideas for scripting I'd very much be interested! It should be more consistent hopefully, I've been trying with each update to improve that but I think this one will handle the menu'ing much better and daily workouts are hopefully fixed, though I won't know for another 8 hours probably. I think I added a small delay to the turning as well to try and avoid the spin out that happened every 10 races or so as mentioned by others. Can confirm that the script progresses past the daily workout rewards as intended. 1 Link to comment Share on other sites More sharing options...
Shorah- Posted March 21, 2022 Share Posted March 21, 2022 I tried the new version 0.4 but i can't get past the menuing. Am i the only one ? The old one worked like a charm. Link to comment Share on other sites More sharing options...
Septomor Posted March 21, 2022 Author Share Posted March 21, 2022 1 minute ago, Shorah- said: I tried the new version 0.4 but i can't get past the menuing. Am i the only one ? The old one worked like a charm. Can you describe where it gets stuck? Link to comment Share on other sites More sharing options...
Shorah- Posted March 21, 2022 Share Posted March 21, 2022 (edited) 15 minutes ago, Septomor said: Can you describe where it gets stuck? I'm testing new runs, i didnt see you changed your car settings compared to v.0. I was stuck on the very first screen, the leaderboard. Is your controller steering still at -2 (if it changes anything lol). For some reasons most laps were 36sec but 5th one was 40, which maybe fucked up the whole process. Edit: Still stuck on leaderboard screen. Even on a good run 3:44, i cant get past the menuing. Edited March 21, 2022 by Shorah- Link to comment Share on other sites More sharing options...
Septomor Posted March 21, 2022 Author Share Posted March 21, 2022 1 minute ago, Shorah- said: I'm testing new runs, i didnt see you changed your car settings compared to v.0. I was stuck on the very first screen, the leaderboard. Is your controller steering still at -2 (if it changes anything lol). For some reasons most laps were 36sec but 5th one was 40, which maybe fucked up the whole process. Edit: Still stuck on leaderboard screen. Is it possible you are using the original script? If you are using the latest script and it gets stuck at the leader board, try using the ColorP button in the gui when you're at the leaderboards. This value can then be inserted into the script at the color_check line and hopefully that should start the menu'ing process. I'll try adding it to the variables window and throw an update real quick so you hopefully don't have to edit the script. Link to comment Share on other sites More sharing options...
Shorah- Posted March 21, 2022 Share Posted March 21, 2022 10 minutes ago, Septomor said: Is it possible you are using the original script? If you are using the latest script and it gets stuck at the leader board, try using the ColorP button in the gui when you're at the leaderboards. This value can then be inserted into the script at the color_check line and hopefully that should start the menu'ing process. I'll try adding it to the variables window and throw an update real quick so you hopefully don't have to edit the script. I clicked on color check and changed for a new value 0x0 but now on the screen where it's supposed to click on next race, it keeps going on replay, play replay, exit (repeat). Link to comment Share on other sites More sharing options...
Septomor Posted March 21, 2022 Author Share Posted March 21, 2022 Just now, Shorah- said: I clicked on color check and changed for a new value 0x0 but now on the screen where it's supposed to click on next race, it keeps going on replay, play replay, exit (repeat). Are you moving the screen around or resizing it? It has to remain where it is and can't be covered by another window and cant be minimized. The original version could do everything in the background, the current one needs to be able to see the window to react to it. The script is looking at the button to the right of the replay button, and trying to find the green pixel inside the arrow, so if you do anything with the window it won't know when to stop menu'ing Link to comment Share on other sites More sharing options...
RSteph77 Posted March 21, 2022 Share Posted March 21, 2022 (edited) 1 hour ago, Septomor said: Ah thats a good idea, I was wondering about doing that as well since it would help debugging PixelSearch, I will see what I can do, current plan is to insert some script custom settings to switch between the pixelsearch and original mode so only one script needs to be downloaded. Additionally I want to put in other races instead of just Pan America, because who knows how hard they'll hit this method in a patch. If you have other ideas for scripting I'd very much be interested! Glad you found it useful ? I also got stuck once or twice on the leaderboard with the purple banner (pixelsearch). But so far I had 3 times the car doing circle burnouts, probably after hitting an other car. Faster lap times are not always better apparently ? Edit : got stuck an other time on this screen Edited March 22, 2022 by RSteph77 Link to comment Share on other sites More sharing options...
Shorah- Posted March 22, 2022 Share Posted March 22, 2022 (edited) 33 minutes ago, Septomor said: Are you moving the screen around or resizing it? i was ! Sorry man never thought it could affect the script. Seems to work now. I'm on round 2. Edited March 22, 2022 by Shorah- Link to comment Share on other sites More sharing options...
Im2Fast_4U Posted March 22, 2022 Share Posted March 22, 2022 (edited) I followed the setup exactly as described, but am having an issue. I hover over retry as described, then I open remote play and connect. At this point, the remote play window is full size and the top window. When I launch the script and press start, it moves the remote play window into the top left corner of my computer screen. After the vehicle crosses the starting line, the car immediately turns into the wall on the right. This to me indicates it is thinking it is still in the menu, though I have no idea why it is resizing the remote play window in the first place. Any help would be appreciated! Seems like an awesome tool EDIT: I did not change the x button and down button accordingly. Please friends read everything! Works like a charm, error on my end! Edited March 22, 2022 by Im2Fast_4U I have dyslexia and failed at fully reading Link to comment Share on other sites More sharing options...
Wendenhorn Posted March 22, 2022 Share Posted March 22, 2022 It seems it's getting better and better. The loop time is now pretty close to my Python script (mine is around 290s). I can see why there are some people having problem with this script. The script will resize/move the window initially, but the absolute position will be still different depending on their resolution and scaling. As such, both searching for the purple and searching for the green part doesn't work for those people, until they manually reposition it and repick the color. Link to comment Share on other sites More sharing options...
dotazured Posted March 22, 2022 Share Posted March 22, 2022 The menu traversal works really well for me, I have however had a couple of collisions which have ended up in getting stuck spinning and having to restart the cycle. This didn't happen with previous versions of the script (the one that took 5m45s per cycle). So while it is faster per cycle, v0.4 is way less reliable than previous versions. (The spinouts happen mid to late first corner on the first lap if it helps debugging) 1 Link to comment Share on other sites More sharing options...
GTP_Nuschel Posted March 22, 2022 Share Posted March 22, 2022 Hey, not sure if you saw my post in the other thread but maybe you can code in a timer for when the purple bar doesn't show up afer x minutes the script presses pause and restarts the race? That'd eliminate the issue of getting stuck in an infinite spin due to a bad collision with the AI. Link to comment Share on other sites More sharing options...
Septomor Posted March 22, 2022 Author Share Posted March 22, 2022 (edited) 1 hour ago, RSteph77 said: Faster lap times are not always better apparently Edit : got stuck an other time on this screen New version is up, hopefully this will fix it, I adjusted the beginning delay on turning, the idea is to thread the needle basically between the cars. Here's hoping but I haven't run into a spin out in an hour so far. @dotazured @GTP_Nuschel 21 minutes ago, Wendenhorn said: It seems it's getting better and better. The loop time is now pretty close to my Python script (mine is around 290s). I can see why there are some people having problem with this script. The script will resize/move the window initially, but the absolute position will be still different depending on their resolution and scaling. As such, both searching for the purple and searching for the green part doesn't work for those people, until they manually reposition it and repick the color. 290 is really good, I'd be interested in seeing your script if possible, just because I think moving to python will help bring more developers into the game. As it is it's been quite a bit of work lol edit: Messed up v0,5 link, is correct now Edited March 22, 2022 by Septomor 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now