Skip to content

Instantly share code, notes, and snippets.

import * as alt from 'alt-shared';
// Please understand this took quiet some time and effort.
// This took 3 different expirements to get the right workflow to assign all torsos.
// Some torsos don't take up full clothing, and expect an undershirt.
// This is about 92% accurate for all clothes, and 99% accurate for just clothing, no super hero suits.
// Check out Rebar. https://rebarv.com/
// Created by Stuyk
const MaleTorsos = {
@Stuyk
Stuyk / gtav
Created June 29, 2024 22:21
GTA:V Torsos with Gloves based on DLC, may or may not be fully accurate
{
"mp_m_sum2": {
"0": [
"0_3_4",
"0_3_6",
"0_3_12",
"0_3_1",
"Male_freemode_mpLTS_3_0",
"Male_freemode_mpLTS_3_1",
"Male_freemode_Pilot_3_0",
{
"mp_m_sum2": {
"0": [
"0_3_4",
"0_3_6",
"0_3_12",
"0_3_1"
],
"1": [
"0_3_0"
@Stuyk
Stuyk / data.json
Created June 20, 2024 03:05
6/19/2024 - GTA:V All DLC Clothes Maximums from XML
{
"Female_Apt01": {
"clothes": {
"1": 1,
"4": 13,
"6": 6,
"7": 4,
"8": 4,
"9": 3,
"11": 26
@Stuyk
Stuyk / index.js
Created March 15, 2024 03:33
Ethereum Address & Balance Checker
// This is incredibly stupid and you will never hit an address with a balance.
// Anyway, enjoy.
const bip39 = require("bip39");
const { hdkey } = require("@ethereumjs/wallet");
const { Web3 } = require("web3");
const web3 = new Web3("RPC_ENDPOINT_GOES_HERE");
const generateMnemonic = () => {
@Stuyk
Stuyk / singleton.gd
Last active August 25, 2023 16:21
Global Godot Singleton - Without Auto Loading
extends Node2D
class_name MySingleton
var hello_world: String = "Hello World!";
static var _instance: MySingleton;
static func instance() -> MySingleton:
if (!_instance):
_instance = MySingleton.new();
@Stuyk
Stuyk / aInterfaces.ts
Last active April 23, 2023 01:14
GTA:V Clothing Maximums (April 22, 2023)
interface ComponentData {
[component: number]: {
[drawable: number]: number;
};
}
interface ClothingList {
clothing: { [dlc: number]: ComponentData };
props: { [dlc: number]: ComponentData };
}
@Stuyk
Stuyk / femaleClothes.ts
Created April 20, 2023 20:05
(Stuyk) Clothing for GTA:V with DLC Hashes, and Max Textures Per Drawable (Generated April 20, 2023)
export const femaleClothes = {
clothes: {
'0': [
{
dlc: 0,
drawable: 0,
maxTextures: 1,
},
{
dlc: 0,
@Stuyk
Stuyk / gdrive
Created July 19, 2022 00:19
Minecraft Backup Script with ./gdrive
# Run These In Order...
wget https://github.com/prasmussen/gdrive/releases/download/2.1.1/gdrive_2.1.1_linux_386.tar.gz
tar -xvf gdrive_2.1.1_linux_386.tar.gz
chmod +x ./gdrive
./gdrive about
@Stuyk
Stuyk / items.ts
Created July 13, 2022 12:49
O:RP Item List
import * as alt from 'alt';
export const ITEM_TEMPLATES = {
almondseeds: {
name: 'Almond Seeds',
key: 'almondseeds',
base: 'seeds',
icon: 'seeds',
props: {
model: 'prop_veg_grass_02_a'