This file contains hidden or 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
use mlua::prelude::*; | |
use std::fs::File; | |
use std::io::BufReader; | |
use rodio::{Decoder, OutputStream, Sink}; | |
use std::time::Duration; | |
use futures_timer::Delay; | |
async fn play_local_file(lua: &Lua, (filepath, volume, duration): (String, f32, u64)) -> LuaResult<()> { | |
let (_stream, stream_handle) = OutputStream::try_default().unwrap(); | |
let sink = Sink::try_new(&stream_handle).unwrap(); |
This file contains hidden or 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
:: Launch | |
@echo off | |
title Launch GTA with Stand | |
:: If you want to auto launch as admin, uncomment this: (Relaunches batch as admin) | |
::if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | |
:: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
:: !!! These variables may need to be changed !!! |
This file contains hidden or 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
const fs = require('fs') | |
const MODEL_NAMES = { | |
2627665880: 'Online Female' | |
} | |
fs.readFile('./outfit.json', 'utf-8', (err, data) => { | |
if(err) { | |
console.error(err) | |
process.exit(1) | |
} |
This file contains hidden or 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
const fs = require('fs') | |
let version = "2.0" | |
fs.readFile('./animations.txt', 'utf-8', (err, data) => { | |
if(err) { | |
console.error(err) | |
process.exit(1) | |
} | |
const animations = [] |
This file contains hidden or 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
fn main() { | |
let mut i: u64 = 0; | |
let mut v: u64; | |
let mut highest = u64::MIN; | |
loop { | |
i += 1; | |
v = i; | |
loop { | |
// Is even | |
if v % 2 == 0 { |
This file contains hidden or 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/bash | |
APP_ID= | |
if test -f "update.lock"; then | |
echo "update.lock found, cancelling" | |
exit 1 | |
fi | |
touch update.lock | |
trap '{ rm -f -- "update.lock"; }' EXIT | |
/home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir $PWD +app_update $APP_ID validate +quit | |
rm update.lock |
This file contains hidden or 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
use sha2::{Sha256, Digest}; | |
use std::time::{SystemTime, UNIX_EPOCH}; | |
type HashResult = Vec<u8>; | |
type Hash = Sha256; | |
#[derive(Debug)] | |
struct Data { | |
id: u64 | |
} |
This file contains hidden or 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
use std::time::Instant; | |
use rand::prelude::*; | |
use std::f64::consts; | |
use console::Term; | |
use std::sync::atomic::{AtomicBool, Ordering}; | |
use std::sync::Arc; | |
fn main() { | |
//Handler to terminate on CTRL+C | |
let running = Arc::new(AtomicBool::new(true)); |
This file contains hidden or 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
:: Launch GTA Online Patch v1.2 | |
:: This batch file will automatically launch GTAV if not started, look for the process and inject using Xenos | |
:: You should probably at minimum change the GTADIR parameter below to where your GTA5.exe is | |
:: It will run Xenos64 in the folder the bat file is ran from, for the profile "OnlinePatch.xpr64" | |
:: Links | |
:: Xenos - https://github.com/DarthTon/Xenos | |
:: Online Patch Booster - https://github.com/QuickNET-Tech/GTAO_Booster_PoC | |
@echo off | |
title Launch GTA Online Patch |
This file contains hidden or 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
(async function() { | |
const items = []; | |
for(const item of document.getElementsByClassName("selectable")) { | |
items.push(item.attributes['data-steamid'].textContent) | |
} | |
var a = document.createElement("a"); | |
a.href = "data:application/json," + JSON.stringify(items); | |
a.download = "banned_users.json"; | |
a.click(); | |
})(); |