Advertisement
xample

AutoFarm GUI Source - GROWTOPIA

Dec 1st, 2018
953
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.47 KB | None | 0 0
  1. #Auto Farm GUI
  2. #Python 2.7.15
  3. #Executed from main.py
  4. #Owner - VETEX#2993 (discord)
  5. #GUI Developed by Markness#9804 (discord)
  6.  
  7.  
  8. #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #
  9. #Shitty GUI for now (will upgrade from Tkinter, literally had like 8 - 10 minutes to make this lol) #  #
  10. #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #  #
  11.  
  12.  
  13. #Now we have the total we have is 14 different Auto Farms for different games."
  14.  
  15.  
  16. #Info : This group was created 11/19/2018 , money income (from customers : $384.83 dollars US (as of 11/26/2018)) customers count : 26 (as of 11/26/18) devs count : 4 (money splits).
  17.  
  18. # -- GAME : (GROWTOPIA) --
  19.  
  20. # Functions : Jake is making the functions for this auto farm
  21.  
  22. # note : don't forget to locate the player in the world and move to farmables. DON'T FORGET THIS JAKE REEEEEEEEEEEEE lol
  23.  
  24. # -- Release Date (possibly) : 12/3/2018 ... depends on jake for the functions
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. # -- Coding Starts Here -- #
  34.  
  35.  
  36. # -- Info -- #
  37.  
  38. print ("Loading Growtopia AutoFarm, please wait...")
  39. info_stuff = ("""
  40. 1) Press the button to turn on the AutoFarm
  41. 2) And it will move you automatically to the position of where you are to the farmables in your world!
  42.  
  43. Note : GUI will be upgraded this is temporarily
  44.  
  45. Enjoy! Report any problems to our discord server (or devs in dm)
  46. """)
  47.  
  48. # -- GUI -- #
  49.  
  50.  
  51. from tkinter import *
  52. import os
  53.  
  54. # -- Settings -- #
  55.  
  56. os.system("title AutoFarm GUI (Game : Growtopia) Console")
  57. root = Tk()
  58. root.title("AutoFarm GUI (Game : Growtopia)")
  59. root.geometry("350x200") # Note: W X H
  60. root.resizable(height = False, width = False)
  61. root.attributes("-topmost", True)
  62. root.lift()
  63. state = "ON"
  64. name = "Auto Farm  "
  65.  
  66. # -- Def's and class -- #
  67.  
  68. def command1():
  69.     # -- Function for real state time -- #
  70.     global new_state
  71.     global actual_time
  72.     if new_state == "OFF":
  73.         actual_time = "ON"
  74.     elif new_state == "ON":
  75.         actual_time = "OFF"
  76.     print ("Button switched to : {button_state}\n".format(button_state = actual_time))
  77.     # -- Functions go here jake -- #  or use exec (var) and class each thing that's easier i guess
  78.     Button1() # Goes back for the ON sign
  79.  
  80. class GUI:
  81.     global Button1
  82.     global Label1
  83.     global Devs_Menu
  84.     global LaunchUpMenuDevs
  85.     global Trigger_Settings
  86.     Custom_encryption_key = "00x81%4xZ8A9MLaXc8" # main.py (jake), get value print(GUI_VAR.Custom_encryption_key) << dont print tho lol yknow
  87.     def Button1():
  88.         global new_state
  89.         # -- Function for state -- #
  90.         global state
  91.         if state == "ON":
  92.             state = "OFF"
  93.             new_state = state
  94.         elif state == "OFF":
  95.             state = "ON"
  96.             new_state = state
  97.         # -- (Main) Button Placement -- #
  98.         Main_Button = Button(root, text = "%s :  %s"%(name , new_state),command = command1)
  99.         Main_Button.place(x = 0 , y = 0 , width = 200 , height = 100)
  100.         Trigger_Settings()
  101.     def Trigger_Settings():
  102.         Label1()
  103.         Devs_Menu()
  104.     def Label1():
  105.         # -- (State) Label Placement -- #
  106.         Main_Label = Label(root, text = "State : %s"%(new_state))
  107.         Main_Label.place(x = 0 , y = 150)
  108.         # -- (Owner) Label Placement -- #
  109.         Owner_Label = Label(root, text = "Owner : VETEX#2993")
  110.         Owner_Label.place(x = 150 , y = 150)
  111.     def LaunchUpMenuDevs():
  112.         # -- Settings -- #
  113.         main = Tk()
  114.         main.geometry("350x220") # W X H because i keep forgetting lol
  115.         main.title("Developers Team")
  116.         main.resizable(width = False, height = False)
  117.         main.attributes("-topmost", True)
  118.         # -- Label(s) -- #
  119.         Main_Text = Label(main, text = """
  120. Owner : VETEX#2993
  121.  
  122. Developers:
  123. 1)Markness#9804
  124. 2)ImJakeYea#3997
  125. 3)GODIsInGame#1375
  126. 4)Duddeeeee#2097
  127.  
  128. Developers Who Worked On This AutoFarm:
  129. Shitty GUI : Markness#9804 (Don't worry I'll update it soon lol)
  130. Functions : ImJakeYea#3997
  131. """)
  132.         Main_Text.place(x = 18 , y = 20)
  133.         dev_text = Label (main, text = "Developers :")
  134.         dev_text.place(x = 0 , y = 0)
  135.         main.mainloop()
  136.        
  137.  
  138.        
  139.     def Devs_Menu():
  140.         # -- (Devs) Button Placement -- #
  141.         Devs_Button = Button(root, text = "Developers",command = LaunchUpMenuDevs)
  142.         Devs_Button.place(x = 240 , y = 170, width = 100)
  143.  
  144.  
  145.  
  146. GUI_VAR = GUI() # for custom encryption key
  147. Button1()
  148. print (info_stuff)
  149. root.mainloop()
  150.  
  151. # -- The end OOF -- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement