iceking156300 Posted April 18, 2022 Share Posted April 18, 2022 (edited) Edible method: 1. There is a PS4 or 5, a computer, a network and a PSN account. Install PS remote play. There are gt7 games. And can play gt7 on the computer. 2. The Clubman cap plus 550 competition has been started in the game, with Tomahawk s VGT car, and the training is as follows. 3. Set the operation mode of PS game as the left and right direction keys for turning, the up direction key for throttle, the down direction key for nitrogen overtaking, and the handle x key is set to empty. The game is set with vehicle traction 5, manual gear MT, ABS on, ASM stable on, brake assist off, It is recommended to use the view angle inside the vehicle, and do not use the red vehicle when viewing the hood. 4. Download and install AutoHotKey 1.1 software, download my script files and pictures. 5. Open PS remote play, enter the game into the Clubman cap plus 550 game, pause the game, and the cursor stays at the retry position. (when entering the game interface, it's also OK to ensure a position where you can enter by entering.) 6. Open the script and click start. The minimum hourly income is 1 million cr. (please do not touch the computer in the whole process and ensure that it does not sleep or pop-up, because it is necessary to identify pictures. Although the search software mode is used, it is afraid of problems) Tip: Now we have identified the picture position coordinates according to the percentage ratio. There should be no inapplicability. If yes, please modify a starting coordinate according to the picture. Lines 36,37 of the code. PS4 please modify the corresponding time parameters according to your own machine performance. For car adjustment, please set the gear ratio many times. It doesn't have to be exactly the same as my value. There should be no problem with the difference of 1-2 mantissa. Pay attention to the height of tires and front and rear shock absorption. PS: please observe the AI opponent in the first lap. If your car is not on the left and ahead of three opponents, please exit the game to the competition selection interface and refresh the AI opponent. Try to ensure that you can surpass AI opponents without damage. It's best to brush out high-level opponents to ensure that you won't buckle the circle. Don't worry about the script at this time, because the opponent's vehicle will not change if you don't quit the race. Generally, the best lap speed should be about 1 minute and 17 seconds. The whole process takes about 6 minutes and 20 seconds. About $1 million per hour. At the beginning, we must brush out the AI without collision. It's best not to buckle the circle, but it's a little difficult. In that case, the fair game score will follow. If you can get a safe score in the first four innings, then hang the brush. It won't be too bad. If you are not satisfied, brush AI again Download address: Link: https://pan.baidu.com/s/1EXdWaykyXdn6B9DrtgEd2A?pwd=fb5i Extraction code: fb5i download 2.0-b Because my mother tongue is Chinese. The above content is machine translation, please forgive me. https://www.bilibili.com/read/cv16191016 Chinese Introduction https://www.bilibili.com/read/cv16314940 #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SendMode Input SetWorkingDir %A_ScriptDir% ;设置工作文件夹地址。 DetectHiddenWindows, On #Persistent ;------------从下面开始是需要根据您个人的情况修改的参数------------ ; --------- Controls,控制按钮 Xbutton := "Enter" accel := "Up" turnLeft := "Left" turnRight := "Right" nitros := "Down" ; --------- Constants 调整参数 ;设置调整的参数 statime := 3000 ;加载后预等待时间,后面会判断开始。不卡情况下计算点击进入游戏后到倒数3秒的时间(稍少算点)ps4请对应调整。。 loadtime := 4000 ;比赛后在重试按钮界面,点重试后进入比赛简介时间,ps4请对应调整。 ;判断图区域正常分辨率下的位置比 暂时不用改动 x1per := 0.61 ;左上角 左边距 490/800 精确位置 501 y1per := 0.88 ;左上角 上边距 400/450 精确位置 406 x2per := 0.7 ;右下角 左边距 560/800 精确位置 550 y2per := 0.96 ;右下角 上边距 428/450 精确位置 410 ;游戏实际窗口包括黑边在内的左上角第一像素距离屏幕原点偏移像素数 ,参考 point1.png图片解释。 如果好使可以不用改动因为变化也不出10像素, Wline := 9 Hline := 38 ;------------个人参数结束------------ ; ---------- Gui Setup ------------- Gui, -MaximizeBox Gui, Color, cFFFFFF, c6272a4 Gui, Add, Button, x15 y10 w70 default, Start GUI, Add, Text,, _________________ GUI, Add, Text,, GT7 EasyMoney V2.0-b GUI, Add, Text,, Clubman Cap Plus PP550 GUI, Add, Text,, Up By 156300 Gui, Font, ce8dfe3 s9 w550 Bold Gui, Show,w220 h150, GT7 EM 2.0 return ButtonStart: Gui, Submit, NoHide id := "" SetKeyDelay, 10 Process, priority, , High gosub, GrabRemotePlay if (id = "") return gosub, PauseLoop CoordMode, Mouse, Client CoordMode, Pixel, Client CoordMode, ToolTip, Screen sleep 500 gosub, AFKLoop ; ---------- Gui Setup End------------- ;取实际分辨率,判断黑边大小并赋值 GetWH: WinGetPos, Xs, Ys, winWidthpx, winHeightpy, ahk_id %id% ;处理边框、标题栏,标题栏高30固定,上边一般为1加起来等于Hline,底边阴影边等于Wline winWidthp := winWidthpx - Wline - Wline winHeightp := winHeightpy - Hline - Wline ;通配,怕出小数 winWidth := winWidthp * 144 winHeight := winHeightp * 144 ;判断黑边大小,并赋值 if (winWidth * 9 / 16 > winHeight) { Wplus := (winWidthp - (winHeightp * 16 / 9)) / 2 Hplus := 0 } else if (winWidth * 9 / 16 < winHeight) { Wplus := 0 Hplus := (winHeightp - (winWidth * 9 / 16)) / 2 } else { Wplus := 0 Hplus := 0 } ;简化判断语句内赋值,把运算提前不进入主循环减少运算量 x1p := (winWidthp - Wplus - Wplus) * x1per + Wplus y1p := (winHeightp - Hplus - Hplus) * y1per + Hplus x2p := (winWidthp - Wplus - Wplus) * x2per + Wplus y2p := (winHeightp - Hplus - Hplus) * y2per + Hplus ; MsgBox , %winWidthpx%, %winHeightpy%, %winWidthp%, %winHeightp%, %Wplus%, %Hplus%, %x1p%, %y1p%, %x2p%, %y2p% return AFKLoop: loop { gosub, PressX ;进入比赛 DllCall("Sleep", "UInt", statime) ;预等待游戏进入时间 gosub, GetWH ;删除本行头部的分号取消注释启用功能,不支持脚本开启后随便修改分辨率移动窗口位置,本行和下面GetWH,只保留一个开启。 gosub, Race } return PressX: ; Just for menuing, does not hold X down 只是相当于点手柄的X键=确认键 ControlSend,, {%Xbutton% down}, ahk_id %id% DllCall("Sleep", "UInt", 200) ControlSend,, {%Xbutton% up}, ahk_id %id% return Race: ControlSend,, {%accel% down}, ahk_id %id% DllCall("Sleep", "UInt", 100) ControlSend,, {%nitros% down}, ahk_id %id% DllCall("Sleep", "UInt", 100) ;判断比赛是否结束并返回界面。否则继续等待。 loop { ; gosub, GetWH ;删除本行头部的分号取消注释启用功能,可支持脚本开启后随便修改分辨率不支持移动窗口位置(实际稍微移动一些不耽误),分辨率别调整太大或太小。本行和上面GetWH,只保留一个开启。 DllCall("Sleep", "UInt", 500) ;要是有的时候好使有的时候卡循环,先把他改成1000 试试,或者直接不好使先改成1000,判断下是否是因为机器画面慢的原因 ;图片截取重试按钮界面的 退出带汉字的长按钮的上部分的纯红色区域条,取80%宽就好。 ImageSearch, OutputVarX3, OutputVarY3, x1p, y1p, x2p, y2p, *20 %A_ScriptDir%\menu2red.png If (ErrorLevel = 0) { ; 弹起油门和追逐按键 DllCall("Sleep", "UInt", 100) ControlSend,, {%accel% up}, ahk_id %id% DllCall("Sleep", "UInt", 100) ControlSend,, {%nitros% up}, ahk_id %id% break } else{ gosub, PressX ;循环确认到重试界面 } } ;按两次esc到退出按钮 DllCall("Sleep", "UInt", 300) ControlSend,, {Esc down}, ahk_id %id% DllCall("Sleep", "UInt", 200) ControlSend,, {Esc up}, ahk_id %id% DllCall("Sleep", "UInt", 200) ControlSend,, {Esc down}, ahk_id %id% DllCall("Sleep", "UInt", 200) ControlSend,, {Esc up}, ahk_id %id% DllCall("Sleep", "UInt", 1000) ;按左方向键前等待时间 ControlSend,, {Left down}, ahk_id %id% DllCall("Sleep", "UInt", 200) ControlSend,, {Left up}, ahk_id %id% DllCall("Sleep", "UInt", 500) gosub, PressX DllCall("Sleep", "UInt", loadtime) return ;; General Functions for AHK GrabRemotePlay: WinGet, remotePlay_id, List, ahk_exe RemotePlay.exe if (remotePlay_id = 0) { MsgBox, PS Remote Play not found return } Loop, %remotePlay_id% { id := remotePlay_id%A_Index% WinGetTitle, title, % "ahk_id " id If InStr(title, "PS Remote Play") break } WinGetClass, remotePlay_class, ahk_id %id% WinMove, ahk_id %id%,, 0, 0, 800, 450 ControlFocus,, ahk_class %remotePlay_class% WinActivate, ahk_id %id% return PauseLoop: ControlSend,, {%accel% up}, ahk_id %id% ControlSend,, {%nitros% up}, ahk_id %id% ControlSend,, {%turnLeft% up}, ahk_id %id% ControlSend,, {%turnRight% up}, ahk_id %id% return GuiClose: gosub, PauseLoop ExitApp ^Esc::ExitApp png png link https://imgtu.com/i/LLM9JA Schematic diagram of coordinate modification position corresponding to 36 and 37 lines of code Edited April 27, 2022 by iceking156300 3 Link to comment Share on other sites More sharing options...
pipedreams88 Posted April 18, 2022 Share Posted April 18, 2022 I'm still looking to automate PS Remote Play with my Chromebook 1 Link to comment Share on other sites More sharing options...
VELOCIOUS-VIPER Posted April 18, 2022 Share Posted April 18, 2022 (edited) in reference to line 81 'ImageSearch, OutputVarX3, OutputVarY3, 700, 400, 800, 550, *20 %A_ ScriptDir%\menu2. png' how does the script know where to find menu2.png? is there something extra i need to do to make the script use that image? i don't understand the code so my bad also i assume the image search is looking between the point 700,400 from the top left corner and 800, 550 from the bottom right corner, then that makes an area or rectangle to search for the image i think? idk, but 800, 550 is so way off it falls outside the ps remote play window so i could be wrong i tried the fixes given but it doesn't work, still stuck in a loop on race replay op may not be able to answer cuz he speaks a different language but someone else who got it working could answer thanks other than that it is working well and I'm setting lap times under 1:15 Edited April 18, 2022 by VELOCIOUS-VIPER 1 Link to comment Share on other sites More sharing options...
iceking156300 Posted April 19, 2022 Author Share Posted April 19, 2022 %A_ ScriptDir%\menu2. png It means that the location of the picture file and the script are in the same folder, and the file name is menu2. png 700, 400, 800, 550, It doesn't matter if it's larger than the maximum window, but make sure nothing else blocks the game window If you need to redefine the screen resolution and the actual screen resolution, you need to re identify the screen resolution. Chinese video tutorial https://www.bilibili.com/video/BV123411T7Vv New tuning parameters https://www.bilibili.com/read/cv16198918 Link to comment Share on other sites More sharing options...
BTR-Legendix Posted April 19, 2022 Share Posted April 19, 2022 i cant download the files ??? '' The content you downloaded contains folders, please use the Baidu network disk client to download. '' when i download that weir chinese programm it ask me to log in ? Link to comment Share on other sites More sharing options...
Racing_Miku_2017 Posted April 19, 2022 Share Posted April 19, 2022 (edited) 8 hours ago, BTR-Legendix said: i cant download the files ??? '' The content you downloaded contains folders, please use the Baidu network disk client to download. '' when i download that weir chinese programm it ask me to log in ? The script is already in the post. The only thing that the Baidu link has is the menu2.png. EDIT: If somebody actually want all the files I uploaded them on Google Drive: Link (only the 2.0 folder) Edited April 19, 2022 by Racing_Miku_2017 Adding Google Drive Link 1 Link to comment Share on other sites More sharing options...
StormX-13579 Posted April 19, 2022 Share Posted April 19, 2022 Work fine the whole run except it stuck at the Replay part. anyone have fix for it ? 1 Link to comment Share on other sites More sharing options...
Danine92 Posted April 19, 2022 Share Posted April 19, 2022 4 hours ago, StormX-13579 said: Work fine the whole run except it stuck at the Replay part. anyone have fix for it ? Me too... I tried to change the code but without exit. Help please (for PS4) Link to comment Share on other sites More sharing options...
x-wiedzmin-x Posted April 19, 2022 Share Posted April 19, 2022 (edited) doesn't work car cannot accelerate... I have a controller setting with arrow control.. I also tried on the sticks and the same effect Edited April 19, 2022 by x-wiedzmin-x Link to comment Share on other sites More sharing options...
BTR-Legendix Posted April 19, 2022 Share Posted April 19, 2022 (edited) got it Edited April 19, 2022 by BTR-Legendix Link to comment Share on other sites More sharing options...
BTR-Legendix Posted April 19, 2022 Share Posted April 19, 2022 3 hours ago, x-wiedzmin-x said: doesn't work car cannot accelerate... I have a controller setting with arrow control.. I also tried on the sticks and the same effect did you change the accelarate button to ( up ) ? Link to comment Share on other sites More sharing options...
AUSTRALIANDJ Posted April 20, 2022 Share Posted April 20, 2022 im doing something wrong here. https://imgur.com/n2bhKYF Help Did the tuning as suggested. I think. But the PP is still like 870 or something ridiculous. Link to comment Share on other sites More sharing options...
iceking156300 Posted April 20, 2022 Author Share Posted April 20, 2022 Sorry, because I need VPN to log in to this website, and the speed is very slow, and my English is not good. If you have questions, you can go to our Chinese website bilibili to see my relevant error answers and use tutorials. At present, the main problem is not to enter the next game. There are two main possibilities. 1. There is no other picture due to the resolution, clarity and other problems. The modification method is to modify . imagesearch, outputvarx3, outputvary3 and x-top_ left, Y-top_ left, X-bottom_ right, Y-bottom_ right, *20 %A_ ScriptDir%\menu2 The two coordinates in PNG are relative to the value under your resolution, and increase the value of * 20 appropriately. 2. It is caused by the running speed of the machine and the network. The time is too short, and the X button is pressed before the screen is judged. The modification method is to appropriately increase the delay time of the line on imagesearch. Just now, iceking156300 said: 对不起,因为我需要VPN才能登录这个网站,而且速度很慢,而且我的英语不好。有问题可以去我们的中文网站bilibili查看我的相关错误解答和使用教程。 目前主要的问题是不能进入下一场比赛。有两种主要的可能性。 1、由于分辨率、清晰度等问题,没有其他图片。修改方法是修改。 PNG中的两个坐标是相对于你的分辨率下的值,适当增加*20的值。 2、是机器运行速度和网络问题造成的。时间太短了,还没判断屏幕就按了X键。修改方法是在imagesearch上适当增加行的延迟时间。 1 line 81 2 line 80 Link to comment Share on other sites More sharing options...
supach_ Posted April 20, 2022 Share Posted April 20, 2022 On 18.04.2022 at 7:16 AM, iceking156300 said: Edible method: 1. There is a PS4 or 5, a computer, a network and a PSN account. Install PS remote play. There are gt7 games. And can play gt7 on the computer. 2. The Clubman cap plus 550 competition has been started in the game, with Tomahawk s VGT car, and the training is as follows. Nice! Would u like to join our discord? https://discord.gg/fzsRgRPy We're improving uppon your script (; Link to comment Share on other sites More sharing options...
x-wiedzmin-x Posted April 20, 2022 Share Posted April 20, 2022 11 hours ago, BTR-Legendix said: did you change the accelarate button to ( up ) ? ok, but now stay in replay anybody fix it ? Link to comment Share on other sites More sharing options...
Danine92 Posted April 20, 2022 Share Posted April 20, 2022 (edited) Solution - SCRIPT byTIME - This is my solution, script by time. With this you can do things while it runs, since it doesn't use pixel checking. The time that I have put in the one that makes the race is 6m:30s = 390000 So if you do less time, you can modify the value of 390000 for what you think is convenient. I leave a link for the conversion from minutes to milliseconds. https://www.kylesconverter.com/time/minutes-to-milliseconds #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SendMode Input SetWorkingDir %A_ScriptDir% DetectHiddenWindows, On #Persistent ; --------- Controls accel := "Up" turnLeft := "Left" turnRight := "Right" brake := "Enter" nitros := "Down" ; --------- Constants statime := 3000 ; ---------- Gui Setup ------------- Gui, -MaximizeBox Gui, Color, cFFFFFF, c6272a4 Gui, Add, Button, x15 y10 w70 default, Start GUI, Add, Text,, _________________ GUI, Add, Text,, GT7 EasyMoney V2.0-a GUI, Add, Text,, Clubman Cap Plus PP550 GUI, Add, Text,, Up By 156300 Gui, Font, ce8dfe3 s9 w550 Bold Gui, Show,w220 h150, GT7 EM 2.0 return ButtonStart: Gui, Submit, NoHide id := "" SetKeyDelay, 10 Process, priority, , High gosub, GrabRemotePlay if (id = "") return gosub, PauseLoop CoordMode, Mouse, Client CoordMode, Pixel, Client CoordMode, ToolTip, Screen sleep 500 gosub, AFKLoop ; ---------- Gui Setup End------------- AFKLoop: loop { gosub, PressX DllCall("Sleep", "UInt", statime) gosub, Race } return PressX: ; Just for menuing, does not hold X down ControlSend,, {%brake% down}, ahk_id %id% DllCall("Sleep", "UInt", 200) ControlSend,, {%brake% up}, ahk_id %id% return Race: ControlSend,, {%accel% down}, ahk_id %id% DllCall("Sleep", "UInt", 100) ControlSend,, {%nitros% down}, ahk_id %id% DllCall("Sleep", "UInt", 100) Sleep, 390000 ;Modify if is necessary. Time to do the race. ControlSend,, {%accel% up}, ahk_id %id% Sleep, 100 ControlSend,, {%nitros% up}, ahk_id %id% gosub, PressX Sleep, 2000 gosub, PressX Sleep, 2000 gosub, PressX Sleep, 2000 gosub, PressX Sleep, 2000 gosub, PressX Sleep, 2000 gosub, PressX Sleep, 4000 gosub, PressX Sleep, 4000 gosub, PressX Sleep, 3000 ControlSend,, {Right down}, ahk_id %id% Sleep, 200 ControlSend,, {Right up}, ahk_id %id% Sleep, 500 gosub, PressX Sleep, 4000 return ;; General Functions for AHK GrabRemotePlay: WinGet, remotePlay_id, List, ahk_exe RemotePlay.exe if (remotePlay_id = 0) { MsgBox, PS Remote Play not found return } Loop, %remotePlay_id% { id := remotePlay_id%A_Index% WinGetTitle, title, % "ahk_id " id If InStr(title, "PS Remote Play") break } WinGetClass, remotePlay_class, ahk_id %id% WinMove, ahk_id %id%,, 0, 0, 800, 450 ControlFocus,, ahk_class %remotePlay_class% WinActivate, ahk_id %id% return PauseLoop: ControlSend,, {%accel% up}, ahk_id %id% ControlSend,, {%nitros% up}, ahk_id %id% ControlSend,, {%turnLeft% up}, ahk_id %id% ControlSend,, {%turnRight% up}, ahk_id %id% return GuiClose: gosub, PauseLoop ExitApp ^Esc::ExitApp Edited April 20, 2022 by Danine92 1 Link to comment Share on other sites More sharing options...
x-wiedzmin-x Posted April 25, 2022 Share Posted April 25, 2022 (edited) anyone knows how to fix the problem with today's new patch and PP of TOMAHAWK S VGT ? how to make below 600? Edited April 25, 2022 by x-wiedzmin-x Link to comment Share on other sites More sharing options...
iceking156300 Posted April 26, 2022 Author Share Posted April 26, 2022 On 2022/4/20 at PM5点35分, supach_ said: 好的!你想加入我们的discord吗? https://discord.gg/fzsRgRPy 我们正在改进您的脚本 (; Sorry, I can't program and most programming languages. I can only write some scripts, and my technology is limited. However, you can freely use my code for your convenience. https://i0.hdslb.com/bfs/article/5113d13599aed89e6ef1b5dd18d4f3c34728e14f.png https://i0.hdslb.com/bfs/article/237442ae4784864851ea1b049913750f7a3fe85f.png 1.13 550pp setup 作者:邪魔空调 https://www.bilibili.com/read/cv16314940#reply110635363760 出处:bilibili 1.13 550pp setup 1 Link to comment Share on other sites More sharing options...
iceking156300 Posted April 27, 2022 Author Share Posted April 27, 2022 Schematic diagram of coordinate modification position corresponding to 36 and 37 lines of code 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