diff --git a/README.md b/README.md
index 721a02c..8506011 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,8 @@
+![GitHub release (latest by date)](https://img.shields.io/github/v/release/prevter/gdopenhack)
+![GitHub all releases](https://img.shields.io/github/downloads/prevter/gdopenhack/total)
+![GitHub](https://img.shields.io/github/license/prevter/gdopenhack)
+![GitHub issues](https://img.shields.io/github/issues/prevter/gdopenhack)
+
OpenHack
@@ -6,18 +11,30 @@
+
+## Table of Contents
+- [About](#about)
+- [Features](#features)
+- [Installation](#installation)
+- [Building](#building)
+- [Contributing](#contributing)
+- [License](#license)
+- [Contact](#contact)
+- [Acknowledgements](#acknowledgements)
+
## About
Yet another Geometry Dash modded client! I've been using [GDMegaOverlay](https://github.com/maxnut/GDMegaOverlay) for quite some time, but because it has been archived after the release of 2.2, I decided to make my own modded client. Project is still in early stages, so expect bugs and crashes, but I'm working on it! Be sure to check out the [issues](https://github.com/prevter/gdopenhack/issues) page for known issues and planned features (and feel free to leave your own suggestions).
Main goal of this project is primarily me getting more experience with C++ and game hacking, but I also needed a modded client for myself, sharing it with others in the process as well.
## Features
+- [x] **Update-proof hacks!** (most of them should work even after the game updates)
- [x] Customizable menu with animations
- [x] Basic hacks (speedhack, noclip, etc.)
+- [x] Hack search
Planned:
- [ ] Keybinds
-- [ ] Hack search
- [ ] Auto-updater
- [ ] ... and more!
diff --git a/src/hacks/hacks.cpp b/src/hacks/hacks.cpp
index 9adaea1..cdefcfa 100644
--- a/src/hacks/hacks.cpp
+++ b/src/hacks/hacks.cpp
@@ -364,6 +364,9 @@ namespace hacks
if (opcode.contains("pattern"))
{
auto pattern_opcodes = read_pattern(opcode);
+ if (pattern_opcodes.empty())
+ warn = true;
+
for (auto &pattern_opcode : pattern_opcodes)
{
if (!verify_opcode(pattern_opcode))