Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Burndowntheworld authored Feb 20, 2022
1 parent 844eeb1 commit 25a9d66
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 0 deletions.
66 changes: 66 additions & 0 deletions fortnite stat tracker.pyw
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
from tkinter import *
import webbrowser
import os

root = Tk()
root.title("Fortnite Stat Checker")
root.resizable(False, False)

navbar = Menu(root)
root.config(menu=navbar)

other_stats_menu = Menu(navbar)
navbar.add_cascade(label="Other Stat Trackers", menu=other_stats_menu)
other_stats_menu.add_command(label="Valorant", command=lambda: valorant())
other_stats_menu.add_command(label="Hypixel", command=lambda: hypixel())
other_stats_menu.add_command(label="Hypixel SB", command=lambda: hypixelsb())

fortniteextras = Menu(navbar)
navbar.add_cascade(label="Fortnite Extras", menu=fortniteextras)
fortniteextras.add_command(label="Item Shop", command=lambda: shop())

def valorant():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/val stat tracker.pyw"')

def hypixel():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/hypixel stat tracker.pyw"')

def hypixelsb():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/hypixel sb stat checker.pyw"')


def shop():
webbrowser.open_new("https://fortnitetracker.com/shop")

def searchbtn():
global namebox
name = namebox.get(1.0, "end-1c")
link = f"https://fortnitetracker.com/profile/all/{name}"
linkbtn = Button(root, text="View Stats", height=1,width=20,command=lambda: openStats(link))
linkbtn.place(y=290,x=190)


def openStats(link):
webbrowser.open_new(link)


window_height = 325
window_width = 500

screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()

x_cordinate = int((screen_width/2) - (window_width/2))
y_cordinate = int((screen_height/2) - (window_height/2))

root.geometry("{}x{}+{}+{}".format(window_width, window_height, x_cordinate, y_cordinate))

namebox = Text(root, height=2, width=25)
namebox.place(y=100,x=150)
nameboxtitle = Label(root, text="Name", font=("helvetica",10))
nameboxtitle.place(y=70,x=225)

searchforplayerbutton = Button(root, text="Search For Player Stats", height=1, width=25, bg="SystemButtonFace", command=lambda: searchbtn())
searchforplayerbutton.place(y=250,x=175)

root.mainloop()
70 changes: 70 additions & 0 deletions hypixel sb stat checker.pyw
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
from tkinter import *
import webbrowser
import os

# https://sky.shiiyu.moe/stats/BurnDownTheWorld/Kiwi

root = Tk()
root.title("Hypixel SB Stat Checker")
root.resizable(False, False)

navbar = Menu(root)
root.config(menu=navbar)

other_stats_menu = Menu(navbar)
navbar.add_cascade(label="Other Stat Trackers", menu=other_stats_menu)
other_stats_menu.add_command(label="Fortnite", command=lambda: fortnite())
other_stats_menu.add_command(label="Hypixel", command=lambda: hypixel())
other_stats_menu.add_command(label="Valorant", command=lambda: valorant())

def fortnite():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/fortnite stat tracker.pyw"')

def hypixel():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/hypixel stat tracker.pyw"')

def valorant():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/val stat tracker.pyw"')


def searchbtn():
global namebox, profilebox
ign = namebox.get(1.0, "end-1c")
profile = profilebox.get(1.0, "end-1c")
link = f"https://sky.shiiyu.moe/stats/{ign}/{profile}"
linkbtn = Button(root, text="View Stats", height=1,width=20,command=lambda: openStats(link))
linkbtn.place(y=290,x=190)


def openStats(link):
webbrowser.open_new(link)



window_height = 325
window_width = 500

screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()

x_cordinate = int((screen_width/2) - (window_width/2))
y_cordinate = int((screen_height/2) - (window_height/2))

root.geometry("{}x{}+{}+{}".format(window_width, window_height, x_cordinate, y_cordinate))

namebox = Text(root, height=2, width=25)
namebox.place(y=100,x=100)
nameboxtitle = Label(root, text="Name", font=("helvetica",10))
nameboxtitle.place(y=70,x=175)

profilebox = Text(root, height=2, width=10)
profilebox.place(y=100,x=350)
profileboxtitle = Label(root, text="Profile", font=("helvetica", 10))
profileboxtitle.place(y=70,x=375)

searchforplayerbutton = Button(root, text="Search For Player Stats", height=1, width=25, bg="SystemButtonFace", command=lambda: searchbtn())
searchforplayerbutton.place(y=250,x=175)



root.mainloop()
60 changes: 60 additions & 0 deletions hypixel stat tracker.pyw
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
from tkinter import *
import webbrowser
import os


root = Tk()
root.title("hypixel Stat Checker")
root.resizable(False, False)

navbar = Menu(root)
root.config(menu=navbar)

other_stats_menu = Menu(navbar)
navbar.add_cascade(label="Other Stat Trackers", menu=other_stats_menu)
other_stats_menu.add_command(label="Fortnite", command=lambda: fortnite())
other_stats_menu.add_command(label="Valorant", command=lambda: valorant())
other_stats_menu.add_command(label="Hypixel SB", command=lambda: hypixelsb())

def fortnite():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/fortnite stat tracker.pyw"')

def valorant():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/val stat tracker.pyw"')

def hypixelsb():
os.system('C:/Python38/python.exe "c:/Users/mgibbons/Desktop/game stat checkers/hypixel sb stat checker.pyw"')


def searchbtn():
global namebox
name = namebox.get(1.0, "end-1c")
link = f"https://plancke.io/hypixel/player/stats/{name}"
linkbtn = Button(root, text="View Stats", height=1,width=20,command=lambda: openStats(link))
linkbtn.place(y=290,x=190)


def openStats(link):
webbrowser.open_new(link)


window_height = 325
window_width = 500

screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()

x_cordinate = int((screen_width/2) - (window_width/2))
y_cordinate = int((screen_height/2) - (window_height/2))

root.geometry("{}x{}+{}+{}".format(window_width, window_height, x_cordinate, y_cordinate))

namebox = Text(root, height=2, width=25)
namebox.place(y=100,x=150)
nameboxtitle = Label(root, text="Name", font=("helvetica",10))
nameboxtitle.place(y=70,x=225)

searchforplayerbutton = Button(root, text="Search For Player Stats", height=1, width=25, bg="SystemButtonFace", command=lambda: searchbtn())
searchforplayerbutton.place(y=250,x=175)

root.mainloop()

0 comments on commit 25a9d66

Please sign in to comment.