Skip to content

Instantly share code, notes, and snippets.

{
"client":
{
"W3XP":
[
{
"title": "Warcraft III - TFT (Expansion) 1.28.5",
"architecture": "IX86",
"versionid": "0x0000001c",
"checkrevision_file": "ver-IX86-1.mpq",
// clang++ -std=c++11 -stdlib=libc++ main.cpp
/* clang --version
* clang version 3.8.0-2ubuntu3~trusty4 (tags/RELEASE_380/final)
*/
/* lsb_release -a
* No LSB modules are available.
* Distributor ID: Ubuntu
* Description: Ubuntu 14.04.5 LTS
// Testing on VS 2015 Update 3, using /std:c++latest
#include <iostream>
int main()
{
std::cout << "_MSC_FULL_VER: " << _MSC_FULL_VER << std::endl;
std::cout << "_HAS_CXX17: " << _HAS_CXX17 << std::endl;
std::cout << "_HAS_AUTO_PTR_ETC: " << _HAS_AUTO_PTR_ETC << std::endl;
std::cout << "_MSVC_LANG: " << _MSVC_LANG << std::endl;
@RElesgoe
RElesgoe / display.cpp
Created August 10, 2016 22:52
Modification of Aqrit's ddraw.dll by xboi209
#include <array>
#include <chrono>
#include <cstring>
#include <string>
#include <thread>
#include <vector>
#include <windows.h>
#include <d3d9.h>
#include "MinHook.h"
#if defined _M_X64
#pragma comment(lib, "libMinHook.x64.lib")
#elif defined _M_IX86
#pragma comment(lib, "libMinHook.x86.lib")
#endif
#include <cstdio>
#include <cstring>
Terms: Extended unit: A unit with a type ID that is out of bounds.
Extended player: A unit owned by a player ID that is out of bounds. Most commonly used by some maps to induce an exploit that increases the speed of the game.
Notes: All of these can be reproduced, with the possible exception of extended units and players (IDs were not recorded, sorry).
This is for the 1.16.1 version of Starcraft: Broodwar
0x00401D44
Caused by: Mass of 1700 units all splash-damaging each other?
Crashes when: Retrieving the Unit Type for an invalid Unit Class.
{
"product_code": "SEXP",
"application_code": "Game",
"last_run_start": "2016-07-27T08:12:08",
"last_run_end": "2016-07-27T08:12:20",
"timestamp": "2016-07-27T08:12:20",
"files": [
{
"path": "Game\Protocol.json",
"checksum": 4138782915,
<Application>StarCraft
<Inspector.ProjectId>264
<Inspector.Module>StarCraft
<Inspector.Milestone>SC 1.17a
<Inspector.BuildNumber>76
<Inspector.Platform>Windows
<Inspector.IssueType>Exception
<Inspector.Priority>1 - Critical
<Inspector.PrimaryAssignment>.ClassicErrorReporter
<Inspector.Assignments>.ClassicErrorReporter
enum class Flags : int
{
None = 0x000000,
Public = 0x000001,
Moderated = 0x000002,
Restricted = 0x000004,
Silent = 0x000008,
System = 0x000010,
Official = 0x000020,
Permanent = 0x000040,
#include "NewHackUtil.h"
#include <cstring>
#include <fstream>
#include <functional>
#include <iostream>
#include <Windows.h>