Skip to content

Instantly share code, notes, and snippets.

View Lucas7yoshi's full-sized avatar

Lucas Lucas7yoshi

View GitHub Profile
CreateThread(function()
Citizen.InvokeNative(0x144da052257ae7d8, true)
print("ENABLED NETWORK ALLOW REMOTE SYNC OF LOCAL PLAYERS")
end)
function GetNearestPlayerToMe()
local players = GetActivePlayers()
local closestPlayer, closestDistance = nil, 100000
local myPos = GetEntityCoords(PlayerPedId())
local myPlayerId = PlayerId()
@Lucas7yoshi
Lucas7yoshi / FortniteAuth.cs
Created September 21, 2019 04:35
Fortnite authorization grabber, gets you the eg1 token. Requires newtonsoft.json and RestSharp. Pass as "Authorization" "bearer " + the resulting token to get endpoints.
public string getAuthFullFlow(string username, string password)
{
var cli1 = new RestClient("https://www.epicgames.com/id/api/csrf");
var req1 = new RestRequest(Method.GET);
var ans1 = cli1.Execute(req1);
var xsrftoken = ans1.Cookies.First(x => x.Name == "XSRF-TOKEN").Value;
var cli2 = new RestClient("https://www.epicgames.com/id/api/login");
var req2 = new RestRequest(Method.POST);
foreach (var i in ans1.Cookies)
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using QuickType;
namespace XPathTracker
{
class Program
{
0xe47f0fe3c66bc50d65a92f93609710feb580bd982017a7d3fc6de7872197e0casadasd gggg
"ExplosiveBow_Athena_SR_Ore_T03": {
"export_type": "RowStruct",
"Spread": 0.0,
"SpreadDownsights": 0.0,
"StandingStillSpreadMultiplier": 0.0,
"AthenaCrouchingSpreadMultiplier": 1.0,
"AthenaJumpingFallingSpreadMultiplier": 1.0,
"AthenaSprintingSpreadMultiplier": 1.0,
"MinSpeedForSpreadMultiplier": 15000.0,
"MaxSpeedForSpreadMultiplier": 16000.0,
var DailyTime = "00:00:10";
Console.WriteLine(DailyTime);
var timeParts = DailyTime.Split(new char[1] { ':' });
var dateNow = DateTime.UtcNow;
var date = new DateTime(dateNow.Year, dateNow.Month, dateNow.Day,
int.Parse(timeParts[0]), int.Parse(timeParts[1]), int.Parse(timeParts[2]));
TimeSpan ts;
if (date > dateNow)
ts = date - dateNow;
using System;
using System.Net;
using System.Threading.Tasks;
namespace ImageFinder
{
class Program
{
static void Main(string[] args)
{
// <auto-generated />
//
// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do:
//
// using QuickType;
//
// var news = News.FromJson(jsonString);
namespace QuickType
{
The tweet about a silenced shotgun is fake.
██████╗ ██╗ ██╗██████╗ ██████╗ ███████╗███████╗ ██╗ █████╗ ███████╗███████╗██████╗ ███████╗██╗ ██╗ ██╗ █████╗ █████╗ ███████╗ █████╗ ██╗ ██╗██████╗ ██████╗ ███████╗███████╗███████╗██████╗ █████╗ ██████╗ ███████╗██████╗ █████╗ ███████╗██████╗ ██████╗ █████╗ █████╗ ██╗██╗ ██╗██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗ █████╗ ██████╗ ██████╗ ██████╗ ███████╗██╗ ██╗ ██████╗ █████╗ ██████╗ █████╗ ██████╗ ███████╗██╗ ██╗███████╗ ██████╗
██╔═████╗╚██╗██╔╝╚════██╗██╔════╝ ██╔════╝██╔════╝███║██╔══██╗██╔════╝██╔════╝╚════██╗╚════██║██║ ██║███║██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██║╚════██╗██╔══██╗╚════██║██╔════╝╚════██║╚════██╗██╔══██╗██╔══██╗╚════██║╚════██╗██╔══██╗██╔════╝██╔══██╗██╔════╝ ██╔══██╗██╔══██╗███║██║ ██║██╔══██╗╚════██╗██╔══██╗██╔═████╗╚════██╗██╔═████╗╚════██╗██╔════╝██╔════╝██╔════╝██╔══██╗██╔══██╗██╔════╝╚════██╗██╔══██╗██╔══██╗██╔══██╗╚════██╗██╔════╝██║ ██║██╔═████╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝██