{"id":26463894,"url":"https://github.com/emp0ry/erscripts","last_synced_at":"2025-03-19T07:16:54.964Z","repository":{"id":281548943,"uuid":"945610119","full_name":"emp0ry/ErScripts","owner":"emp0ry","description":"ErScripts is multi scripts in one, for Counter-Strike 2. It doesn't interact with the game memory and doesn't inject anything into the game. It is fully safe to play in Valve servers.","archived":false,"fork":false,"pushed_at":"2025-03-18T09:05:36.000Z","size":1859,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T10:23:30.261Z","etag":null,"topics":["anti-afk","auto-accept","auto-pistol","color-trigger","counter-strike-2","counter-strike-2-script","cs2","cs2-customization","cs2-scripts","erscripts","imgui","jump-throw","keystrokes","long-jump","open-source","pixel-trigger","script-automation","scripts","sniper-crosshair","trigger"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emp0ry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-09T20:15:27.000Z","updated_at":"2025-03-18T09:05:40.000Z","dependencies_parsed_at":"2025-03-09T21:35:16.182Z","dependency_job_id":null,"html_url":"https://github.com/emp0ry/ErScripts","commit_stats":null,"previous_names":["emp0ry/erscripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emp0ry%2FErScripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emp0ry%2FErScripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emp0ry%2FErScripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emp0ry%2FErScripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emp0ry","download_url":"https://codeload.github.com/emp0ry/ErScripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244375506,"owners_count":20442690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti-afk","auto-accept","auto-pistol","color-trigger","counter-strike-2","counter-strike-2-script","cs2","cs2-customization","cs2-scripts","erscripts","imgui","jump-throw","keystrokes","long-jump","open-source","pixel-trigger","script-automation","scripts","sniper-crosshair","trigger"],"created_at":"2025-03-19T07:16:54.380Z","updated_at":"2025-03-19T07:16:54.957Z","avatar_url":"https://github.com/emp0ry.png","language":"C++","readme":"# ErScripts 🎮  \n### Elevate Your *Counter-Strike 2* Experience  \n\n**ErScripts** is a lightweight, multi-feature tool designed to enhance your *Counter-Strike 2 (CS2)* gameplay. Designed to run outside the game, it steers clear of memory injection or game tampering (no reading or writing memory), making it **completely safe** for Valve servers like Premier and Matchmaking.\n\n---\n\n## ✨ What is ErScripts?\n\n**ErScripts** supercharges your CS2 experience with a sleek overlay, real-time game data, and smart automation. It taps into what the game provides, retrieving data through:\n\n- **External Overlay**: Tracks CS2’s window position and size.\n- **Config \u0026 Binds**: Sends commands via `exec` binds (e.g., `bind \"KEY\" \"exec erscripts\"`).\n- **Game State Integration (GSI)**: Pulls live data like weapons and bomb status.\n- **Console Logs**: Reads `console.log` for game insights.\n\nNo hacks, no bans—just pure, clean enhancement.\n\n---\n\n## 🚀 Features\n\nHere’s what ErScripts brings to your arsenal:\n\n| Feature               | Description                                                                 |\n|-----------------------|-----------------------------------------------------------------------------|\n| **Auto Accept**       | Automatically clicks \"Accept\" when a match is found.                        |\n| **Pixel Trigger**     | Fires when the center-screen color changes (e.g., spotting enemies).        |\n| **Sniper Crosshair**  | Custom crosshair overlay for snipers, synced with your crosshair settings.  |\n| **Bomb Timer**        | Real-time bomb countdown with defuse kit alerts.                            |\n| **RGB Crosshair**     | Adds a smooth gradient effect to your crosshair.                            |\n| **Knife Switch**      | Switches knife hand based on your weapon.                                   |\n| **Auto Pistol**       | Transforms pistols into rapid-fire beasts.                                  |\n| **Anti AFK**          | Keeps you in-game by preventing AFK kicks.                                  |\n| **Keystrokes**        | Displays WASD and mouse inputs on-screen.                                   |\n| **Long Jump**         | Combines duck + jump for longer leaps.                                      |\n| **Jump Throw**        | Combines jumps and throws for convenience.                                  |\n| **Drop Bomb**         | Drops the bomb instantly and switches back.                                 |\n| **Kill Say**          | Sends a message after each kill.                                            |\n| **Kill Sound**        | Plays a sound after each kill.                                              |\n| **Round Start Alert** | When you're not in the game and a new round starts, a sound plays.          |\n| **Watermark**         | Shows ping, time, and game info.                                            |\n| **Capture Bypass**    | Keeps the overlay hidden from recordings/streams.                           |\n| **FPS Limiter**       | Limits overlay FPS for smoother performance.                                |\n\n---\n\n## 🛠️ Installation\n\nGet started in just a few steps:\n\n1. **Download**: Grab the latest release from [GitHub Releases](https://github.com/emp0ry/ErScripts/releases).\n2. **Extract**: Unzip the files to any folder.\n3. **Set Launch Options**: In Steam, add these `-conclearlog -condebug +bind scancode104 exec erscripts1` to CS2’s launch parameters:\n4. **First Run**: Launch `ErScripts.exe` *before opening CS2* (afterward, you can launch it with CS2 running).\n5. **Play**: Open CS2, tweak settings in the ErScripts menu, and dominate! 😎\n6. **Exiting ErScripts**: To close the program, either click the \"X\" button in the ErScripts menu or press the \"End\" key on your keyboard.\n\n---\n\n## ⚙️ Configuration\n\nCustomize ErScripts to fit your playstyle:\n\n### Pixel Trigger\n- **Displacement**: X/Y offset from screen center (avoids crosshair overlap).\n- **Threshold**: Color change sensitivity.\n- **Delay**: Time before firing.\n\n### Auto Accept\n- **Waiting Time**: Set a timer in seconds for the time it takes to search for the \"Accept\" button.\n\n### Bomb Timer\n- **Scale**: Timer size.\n- **Gradient**: Toggle gradient bomb icon.\n- **Transparency**: Background opacity.\n\n### Sniper Crosshair\n- **Reload Icon**: Syncs with your in-game crosshair settings.\n\n### Keystrokes\n- **Scale**: Display size.\n- **Gradient**: Toggle gradient text.\n- **Animation Speed**: Keypress animation speed.\n- **Colors**: Set pressed/released colors.\n- **Transparency**: Opacity after released.\n\n### Kill Sound, Round Start Alert\n- **Volume**: Сhange sound volume.\n- **File Name**: Specify the WAV file for the custom sound.\n  - Leave empty to use the default sound.\n  - Enter a custom WAV file (e.g., `sound.wav`) located in the executable’s folder.\n  - You can write without specifying `.wav` (e.g., if it’s `sound.wav`, just write `sound`).\n  - You can use a subfolder like `sounds` (e.g., `sounds/audio.wav` or `sounds/audio`).\n  - If the file is missing or invalid, it defaults to the built-in sound.\n\n### Watermark\n- **Gradient**: Toggle gradient text.\n- **Transparency**: Background opacity.\n- **Ping Update Rate**: How often the in-game ping refreshes.\n\n### Gradient Manager (RGB Effects)\n- **Steps**: Smoothness of color transitions.\n- **Delay**: Speed of color shifts.\n- **Start/End Hue**: Pick your color range.\n- **Saturation**: Color intensity (0 = gray, 1 = vibrant).\n- **Value**: Brightness (0 = dark, 1 = bright).\n\n*Other features (e.g., Knife Switch, Jump Throw, FPS Limiter) are easy to configure—no details needed here!*\n\n---\n\n## 🧠 How It Works\n\nErScripts is clever but safe:\n\n- **Auto Accept**: Reads `console.log` for match detection, then clicks Accept button.\n- **Pixel Trigger**: Monitors center-screen pixels for color shifts, triggering shots.\n- **Sniper Crosshair**: Pulls active weapon data from GSI to detect sniper rifles, then mirrors your crosshair by sending commands through a config and reading data from `console.log`.\n- **Bomb Timer**: Tracks bomb state via GSI, changes color for defuse urgency.\n- **RGB Crosshair**: Cycles colors with console commands.\n- **Knife Switch**: Toggles hands with `switchhands` via configs.\n- **Auto Pistol**: Spams `attack` commands for rapid fire.\n\nEverything runs externally—no game memory touched, no risks taken.\n\n---\n\n## 💖 Support the Project\n\nLove ErScripts? Fuel its development with a coffee!  \n\n[![Buy Me a Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/emp0ry)\n\n---\n\n## 🛡️ Built With\n\nErScripts relies on these awesome libraries:\n- **[Dear ImGui](https://github.com/ocornut/imgui)**: Slick overlay and UI.\n- **[nlohmann/json](https://github.com/nlohmann/json)**: GSI and config parsing.\n- **[cpp-httplib](https://github.com/yhirose/cpp-httplib)**: GSI data handling.\n- **Windows API**: Registry access, window tracking, and inputs.\n- **Standard C++**: Core logic and file management.\n\n---\n\n## 📜 License\n\nReleased under the [MIT License](LICENSE.txt). Free to use, modify, and share—just include the original license and copyright notice. A link to the original project for credit is appreciated!\n\n---\n\n## 🌟 Get Involved\n\nFound a bug? Got a feature idea?  \n- Open an [Issue](https://github.com/emp0ry/ErScripts/issues) or submit a [Pull Request](https://github.com/emp0ry/ErScripts/pulls).  \n- Join the community and let’s make CS2 even better together!\n\n---\n\nCreated with ❤️ by [emp0ry](https://github.com/emp0ry)","funding_links":["https://www.buymeacoffee.com/emp0ry"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femp0ry%2Ferscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femp0ry%2Ferscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femp0ry%2Ferscripts/lists"}