YouTube2Text

Quick Hotkeys and Pixel Color | Macro Everything 2 (Volleyball Legends) — Transcript

by Asphalt Cake · 3,512 words · 450 segments · language en · Watch on YouTube

Full transcript

  1. 0:00So, I'm back with macro everything and
  2. 0:02today I'll be making a macro that will
  3. 0:03give me an advantage in volleyball
  4. 0:05legends. So, in volleyball legends,
  5. 0:07something about volleyball legends is
  6. 0:08that once you face a direction and you
  7. 0:10jump, you cannot turn directions as you
  8. 0:12can see. So, a lot of pro players use
  9. 0:14this technique called shift locking. So,
  10. 0:16they'll look a different direction and
  11. 0:18then they'll shift lock and then jump.
  12. 0:19This way, they can hide the direction
  13. 0:21that they are facing so it doesn't make
  14. 0:22it obvious what attacks they're doing.
  15. 0:24So, I'm going to be making a quick macro
  16. 0:25that can do that as well as an autoserve
  17. 0:27macro. So, I'm just going to name this
  18. 0:29Jenko. It's called the style that I'm
  19. 0:30using is Jeno. So, here's how I I would
  20. 0:32style a macro. I would first just write
  21. 0:35this very simple line. I would make a
  22. 0:37reload key like this so that I can quick
  23. 0:39reload my macro. A button that I don't
  24. 0:41use in this game is probably the number
  25. 0:43two on my keyboard. So, if I if I press
  26. 0:44number two on my keyboard, I don't use
  27. 0:46number two. So, I'm going to set number
  28. 0:47two as my hotkey to start a macro.
  29. 0:48Actually, no. When I press spacebar, I
  30. 0:50want to shift lock. So, send shift and
  31. 0:53then send space and send shift again.
  32. 0:56So, let's just test this very quick
  33. 0:58macro to see if it works. It probably
  34. 0:59won't work. So, I press space bar. It
  35. 1:01sends the shift lock. As you can see, it
  36. 1:03faces the direction that I want to face.
  37. 1:06So, it's as simple as that. I mean, uh,
  38. 1:08one that works already. So, I'm just
  39. 1:10going to put that as is. Another thing
  40. 1:12is that the user has to hold right click
  41. 1:14to be able to turn the camera like so. I
  42. 1:16don't want to be holding right click
  43. 1:18myself. So, I'm going to add in another
  44. 1:19key here, X button one, to hold right
  45. 1:21click for me. Okay. So, simple as that.
  46. 1:23So if I press X button one, my right
  47. 1:26click is being locked. And if I press
  48. 1:27space bar, it will jump in the direction
  49. 1:29that I face. Okay, right there it didn't
  50. 1:30jump. It didn't turn. That means I have
  51. 1:32to give it a little bit more delay. So
  52. 1:34I'm going to add some delay before it
  53. 1:35presses space. So let's add a delay of
  54. 1:38uh let's set a delay of like 10
  55. 1:40milliseconds. Let's see how that goes.
  56. 1:42So let's refresh that again. And there
  57. 1:43you go. So I'm just going to test this a
  58. 1:45few times. Make sure it faces the
  59. 1:46correct direction every time I press
  60. 1:47space bar. Yep, seems to be working
  61. 1:49fine. Okay, there you go. So, another
  62. 1:50thing that I want to try doing is making
  63. 1:52an auto surf macro. So, surfing in this
  64. 1:54game is very simple. You throw the ball
  65. 1:56up, you jump, and you hit the ball. It's
  66. 1:57as simple as that. So, I want to make a
  67. 1:59macro that will hit the purple color
  68. 2:01zone for me all the time. So, uh to do
  69. 2:03that, I'm going to find the logic I can
  70. 2:05use. Okay. So, right now, I need to
  71. 2:06track this white color bar here. Okay.
  72. 2:09So, to do that, I'm going to open up
  73. 2:11this thing called Windows Spy, and I'm
  74. 2:13going to find where the coordinates are
  75. 2:14for this thingy over here. So, if I
  76. 2:16check the screen coordinates, it's about
  77. 2:18this is X and Y. So I'm going to go the
  78. 2:20height of y down is the second number.
  79. 2:23So it's about right here 1 to 1 to 1125.
  80. 2:28So I'm going to write down somewhere
  81. 2:29first 1125. Y 11:25. Then just just at
  82. 2:33the middle I'm going to label this 1150.
  83. 2:36So 115 to 1150. Then the x width would
  84. 2:40be from the left the most left would be
  85. 2:421150. I'm going to write down 1150. And
  86. 2:45the most to write or where the purple
  87. 2:47where I want it to be over here is about
  88. 2:491,400. And I'm going to write to 1,400.
  89. 2:51So here's how I'm going to start making
  90. 2:53the micro for this. The first thing I
  91. 2:55need to do is I need to check the color
  92. 2:56of this cuz I I want to be tracking this
  93. 2:58thing, right? So I'm going to open up MS
  94. 3:01Paint real quick. Going to paste it in
  95. 3:02here. And I'm going to try to identify
  96. 3:04the color of this. So if I just put my
  97. 3:06mouse over this, the color that it says
  98. 3:08is FF FF like so. See? FF over here. So
  99. 3:13I'm going to copy that. put here cursor
  100. 3:15color fff. So what I'm going to make in
  101. 3:17my script now is whenever I press the
  102. 3:19number two on my keyboard, I want to
  103. 3:20track this icon. Okay. So the way I can
  104. 3:23track this icon is uh I make a loop
  105. 3:25first. I got to copy this. So I'll make
  106. 3:28a loop and this loop will be checking
  107. 3:30this area for a very specific pixel. So
  108. 3:33I'll just open up the Google Chrome real
  109. 3:35quick and I will search uh AHK image or
  110. 3:38pixel search. I can't type pixel real
  111. 3:40quick. Oh, cancel that. Auto hockey
  112. 3:42pixel search. So I'll be using this
  113. 3:44command right here. There's a lot of
  114. 3:45different commands that you can learn,
  115. 3:46but this is the one I'll be using. Okay,
  116. 3:48so I'm going to be looping search for
  117. 3:51output for X. Okay, X1. The left side
  118. 3:54will be this one. The right side will be
  119. 3:56this one. And then the height, no, no,
  120. 3:58the right side is this one. And the
  121. 3:59height Y1 is this one. Y2 is this one.
  122. 4:02Color ID is FF FFF. Variation and mode.
  123. 4:05I don't have to put variation mode. So
  124. 4:07I'm going to pixel search for this
  125. 4:08thing. And if I if I see how it's used
  126. 4:10down here, this is how they use it. Tree
  127. 4:12fast. So I'm going to put zero first.
  128. 4:14Let's see that. Okay. If error level
  129. 4:16message the the color box was not found
  130. 4:18in the specific region. Okay. So this
  131. 4:20means that if error level then is not
  132. 4:23found else found. So if I find the thing
  133. 4:26uh I want to identify. Okay. I want to
  134. 4:28actually identify if I actually can find
  135. 4:30it first. So what I'm going to do is I'm
  136. 4:31going to put a tool tip. I'm going to
  137. 4:32put a tool tip uh right here. And it's
  138. 4:34going to track or display the this
  139. 4:36output variable. If it's not found, the
  140. 4:38tool tip will just say not found. So
  141. 4:39it's as simple as this. Let me just
  142. 4:41refresh it real quick. FF does not
  143. 4:42contain the recogniz action. Okay, I
  144. 4:44probably have to put hashtag instead of
  145. 4:45this for color. Refresh. Okay, the color
  146. 4:48does not work. So, what I can do is I
  147. 4:49can copy this. I can copy this and I can
  148. 4:52open up Gemini real quick and ask it to
  149. 4:53fix the syntax for me. Fix this HKV1
  150. 4:56code and I paste in here and it's going
  151. 4:57to fix the code for me. So, there you
  152. 4:59go. After it fixes it. Oh, okay. It uses
  153. 5:010x instead. So, that's how you know the
  154. 5:03syntax. It's not uh what's it called?
  155. 5:05Hashtag is 0x. So, I'm going to save
  156. 5:06this. I'm going to press P on my
  157. 5:07keyboard. Save P does not recognize. Did
  158. 5:11I write something wrong? 1 2 3 4 this 0x
  159. 5:15fast pixel search up. Oh, down here I
  160. 5:19have to get rid of this. Either comment
  161. 5:20it out or get rid of it. Make sure it's
  162. 5:22not there. So, I'm going to press P to
  163. 5:23refresh it. Let's go again and test. I
  164. 5:25press two on my keyboard and it does not
  165. 5:26track. Two will look this. So, if I
  166. 5:29press two on my keyboard, as you can
  167. 5:31see, it it shows me on my cursor. Okay.
  168. 5:33So, the issue with this is that I have
  169. 5:35to put percentage here to display
  170. 5:37variable numbers. And then I have to
  171. 5:39specify where I want this to show up.
  172. 5:41So, I'm just going to paste that real
  173. 5:43quick and let's refresh it real quick.
  174. 5:44Two. As you can see, it is tracking the
  175. 5:47number down here. See? So, I'm going to
  176. 5:49add an offset to the Y variable of about
  177. 5:5220. Okay. 10. 10. 10. So, that I can
  178. 5:54actually see it being tracked correctly.
  179. 5:56So, as you can see, it's being tracked
  180. 5:57really nicely. But if you notice that
  181. 5:59it's No, it's fine. It's tracking very
  182. 6:01nicely. So now I want to make it left
  183. 6:02click whenever it reaches the end over
  184. 6:04here. Okay. So how I can do that is very
  185. 6:06simple over here I make it so that once
  186. 6:09I find this output var and everything
  187. 6:12instead of error level and all this I
  188. 6:14put another if condition if the output
  189. 6:16var x right here is greater than400
  190. 6:19then I will break and set tool tip. I
  191. 6:22just add a tool tip real quick. Tool tip
  192. 6:24exit. Let's test this. I press two real
  193. 6:26quick. Uh it doesn't want to exit. Okay.
  194. 6:27So I'm going to lower this to 1300 to
  195. 6:29test it out. Press two. Okay, there you
  196. 6:31go. 1300 worked. That means 1400 is a
  197. 6:34too big of a number. So if I go back to
  198. 6:37this scenario quick, if output var is
  199. 6:40greater than400, then break the loop.
  200. 6:43Double your two tool tip. Exit. Exit. So
  201. 6:47uh over here, just save it. Refresh the
  202. 6:49script. If I press number two, it will
  203. 6:51track and it will never reach 1400
  204. 6:52because that's too high of a number. So
  205. 6:54let's try a lower number like 39. How
  206. 6:57that press P and press two and it
  207. 6:59worked. As you can see, it exits
  208. 7:01whenever it reaches the purple. So now I
  209. 7:02want to make it when it reaches the
  210. 7:03purple, I want to make it left click.
  211. 7:05Okay, so instead of exit the send L
  212. 7:07button. So let's see if this works. So
  213. 7:09if I press two, it will throw up the
  214. 7:10ball. But I have to refresh it real
  215. 7:12quick. Press two, it will throw up the
  216. 7:13ball at the maximum purple. So there you
  217. 7:15go. So if I click surf and I press left
  218. 7:17click, I just press two, it will always
  219. 7:18throw the ball at the purple. Yeah, I I
  220. 7:20noticed that it's a bit delay behind.
  221. 7:22Something about auto hockey is that it
  222. 7:24has a built-in delay. If you want to
  223. 7:25remove the delay, you have to type set
  224. 7:27delay zero at the top and set batch
  225. 7:30lines zero at the top. But the issue
  226. 7:32with this is that it will run the
  227. 7:33script. Actually, there's no issue with
  228. 7:35this. It will just run the script like
  229. 7:36very very fast. Set delay zero. Set key
  230. 7:39delay. My bad. Set key delay. You can
  231. 7:41always like Google all this stuff. You
  232. 7:42don't have to ask me about it. I'll just
  233. 7:44show you like the process of me making a
  234. 7:45macro. So, if I press to my keyboard,
  235. 7:47you'll really see at the top. See, there
  236. 7:48you go. So, let let me try a higher
  237. 7:50number. How about 1935?
  238. 7:53Let's try 35. 35 is uh nice. Let's try 1
  239. 7:581400 this time. Let's go back to 1400.
  240. 8:01Okay, there you go. Uh, pretty nice. It
  241. 8:03always clicks here at the top, but I
  242. 8:05want to make it click it just a little
  243. 8:06bit earlier. How about 1300? Let's try
  244. 8:081300. Okay, there you go. 1300 clicks it
  245. 8:10just uh nice at top. There's a lot of
  246. 8:13lag in this. H, how can I make this
  247. 8:17better? If output v is this, how about I
  248. 8:20click before I break the loop? Let's try
  249. 8:23to make this even faster. I click before
  250. 8:26I break the loop. Yep, this works. So,
  251. 8:28before I break the loop, I I have to
  252. 8:29click click. So, I'm going to set this
  253. 8:31back to 3900.
  254. 8:33And let's see if this works. It releases
  255. 8:36the ball at the color zone.
  256. 8:39Okay. So, now I want to do now what I
  257. 8:41want to do is whenever I press two,
  258. 8:43instead of instantly
  259. 8:46releasing, I want to make it left click
  260. 8:48first and then hold W. So what I can do
  261. 8:50is over here send L button and then wait
  262. 8:55100 milliseconds
  263. 8:58and then I'm going to
  264. 9:01send W down and I'm going to send W down
  265. 9:05for okay I'm going to just throw in an
  266. 9:08insane number over here like a number
  267. 9:10that will never go away. So let's see if
  268. 9:12I press P if I press two on my keyboard.
  269. 9:15Yep, it will prepare. And then after a
  270. 9:17while I want to do the auto surfing.
  271. 9:20Okay. So what I'll do is I'll split this
  272. 9:22into two things. Number two will just
  273. 9:25send L button and W down. And then
  274. 9:28number three we'll do the actual release
  275. 9:31of it. Return. Okay. So number two will
  276. 9:33will prepare the macro and number three
  277. 9:35will actually shoot out the ball. Okay.
  278. 9:37So I can get rid of all this like
  279. 9:38debugging now cuz I don't need it. I I
  280. 9:40know that this works now. Get rid of all
  281. 9:42this. So let's test this out. If I press
  282. 9:44P, if I press number two, it will show
  283. 9:48the ball forward. If I press number
  284. 9:49three, it will release the ball and keep
  285. 9:51moving me forward. So, instead of moving
  286. 9:53me forward like that, what I need to do
  287. 9:55is in over here,
  288. 9:58after I left click, I got to h Okay,
  289. 10:01after I left click, send W up. Okay,
  290. 10:05send space. How about that? I got to
  291. 10:08jump. Oh, yeah. Send W. How about that?
  292. 10:10Send W up. So, stop moving forward. I
  293. 10:13got stop moving forward. Wait for about
  294. 10:16300 milliseconds. I I cannot type all
  295. 10:19these numbers. I got to like stop the
  296. 10:20micro real quick. So, I'm going to wait
  297. 10:22for 300 milliseconds and then I'm going
  298. 10:25to send W down and then send
  299. 10:30send space
  300. 10:33and then sleep for like say 800
  301. 10:35millconds and then send a button. This
  302. 10:37is just a bunch of random numbers. I
  303. 10:39don't know if it will work or not, but
  304. 10:40basically the whole gist of it is that
  305. 10:41after it throws the ball, right? It will
  306. 10:44stop moving, then jump forward, and then
  307. 10:46hit. That's what it'll do.
  308. 10:50Okay, so let's test this code real
  309. 10:51quick. If I just run it real quick. So,
  310. 10:53if I press two on my keyboard, then I
  311. 10:56press three.
  312. 10:58As you can see, it it jumped, but it
  313. 11:01left click way too late. So, the left
  314. 11:02click here has to be faster. How about
  315. 11:03300 millconds? I can't type that up. I'm
  316. 11:07going to stop. I'm going to suspend the
  317. 11:09script real quick. I'm going to set it
  318. 11:11to 300 millconds so it hits a bit
  319. 11:12faster. And then instead of W down, the
  320. 11:16moment I jump up, what I have to do is I
  321. 11:18have to hold S instead. Because the
  322. 11:19thing about Jingo, right, is that if you
  323. 11:21hold W tilt, the ball goes straight like
  324. 11:24that. But if you hold S tilt, the ball
  325. 11:26curves down.
  326. 11:28So that means you can do stupid
  327. 11:30like this.
  328. 11:32See how See what I mean? like the ball
  329. 11:34can curve to the very corner like that.
  330. 11:38See? And it will still it will still
  331. 11:39land inside. But if I hold W,
  332. 11:43the ball will like always go straight.
  333. 11:45It's a bit hard to explain, but
  334. 11:46basically uh every tech is different,
  335. 11:49but for Jeno, I want to make it hold S.
  336. 11:51So, what I can do is after W down, I
  337. 11:54jump. I I wait for about 200 millconds.
  338. 11:57Then I send W up and I send S down
  339. 12:01instead. So I hold S. I'm going to sleep
  340. 12:04for 100 milliseconds. Then I'm going to
  341. 12:06left click. Then I'm going to wait for
  342. 12:08like one second before I send S up. I'm
  343. 12:10going to break the macro. And then I'm
  344. 12:11going to break. So let's try it out.
  345. 12:14Reload this. Surf. Press two. Press
  346. 12:17three.
  347. 12:19And there you go. Just like that. Auto
  348. 12:21surf macro is done. So how I can aim the
  349. 12:23macro is manually. So I press two. Let's
  350. 12:26aim over there.
  351. 12:28So, another thing about this macro,
  352. 12:29right, is that you see how it reveals my
  353. 12:31direction. The moment I release the
  354. 12:32ball, I face the direction I want to
  355. 12:33serve in. So, I want to I want to turn
  356. 12:35that off real quick. So, how I'm going
  357. 12:37to do that is
  358. 12:39when I press two,
  359. 12:42it's going to send shift here, right?
  360. 12:46So, when I press two, it's going to it's
  361. 12:48going to do this basically. Press shift
  362. 12:50lock, left click, then W down.
  363. 12:53Then what I want to do is when I press
  364. 12:56three before I hold W down and I before
  365. 13:00I hold W down and space right here, I
  366. 13:03got to send
  367. 13:06shift again like like so. So I'm going
  368. 13:09to reload this. I'm going to press two.
  369. 13:13Okay, as you can see my cursor I have to
  370. 13:15manually turn it. So I don't want to do
  371. 13:16that as well. I'm pretty lazy. So, I'm
  372. 13:18going to stop the macro real quick and
  373. 13:19I'm going to right here send shift send
  374. 13:23left click right and then send R button
  375. 13:25down. I can actually Yeah. Okay. So, you
  376. 13:29will left click that will send right
  377. 13:30click down. So, let's test this real
  378. 13:32quick. So, if I press two, do I reload
  379. 13:34my script real quick? I should reload
  380. 13:36the script. If I press two, my cursor is
  381. 13:39automatically locked like so. I don't
  382. 13:40have to do anything. Okay. So, now I
  383. 13:43going to make it so that over here it
  384. 13:45releases the cursor lock. Actually, I
  385. 13:47don't have to do that. Uh, I don't have
  386. 13:49to release the cursor ever. It's okay.
  387. 13:51So, when I press surf right now,
  388. 13:53now I got shift lock on. If I press two,
  389. 13:56shift lock is off. If I face the
  390. 13:58direction, press three, it hides the
  391. 14:01direction. Oh, as you can see, it spiked
  392. 14:03forward even though it's not supposed
  393. 14:04to. That was because I shift lock too
  394. 14:07late before I jumped. So, right here,
  395. 14:10actually, I'm going to remove this in
  396. 14:12this here. Right here is shift and then
  397. 14:14W down. It's too late. So I'm going to
  398. 14:16you see this delay is 200. I'm going to
  399. 14:17split into two delays. I'm going to put
  400. 14:20a delay of 100 below or 50 below and
  401. 14:23then 250 at the top. I cannot type 250.
  402. 14:26Uh 250 at the top. Save. Reload. Okay,
  403. 14:30let's try that again. So if I press
  404. 14:33two on my keyboard and I press three
  405. 14:36over there,
  406. 14:38see it spike in that direction. Okay,
  407. 14:40another thing is that I want to I I
  408. 14:41notice that every time I surf the ball,
  409. 14:43right, I'm moving forward a slight bit.
  410. 14:46I want to get rid of that real quick.
  411. 14:47So, I'm going to go back to the code and
  412. 14:50then at the point where it says W up,
  413. 14:52right? See, left button, then W up. I'm
  414. 14:54going to move the W up before the left
  415. 14:56button and give it a delay of like
  416. 15:0150 milliseconds. I'll give it enough
  417. 15:02delay basically just to like stop
  418. 15:05moving.
  419. 15:07So, let's reload the script real quick.
  420. 15:08test it again. So, I'm going to press
  421. 15:10F2,
  422. 15:12press three, and there you go. Just like
  423. 15:14that. Uh, auto macro is done. So, what
  424. 15:17I'm going to do now is uh I'm going to
  425. 15:20let's see
  426. 15:22shift down
  427. 15:25here. Has auto shift lock. So, I have to
  428. 15:28turn off shift lock myself. Okay. So,
  429. 15:30whenever I'm serving, I turn off shift
  430. 15:31lock. I press two
  431. 15:34and then I press three like so. And it
  432. 15:36auto serve to the correct place.
  433. 15:38Yep, that's about it. So, let's try that
  434. 15:41again. Press two. Press three. Okay, now
  435. 15:46that I'm now now not now that I'm seeing
  436. 15:47it right, the board is releasing a bit
  437. 15:49too late. Like, it's not at the purple.
  438. 15:52So, I got to debug that now. Okay, so I
  439. 15:54found the issue. The issue was that the
  440. 15:56moment it finds the script is like this,
  441. 15:58it sends W up before it left click. So,
  442. 16:00I I can't do that. I have to Yeah, I
  443. 16:02have to compromise. So, I need the W up
  444. 16:06to be below the L button down.
  445. 16:09Uh, yep. There's nothing I can do about
  446. 16:11that. So, I'm just going to do it like
  447. 16:12this. Reload the script. So every time I
  448. 16:14press two, I press three, it will just
  449. 16:16walk forward a bit before he does the
  450. 16:18surf.

About this transcript

This page contains the full transcript of Quick Hotkeys and Pixel Color | Macro Everything 2 (Volleyball Legends) by Asphalt Cake, generated from the public captions YouTube serves with the video. The transcript has 3,512 words across 450 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.