Skip to content

Instantly share code, notes, and snippets.

View thatmaxplayle's full-sized avatar

Max Playle thatmaxplayle

View GitHub Profile
{
{
"calloutInfo": {
"name": "Emergency Worker: Assistance Required",
"location": "Sandy Shores"
},
"rsid": "thatmaxplayle"
}
[EACUserData]
Username=yourusername
Password=yourpassword
@thatmaxplayle
thatmaxplayle / jokeTemplate.xml
Created March 22, 2021 23:21
A basic template for creating a joke for HangoutBot
<?xml version="1.0" encoding="utf-8" ?>
<hangoutbot>
<joke>
<author>
<!-- Credit yourself here! -->
<name></name>
</author>
@thatmaxplayle
thatmaxplayle / CustomWindowDragging.cs
Last active March 19, 2021 11:52
Custom WinForms window dragging that integrates well with Windows (including shake-to-minimize etc.)
// Object "panel" is the "title bar"
// On left button, let the user drag the form.
private void panel_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
// Release the mouse capture started by the mouse down.
panel.Capture = false;
@thatmaxplayle
thatmaxplayle / supportTemplate.xml
Last active March 14, 2021 17:08
Here's a basic template you can use to add your own HangoutBot Tech Support requests!
<?xml version="1.0" encoding="UTF-8" ?>
<hangoutbot>
<author>
<name>Max Playle</name>
</author>
<supportCommand>
<!--
The activator string is the string you'll type in the command to activate this command.
@thatmaxplayle
thatmaxplayle / RPHGetNearbyVehicles.cs
Created February 9, 2021 18:15
A way of getting the nearby vehicles to manipulate them in GTA V scripts :)
Entity[] vehicles = World.GetEntities(Destination, 4.5f, GetEntitiesFlags.ConsiderCars | GetEntitiesFlags.ExcludeEmergencyVehicles | GetEntitiesFlags.ExcludeEmptyVehicles | GetEntitiesFlags.ExcludePlayerVehicle);
foreach (Entity ent in vehicles)
{
if (!ent)
{
continue;
}
}
~r~ = Red
~b~ = Blue
~g~ = Green
~y~ = Yellow
~p~ = Purple
~o~ = Orange
~c~ = Grey?
~m~ = Darker Grey
~u~ = Black
~n~ = New Line
This file has been truncated, but you can view the full file.
[16:45:19] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:45:19] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:45:19] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:45:19] [main/INFO]: Forge Mod Loader version 14.23.5.2854 for Minecraft 1.12.2 loading
[16:45:19] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\maxpl\Twitch\Minecraft\Install\runtime\jre-x64
[16:45:19] [main/INFO]: Searching C:\Users\maxpl\Twitch\Minecraft\Instances\GangPack 2.0\mods for mods
[16:45:19] [main/INFO]: Searching C:\Users\maxpl\Twitch\Minecraft\Instances\GangPack 2.0\mods\1.12.2 for mods
[16:45:19] [main/INFO]: Loading tweaker codechicken.asm.internal.Tweaker from ChickenASM-1.12-1.0.2.7.jar
[16:45:19] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in CTM-MC1.12.2-1.0.2.31.jar. This is not recommended, @Mods sh