This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static | |
bool | |
cdsurvival_SendChunk (CDServer* server, SVPlayer* player, SVChunkPosition* coord) | |
{ | |
DO { | |
SVPacketPreChunk pkt = { | |
.response = { | |
.position = *coord, | |
.mode = true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find the Libnotify libraries | |
# This module will find the libnotify library, and do some | |
# sanity checking (making sure things compile, version checking, | |
# dependancy checking, etc). Libnotify requires the GTK Library (GTK2 or GTK3) and glib Library (GLIB2) | |
# This requires cmake => 2.8 to work correctly | |
# @Author: Jacob "HACKhalo2" Litewski | |
# @Version: 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
import java.io.File; | |
import java.io.DataOutputStream; | |
import java.io.BufferedOutputStream; | |
import java.io.FileOutputStream; | |
import java.util.zip.GZIPOutputStream; | |
public class TestCodeDirtyCompression { | |
public static void main(String[] args) { | |
long start = System.currentTimeMillis(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.DataInputStream; | |
import java.io.BufferedInputStream; | |
import java.io.FileInputStream; | |
import java.util.zip.GZIPInputStream; | |
public class TestCodeDirtyDecompression { | |
public static void main(String[] args) { | |
long start = System.currentTimeMillis(); | |
int[][][] array = new int[4][8][4]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Check to see if the directory exists | |
if [ ! -d $HOME/.ftb ] | |
then | |
mkdir $HOME/.ftb | |
fi | |
# Check to make sure the launcher is in the directory | |
if [ ! -f $HOME/.ftb/FTB_Launcher.jar ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Modfile] | |
## This is ignored by the parser, since it's a comment | |
name: Suggestion ## Type: String (UTF-8); The human readable name of the mod | |
version: 1 ## Type: String (UTF-8); The mod version. The reasoning for "String" instead of "int" or similar is because of | |
## versions like "Alpha HerpDerp v0.0.1.gamma" that will start appearing | |
type: Lua ## Type: String (UTF-8); The type of mod this is. Most generally it'll be Lua, but it could be anything | |
file: /path/to/mod.lua ## Type: String (UTF-8); The main file (or script) of this mod | |
permissions { ## permissions mods request to use. Optional | |
## These permissions would be used for riskier parts of the API that could be abused. | |
trillek.network.rawpacket, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch(this.getServer().getName()) { | |
case "MCPC+": | |
//You're running in MCPC+, so you know you have access to it's remapper and Forge Mods. Enable stuff | |
this.enableMCPCPlusSupport(); | |
break; | |
case "Spigot": | |
//You're running in Spigot, so you have access to it's extended Bukkit API. Enable Stuff | |
this.enableSpigotSupport(); | |
break; | |
case "Craftbukkit": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13:27:21 [INFO] Starting minecraft server version 1.6.4 | |
13:27:21 [INFO] Loading properties | |
13:27:21 [INFO] Default game type: SURVIVAL | |
13:27:21 [INFO] Generating keypair | |
13:27:22 [INFO] Starting Minecraft server on *:25565 | |
13:27:22 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.2-R1.0-9-g9cd35ee-b2906jnks (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT) | |
13:27:23 [INFO] [PermissionsEx] sql backend registered! | |
13:27:23 [INFO] [PermissionsEx] file backend registered! | |
13:27:23 [INFO] [PermissionsEx] Loading PermissionsEx v1.20.4 | |
13:27:23 [INFO] [PermissionsEx] Initializing file backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13:27:41 [INFO] Starting minecraft server version 1.6.4 | |
13:27:41 [INFO] Loading properties | |
13:27:41 [INFO] Default game type: SURVIVAL | |
13:27:41 [INFO] This server is running CraftBukkit version git-Spigot-1134 (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT) | |
13:27:42 [INFO] Generating keypair | |
13:27:42 [INFO] Starting Minecraft server on *:25565 | |
13:27:43 [INFO] [PermissionsEx] sql backend registered! | |
13:27:43 [INFO] [PermissionsEx] file backend registered! | |
13:27:43 [INFO] [PermissionsEx] Loading PermissionsEx v1.20.4 | |
13:27:43 [INFO] [PermissionsEx] Initializing file backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13:31:32 [INFO] Starting minecraft server version 1.6.4 | |
13:31:32 [INFO] Loading properties | |
13:31:32 [INFO] Default game type: SURVIVAL | |
13:31:32 [INFO] This server is running Spigot version git-Spigot-1.6.2-R1.0-81-g3b225af (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT) | |
13:31:32 [INFO] Generating keypair | |
13:31:33 [INFO] Starting Minecraft server on *:25565 | |
13:31:33 [INFO] [PermissionsEx] sql backend registered! | |
13:31:33 [INFO] [PermissionsEx] file backend registered! | |
13:31:33 [INFO] [PermissionsEx] Loading PermissionsEx v1.20.4 | |
13:31:33 [INFO] [PermissionsEx] Initializing file backend |
OlderNewer