Thread: Fight Caves Teleport Glitch

Results 1 to 8 of 8
  1. #1 Fight Caves Teleport Glitch 
    Registered Member
    Join Date
    Sep 2014
    Posts
    64
    Thanks given
    3
    Thanks received
    0
    Rep Power
    15
    Fixed..
    Reply With Quote  
     

  2. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Code:
    @Override
     public void start() {
     npcId = (Integer) parameters[0];
     sendOptionsDialogue("Would you like to fight Jad?");
     }
    To:

    Code:
    import com.rs.game.player.Player;
    
    int npcId;
    Player player;
    
    @Override
     public void start() {
     player = (Player) parameters[0];
     sendOptionsDialogue("Would you like to fight Jad?");
    stage = -1;
     }
    And make sure your call method is:

    Code:
    player.getDialogueManager().startDialogue("FightCaves", player);
    Project thread
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by clem585 View Post
    Code:
    @Override
     public void start() {
     npcId = (Integer) parameters[0];
     sendOptionsDialogue("Would you like to fight Jad?");
     }
    To:

    Code:
    import com.rs.game.player.Player;
    
    int npcId;
    Player player;
    
    @Override
     public void start() {
     player = (Player) parameters[0];
     sendOptionsDialogue("Would you like to fight Jad?");
    stage = -1;
     }
    And make sure your call method is:

    Code:
    player.getDialogueManager().startDialogue("FightCaves", player);
    No..
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Sep 2014
    Posts
    64
    Thanks given
    3
    Thanks received
    0
    Rep Power
    15
    Quote Originally Posted by clem585 View Post
    Code:
    @Override
     public void start() {
     npcId = (Integer) parameters[0];
     sendOptionsDialogue("Would you like to fight Jad?");
     }
    To:

    Code:
    import com.rs.game.player.Player;
    
    int npcId;
    Player player;
    
    @Override
     public void start() {
     player = (Player) parameters[0];
     sendOptionsDialogue("Would you like to fight Jad?");
    stage = -1;
     }
    And make sure your call method is:

    Code:
    player.getDialogueManager().startDialogue("FightCaves", player);
    It dosent work.. The Dialogue appears but after that it opens a another dialogue and does nothing..
    Reply With Quote  
     

  6. #5  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Chris tuck View Post
    It dosent work.. The Dialogue appears but after that it opens a another dialogue and does nothing..
    replace:

    Code:
    sendOptionsDialogue("Would you like to fight Jad?");
    By:

    Code:
    sendDialogue("Would you like to fight Jad?");
    Quote Originally Posted by Mayne View Post
    No..
    I don't mind being wrong but at least tell me how I am. A no doesn't help people.
    Project thread
    Reply With Quote  
     

  7. #6  
    Registered Member
    Join Date
    Sep 2014
    Posts
    64
    Thanks given
    3
    Thanks received
    0
    Rep Power
    15
    [QUOTE=clem585;4899564]replace:

    Code:
    sendOptionsDialogue("Would you like to fight Jad?");
    By:

    Code:
    sendDialogue("Would you like to fight Jad?");
    Thanks alot man.. Now it works!
    Reply With Quote  
     

  8. #7  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    Clem, why would the player be a param? The player can already be called through the dialogue
    Reply With Quote  
     

  9. #8  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by hc747 View Post
    Clem, why would the player be a param? The player can already be called through the dialogue
    Player is an Entity variable and not a Player variable (or something else, idk) so if I didn't put it, the player.getFamiliar() thing would've nulled the dialogue since getFamilar() is player-based, not entity-based.
    Project thread
    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. Fight Caves Teleport
    By Balaney in forum Help
    Replies: 2
    Last Post: 11-10-2014, 04:02 AM
  2. Supereasy hotfix for [PI] Fight Cave Teleport
    By TaxiDave in forum Tutorials
    Replies: 2
    Last Post: 11-24-2013, 05:59 PM
  3. Replies: 24
    Last Post: 09-22-2009, 03:50 AM
  4. Fight caves
    By SandyBridge in forum Tutorials
    Replies: 15
    Last Post: 08-24-2007, 05:01 AM
  5. Fight Caves
    By Eleclion in forum Tutorials
    Replies: 6
    Last Post: 05-24-2007, 08:16 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
  •