Thread: Dont know what this error is

Results 1 to 4 of 4
  1. #1 Dont know what this error is 
    Donator

    Join Date
    Mar 2012
    Posts
    110
    Thanks given
    13
    Thanks received
    3
    Rep Power
    11
    i got this error after editing this file


    this is the file
    Code:
    package com.rs.game.player.dialogues.impl;
    
    import com.rs.cache.loaders.NPCDefinitions;
    import com.rs.game.player.dialogues.Dialogue;
    import com.rs.utils.ShopsHandler;
    
    public class NomadMultiShop extends Dialogue {
    
    	private int npcId;
    
    	@Override
    	public void start() {
    		npcId = (Integer) parameters[0];
    		sendEntityDialogue(SEND_2_TEXT_CHAT, new String[] {NPCDefinitions.getNPCDefinitions(npcId).name,
    			"Welcome to the Donator Zone, "+player.getDisplayName()+",",
    			"Is there anything you would like me to help you with?",}, 
    			IS_NPC, npcId, 9827);
    	}
    
    	@Override
    	public void run(int interfaceId, int componentId) {
    		if (stage == -1) {
    			stage = 1;
    			sendOptionsDialogue("Select an Option", 
    					"View Donator Shops", 
    					/*"Clean my Bank (<col=FF0000>Now Working!</col>)",*/ 
    					"Nevermind...");
    		}
    		
    		else if (stage == 1) {
    			if (componentId == OPTION_1) {
    				stage = 2;
    				sendOptionsDialogue("Select an Option", 
    						"Donator Pet Shop", 
    						"Donator Armor #1", 
    						"Donator Flasks & Pots",
    						"Donator Armour #2");
    				
    			/*}
    			/*if (componentId == OPTION_2) {
    				if (player.getRights() > 0) {
    					end();
    					player.getDialogueManager().startDialogue("Cleanbank");
    				} else {
    					sendEntityDialogue(SEND_2_TEXT_CHAT, new String[] {"Nomad", 
    							"Sorry, but this option isnt available for you."}, 
    							IS_NPC, npcId, 9827);
    					stage = 1;
    				}
    			}
    			if (componentId == OPTION_3) {
    				end();
    			}
    		}*/
    		
    	}else if (stage == 2) {
    			if (componentId == OPTION_1) {
    				end();
    				ShopsHandler.openShop(player, 32);
    			}
    			if (componentId == OPTION_2) {
    				end();
    				ShopsHandler.openShop(player, 33);
    			}
    			if (componentId == OPTION_3) {
    				end();
    				ShopsHandler.openShop(player, 7);
    			}
    			if (componentId == OPTION_4) {
    				end();
    				ShopsHandler.openShop(player, 65);
    			}
    		}
    	
    } 
    	/*@Override
    	public void finish;() {
    		// TODO Auto-generated method stub
    		
    	}
    
    	
    }*/
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Missing a } under "Donator Armour #2");


    Use eclipse.
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Mar 2012
    Posts
    110
    Thanks given
    13
    Thanks received
    3
    Rep Power
    11
    Quote Originally Posted by Mayne View Post
    Missing a } under "Donator Armour #2");


    Use eclipse.
    i added that it still says that error
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by bkp231 View Post
    i added that it still says that error
    Code:
    	/*@Override
    	public void finish;() {
    		// TODO Auto-generated method stub
    		
    	}
    
    	
    }*/
    remove the /* and */
    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. Anyone know what this error is?
    By geordie in forum Help
    Replies: 5
    Last Post: 12-20-2012, 08:29 AM
  2. Anyone know what this interface is used for?
    By thim slug in forum Requests
    Replies: 3
    Last Post: 09-13-2012, 06:31 PM
  3. Anyone know what this Frame is?
    By ViperSniper in forum Help
    Replies: 2
    Last Post: 11-29-2009, 12:54 PM
  4. Replies: 3
    Last Post: 08-23-2009, 09:13 AM
  5. any1 know wat this error is? i will +rep!
    By Programmer in forum Downloads
    Replies: 5
    Last Post: 01-26-2008, 07:26 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
  •