Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

The Vampire Survivors hacking fun is far from over! In this tutorial, I'll be demonstrating how to create persistent cheats that you can use directly in-game without the need for external hacks or hooking. All you need to do is launch the game and then use the cheats within the game's window. No extra effort required!

This time, instead of using Cheat Engine, we will be using Visual Studio Code (VS Code) and Chrome Developer Tools (DevTools) to analyze the game as it's running. We're going to put on our web developer hats and create an overlay with HTML, CSS, and JavaScript. This overlay will allow us to inspect the game's code and quickly make changes and see the results in real-time. Let's get started!

Files

Previews only

Hacking Electron Games 2 - Persistent Cheat Menu Overlay

Learn how to program cheats for Vampire Survivors and other Electron-based games! Use Coupon Code GH_20_OFF to get 20% off: https://guidedhacking.com/register/ Support us on Patreon: https://patreon.com/guidedhacking Support us on YT: https://www.youtube.com/GuidedHacking/join This same technique will work on all web browser games. Official GH Electron Hacking Part 2 Article https://guidedhacking.com/threads/how-to-hack-electron-games-vampire-survivors-cheats.20202/ Hacking Web Games on Mobile via Desktop Browser: https://guidedhacking.com/threads/how-to-hack-web-games-on-mobile-from-your-desktop-browser.19324/ Hacking JavaScript Games with Hooks: https://guidedhacking.com/threads/hacking-javascript-games-with-hooks-example-shellshock-io.20031/ Video creator: @StephenChapman The Vampire Survivors hacking fun continues as we build on our discoveries from part one of learning how to hack Electron games! I'm going to show you how create persistent cheats via an overlay that's baked right into the game. That's right, you'll be able to just launch the game from Steam (or wherever else you launch it from) and toggle your cheats right there in the game's internal window -- no external hacks or hooking needed! Finally, as with the previous video, we'll be continuing with the theme of no Cheat Engine use, opting instead for using VS Code in tandem with runtime iteration via a DevTools instance that the game secretly includes (as opposed to using the remote debugging strategy we employed in the previous video). Put your web developer hat on and let's get to coding an overlay in HTML, CSS, and JavaScript! What You Will Learn​: 1. How to create persistent hacks, mods, and cheats for Vampire Survivors 2. How to code an internal overlay in Electron games via HTML, CSS, and JavaScript 3. How to accept user input, sanitize it, validate it, and apply it for use with dynamic cheats 4. How to enable and disable watchers that get and set data at time intervals you specify 5. How to listen for specific keypresses and make sure they don't interfere with a game's keypress event listeners 6. How to reload an Electron game without relaunching it, as well as quickly iterate and test your ideas, via DevTools 7. How to silo your custom code so you don't have to remake huge modifications to the game's native files if an update occurs 8. How to be mindful of pitfalls such as inadvertently passing null/undefined/NaN data, infinite loops resulting in a torrent of network requests being sent, and much more! Timestamps: 0:00 Introduction 0:30 Vampire Survivors cheats overlay demonstration 4:11 Launching the game with its internal DevTools 5:45 3 core things to do for hacks like this 7:21 Cheats overlay coins demonstration 7:41 Tip: Defensive programming 9:10 Adding reference to index.html 10:44 Explanation of overlay.js 12:10 Tip: Iteration via DevTools 13:32 Explanation of overlay.js, cont'd 27:34 Tip: Using MDN Web Docs 28:40 Explanation of Number.isNaN() 32:00 Explanation of overlay.js cont'd through conclusion Follow us on Facebook : http://bit.ly/2vvHfhk Follow us on Twitter : http://bit.ly/3bC7J1i Follow us on Twitch : http://bit.ly/39ywOZ2 Follow us on Reddit : http://bit.ly/3bvOB57 Follow us on GitHub : http://bit.ly/2HoNXIS Follow us on Instagram : http://bit.ly/2SoDOlu #GameHacking #Electron #DevTools

Comments

No comments found for this post.