Advertisement
Guest User

Untitled

a guest
Mar 13th, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. require_relative 'Mercury/Core'
  2. Penguin = Mercury.new()
  3. print "Username:";username=gets.chomp
  4. print "Password:";password=gets.chomp
  5. print "Server:";server=gets.chomp
  6. Penguin.login(username,password,server)
  7. Penguin.item(244)
  8. Penguin.item(3154)
  9. Penguin.item(490)
  10. Penguin.item(106)
  11. Penguin.rest(2)
  12. Penguin.body(244)
  13. Penguin.rest(2)
  14. Penguin.neck(3154)
  15. Penguin.rest(2)
  16. Penguin.head(490)
  17. Penguin.rest(2)
  18. Penguin.face(106)
  19. Penguin.rest(2)
  20. Penguin.danc()
  21. while true
  22. Penguin.room("dojo")
  23. Penguin.rest(3)
  24. Penguin.chat("ATTENTION EVERYONE")
  25. Penguin.rest(3)
  26. Penguin.chat("DO YOU LIKE SNOWBALL FIGHTS?")
  27. Penguin.rest(3)
  28. Penguin.chat("WANT TO WIN MEMBERSHIP AS WELL?")
  29. Penguin.rest(3)
  30. Penguin.chat("THEN CHECK OUT")
  31. Penguin.rest(3)
  32. Penguin.chat("CP GHOSTS")
  33. Penguin.rest(3)
  34. Penguin.chat("GHOSTS GIVE MEMBER")
  35. Penguin.rest(3)
  36. Penguin.chat("GO WOOKING UP")
  37. Penguin.rest(3)
  38. Penguin.chat("CP GHOSTS")
  39. Penguin.rest(3)
  40. Penguin.chat("GHOSTS GIVE MEMBER")
  41. Penguin.rest(3)
  42. Penguin.chat("EPIC SNOW BATTLE TODAY")
  43. Penguin.rest(3)
  44. Penguin.chat("CP GHOSTS")
  45. Penguin.rest(3)
  46. Penguin.chat("GHOSTS GIVE MEMBER")
  47. Penguin.rest(3)
  48. Penguin.chat("CHECK THE GHOSTS CHAT")
  49. Penguin.rest(3)
  50. Penguin.chat("CP GHOSTS")
  51. Penguin.rest(3)
  52. Penguin.chat("WERE THE BEST GROUP")
  53. Penguin.rest(3)
  54. Penguin.chat("WE ALSO TRACK MASCOTS")
  55. end
  56.  
  57. require_relative 'Mercury/Core'
  58.  
  59. Penguin = Mercury.new()
  60.  
  61. name = "rand" # SETTING the name to 'rand' or '' will
  62. ### make Mercury generate a random name for the account
  63. password = "arofcp" # Make sure you have a secure password
  64. email = "ikjhr6@tmail.ws" # SETTING the email to activator makes MERCURY(email is optional)
  65. ### automatically activate your penguin using activator
  66. ### as an email will make generating noticeably slow
  67. color = 16 #16 is the item id of Arctic White(color is optional)
  68. save_file = "penguins" #Save file is optional, it will log username:password to the file(this is optional)
  69.  
  70.  
  71. while true
  72. new_penguin = Penguin.generatePenguin(name,password,email,color,save_file)
  73. f = File.open("#{File.dirname(__FILE__)}/penguins.txt",'a')
  74. f.write("#{new_penguin["name"]}:#{new_penguin['pass']}")
  75. f.close
  76. end
  77.  
  78.  
  79.  
  80. require_relative 'Mercury/Core'
  81.  
  82. # Make sure there is an accounts.txt & phrases.txt in the same folder as this file
  83.  
  84. # ACCOUNTS.TXT EXAMPLE: http://pastebin.com/raw/m8FUAeJC
  85. # PHRASES.TXT PHRASES: http://pastebin.com/raw/1a7VdZEZ
  86.  
  87. account_file = "#{File.dirname(__FILE__)}/accounts.txt"
  88. phrase_file = "#{File.dirname(__FILE__)}/phrases.txt"
  89.  
  90. penguins = []
  91. if(File.exists?(account_file))
  92. accounts = File.open(account_file,"r").read
  93. else
  94. puts "Please put accounts.txt in the same folder this script is in!"
  95. exit
  96. end
  97. if(File.exists?(phrase_file))
  98. phrases = File.open(phrase_file,"r").read
  99. else
  100. puts "Please put phrases.txt in the same folder this script is in!"
  101. exut
  102. end
  103.  
  104. if(accounts === "")
  105. puts "Accounts file empty, please fill accounts\nwith penguins in this format USERNAME:PASSWORD:SERVER"
  106. exit
  107. else
  108. accounts = accounts.split("\n")
  109. end
  110.  
  111. phrases = phrases.split("\n")
  112. def do_shit(name,phrases)
  113. name = name.split(":")
  114. penguin = Mercury.new()
  115. penguin.login(name[0],name[1],name[2])
  116. 2.times do
  117. penguin.room(name[3])
  118. end
  119. while true
  120. phrases.count.times do |x|
  121. penguin.rest(1.5)
  122. penguin.chat(phrases[x])
  123. end
  124. end
  125. end
  126.  
  127. threads = []
  128. accounts.count.times do |x|
  129. threads.push(Thread.new{do_shit(accounts[x],phrases)})
  130. end
  131. accounts.count.times do |x|
  132. threads[x].join
  133. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement