Thread: [718] Dialogue not sending.

Results 1 to 5 of 5
  1. #1 [718] Dialogue not sending. 
    Registered Member Equity's Avatar
    Join Date
    Aug 2013
    Posts
    388
    Thanks given
    57
    Thanks received
    15
    Rep Power
    15
    Hi, Could somebody explain to me how to start this dialogue.

    My method.
    Screenshot by Lightshot

    How do I call it correctly?

    DragonfireShield.java:
    [Java] package com.ew.game.player.dialogues; import com.ew.game.Animation; import c - Pastebin.com

    And btw, it does print the "Super Debugger" Message in-game when I use the Visage on the anvil.
    I am not calling the dialogue correctly.

    Rep + thanks!
    Attached image
    Reply With Quote  
     

  2. #2  
    Cindra 718 Founder
    Four Nations's Avatar
    Join Date
    Sep 2012
    Posts
    1,043
    Thanks given
    77
    Thanks received
    186
    Rep Power
    56
    Did you add it in dialogueHandler?
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Extreme Donator

    Join Date
    Aug 2013
    Age
    29
    Posts
    708
    Thanks given
    192
    Thanks received
    234
    Rep Power
    106
    Quote Originally Posted by iBucky View Post
    Hi, Could somebody explain to me how to start this dialogue.

    My method.
    Screenshot by Lightshot

    How do I call it correctly?

    DragonfireShield.java:
    [Java] package com.ew.game.player.dialogues; import com.ew.game.Animation; import c - Pastebin.com

    And btw, it does print the "Super Debugger" Message in-game when I use the Visage on the anvil.
    I am not calling the dialogue correctly.

    Rep + thanks!

    Add this in DialogueHandler

    Code:
    			Class<Dialogue> value100 = (Class<Dialogue>) Class
    					.forName(DragonfireShield.class.getCanonicalName());
    			handledDialogues.put("DragonfireShield", value100);
    import it if you have to.
    inactive.
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Registered Member Equity's Avatar
    Join Date
    Aug 2013
    Posts
    388
    Thanks given
    57
    Thanks received
    15
    Rep Power
    15
    Thanks both of you guys above. I am slowly learning...
    Attached image
    Reply With Quote  
     

  7. #5  
    Banned

    Join Date
    Aug 2012
    Posts
    1,528
    Thanks given
    462
    Thanks received
    307
    Rep Power
    0
    You can also handle this with objecthandler.java
    Code:
    } else if (itemId == 11286 && object.getId() == 2783) {
    					if (player.getSkills().getLevel(Skills.SMITHING) > 90) {
                        if (player.getInventory().containsItem(11286, 1)
    					 && player.getInventory().containsItem(1540, 1) && player.getInventory().containsItem(2347, 1)) {
                        	player.setNextAnimation(new Animation(898));
                              player.getInventory().deleteItem(11286, 1);
                              player.getInventory().deleteItem(1540, 1);
                              player.getInventory().addItem(11283, 1);
                              player.getSkills().addXp(Skills.SMITHING, 90);
                              player.getPackets().sendGameMessage("You create a Dragonfire Shield.");
    						} else
    							player.getPackets().sendGameMessage("You need a hammer, draconic visage and an anti-dragon shield.");
    						} else
    							player.getPackets().sendGameMessage("You need at least a level of 90 in Smithing to create this.");
    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. Survival expert dialogue not working? [718]
    By Jan Julius in forum Help
    Replies: 10
    Last Post: 09-16-2013, 03:33 PM
  2. [718] Dialogue not continuing
    By Mayne in forum Help
    Replies: 13
    Last Post: 07-22-2013, 12:01 AM
  3. Replies: 1
    Last Post: 03-26-2013, 12:01 AM
  4. PI Dialogue - Not an error nor fix.
    By Theukpk in forum Help
    Replies: 4
    Last Post: 12-25-2010, 01:40 PM
  5. 493 - Packets not sending...
    By Deathfire138 in forum Help
    Replies: 0
    Last Post: 05-09-2010, 08:05 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
  •