Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
1,870
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.50 KB | None | 0 0
  1. {"I could stay awake, just to hear you breathin'", "I Don't Wanna Miss a Thing"},
  2. {"Oh Mama Mia, Mama Mia, Mama Mia let me go!", "Bohemian Rhapsody"},
  3. {"Lamborghini Mercy", "Mercy"},
  4. {"Let's go to the beach beach, let's go get away", "Starships"},
  5. {"I got sunshine, on a cloudy day", "My Girl"},
  6. {"Move to the sound of my body", "Hips Don't Lie"},
  7. {"Your poor little heart, will be all alone", "Runaway Baby"},
  8. {"Went the distance, now I'm back on my feet", "Eye of the Tiger"},
  9. {"Hey I just met you, and this is crazy", "Call Me Maybe"},
  10. {"Let's take this back to straight Hip-Hop, and start it from scratch", "Berzerk"},
  11. {"It goes one for the money, two for the show", "Go To Church"},
  12. {"Put your weary head to rest, don't you cry no more", "Wayward Son"},
  13. {"I got nine lives, cats eyes", "Back in Black"},
  14. {"Rejoice every time you hear the sound of my voice", "When I'm Gone"},
  15. {"My love, you'll never live without, I know you want me girl cause I can see you checking me out", "We Made You"},
  16. {"Brings me back sweet childhood memories", "Sweet Child O' Mine"},
  17. {"California, knows how to party", "California Love"},
  18. {"Today is gonna be the day that they're gonna throw it back to you", "Wonderwall"},
  19. {"I crashed my car into the bridge", "I Love It"},
  20. {"Ah whimo whep ah whimo whep", "In The Jungle"},
  21. {"And you can tell anybody, this is a song for you", "Your Song"},
  22. {"So I set the world on fire, we can burn brighter than the sun", "We Are Young"},
  23. {"I won't answer what you need answered", "I won Lucker"},
  24. {"I've become so numb, I can't feel you there. Become so tired, so much more aware", "Numb"} };
  25.  
  26. private static String puzzles [][] = {
  27. {"Figure out this anagram: 'Geertips'", "Prestige"},
  28. {"Figure out this anagram: 'gjaojoen'", "jaejoong"},
  29. {"Figure out this anagram: 'tcas'", "cats"},
  30. {"Figure out this anagram: 'gdos'", "dogs"},
  31. {"Figure out this anagram: 'obom'", "boom"},
  32. {"Figure out this anagram: 'osetirot'", "Tortoise"},
  33. {"Figure out this anagram, 'megldaono'","Megalodon"}, };
  34.  
  35. private static String server [][] = {
  36. {"What was the first obsidian weapon Jagex released?", "Dark Dagger"},
  37. {"What grants you the Fire Cape?", "Fight Caves"},
  38. {"What is the worst update Jagex ever made?", "EOC"},
  39. {"What is the maximum total level you can achieve?", "2496"},
  40. {"What gaming genre is Runescape?", "MMORPG"},
  41. {"In what year was Runescape established?", "1998"},
  42. {"What is the max skill cap?", "99"},
  43. {"How many portals are there at clan wars?", "3"},
  44. {"What weapon is a Tormented Demon's weakness?", "Darklight"},
  45. {"How many barrows brothers were there originally?", "6"},
  46. {"In what year was the Duplication Glitch in Runescape?", "2003"},
  47. {"What is the first ancient spell?", "Smoke Rush"},
  48. {"What is the most powerful curse?", "Turmoil"},
  49. {"How much of a percentage does a dragon dagger special require?", "25%"},
  50. {"How much of a percentage does a Thok's sword special require?", "25%"},
  51. {"What is the best free to play armour?", "Rune Armour"},
  52. {"How much xp is required to achieve 120 Dungeoneering?", "104m"},
  53. {"What do you receive when a fire disappears?", "Ashes"},
  54. {"What is the name of the kiln cape?", "TokHaar-Kal"},
  55. {"What is the maximum amount of xp you can gain per skill?", "200m"},
  56. {"What colours is the Saradomin Flag? (3 Colours)", "Blue, White and Yellow"},
  57. {"What colours is the zamorock Flag? (2 Colours)", "Black and Red"},
  58. {"What colours is the Guthix Flag?", "Green"},
  59. {"What prayer Level do you need to use Steel Skin?", "28"},
  60. {"What is the Maxed level for Runescape in Evolution of Combat?", "200"},
  61. {"What is King Black Dragons Combat Level", "276"},
  62. {"What is the Maxed level for Runescape before Evolution of Combat?", "138"},
  63. {"What attack level do you need to use an iron scimitar in Evolution of Combat?", "10"},
  64. {"At what mining level can you mine Runite Ore?", "85"},
  65. {"At what mining level can you mine Mithril Ore?", "55"},
  66. {"At what mining level can you mine Adamantite Ore?", "70"},
  67. {"At what mining level can you mine Gold Ore?", "40."},
  68. {"At what fishing level can you fish Lobster?", "40"},
  69. {"At what fishing level can you fish Sword Fish?", "50"},
  70. {"At what fishing level can you fish Tuna?", "35."},
  71. {"What Tool do you need to fish Lobster?", "Lobster Pot"},
  72. {"What Tool do you need to fish Tuna?", "Harpoon"},
  73. {"What Tool do you need to fish Sword Fish?", "Harpoon"},
  74. {"What is the strongest Dungeoneering weapon type?", "Primal"},
  75. {"What woodcutting level do you need to cut magic logs?", "75"},
  76. {"What cooking level do you need to cook Rocktails?", "93"},
  77. {"What Smithing level do you need to smith rune Warhammers?", "94"},
  78. {"What bones give the most XP per bury?", "Frost Dragon Bones"},
  79. {"What Summoning level do you need to use the TzRek Jad?", "99"},
  80. {"What Summoning level do you need to summon the Fruit bat?", "69"},
  81. {"What Slayer level do you need to fight Ganodermic beasts?", "95"},
  82. {"What Sishing level do you need to fish manta rays?", "81"},
  83. {"What Fletching level do you need to fletch Magic Shortbows?", "80"},
  84. {"What Agility level do you need for advanced Barbarian outpost?", "90"},
  85. {"What emote uses a cannon?", "Chaotic Cookery"},
  86. {"What's the first four digits of a max stack?", "2147"},
  87. {"What's all the digits of a max stack?", "2147483647"},
  88. {"What Prayer level do you need for Turmoil?", "95"},
  89. {"What does AGS stand for?", "Armadyl Godsword"},
  90. {"What does BGS stand for?", "Bandos Godsword"},
  91. {"What does SGS stand for?", "Saradomin Godsword"},
  92. {"What does ZGS stand for?", "Zamorak Godsword"},
  93. {"What's the strongest spirit shield type?", "Divine"},
  94. {"What do you get from the recipe for disaster mini-game?", "Culinaromancer's Gloves"},
  95. {"What's the Highest Slayer Master?", "Kuradal"},
  96. {"What does SOF stand for?", "Squeal of Fortune"},
  97. {"What weapon one hits almost anything?", "Deathtouched Dart"},
  98. {"What aura gives you red wings?", "Corruption"},
  99. {"What aura gives you white wings?", "Salvation"},
  100. {"What aura gives you green wings?", "Harmony"},
  101. {"What colour charm gives you the most xp?", "Blue"},
  102. {"What type of Shield does General Graador Drop?", "Bandos Warshield"},
  103. {"What currency is used to buy Chaotics?", "Dungeoneering Points"},
  104. {"How much Mill do you need to make your cash turn Green?", "10m"},
  105. {"What potion blocks dragonfire breath?", "Antifire Potion"},
  106. {"Where is our current home located?", "Oo'glog"},
  107. {"What boss drops off-hands?", "Blink"},
  108. {"Who is the owner of Celthric?", "Luke"},
  109. {"Who is founder of Celthric?", "Tyler"},
  110. {"What skill levels do you need to prestige?", "99"},
  111. {"What is the famous drop of most NPCs on this server?", "Ecto-Tokens"},
  112. {"What's the hardest skill to get max level in?", "Dungeoneering"},
  113. {"When should you help noobs?", "Always"},
  114. {"At what level do noobs stop being noobs?", "50"},
  115. {"What's is the rarest Corporeal Beast drop on Celthric?", "Scarlet Spirit Shield"},
  116. {"What is the name of this Server?", "Celthric"},
  117. {"How many Dungeoneering points are needed to buy a Chaotic?", "200k"} };
  118.  
  119. private static String general [][] = {
  120. {"Is a tomato a fruit or a vegetable?", "Fruit"},
  121. {"How many legs does a spider have?", "8"},
  122. {"What is 'K-pop'?", "Korean Pop"},
  123. {"What is a fish?", "A Fish"},
  124. {"What music genre goes wub wub wub?", "Dubstep"},
  125. {"How many continents are there.", "7"},
  126. {"How many bones are in a fully grown human?", "206"},
  127. {"How Many wisdom teeth can grow in your mouth?", "4"},
  128. {"What member of the Beatles was assassinated in 1980?","John Lennon"},
  129. {"Who developed the ragtime jazz?", "Scott Joplin"},
  130. {"What instrument did Louis Armstrong play?","Trumpet"},
  131. {"I see trees of _____, red roses too..?","Green"},
  132. {"Which popular singer was called 'The King of Rock 'N' Roll","Elvis Presley"},
  133. {"Who created Charlie Brown Christmas?","Charles Schulz"},
  134. {"Who directed Jaws?","Steven Speilberg"},
  135. {"What movie was an American film version of a popular Swedish novel?","Girl With The Dragon Tattoo"},
  136. {"When was the movie E.T. released?","1982"},
  137. {"What animal is classed as the king of the ocean?","Great White Shark"},
  138. {"What movie is about the earth going into an ice-age?","The Day After Tomorrow"},
  139. {"Who is Batman's nemesis?","The Joker"},
  140. {"What movie features Simba the lion?","The Lion King"},
  141. {"What movie lets any crime alowed for 24 hours?","The Purge"},
  142. {"Dont stop ____, just hold on to that feelin'!!","Believin"},
  143. {"What number did Michael Jordan wear?","23"},
  144. {"What type of fish is Nemo?","Clown fish"},
  145. {"Who is the founder of Apple?","steve jobs"},
  146. {"What is the best food ever", "Bacon"},
  147. {"(5(x+6) - 2b(1 + 2) + 69) / (5x - 6b)?", "99"},
  148. {"What is the best number?", "69"},
  149. {"First one to answer 'with 1', wins!", "With 1"},
  150. {"When is a cat not a cat?", "When It's a Dog"},
  151. {"What doesn't yolo?", "A Cat"},
  152. {"Honey Comb is to Half Baked as Chips is to ___________", "French Fries"},
  153. {"What instrument does Nicki Minaj play?", "Vocals"},
  154. {"What did Michael Jackson die from?", "Cardiac arrest"},
  155. {"What Disease does Muhammad Ali have?", "Parkinson's"},
  156. {"How do dolphins sleep?", "With one eye open"},
  157. {"How do lizards communicate?", "Push Ups"},
  158. {"Why are Flamingos pink?", "Because they eat shrimp"},
  159. {"What percentage of a jellyfish is water?", "95%"},
  160. {"How does a snail breathe?", "Its skin"},
  161. {"Between Mayweather and Canelo, who won?", "Mayweather"},
  162. {"What number is Lionel Messi?", "10"},
  163. {"What is the longest word in English language without a vowel?", "rhythm"},
  164. {"What was the last letter added to English alphabet?", "J"},
  165. {"How many earth's would fit into the sun?", "1.3 million"},
  166. {"The first pig's house was made out of?", "Straw"},
  167. {"The second pig's house was made out of?", "Sticks"},
  168. {"The third pig's house was made out of?", "Bricks"},
  169. {"Who is the worst singer in the world?", "Justin Bieber"},
  170. {"What is the best crate?", "Death crate"},
  171. {"Who is the most epic celebrity on this planet?", "Jennifer Lawrence"},
  172. {"Who runs the Illuminati?", "Upside Down Emma Watson"},
  173. {"Herp Derp...", "Derp Herp"},
  174. {"What was the worst thing that happened in 2013?", "Miley Cyrus"},
  175. {"What is the best bible?", "The Lad Bible"},
  176. {"In which year did Michael Jackson release his single entitled Thriller?", "1984"},
  177. {"What is the largest State in the USA?", "Alaska"},
  178. {"Which spirit is typically used to make a Cuba Libre?", "Rum"},
  179. {"Which famous actor starred in the series 'The Fresh Prince of Bel-Air'?", "Will Smith"},
  180. {"Which spirit is typically mixed with orange juice to create the cocktail known as 'screwdriver'?", "Vodka"},
  181. {"What is a barracuda?", "A fish"},
  182. {"Who had a hit with 'Firework' in 2010?", "Katy Perry"},
  183. {"What is the name of the planet that Superman comes from?", "Krypton"},
  184. {"What colour is a New York taxi?", "Yellow"},
  185. {"What is the biggest man-made structure on Earth?", "The Great Wall of China"},
  186. {"Where does the president of the United States of America reside?", "The White House"},
  187. {"Which country's flag features a maple leaf?", "Canada"},
  188. {"In Roman numerals, what amount does the letter M equal?", "1000"},
  189. {"What language is spoken in Austria?", "German"},
  190. {"On a standard English language keyboard, what letter is located between E and T?", "R"},
  191. {"Who's treasure was buried in Treasure Island?", "Captain Flint's"},
  192. {"What is a Vixen?", "A female fox"},
  193. {"How many cards are there in a pack of cards?", "52"},
  194. {"Complete the film name 'Crouching Tiger Hidden ______", "Dragon"} };
  195.  
  196. private static String movies [][] = {
  197. {"Oh no, Leonardo is sinking!", "Titanic"},
  198. {"Wait, it's a dream?!?", "Inception"},
  199. {"Pie, Boobs, and more!", "American Pie"},
  200. {"This movie gives me a nightmare!", "Nightmare on Elm Street"},
  201. {"Here's Johnny!", "The Shining"},
  202. {"Retired and Extremely Dangerous.", "RED"},
  203. {"Oh no, it's Jason with a machete!", "Friday the 13th"},
  204. {"You don't want to swim in Cape Cod anymore.", "Jaws"},
  205. {"So after all this, I'm the missing patient?", "Shutter Island"},
  206. {"The greatest hiests of Boston.", "Town"},
  207. {"The greatest parody including the movie Narnia.", "Epic Movie"},
  208. {"The series of scary movie parodies.", "Scary Movie"},
  209. {"*flicks lighter in attic*", "The Grudge"},
  210. {"Too fast for you?", "Fast and Furious"},
  211. {"The world is ending!", "2012"},
  212. {"Tsunami survival and reuniting.", "The Impossible"},
  213. {"Good old James Bond.", "007"} };
  214.  
  215. private static String categories [][][] = { songs, puzzles, server, general, movies };
  216.  
  217. public static int questionid = -1;
  218. public static int round = 0;
  219. public static boolean victory = false;
  220. public static int answers = 0;
  221. public static int category;
  222.  
  223. public TriviaBot() {
  224. //TODO
  225. }
  226.  
  227. public static void Run() {
  228. category = Misc.random(0, 4);
  229. int rand = RandomQuestion(category);
  230. questionid = rand;
  231. answers = 0;
  232. victory = false;
  233. String title = "Trivia";
  234. if (category == 0)
  235. title = "Name the Song";
  236. else if (category == 1)
  237. title = "Puzzles";
  238. else if (category == 2)
  239. title = "RuneScape/Server";
  240. else if (category == 3)
  241. title = "General Trivia";
  242. else if (category == 4)
  243. title = "Name the Movie";
  244. for(Player participant : World.getPlayers()) {
  245. if(participant == null)
  246. continue;
  247. participant.hasAnswered = false;
  248. participant.getPackets().sendGameMessage("<col=56A5EC>["+title+"] "+categories[category][rand][0]+"</col>");
  249. }
  250. }
  251.  
  252. public static void sendRoundWinner(String winner, Player player) {
  253. for(Player participant : World.getPlayers()) {
  254. if(participant == null)
  255. continue;
  256. if (answers <= 5) {
  257. answers++;
  258. if (answers == 5)
  259. victory = true;
  260. player.TriviaPoints++;
  261. player.getPackets().sendGameMessage("<col=56A5EC>[Trivia] "+winner+", you now have "+player.TriviaPoints+" Trivia Points.</col>");
  262. player.hasAnswered = true;
  263. World.sendWorldMessage("<col=56A5EC>[Winner] <col=FF0000>"+ winner +"</col><col=56A5EC> answered the question correctly ("+answers+"/5)!</col>", false);
  264. return;
  265. }
  266. }
  267. }
  268.  
  269. public static void verifyAnswer(final Player player, String answer) {
  270. if(victory) {
  271. player.getPackets().sendGameMessage("That round has already been won, wait for the next round.");
  272. } else if (player.hasAnswered) {
  273. player.getPackets().sendGameMessage("You have already answered this question.");
  274. } else if(categories[category][questionid][1].equalsIgnoreCase(answer)) {
  275. round++;
  276. sendRoundWinner(player.getDisplayName(), player);
  277. } else {
  278. player.getPackets().sendGameMessage("That answer wasn't correct, please try it again.");
  279. }
  280. }
  281.  
  282. public static int RandomQuestion(int i) {
  283. int random = 0;
  284. Random rand = new Random();
  285. random = rand.nextInt(categories[i].length);
  286. return random;
  287. }
  288.  
  289. public static boolean TriviaArea(final Player participant) {
  290. if(participant.getX() >= 2630 && participant.getX() <= 2660 && participant.getY() >= 9377 && participant.getY() <= 9400) {
  291. return true;
  292. }
  293. return false;
  294. }
  295. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement