Skip to content

Instantly share code, notes, and snippets.

@WamWooWam
WamWooWam / PlayGTAV.cs
Last active November 11, 2021 02:52
Replacement PlayGTAV.exe for the Epic Games Store version of Grand Theft Auto V
using System.Diagnostics;
using System.IO;
using Microsoft.Win32;
//
// If you replace PlayGTAV.exe in your game folder with this code, it'll fix two problems:
// - The game will launch successfully if you simply double click PlayGTAV.exe (it'll actually launch EGS properly)
// - You won't have to accept a UAC prompt every time you launch the game
// - If the exe doesn't find Rockstar Social Club, it'll try and install it from the default location
//
Все перенесено сюда
https://github.com/Pa4ok/MinecraftForSale
# Для всех перечисленных тут уязвимостей имеются фиксы (или будут сделаны в ближайшее время)
CarpentersBlocks:
1) com.carpentersblocks.network.PacketActivateBlock
1.1) Открытие GUI некоторых блоков в приватах
IC2NuclearControl:
1) shedar.mods.ic2.nuclearcontrol.network.message.PacketClientColor
shedar.mods.ic2.nuclearcontrol.network.message.PacketClientDisplaySettings
shedar.mods.ic2.nuclearcontrol.network.message.PacketClientRangeTrigger
Реквизиты:
Qiwi: +79608624930
Яндекс.Деньги: 410011923274761
Skype: sk2000sk1
Telegram: gamerforEA
Discord: gamerforEA#8924
Зеркало на GitHub Gist: https://gist.github.com/gamerforEA/6c4a77255b95ba4354cc26758d3633da
@matthewzring
matthewzring / markdown-text-101.md
Last active April 19, 2024 11:17
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@wavezhang
wavezhang / java_download.sh
Last active April 10, 2024 16:21
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@justincjahn
justincjahn / README.md
Last active January 16, 2024 20:15
Minecraft server(s) using systemd and screen.

Install

# Install dependencies
sudo yum install -y java-1.8.0-openjdk screen

# Create a new unprivileged user for minecraft
useradd -r -m -d /opt/minecraft minecraft

# Create the directory that will house our minecraft instances

sudo su --shell /bin/bash minecraft

@Pokechu22
Pokechu22 / Setting up MCP without a full MCP release.md
Last active March 31, 2024 21:35
Setting up MCP for newer versions (e.g. 1.12.2)

It's possible to use create an MCP installation for versions of Minecraft where there hasn't been a full MCP release. It takes a little bit of manual setup, but the end result is highly useful.

  1. Download and extract the most recent MCP build from http://www.modcoderpack.com/. (Currently, the latest build is http://www.modcoderpack.com/files/mcp940.zip)

  2. Edit version.cfg in the conf folder, and change ClientVersion and ServerVersion to the version you want (for instance, 1.12.2).

  3. Download the SRG zip for the version you want; these can generally be found at http://mcpbot.bspk.rs/mcp/<version>/mcp-<version>-srg.zip (for example, http://mcpbot.bspk.rs/mcp/1.11.2/mcp-1.11.2-srg.zip) or at http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/<version>/mcp-<version>-srg.zip (for example, http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.12.2/mcp-1.12.2-srg.zip). (For 1.12.1 and 1.12.2, only the minecraftforge link works)

  4. Extract that zip into the MCP conf folder, over

@aadnk
aadnk / BlockChangeArray.java
Created May 17, 2013 04:42
Disguise a block (like a chest) as an arbitrary block.
package com.comphenix.example;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import org.bukkit.Location;
import org.bukkit.World;
/**
* Utility class for creating arrays of block changes.