Thread: [PI] ClickingButtons Case 9169 , keep locking xp / read /

Results 1 to 4 of 4
  1. #1 [PI] ClickingButtons Case 9169 , keep locking xp / read / 
    Registered Member
    Join Date
    Jan 2010
    Posts
    301
    Thanks given
    48
    Thanks received
    8
    Rep Power
    6
    Base: Project Insanity
    Problem: keep locking xp somehow look at my code
    other media: none
    compiling errors: none


    Hey..So
    On DialogueOption's I used the button 9169 to lock my xp and I used it to show another dialogue on a other npc.
    If I click on "How to recovery Bank Pin" (the option button) it just locks my xp and doesn't send the dialogues.. that happens to any button 9169.
    Any help please?
    My code for the button:

    Code:
    			case 9169:
    				if (c.dialogueAction == 23) {
    					c.dialogueId = 30;
    					c.getDH().sendDialogues(c.dialogueId, 0);
    				}
    				if (c.xpLock == false) { // xp lock
    					c.xpLock = true;
    					c.sendMessage("Your XP is now locked!");
    				} else {
    					c.xpLock = false;
    					c.sendMessage("Your XP are now unlocked!");
    				}
    			break;
    edit: now i did this
    Code:
    			case 9169:
    				if (c.dialogueAction == 23) {
    					c.dialogueId = 30;
    					c.getDH().sendDialogues(c.dialogueId, 0);
    				}
    				if (c.xpLock == false && c.dialogueAction == 18) {
    					c.xpLock = true;
    					c.sendMessage("Your XP is now locked!");
    				} else {
    					c.xpLock = false;
    					c.sendMessage("Your XP are now unlocked!");
    				}
    			break;
    and still nothing happend
    Spoiler for My Favourite Coders :):
    K4rn4ge, Sanity,Galkon,Clienthax,SWAT // Palidino if he wouldn't be so lazy


    Reply With Quote  
     

  2. #2  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    so use a different button for exp lock.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    301
    Thanks given
    48
    Thanks received
    8
    Rep Power
    6
    Is there no other way?
    Spoiler for My Favourite Coders :):
    K4rn4ge, Sanity,Galkon,Clienthax,SWAT // Palidino if he wouldn't be so lazy


    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2010
    Posts
    301
    Thanks given
    48
    Thanks received
    8
    Rep Power
    6
    Fixed it.
    Spoiler for My Favourite Coders :):
    K4rn4ge, Sanity,Galkon,Clienthax,SWAT // Palidino if he wouldn't be so lazy


    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. [PI] Clickingbuttons.java - NPCTalk
    By Abnant in forum Help
    Replies: 8
    Last Post: 02-05-2013, 01:41 AM
  2. Replies: 15
    Last Post: 03-20-2011, 07:15 PM
  3. [PI] clickingbuttons.
    By hontiris1 in forum Help
    Replies: 6
    Last Post: 12-26-2010, 01:10 PM
  4. [PI] ClickingButtons Bug
    By iobpkbarrage in forum Help
    Replies: 0
    Last Post: 11-27-2010, 06:28 PM
  5. Replies: 5
    Last Post: 11-10-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
  •