Jump to content

Featured Replies

Posted
comment_7283
Hello Runeleak,
This is nothing special, but just contributing something to the Community.
In you're commands.java or developerconsole.java or any other class file where you list you're commands add this:
  case "ANY NAME YOU WANT":
   WorldTasksManager.schedule(new WorldTask() {
    @Override
    public void run() {
     if (3250 >= Utils.getGraphicDefinitionsSize()) {
      stop();
     }
     if (player.hasFinished()) {
      stop();
     }
     player.setNextGraphics(new Graphics(92)); //Change This ID To Any GFX
    }
   }, 0, 3);
   return true;[/CODE]
and for 667:
   [CODE]if (cmd[0].equalsIgnoreCase("ANY NAME")) {
    WorldTasksManager.schedule(new WorldTask() {
     @Override
     public void run() {
      if (3250 >= Utils.getGraphicDefinitionsSize()) {
       stop();
      }
      if (player.hasFinished()) {
       stop();
      }
      player.setNextGraphics(new Graphics(500)); //Change This ID To Any GFX
     }
    }, 0, 3);
    return true;
   }[/CODE]
What does this do?
This give's you the GFX Id you inserted on you're account until you logout, yes, you can make it so when you login the server that the GFX stays on the character without typing an command in, but we diden't want that.
That's a feature for later maybe, well.. I hope you can get use of this :)
If already released, couldn't find a topic for it.[/QUOTE]
 
 
this was my release on rune-server
  • 2 months later...
  • 5 months later...
  • 4 months later...
  • 2 years later...
  • 3 months later...
  • 1 year later...

Create an account or sign in to comment