Thread: Clue Scrolls

Results 1 to 2 of 2
  1. #1 Clue Scrolls 
    Banned
    Join Date
    Dec 2012
    Posts
    50
    Thanks given
    11
    Thanks received
    9
    Rep Power
    0
    Hello, I have been working on my hyperion server and right now I am doing clue scrolls. I have everything working correctly except i can not figure out this bug/glitch.

    Say you need to dig at 2515 3860
    if you walk over 2515 3860 - you complete the clue
    without digging or anything

    Code:
    This is in the Click Item packet
    
    if(item.getId() == 952) {
    					player.playAnimation(Animation.create(831));
    					World.getWorld().submit(new Event(600) {
    
    						@Override
    						public void execute() {
    							player.playAnimation(Animation.create(-1));
    							if(player.getLocation().getX() == player.clueCoords[0][0] && player.getLocation().getY() == player.clueCoords[0][1]) {
    								if(player.clueTask[0] == 1 && player.getMob().getInventory().contains(2678)) {
    									player.clueTask[0] = 0;
    									player.playAnimation(Animation.create(862));
    									player.getActionSender().sendMessage("You have found another casket..");
    									player.getInventory().remove(new Item(2678, 1));
    									player.getInventory().add(new Item(2720, 1));
    								}
    							}
    						}
    					});
    any suggestions
    thanks in advance!
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Dec 2012
    Posts
    50
    Thanks given
    11
    Thanks received
    9
    Rep Power
    0
    it worked after i added

    Code:
    							player.getActionSender().sendMessage("Nothing interesting happens.");
    							this.stop();
    Nevermind
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [718/***] Clue Scrolls [REL]
    By laakerules in forum Snippets
    Replies: 48
    Last Post: 05-04-2015, 04:54 AM
  2. [pi]clue scrolls
    By jessie thompson in forum Help
    Replies: 7
    Last Post: 11-13-2010, 02:48 AM
  3. Clue scrolls
    By Mr.Client in forum Requests
    Replies: 0
    Last Post: 09-15-2010, 03:07 PM
  4. Clue Scrolls
    By Bando in forum Snippets
    Replies: 25
    Last Post: 07-29-2009, 11:41 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •