RuneScape 2 Development > Server Tutorials

[PI] Fully Working Trivia Bot [RELEASE]

<<< (2/2)

Dan0194:

--- Quote from: sk8rdude461 on May 17, 2014, 05:36:21 PM ---Use a hashmap, it is perfect for this.

--- End quote ---
A string array is fine for this.

sk8rdude461:

--- Quote from: Dan0194 on May 17, 2014, 10:16:31 PM ---
--- Quote from: sk8rdude461 on May 17, 2014, 05:36:21 PM ---Use a hashmap, it is perfect for this.

--- End quote ---
A string array is fine for this.

--- End quote ---
Can't argue with that, just figured it'd be something new he could learn (if he doesn't know it already).

jack332:
Compiling
src\server\model\minigames\TriviaBot.java:58: error: '}' expected
                {"<shad=255>[Trivia] Which NPC sells magic gear"Zaff"},
                                                                ^
src\server\model\minigames\TriviaBot.java:58: error: unclosed string literal
                {"<shad=255>[Trivia] Which NPC sells magic gear"Zaff"},
                                                                    ^
src\server\model\minigames\TriviaBot.java:59: error: not a statement
                {"<shad=255>[Trivia] What is the highest rank in the game?", "Ow
ner"},
                 ^
src\server\model\minigames\TriviaBot.java:59: error: ';' expected
                {"<shad=255>[Trivia] What is the highest rank in the game?", "Ow
ner"},
                                                                           ^
src\server\model\minigames\TriviaBot.java:59: error: illegal start of type
                {"<shad=255>[Trivia] What is the highest rank in the game?", "Ow
ner"},

     ^
src\server\model\minigames\TriviaBot.java:59: error: ';' expected
                {"<shad=255>[Trivia] What is the highest rank in the game?", "Ow
ner"},

      ^
6 errors
Press any key to continue . . .


 when i compile, any ideas?

Navigation

[0] Message Index

[*] Previous page

Go to full version
Powered by SMFPacks SEO Pro Mod |