Thread: Problem with Interfereing Sendquets

Results 1 to 3 of 3
  1. #1 Problem with Interfereing Sendquets 
    Registered Member
    MerzA's Avatar
    Join Date
    Jul 2008
    Age
    30
    Posts
    592
    Thanks given
    36
    Thanks received
    28
    Rep Power
    95
    So i added vegeta's price checker into my server and it was working fine, but then i coded an ingame highscores function and my sendquests were interfering.

    I used the quest journal interface (8134) for both the price cheker and highscores but the highscores shows up for both the price check button and the highscores command.

    the code for my price check is
    Code:
    case 58255: //Price check
    
    
    			clearQuestInterface();
    
    		for(i = 0; i < playerItems.length; i++) {
    			if(playerItems[i]-1 > 0) {
    
    				sendQuest("Price Check", 8144);
    				int IDs[] = { 8145, 8147, 8148, 8149, 8150, 8151, 8152, 8153, 8154, 8155, 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163, 8164, 8165, 8166, 8167, 8168, 8169, 8170, 8171, 8172, 8173 }; //8145, 8147, 8148, 8149, 8150, 8151, 8152, 8153, 8154, 8155, 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163, 8164, 8165, 8166, 8167, 8168, 8169, 8170, 8171, 8172, 8173
    					
    				for (int e = 0; e < IDs.length; e++) {
    				int itemWorth = (int)GetItemShopValue(playerItems[e] - 1 , 1 , 1);
    					sendQuest(""+GetItemName(playerItems[e] - 1)+": "+itemWorth+"gp.", IDs[e]);
    				if (GetItemName(playerItems[e] - 1) == "Unarmed") {
    				sendQuest("", IDs[e]);
    				showInterface(8134); //8134
    				}
    				}
    		}
    			sendQuestSomething(8143);
    	showInterface(8134);
    	flushOutStream();
    		}
    	break;
    so it should be clearing the interface and then display the price check things but when i open it up, all i get is a blan interface. can anyone help? Rep++ if you help me fix
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Aug 2008
    Posts
    273
    Thanks given
    0
    Thanks received
    0
    Rep Power
    103
    then change it because if they both are 8143 obviously they are both being displaced on the same one...so change it or delete price check or the high scores i recommend deleting price check cuz this only works if the prices are forced 100% like runescape, then in p servs i havent seen any with forced prices, they are all just set by players, so its useless and you should delete price checker and keep high scores, therefore your problem with be solved in an easier way.
    Hola
    Reply With Quote  
     

  3. #3  
    Registered Member
    MerzA's Avatar
    Join Date
    Jul 2008
    Age
    30
    Posts
    592
    Thanks given
    36
    Thanks received
    28
    Rep Power
    95
    dude, you can use the same interface for different purposes, i use 8134 for around 6 or 7 things, but price check and highscores are the only ones that interfere with eachother
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •