How To Make Your Very Own Gold Farming Bot! | C# [ Tutorial ]
Video Title: How To Make Your Very Own Gold Farming Bot! | C# [ Tutorial ]
Happy Halloween guys boo did I scare you if so my bad it just looked really cute in that shik costume that you were wearing and I wanted to see you scre but enough of that because today we will create our very own gold farming arpg bot that will
Make you money while you sleep this application will move the character around kill monsters and collect money without your game play this application will work for any game out there because it only utilizes keyboard and mouse inputs so you can follow this video and put your game’s
Inputs to this app however keep in mind that not every game allows scripted inputs so always make make sure to read the terms of agreement for your game before replicating this and as always if you enjoy this type of content then why not join the family by subscribing but
Also like the video and write our really spooky comments and I’ll respond to it if you’re interested of getting some source code from my videos including this one then check out my coffee page you’re really getting some value from it now Discord link is also available in the description and enjoyed this video Now before we jump into the Showcase I just wanted to remind you guys that all this application does is to perform timed inputs from or simulate inputs from the keyboard so it presses the W button to move forwards it uh performs Mouse clicks to hit and only simple things so you can
Implement this pretty much anywhere and I hope you enjoy this tutorial and showcase now area and we can start our application so I just pressed my hotkey for the script to start and it destroys the first eggs leavs one that’s fine we don’t care enough then he goes down to
The Fountain like we said takes that out no drops non collected then he moves down to these EG collects the money moves on to the top left top left eggs here this big SP spider but still doesn’t ooh he barely didn’t get hurt so they barely missed but the character
Moves on takes out the next eggs no drop there still moves on takes out the last egg kills a lot of enemies creates chaos and then he restarts the map and then just does it again so it Loops endlessly or as long as you want as long as the
Character dies or whatever but this way you can just watch YouTube and see your gold go up and so on and we’re at the desktop we will start by creating a new project it will be a console application the name doesn’t matter let’s call it RPG bot or something the framework doesn’t really
Matter either as long as it’s above 4.7.2 the first thing we do is to delete this temp temp plate code then go into the new get packages and install input simulator plus we have now installed all of the needed packages and we can include them
In The Code by using the using next up will be to create an instance of the input simulator we will use this when performing inputs then we will create two constants for the left down and left up these are for the mouse click which means the left Mouse
Click the next variable will be our RunBot variable it’s a booon and it will be either true or false if true the bot will run if false it will stop we will now perform some imports which will be the get async key State that’s for our hotkey
Set cursor position it sets the cursor position and then finally mouse event we use this to perform Mouse clicks we can now create the method that will handle our user input or hot keys this method will always run and it will Shi check if the get Ayn Key
State and then our hotkey the value of 26 is the up Arrow key and we can also create it as a variable when we’re at it you can find more of these virtual key codes on the Microsoft documentation website now if our hotkey is pressed we will set the rot variable to the
Opposite value of what it is so if it’s set to false it will be set to true if it’s set to true it will be set to false and so then we sleep for 500 milliseconds and also set as sleep in the other loop now the hotkey method isn’t running
Yet so we can create a new thread above and start it with the hotkey method I’m just going to change the name of the method to user inputs instead then we will create the main Loop that will call our forming methods it will check if our RunBot
Variable true or false is set to true if that’s the case we will call our form method inside of it and then have a sleep statement at the end of the loop let’s try and see simulate pressing the W key to move us forward we can use the simulation instance and then key
Press with the virtual key code B keyw we can test it in the notepad like this so we start the application then we press our hotkey in my case it’s the upper row key and look at that now we can stop this by pressing the hot key again then
Close the application down so we successfully simulated the W key let’s look at the game now on the double tap to dodge so if we turn that off and try it again he moves a little goofy but he moves in the direction that he was so we tried that
Out can press out key again to turn it off or Victor bra the game you can press on the restart area and that will reposition the character and the camera and everything and that’s a really good starting point for our application so let’s try to move to these eggs as we said
So the eggs we could just move the character like before moving step by step but instead of that we will try to figure out a sort of larger leap that we can sort of use in a more constant way because if you hold a the move forward key down and
You’re hit by an enemy and so on you will lose speed so if we instead use shift then W he will roll and he will always or most of the time roll in a constant way he will also Dodge more uh enemy attacks so let’s count on how many RADS we do to
To find these first eggs so holding shift clicking once one 2 3 4 5 six so five rolls to the front and then we’re here at the egg but let’s reposition our character at this corner so one left uh six forward one left then here at the lamp we will after
That perform an attack so let’s say take a look at the logic or the code behind moving forward instead of writing more code here in the far method we will create the specific spider route then we will create the method move this will move the character and as
The example now we will move in the forward Direction so in my game I performed a role by holding the left shift down and then the forward button or W then the left shift up this performed our roll we also sleep for almost a second and we should be be
Ready to roll again so the logic will be a bit different for for your game but you should still have something that moves the character in that direction here let’s try and move the character six forward steps to get to the eggs all right so let’s try it out by clicking
Play on our program then go in game restart area or move into position now we can press our hotkey that we had and he should roll six times four five six and he keeps on rolling because we have not uh set the hotkey yet so he keeps on
Rolling but we got to the place where we wanted but let’s uh try and make it a a little bit more Dynamic so we can move in any direction okay so in our move method we will instead of just having an empty parameters method we will have two
Parameters the virtual key code key and then the number of steps that we want to take or the amount of rols inside of this method we will also Loop through all of the steps by using a simple for Loop then for each step we will perform the action which was
Holding shift down then pressing W in our new case it will be the key code that we provided and then key up shift to release it and again wait this makes it so we can put any key code inside of it and the number of steps we want to
Take and it should move us around like a 2d dimensional map let’s also set the RunBot to false after the spider route this will let it run one time so we can easily get out of the loop now that we have our Dynamic move method we can just call the move method
Then use the virtual key code _ W like before then our steps which is six and it should move us six steps forward or six rolls we can also set it to move left by using theore a all right so let’s try it out let’s run it restart area
Press our hotkey again 1 2 3 4 5 6 7 and we’re at the egg so we are actually at our enemy or object that we want to interact with let’s try and code the logic behind holding our queue down and aiming at these enemies there is an really easy
Way to do this and that’s by taking uh a mouse tool or uh a coordinate tool of the Windows screen and taking this finder or the Crosser and setting it on the position that we want to click so if we set it somewhere here so that we’re aiming at the egg we can
Take the position copy that and just set our cursor set cursor position then we need an X and A Y copy the position value like that we can wait a bit like 300 milliseconds then perform our Q so for the Q attack let’s get out of here these
Spiders are attacking me for the Q attack we hold our que down for a couple of seconds maybe 2 seconds then release and it creates this Q attack so let’s do that in programming let’s create a new method called charge attack Q this will like in the game simulate the key down
Of the Q button then wait for 2 seconds to let it charge up then release the Q button please take note that I I forgot to change from Q down to up I fix this later but you can fix it now all right so I see that I missed messed up it
Should be key up in the sh Q attack my bad let’s call it from the spider route after we have aimed for 300 milliseconds all right let’s try it out again pressing our start and the character should now move from the start to the eggs and charge up
An attack and kill the eggs so let’s try it out moves into position charges the attack and he even collected a devastating Hammer so we have moved the character to the position interacted with it by holding our que and we have collected our gold so this is pretty much everything you need to
Know the rest is the same The Next Step step will be to move the character from here down down down to here and crush this other spider nest so I will not show the rest of these steps in detail because you already know the logic or this concept of simulating inputs to
Move the character to perform actions so I’ll just do a time lapse now enjoy
Video Keywords: C#, Gold farming bot,rpg bot,a rpg bot,gold farm,farm script,c# RPG bot,MMO RPG BOT,c# gold farm bot,how to code farm bot,c# bot,swedz c#,swedz farm bot,c#,c# coding,c# project,farm bot,action rpg bot,RPG farm bot
-
Sale!
Wireless WIFI Repeater Extender Amplifier Booster 300Mbps
$29.99$14.99 Add to cartWireless WIFI Repeater Extender Amplifier Booster 300Mbps
Categories: Electronics, Wi-Fi Router, Wireless Wi-Fi Extender Tags: 300Mbps, 802.11N, Amplifier, Booster, Extender, mobile wi-fi booster, Remote, WIFI, Wireless, Wireless WIFI, Wireless WIFI Repeater, Wireless WIFI Repeater Extender, Wireless WIFI Repeater Extender Amplifier, Wireless WIFI Repeater Extender Amplifier Booster, Wireless WIFI Repeater Extender Amplifier Booster 300Mbps$29.99$14.99 -
Sale!
Full RGB Light Design Gaming Headset Headphones with Mic
$24.99$14.99 Add to cartFull RGB Light Design Gaming Headset Headphones with Mic
Categories: Electronics, Gaming, Gaming Headsets Tags: Design, Full, Full RGB Light Design Gaming Headset, Full RGB Light Design Gaming Headset Headphones, Full RGB Light Design Gaming Headset Headphones with Mic, Gamer, Gaming, Gaming Headset Headphones, gaming headset wireless, Headphone, Headphones, Headset, Light, Mic, Package, RGB$24.99$14.99 -
Sale!
Wireless BlueTooth Multi-Device Keyboard Mouse Combo
$39.99$19.99 Add to cartWireless BlueTooth Multi-Device Keyboard Mouse Combo
Categories: Electronics, Gaming, Gaming Keyboards, Keyboard Mouse Combos Tags: Combo, Keyboard, keyboard mouse combos, Mouse, MultiDevice, Set, WireKeyboard Mouse Combo, Wireless, Wireless BlueTooth Keyboard Mouse Combo, Wireless BlueTooth Keyboard Mouse Combos, Wireless BlueTooth Multi-Device Keyboard Mouse Combo, Wireless BlueTooth Multi-Device Keyboard Mouse Combos$39.99$19.99 -
Sale!
High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
$199.99$139.99 Add to cartHigh Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
Categories: Gaming, Gaming Chairs Tags: Adjustable, Chair, computer chairs, Desk, Executive, Gaming, Girl, Headrest, High, High Back Leather Executive Adjustable Swivel Gaming Chair, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar, High Back Leather Executive Adjustable Swivel Gaming Chairs, Leather, Lumbar, Office, Racing, Swivel$199.99$139.99 -
Sale!
Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
$29.99$19.99 Select optionsProfessional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
SKU: N/A Categories: Electronics, Gaming, Gaming Headsets Tags: Cancelling, Gaming, Gaming Headphones with Noise Cancelling Microphone, gaming headset, Headphones, Headset, LED, Light, Mic, Microphone, Noise, Professional, Professional LED Light Wired Gaming Headphones, Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone, Wired, Wired Gaming Headphones, Wired Gaming Headphones with Noise Cancelling Microphone$29.99$19.99 -
Sale!
Gaming Desk with LED Lights USB Power Outlets and Charging Ports
$349.99$249.99 Select optionsGaming Desk with LED Lights USB Power Outlets and Charging Ports
SKU: N/A Categories: Computer Desk, Gaming, Gaming Desk Tags: and Charging Ports, Charging, Desk, Desks, Gaming, gaming desk with led lights, Gaming Desks with LED Lights, Home, LED, Lights, Monitor, Office, Outlets, Port, Power, Room, Stand, USB, USB Power Outlets, White, Workstation$349.99$249.99 -
Sale!
Wired Mixed Backlit Anti-Ghosting Gaming Keyboard
$99.99$79.99 Add to cartWired Mixed Backlit Anti-Ghosting Gaming Keyboard
Categories: Electronics, Gaming, Gaming Keyboards Tags: Antighosting, Backlit, Blue, brown, Gaming, Gaming Keyboard, gaming keyboards, gaming keyboards and mouse, Keyboard, Laptop, Switch, Wired, Wired Mixed Backlit Anti-Ghosting Gaming Keyboard, Wired Mixed Backlit Anti-Ghosting Gaming Keyboards, Wired Mixed Backlit Gaming Keyboard$99.99$79.99 -
Sale!
Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
$119.99$59.99 Add to cartWireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
Categories: Electronics, Gaming, Gaming Headsets Tags: 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, ANC, Audio, Bluetooth, Cancellation, Ear, Earphone, gaming headset, Headphones, Headset, Hi-Res Over the Ear Headphones Headset, HiRes, Noise, Wireless, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Headphones, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headsets$119.99$59.99 -
Sale!
Wired Sports Gaming Headset Earbuds with Microphone
$19.99$9.99 Select optionsWired Sports Gaming Headset Earbuds with Microphone
SKU: N/A Categories: Gaming, Gaming Headsets Tags: Accessories, Earbud, Earphone, Earphones, Gaming, gaming headset with microphone, Headphones, Headset, IOS, Microphone, Sports, Wired, Wired Sports Gaming Headset Earbuds, Wired Sports Gaming Headset Earbuds with Microphone, Wired Sports Headset Earbuds$19.99$9.99 -
Sale!
150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
$49.99$29.99 Add to cart150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
Categories: Charging Stations, Electronics Tags: 150W, 150W Charging Station, 150W Universal Multi USB Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Stations, 150W Universal Multi USB MAX Charging Station, 16 Port MAX Charging Station, 3.5A, Charger, Charging, Fast, laptop charging stations, Max, Multi, Port, Stand, Station, Universal, USB$49.99$29.99
Great job
Hey could you make a unity fly hacking tutorial it would help a lot
Bro can you make aob pattren scan
new server invite?
Nice video, maybe you could make a video about hooking functions using c#
I would also like to express my gratitude for such great content!
And if you consider that there is very little similar content for the C# language
This channel is a gold mine for me!
I also wanted to suggest an idea, have you ever thought of trying to use libraries such as Yolo, OpenCVsharp or similar when writing a bot?
Bro your content is great but we need this same stuff using c++ if possible
Thanks, keep making these type of videos, so fun
boohhh 👻
wanna marry? honey?
thanks for this bruda
Do a video that shows us how to create a program that: He gets your mouse position, then it draws (it keeps moving in loop, showing some drawing with the mouse in the screen) 🙂
Wait…. With that video i can transform it into C++ and create an auto clicker… Wow… Btw the first loop with W your character moves so weirdly LMFAO
happy Halloween !
we need ai aimbot
Hello brother, how about your library? Would it be useful to be able to search for a hexadecimal and replace it with another but in a .ucas file?
Legend
+rep
This is not suitable for other computers. Yes, I can understand your intention. I'm still waiting for mir4 + CE from the teacher