Thread: Dialogue action button problem

Results 1 to 5 of 5
  1. #1 Dialogue action button problem 
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Here is my code:
    Code:
    if (c.dialogueAction == 49 && c.playerRights == 4) {
    				c.getItems().addItem(15145, 1);
    				c.sendMessage("@blu@You have chosen the Donator Cape, thanks for donating!");
    			} else if (c.getItems().freeSlots() < 1) {
    				c.getPA().removeAllWindows();
    				c.sendMessage("@blu@You must have atleast 1 free slot available.");
    			} else if (!(c.playerRights == 4)) {
    				c.getPA().removeAllWindows();
    				c.sendMessage("@blu@You must be a Regular Donator to recieve this cape.");
    			}
    For some reason if the characters player rights do equal 4 and they click to get the cape, it does nothing. It doesn't send the message or give the item. Can someone solve this for me?
    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    Reply With Quote  
     

  2. #2  
    Registered Member RuneForceGame's Avatar
    Join Date
    May 2014
    Posts
    17
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Code:
    } else if (!(c.playerRights == 4)) {
    				c.getPA().removeAllWindows();
    				c.sendMessage("@blu@You must be a Regular Donator to recieve this cape.");
    			}
    Just delete that?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by RuneForceGame View Post
    Code:
    } else if (!(c.playerRights == 4)) {
    				c.getPA().removeAllWindows();
    				c.sendMessage("@blu@You must be a Regular Donator to recieve this cape.");
    			}
    Just delete that?
    Why? .. how would that fix it.
    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2014
    Age
    29
    Posts
    78
    Thanks given
    0
    Thanks received
    6
    Rep Power
    0
    c.dialogueAction == 49; is not recognized. You need to add c.dialogueAction = 49; wherever the chat options are being printed.
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by Geni View Post
    c.dialogueAction == 49; is not recognized. You need to add c.dialogueAction = 49; wherever the chat options are being printed.
    I'm such an idiot. My case number was 49 and my action was 47. Thanks for making me double check.
    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    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. Dialogue/Clicking Buttons problem.
    By iplayz in forum Help
    Replies: 3
    Last Post: 11-05-2013, 10:22 PM
  2. Replies: 2
    Last Post: 04-06-2013, 07:58 PM
  3. 508 Action buttons problem {HELP?????}
    By rockarocka in forum Help
    Replies: 7
    Last Post: 12-11-2011, 01:37 AM
  4. Replies: 1
    Last Post: 08-24-2010, 03:45 AM
  5. Replies: 8
    Last Post: 12-12-2009, 11:21 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
  •