Quick Hotkeys and Pixel Color | Macro Everything 2 (Volleyball Legends) — Transcript
Full transcript
- 0:00So, I'm back with macro everything and
- 0:02today I'll be making a macro that will
- 0:03give me an advantage in volleyball
- 0:05legends. So, in volleyball legends,
- 0:07something about volleyball legends is
- 0:08that once you face a direction and you
- 0:10jump, you cannot turn directions as you
- 0:12can see. So, a lot of pro players use
- 0:14this technique called shift locking. So,
- 0:16they'll look a different direction and
- 0:18then they'll shift lock and then jump.
- 0:19This way, they can hide the direction
- 0:21that they are facing so it doesn't make
- 0:22it obvious what attacks they're doing.
- 0:24So, I'm going to be making a quick macro
- 0:25that can do that as well as an autoserve
- 0:27macro. So, I'm just going to name this
- 0:29Jenko. It's called the style that I'm
- 0:30using is Jeno. So, here's how I I would
- 0:32style a macro. I would first just write
- 0:35this very simple line. I would make a
- 0:37reload key like this so that I can quick
- 0:39reload my macro. A button that I don't
- 0:41use in this game is probably the number
- 0:43two on my keyboard. So, if I if I press
- 0:44number two on my keyboard, I don't use
- 0:46number two. So, I'm going to set number
- 0:47two as my hotkey to start a macro.
- 0:48Actually, no. When I press spacebar, I
- 0:50want to shift lock. So, send shift and
- 0:53then send space and send shift again.
- 0:56So, let's just test this very quick
- 0:58macro to see if it works. It probably
- 0:59won't work. So, I press space bar. It
- 1:01sends the shift lock. As you can see, it
- 1:03faces the direction that I want to face.
- 1:06So, it's as simple as that. I mean, uh,
- 1:08one that works already. So, I'm just
- 1:10going to put that as is. Another thing
- 1:12is that the user has to hold right click
- 1:14to be able to turn the camera like so. I
- 1:16don't want to be holding right click
- 1:18myself. So, I'm going to add in another
- 1:19key here, X button one, to hold right
- 1:21click for me. Okay. So, simple as that.
- 1:23So if I press X button one, my right
- 1:26click is being locked. And if I press
- 1:27space bar, it will jump in the direction
- 1:29that I face. Okay, right there it didn't
- 1:30jump. It didn't turn. That means I have
- 1:32to give it a little bit more delay. So
- 1:34I'm going to add some delay before it
- 1:35presses space. So let's add a delay of
- 1:38uh let's set a delay of like 10
- 1:40milliseconds. Let's see how that goes.
- 1:42So let's refresh that again. And there
- 1:43you go. So I'm just going to test this a
- 1:45few times. Make sure it faces the
- 1:46correct direction every time I press
- 1:47space bar. Yep, seems to be working
- 1:49fine. Okay, there you go. So, another
- 1:50thing that I want to try doing is making
- 1:52an auto surf macro. So, surfing in this
- 1:54game is very simple. You throw the ball
- 1:56up, you jump, and you hit the ball. It's
- 1:57as simple as that. So, I want to make a
- 1:59macro that will hit the purple color
- 2:01zone for me all the time. So, uh to do
- 2:03that, I'm going to find the logic I can
- 2:05use. Okay. So, right now, I need to
- 2:06track this white color bar here. Okay.
- 2:09So, to do that, I'm going to open up
- 2:11this thing called Windows Spy, and I'm
- 2:13going to find where the coordinates are
- 2:14for this thingy over here. So, if I
- 2:16check the screen coordinates, it's about
- 2:18this is X and Y. So I'm going to go the
- 2:20height of y down is the second number.
- 2:23So it's about right here 1 to 1 to 1125.
- 2:28So I'm going to write down somewhere
- 2:29first 1125. Y 11:25. Then just just at
- 2:33the middle I'm going to label this 1150.
- 2:36So 115 to 1150. Then the x width would
- 2:40be from the left the most left would be
- 2:421150. I'm going to write down 1150. And
- 2:45the most to write or where the purple
- 2:47where I want it to be over here is about
- 2:491,400. And I'm going to write to 1,400.
- 2:51So here's how I'm going to start making
- 2:53the micro for this. The first thing I
- 2:55need to do is I need to check the color
- 2:56of this cuz I I want to be tracking this
- 2:58thing, right? So I'm going to open up MS
- 3:01Paint real quick. Going to paste it in
- 3:02here. And I'm going to try to identify
- 3:04the color of this. So if I just put my
- 3:06mouse over this, the color that it says
- 3:08is FF FF like so. See? FF over here. So
- 3:13I'm going to copy that. put here cursor
- 3:15color fff. So what I'm going to make in
- 3:17my script now is whenever I press the
- 3:19number two on my keyboard, I want to
- 3:20track this icon. Okay. So the way I can
- 3:23track this icon is uh I make a loop
- 3:25first. I got to copy this. So I'll make
- 3:28a loop and this loop will be checking
- 3:30this area for a very specific pixel. So
- 3:33I'll just open up the Google Chrome real
- 3:35quick and I will search uh AHK image or
- 3:38pixel search. I can't type pixel real
- 3:40quick. Oh, cancel that. Auto hockey
- 3:42pixel search. So I'll be using this
- 3:44command right here. There's a lot of
- 3:45different commands that you can learn,
- 3:46but this is the one I'll be using. Okay,
- 3:48so I'm going to be looping search for
- 3:51output for X. Okay, X1. The left side
- 3:54will be this one. The right side will be
- 3:56this one. And then the height, no, no,
- 3:58the right side is this one. And the
- 3:59height Y1 is this one. Y2 is this one.
- 4:02Color ID is FF FFF. Variation and mode.
- 4:05I don't have to put variation mode. So
- 4:07I'm going to pixel search for this
- 4:08thing. And if I if I see how it's used
- 4:10down here, this is how they use it. Tree
- 4:12fast. So I'm going to put zero first.
- 4:14Let's see that. Okay. If error level
- 4:16message the the color box was not found
- 4:18in the specific region. Okay. So this
- 4:20means that if error level then is not
- 4:23found else found. So if I find the thing
- 4:26uh I want to identify. Okay. I want to
- 4:28actually identify if I actually can find
- 4:30it first. So what I'm going to do is I'm
- 4:31going to put a tool tip. I'm going to
- 4:32put a tool tip uh right here. And it's
- 4:34going to track or display the this
- 4:36output variable. If it's not found, the
- 4:38tool tip will just say not found. So
- 4:39it's as simple as this. Let me just
- 4:41refresh it real quick. FF does not
- 4:42contain the recogniz action. Okay, I
- 4:44probably have to put hashtag instead of
- 4:45this for color. Refresh. Okay, the color
- 4:48does not work. So, what I can do is I
- 4:49can copy this. I can copy this and I can
- 4:52open up Gemini real quick and ask it to
- 4:53fix the syntax for me. Fix this HKV1
- 4:56code and I paste in here and it's going
- 4:57to fix the code for me. So, there you
- 4:59go. After it fixes it. Oh, okay. It uses
- 5:010x instead. So, that's how you know the
- 5:03syntax. It's not uh what's it called?
- 5:05Hashtag is 0x. So, I'm going to save
- 5:06this. I'm going to press P on my
- 5:07keyboard. Save P does not recognize. Did
- 5:11I write something wrong? 1 2 3 4 this 0x
- 5:15fast pixel search up. Oh, down here I
- 5:19have to get rid of this. Either comment
- 5:20it out or get rid of it. Make sure it's
- 5:22not there. So, I'm going to press P to
- 5:23refresh it. Let's go again and test. I
- 5:25press two on my keyboard and it does not
- 5:26track. Two will look this. So, if I
- 5:29press two on my keyboard, as you can
- 5:31see, it it shows me on my cursor. Okay.
- 5:33So, the issue with this is that I have
- 5:35to put percentage here to display
- 5:37variable numbers. And then I have to
- 5:39specify where I want this to show up.
- 5:41So, I'm just going to paste that real
- 5:43quick and let's refresh it real quick.
- 5:44Two. As you can see, it is tracking the
- 5:47number down here. See? So, I'm going to
- 5:49add an offset to the Y variable of about
- 5:5220. Okay. 10. 10. 10. So, that I can
- 5:54actually see it being tracked correctly.
- 5:56So, as you can see, it's being tracked
- 5:57really nicely. But if you notice that
- 5:59it's No, it's fine. It's tracking very
- 6:01nicely. So now I want to make it left
- 6:02click whenever it reaches the end over
- 6:04here. Okay. So how I can do that is very
- 6:06simple over here I make it so that once
- 6:09I find this output var and everything
- 6:12instead of error level and all this I
- 6:14put another if condition if the output
- 6:16var x right here is greater than400
- 6:19then I will break and set tool tip. I
- 6:22just add a tool tip real quick. Tool tip
- 6:24exit. Let's test this. I press two real
- 6:26quick. Uh it doesn't want to exit. Okay.
- 6:27So I'm going to lower this to 1300 to
- 6:29test it out. Press two. Okay, there you
- 6:31go. 1300 worked. That means 1400 is a
- 6:34too big of a number. So if I go back to
- 6:37this scenario quick, if output var is
- 6:40greater than400, then break the loop.
- 6:43Double your two tool tip. Exit. Exit. So
- 6:47uh over here, just save it. Refresh the
- 6:49script. If I press number two, it will
- 6:51track and it will never reach 1400
- 6:52because that's too high of a number. So
- 6:54let's try a lower number like 39. How
- 6:57that press P and press two and it
- 6:59worked. As you can see, it exits
- 7:01whenever it reaches the purple. So now I
- 7:02want to make it when it reaches the
- 7:03purple, I want to make it left click.
- 7:05Okay, so instead of exit the send L
- 7:07button. So let's see if this works. So
- 7:09if I press two, it will throw up the
- 7:10ball. But I have to refresh it real
- 7:12quick. Press two, it will throw up the
- 7:13ball at the maximum purple. So there you
- 7:15go. So if I click surf and I press left
- 7:17click, I just press two, it will always
- 7:18throw the ball at the purple. Yeah, I I
- 7:20noticed that it's a bit delay behind.
- 7:22Something about auto hockey is that it
- 7:24has a built-in delay. If you want to
- 7:25remove the delay, you have to type set
- 7:27delay zero at the top and set batch
- 7:30lines zero at the top. But the issue
- 7:32with this is that it will run the
- 7:33script. Actually, there's no issue with
- 7:35this. It will just run the script like
- 7:36very very fast. Set delay zero. Set key
- 7:39delay. My bad. Set key delay. You can
- 7:41always like Google all this stuff. You
- 7:42don't have to ask me about it. I'll just
- 7:44show you like the process of me making a
- 7:45macro. So, if I press to my keyboard,
- 7:47you'll really see at the top. See, there
- 7:48you go. So, let let me try a higher
- 7:50number. How about 1935?
- 7:53Let's try 35. 35 is uh nice. Let's try 1
- 7:581400 this time. Let's go back to 1400.
- 8:01Okay, there you go. Uh, pretty nice. It
- 8:03always clicks here at the top, but I
- 8:05want to make it click it just a little
- 8:06bit earlier. How about 1300? Let's try
- 8:081300. Okay, there you go. 1300 clicks it
- 8:10just uh nice at top. There's a lot of
- 8:13lag in this. H, how can I make this
- 8:17better? If output v is this, how about I
- 8:20click before I break the loop? Let's try
- 8:23to make this even faster. I click before
- 8:26I break the loop. Yep, this works. So,
- 8:28before I break the loop, I I have to
- 8:29click click. So, I'm going to set this
- 8:31back to 3900.
- 8:33And let's see if this works. It releases
- 8:36the ball at the color zone.
- 8:39Okay. So, now I want to do now what I
- 8:41want to do is whenever I press two,
- 8:43instead of instantly
- 8:46releasing, I want to make it left click
- 8:48first and then hold W. So what I can do
- 8:50is over here send L button and then wait
- 8:55100 milliseconds
- 8:58and then I'm going to
- 9:01send W down and I'm going to send W down
- 9:05for okay I'm going to just throw in an
- 9:08insane number over here like a number
- 9:10that will never go away. So let's see if
- 9:12I press P if I press two on my keyboard.
- 9:15Yep, it will prepare. And then after a
- 9:17while I want to do the auto surfing.
- 9:20Okay. So what I'll do is I'll split this
- 9:22into two things. Number two will just
- 9:25send L button and W down. And then
- 9:28number three we'll do the actual release
- 9:31of it. Return. Okay. So number two will
- 9:33will prepare the macro and number three
- 9:35will actually shoot out the ball. Okay.
- 9:37So I can get rid of all this like
- 9:38debugging now cuz I don't need it. I I
- 9:40know that this works now. Get rid of all
- 9:42this. So let's test this out. If I press
- 9:44P, if I press number two, it will show
- 9:48the ball forward. If I press number
- 9:49three, it will release the ball and keep
- 9:51moving me forward. So, instead of moving
- 9:53me forward like that, what I need to do
- 9:55is in over here,
- 9:58after I left click, I got to h Okay,
- 10:01after I left click, send W up. Okay,
- 10:05send space. How about that? I got to
- 10:08jump. Oh, yeah. Send W. How about that?
- 10:10Send W up. So, stop moving forward. I
- 10:13got stop moving forward. Wait for about
- 10:16300 milliseconds. I I cannot type all
- 10:19these numbers. I got to like stop the
- 10:20micro real quick. So, I'm going to wait
- 10:22for 300 milliseconds and then I'm going
- 10:25to send W down and then send
- 10:30send space
- 10:33and then sleep for like say 800
- 10:35millconds and then send a button. This
- 10:37is just a bunch of random numbers. I
- 10:39don't know if it will work or not, but
- 10:40basically the whole gist of it is that
- 10:41after it throws the ball, right? It will
- 10:44stop moving, then jump forward, and then
- 10:46hit. That's what it'll do.
- 10:50Okay, so let's test this code real
- 10:51quick. If I just run it real quick. So,
- 10:53if I press two on my keyboard, then I
- 10:56press three.
- 10:58As you can see, it it jumped, but it
- 11:01left click way too late. So, the left
- 11:02click here has to be faster. How about
- 11:03300 millconds? I can't type that up. I'm
- 11:07going to stop. I'm going to suspend the
- 11:09script real quick. I'm going to set it
- 11:11to 300 millconds so it hits a bit
- 11:12faster. And then instead of W down, the
- 11:16moment I jump up, what I have to do is I
- 11:18have to hold S instead. Because the
- 11:19thing about Jingo, right, is that if you
- 11:21hold W tilt, the ball goes straight like
- 11:24that. But if you hold S tilt, the ball
- 11:26curves down.
- 11:28So that means you can do stupid
- 11:30like this.
- 11:32See how See what I mean? like the ball
- 11:34can curve to the very corner like that.
- 11:38See? And it will still it will still
- 11:39land inside. But if I hold W,
- 11:43the ball will like always go straight.
- 11:45It's a bit hard to explain, but
- 11:46basically uh every tech is different,
- 11:49but for Jeno, I want to make it hold S.
- 11:51So, what I can do is after W down, I
- 11:54jump. I I wait for about 200 millconds.
- 11:57Then I send W up and I send S down
- 12:01instead. So I hold S. I'm going to sleep
- 12:04for 100 milliseconds. Then I'm going to
- 12:06left click. Then I'm going to wait for
- 12:08like one second before I send S up. I'm
- 12:10going to break the macro. And then I'm
- 12:11going to break. So let's try it out.
- 12:14Reload this. Surf. Press two. Press
- 12:17three.
- 12:19And there you go. Just like that. Auto
- 12:21surf macro is done. So how I can aim the
- 12:23macro is manually. So I press two. Let's
- 12:26aim over there.
- 12:28So, another thing about this macro,
- 12:29right, is that you see how it reveals my
- 12:31direction. The moment I release the
- 12:32ball, I face the direction I want to
- 12:33serve in. So, I want to I want to turn
- 12:35that off real quick. So, how I'm going
- 12:37to do that is
- 12:39when I press two,
- 12:42it's going to send shift here, right?
- 12:46So, when I press two, it's going to it's
- 12:48going to do this basically. Press shift
- 12:50lock, left click, then W down.
- 12:53Then what I want to do is when I press
- 12:56three before I hold W down and I before
- 13:00I hold W down and space right here, I
- 13:03got to send
- 13:06shift again like like so. So I'm going
- 13:09to reload this. I'm going to press two.
- 13:13Okay, as you can see my cursor I have to
- 13:15manually turn it. So I don't want to do
- 13:16that as well. I'm pretty lazy. So, I'm
- 13:18going to stop the macro real quick and
- 13:19I'm going to right here send shift send
- 13:23left click right and then send R button
- 13:25down. I can actually Yeah. Okay. So, you
- 13:29will left click that will send right
- 13:30click down. So, let's test this real
- 13:32quick. So, if I press two, do I reload
- 13:34my script real quick? I should reload
- 13:36the script. If I press two, my cursor is
- 13:39automatically locked like so. I don't
- 13:40have to do anything. Okay. So, now I
- 13:43going to make it so that over here it
- 13:45releases the cursor lock. Actually, I
- 13:47don't have to do that. Uh, I don't have
- 13:49to release the cursor ever. It's okay.
- 13:51So, when I press surf right now,
- 13:53now I got shift lock on. If I press two,
- 13:56shift lock is off. If I face the
- 13:58direction, press three, it hides the
- 14:01direction. Oh, as you can see, it spiked
- 14:03forward even though it's not supposed
- 14:04to. That was because I shift lock too
- 14:07late before I jumped. So, right here,
- 14:10actually, I'm going to remove this in
- 14:12this here. Right here is shift and then
- 14:14W down. It's too late. So I'm going to
- 14:16you see this delay is 200. I'm going to
- 14:17split into two delays. I'm going to put
- 14:20a delay of 100 below or 50 below and
- 14:23then 250 at the top. I cannot type 250.
- 14:26Uh 250 at the top. Save. Reload. Okay,
- 14:30let's try that again. So if I press
- 14:33two on my keyboard and I press three
- 14:36over there,
- 14:38see it spike in that direction. Okay,
- 14:40another thing is that I want to I I
- 14:41notice that every time I surf the ball,
- 14:43right, I'm moving forward a slight bit.
- 14:46I want to get rid of that real quick.
- 14:47So, I'm going to go back to the code and
- 14:50then at the point where it says W up,
- 14:52right? See, left button, then W up. I'm
- 14:54going to move the W up before the left
- 14:56button and give it a delay of like
- 15:0150 milliseconds. I'll give it enough
- 15:02delay basically just to like stop
- 15:05moving.
- 15:07So, let's reload the script real quick.
- 15:08test it again. So, I'm going to press
- 15:10F2,
- 15:12press three, and there you go. Just like
- 15:14that. Uh, auto macro is done. So, what
- 15:17I'm going to do now is uh I'm going to
- 15:20let's see
- 15:22shift down
- 15:25here. Has auto shift lock. So, I have to
- 15:28turn off shift lock myself. Okay. So,
- 15:30whenever I'm serving, I turn off shift
- 15:31lock. I press two
- 15:34and then I press three like so. And it
- 15:36auto serve to the correct place.
- 15:38Yep, that's about it. So, let's try that
- 15:41again. Press two. Press three. Okay, now
- 15:46that I'm now now not now that I'm seeing
- 15:47it right, the board is releasing a bit
- 15:49too late. Like, it's not at the purple.
- 15:52So, I got to debug that now. Okay, so I
- 15:54found the issue. The issue was that the
- 15:56moment it finds the script is like this,
- 15:58it sends W up before it left click. So,
- 16:00I I can't do that. I have to Yeah, I
- 16:02have to compromise. So, I need the W up
- 16:06to be below the L button down.
- 16:09Uh, yep. There's nothing I can do about
- 16:11that. So, I'm just going to do it like
- 16:12this. Reload the script. So every time I
- 16:14press two, I press three, it will just
- 16:16walk forward a bit before he does the
- 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.