This guide is intended for Hytale modding. If you see IntelliJ generating @NonNullDecl and @NullableDecl annotations, follow these steps to override IntelliJ's settings. Note: this currently must be done per-project.
Default:
Goal:
It turns out OpenFL PreForm 2.3.3 does actually support virtual printers for the Form 1, Form 1+ and Form 2, which allows dumping a print’s .flp files to a local directory.
It is unfortunately disabled in the public build, but it is relatively simple to enable by editing PreForm.exe in a hex editor.
Notes:
https://login.live.com/oauth20_authorize.srf?client_id=00000000402b5328&response_type=token&scope=service::user.auth.xboxlive.com::MBI_SSL&redirect_uri=https%3A%2F%2Flogin.live.com%2Foauth20_desktop.srf
Visit the above URL in a browser and log in. You'll be redirected to a blank page. The new URL in the address bar contains a Microsoft Live access token for your account, which is required for Xbox Live authentication.
I've just been pasting them into this CyberChef recipe while testing to get the access_token part out quickly.
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * Returns a Byte identical to the current one, but with the positions of the least-significant `n` | |
| * bits reversed, where `n` = [width]. | |
| * | |
| * This means that the bit at position `0` will be replaced with the value of the bit at position | |
| * `width - 1`, and vice-versa. | |
| * | |
| * **Not to be confused with the [invert][Int.inv] function, which toggles all bits in place.** | |
| * | |
| * #### Examples: |
Kotlin's implementations of the algorithms described by Ross N. Williams in his paper, "A Painless Guide to CRC Error Detection Algorithms". See below for a link.
This gist exists solely for the purpose of archive as I learn about CRC algorithms, and I wouldn't recommend these implementations in practice due to my unfamiliarity with them at the time of writing this.
In your file explorer (e.g. Finder):
In a command line / terminal / console:
cd /path/to/unzipped/directory./gradlew setupDecompWorkspaceIn IntelliJ IDEA:
In older versions this may be labeled "Import" or "Import Project"
| { | |
| "hypixel_api_key": "Your Hypixel API key (run '/api new' on Hypixel to get this)", | |
| "bot": { | |
| "token": "Your Discord bot's token", | |
| "name": "Hypixel PlayerCount Bot", | |
| "command_indicator": ".", | |
| "embed_color": "0xf4c75d" | |
| } | |
| } |
| import java.util.UUID; | |
| /** | |
| * Various utilities for converting to and from "trimmed" UUIDs (UUID strings without hyphens) | |
| */ | |
| public final class UuidUtil { | |
| private static final String UUID_REGEX = "[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}"; | |
| private static final String TRIMMED_UUID_REGEX = "[a-f0-9]{12}4[a-f0-9]{3}[89aAbB][a-f0-9]{15}"; | |
| private static final String ADD_UUID_HYPHENS_REGEX = "([a-f0-9]{8})([a-f0-9]{4})(4[a-f0-9]{3})([89aAbB][a-f0-9]{3})([a-f0-9]{12})"; |
| package <YOUR_PACKAGE_NAME>; | |
| import com.google.gson.JsonElement; | |
| import com.google.gson.JsonObject; | |
| import java.util.Scanner; | |
| import java.util.UUID; | |
| import net.hypixel.api.HypixelAPI; | |
| public class <YOUR_CLASS_NAME> { |