Advertisement
Tyluur

Untitled

Oct 26th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. boundChuncks = RegionBuilder.findEmptyChunkBound(8, 8);
  2. RegionBuilder.copyAllPlanesMap(552, 640, boundChuncks[0], boundChuncks[1], 8);
  3. selectedMusic = MUSICS[Misc.random(MUSICS.length)];
  4. player.setNextWorldTile(!login ? getWorldTile(46, 61) : getWorldTile(32, 32) );
  5. WorldTasksManager.schedule(new WorldTask() {
  6. @Override
  7. public void run() {
  8. if(!login) {
  9. WorldTile walkTo = getWorldTile(32, 32);
  10. player.addWalkSteps(walkTo.getX(), walkTo.getY());
  11. }
  12. player.getDialogueManager().startDialogue("SimpleNPCMessage", THHAAR_MEJ_JAL, "You're on your own now, JalYt.<br>Prepare to fight for your life!");
  13. player.setForceMultiArea(true);
  14. playMusic();
  15. player.unlock();
  16. stage = Stages.RUNNING;
  17. }
  18.  
  19. }, 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement