0% found this document useful (0 votes)
4 views3 pages

5adkd8q (1) FDFDFD

The document is a Python script that interacts with Discord webhooks to track players in a game using cosmetic codes. It defines functions to start tracking, report found players, and log missed players, along with handling session tickets for authentication. The script continuously checks for player data and sends updates to specified Discord channels.

Uploaded by

digonico490
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

5adkd8q (1) FDFDFD

The document is a Python script that interacts with Discord webhooks to track players in a game using cosmetic codes. It defines functions to start tracking, report found players, and log missed players, along with handling session tickets for authentication. The script continuously checks for player data and sends updates to specified Discord channels.

Uploaded by

digonico490
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

import requests

import time
from datetime import datetime

# Discord webhooks
Snippet_Main =
"https://discord.com/api/webhooks/1325345011981615134/TbxNpVtdEfo4_fkI09CE2jPM7_QHe
HuXXGR8q4SXTVh0SrVMG7LC-Yjoc79NuV0A-FnX"
Snippet_Logs = "https://discord.com/api/webhooks/1325327149279739935/nN3c-
hfjOpKGttMg1cVyz5ouPsUUlL3pAypNJ4nYFxZMrgWGekTwN-xZg8nSJdRk8ShP"
Session_Ticket =
"https://discord.com/api/webhooks/1325327047261687879/e7hHg8g2tyltOR8i4YSMjNs8BpQvg
5oXzI86kwX6vvHBx3XOgHsFCkgjr39rJkgtr1qZ"

# Variables
title = "63FDD"
cosmetics = {
"Finger Painter": "LBADE.",
"Stick": "LBAAK.",
"Admin": "LBAAD.",
"High Tech": "LMAAV.",
"Unreleased Sweater": "LBACP.",
"Illustrator Badge": "LMAJA.",
"GT Monke Plush": "LMAJA.",
"2022 Glasses": "LFAAZ.",
"GT1 Badge": "LBAAZ.",
"Early Access Badge": "LBAAE.",
"Bat Wings": "LBADR.",
}

Codes = [
"VEN1", "JMAN", "ZERDY", "DAPPER", "SNAIL", "ELLIOT", "K9", "TURBO",
"VMT", "MOSA", "RAKZZ", "MAXO", "AUSSIE", "DAPPERSLUG", "TYLERVR",
"STYLEDSNAIL", "CODY", "QUINN", "LEOVR", "LEO", "PARTYMONKEY", "BOETHIA",
"CHIVI", "HEADCHEF", "HEADCHEFVR", "KNINLY", "JAWCLAMPS", "MAJORA",
"KISHARK", "WIDDOM", "TIKTOK", "TTT", "DAISY", "J3VU", "RUN", "SREN17",
"YOUTUBER", "GTC", "K9", "MODS", "GTC1", "GTC2", "GTC3", "GTC4", "GTC5",
"GTC6", "GTC7", "GTC8", "GTC9", "GTC10", "O", "PIG", "TTTPIG", "LEMMING",
"AA", "JUAN", "THUMBZ", "VMT", "TYLERVR", "A", "JMAN1", "ELLIOT", "K8",
"TIMMY", "JMAN2", "JMAN3", "GT", "CGT", "GTC", "GHOST", "DAISY09", "RUN",
"RUN1", "666", "DAISY099", "ENDISHERE", "ECHO", "CHIPPD", "BANJO",
"CHIPPDBANJO", "GH0ST", "END", "DEATH", "FNAF", "GTAG", "ECH0", "BANANA",
"SMILER", "UNKNOWN", "BOTS", "DEAD", "HUNT", "J3VU", "MORSE", "PBBV",
"SPIDER", "SREN17", "SREN18", "MONK", "STATUE", "GORILLA", "LEMMING",
"STICK", "MODDER", "MODDERS", "MODERATOR", "TTTPIG", "ANTOCA", "BODA",
"JOLYENE", "ELECTRONIC", "OWNER", "DEV", "CREATOR", "11", "12", "13",
"14", "15", "16", "17", "18", "19", "20", "CREEP", "CREEPY", "SCARY",
"SPOOKY", "SPOOK", "MINIGAMES", "GAMES", "PLAY", "FINGERPAINTER",
"CONTENTCREATOR", "CONTENT", "MIRRORMAN", "HELPME", "BEES", "NAMO",
"WARNING", "BANSHEE", "JUAN", "THUMBZ", "VMT", "TYLERVR", "PARTYMONKEY",
"HIDE", "MONKEY", "WOW", "MITTENS", "RAY2", "RAY1", "GRAPES",
"MICROPHONE", "BARK", "DURF", "JULIAN", "HAVEN", "GTAG", "GORILLA", "GT",
"MOD", "MODS", "FINGER", "PAINTER", "ADMIN", "STAFF", "STYLED", "SNAIL",
"CRASH", "AUSSIE", "YOUTUBE", "TIKTOK", "MODDER", "MODDING", "ALECVR"
]

def Tracker_Started(user):
current_time = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")
payload = {
"content": "<@here>",
"embeds": [{
"title": f"🚨 Player Tracker Started 🚨",
"description": f"**{user}** has started the tracker.",
"color": 0x00212BDF,
"timestamp": f"{current_time}",
}]
}
requests.post(Snippet_Main, json=payload)

def Player_Found(cosmetic_name, room, player_id):


current_time = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")
payload = {
"content": "<@&1325200507828179046>",
"embeds": [{
"title": "Pluh Tracker",
"description": "Found",
"fields": [
{"name": "Cosmetic", "value": f"{cosmetic_name}", "inline": False},
{"name": "Code", "value": f"{room}", "inline": True},
{"name": "Player Count", "value": "N/A", "inline": True},
{"name": "Leaderboard Pos", "value": "N/A", "inline": True},
],
"color": 0x00212BDF,
"timestamp": f"{current_time}"
}]
}
requests.post(Snippet_Main, json=payload)

def Player_Missed(code):
current_time = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")
payload = {
"embeds": [{
"title": "No Special Players Found",
"description": f"**Code:** {code}",
"color": 0x00212BDF,
"timestamp": f"{current_time}"
}]
}
requests.post(Snippet_Logs, json=payload)

def get_session_ticket(steamticket):
login = requests.post(
f"https://{title}.playfabapi.com/Client/LoginWithSteam",
json={"SteamTicket": steamticket, "CreateAccount": True, "TitleId": title},
)
loginresponse = login.json()
if "data" in loginresponse and "SessionTicket" in loginresponse["data"]:
return loginresponse
return None

def check_data(session_ticket):
headers = {"X-Authorization": session_ticket}
for code in Codes:
request = {"SharedGroupId": code, "GetMembers": True}
response = requests.post(
f"https://{title}.playfabapi.com/Client/GetSharedGroupData",
json=request,
headers=headers,
).json()
if "data" in response:
for cosmetic_name, cosmetic_id in cosmetics.items():
if cosmetic_id in str(response["data"]):
player_id = response.get("data", {}).get("PlayerId", "Unknown")
Player_Found(cosmetic_name, code, player_id)
break
else:
Player_Missed(code)

def main():
user = input("User: ")
steamticket = input("Ticket: ")
Tracker_Started(user)
while True:
loginresponse = get_session_ticket(steamticket)
if loginresponse:
session_ticket = loginresponse["data"]["SessionTicket"]
check_data(session_ticket)
else:
print("Failed to obtain session. Retrying...")
time.sleep(60)

if __name__ == "__main__":
main()

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy