Recent content by Flow_mybb_import9129

View posts by Flow_mybb_import9129 View threads by Flow_mybb_import9129
  1. Adding quests[Concept]

    I use integers for that. if (c.q1 == 6) { //finished quest stage [...] }
  2. Adding quests[Concept]

    If I understood your post correctly, you and I have about the same idea of how a quest should work. This is my questhandler: package server.model.players; public class QuestHandler { private Client c; public QuestHandler(Client Client) { this.c = Client; } int maxPoints = 2; public...
  3. RSPS commands

    Actually, it's not that interesting. You can't make an enum for every single command, as you read the command as plaintext. Unless I misunderstood your post. Also, an IF statement in java requires 8 bytes of memory, since every computer nowadays has more than 256MB (2147483648 bytes), an...
  4. Basic shell booting in Java.

    import java.io.IOException; import java.net.URL; import java.util.ArrayList; public class Booter { static ArrayList<String> shells = new ArrayList(); public static void main(String[] args) { shells.add("example.com/derp.php"); shells.add("example2.com/derp.php")...
Back
Top