Thread: [Pi] Lunar Teleports Do NOT work.

Results 1 to 6 of 6
  1. #1 [Pi] Lunar Teleports Do NOT work. 
    Registered Member - Valhalla -'s Avatar
    Join Date
    Jun 2013
    Posts
    62
    Thanks given
    2
    Thanks received
    0
    Rep Power
    10
    Ok, So my lunar Teleports do not work. I found them in the codes of Clickingbuttons.Java, currently they are turned off:

    Code:
    /*case 50235:
    			case 4140:
    			case 117112:
    			//c.getPA().startTeleport(Config.LUMBY_X, Config.LUMBY_Y, 0, "modern");
    			c.getDH().sendOption5("Rock Crabs", "Taverley Dungeon", "Slayer Tower", "Brimhaven Dungeon", "Hill Giants");
    
    			c.teleAction = 1;
    			break;
    
    			
    			case 4143:
    			case 50245:
    			case 117123:
    			c.getDH().sendOption5("Barrows", "Pest Control", "TzHaar Cave", "Duel Arena", "Warrior Guild");
    			c.teleAction = 2;
    			break;
    			
    			case 50253:
    			case 117131:
    			case 4146:
    			c.dialogueId = 190;
    			c.getDH().sendDialogues(c.dialogueId, 0);
    			c.teleAction = 3;
    			break;
    			
    
    			case 51005:
    			case 117154:
    			case 4150:
    			c.getDH().sendOption5("Mage Bank", "Green Dragons", "Multi Pk Zones", "Edgeville", "PvP Zones");
    			c.teleAction = 4;
    			break;			
    			
    			case 51013:
    			case 6004:	
    			case 117162:	
    			c.getPA().startTeleport(2852, 3432, 0, "modern");
    			//c.getDH().sendOption5("Mining", "Smithing", "Fishing/Cooking", "Woodcutting", "Farming");
    			//c.teleAction = 5;
    			break; 
    			
    			
    			case 51023:
    			case 6005:
    						c.getDH().sendOption5("Lumbridge", "Varrock", "Camelot", "Falador", "Canifis");
    			c.teleAction = 20;
    			break;*/
    As you can see.

    I removed the "*/" and such and compiled, and I got some errors for duplicate cases:

    Code:
    case 50235:
    			case 4140:
    			case 117112:
    			c.getPA().startTeleport(Config.LUMBY_X, Config.LUMBY_Y, 0, "modern");
    			c.getDH().sendOption5("Rock Crabs", "Taverley Dungeon", "Slayer Tower", "Brimhaven Dungeon", "Hill Giants");
    
    			c.teleAction = 1;
    			break;
    
    			
    			case 4143:
    			case 50245:
    			case 117123:
    			c.getDH().sendOption5("Barrows", "Pest Control", "TzHaar Cave", "Duel Arena", "Warrior Guild");
    			c.teleAction = 2;
    			break;
    			
    			case 50253:
    			case 117131:
    			case 4146:
    			c.dialogueId = 190;
    			c.getDH().sendDialogues(c.dialogueId, 0);
    			c.teleAction = 3;
    			break;
    			
    
    			case 51005:
    			case 117154:
    			case 4150:
    			c.getDH().sendOption5("Mage Bank", "Green Dragons", "Multi Pk Zones", "Edgeville", "PvP Zones");
    			c.teleAction = 4;
    			break;			
    			
    			case 51013:
    			case 6004:	
    			case 117162:	
    			c.getPA().startTeleport(2852, 3432, 0, "modern");
    			c.getDH().sendOption5("Mining", "Smithing", "Fishing/Cooking", "Woodcutting", "Farming");
    			c.teleAction = 5;
    			break; 
    			
    			
    			case 51023:
    			case 6005:
    						c.getDH().sendOption5("Lumbridge", "Varrock", "Camelot", "Falador", "Canifis");
    			c.teleAction = 20;
    			break;
    This is the error:



    I do not know how to fix a duplicate case.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by - Valhalla - View Post
    Ok, So my lunar Teleports do not work. I found them in the codes of Clickingbuttons.Java, currently they are turned off:

    Code:
    /*case 50235:
    			case 4140:
    			case 117112:
    			//c.getPA().startTeleport(Config.LUMBY_X, Config.LUMBY_Y, 0, "modern");
    			c.getDH().sendOption5("Rock Crabs", "Taverley Dungeon", "Slayer Tower", "Brimhaven Dungeon", "Hill Giants");
    
    			c.teleAction = 1;
    			break;
    
    			
    			case 4143:
    			case 50245:
    			case 117123:
    			c.getDH().sendOption5("Barrows", "Pest Control", "TzHaar Cave", "Duel Arena", "Warrior Guild");
    			c.teleAction = 2;
    			break;
    			
    			case 50253:
    			case 117131:
    			case 4146:
    			c.dialogueId = 190;
    			c.getDH().sendDialogues(c.dialogueId, 0);
    			c.teleAction = 3;
    			break;
    			
    
    			case 51005:
    			case 117154:
    			case 4150:
    			c.getDH().sendOption5("Mage Bank", "Green Dragons", "Multi Pk Zones", "Edgeville", "PvP Zones");
    			c.teleAction = 4;
    			break;			
    			
    			case 51013:
    			case 6004:	
    			case 117162:	
    			c.getPA().startTeleport(2852, 3432, 0, "modern");
    			//c.getDH().sendOption5("Mining", "Smithing", "Fishing/Cooking", "Woodcutting", "Farming");
    			//c.teleAction = 5;
    			break; 
    			
    			
    			case 51023:
    			case 6005:
    						c.getDH().sendOption5("Lumbridge", "Varrock", "Camelot", "Falador", "Canifis");
    			c.teleAction = 20;
    			break;*/
    As you can see.

    I removed the "*/" and such and compiled, and I got some errors for duplicate cases:

    Code:
    case 50235:
    			case 4140:
    			case 117112:
    			c.getPA().startTeleport(Config.LUMBY_X, Config.LUMBY_Y, 0, "modern");
    			c.getDH().sendOption5("Rock Crabs", "Taverley Dungeon", "Slayer Tower", "Brimhaven Dungeon", "Hill Giants");
    
    			c.teleAction = 1;
    			break;
    
    			
    			case 4143:
    			case 50245:
    			case 117123:
    			c.getDH().sendOption5("Barrows", "Pest Control", "TzHaar Cave", "Duel Arena", "Warrior Guild");
    			c.teleAction = 2;
    			break;
    			
    			case 50253:
    			case 117131:
    			case 4146:
    			c.dialogueId = 190;
    			c.getDH().sendDialogues(c.dialogueId, 0);
    			c.teleAction = 3;
    			break;
    			
    
    			case 51005:
    			case 117154:
    			case 4150:
    			c.getDH().sendOption5("Mage Bank", "Green Dragons", "Multi Pk Zones", "Edgeville", "PvP Zones");
    			c.teleAction = 4;
    			break;			
    			
    			case 51013:
    			case 6004:	
    			case 117162:	
    			c.getPA().startTeleport(2852, 3432, 0, "modern");
    			c.getDH().sendOption5("Mining", "Smithing", "Fishing/Cooking", "Woodcutting", "Farming");
    			c.teleAction = 5;
    			break; 
    			
    			
    			case 51023:
    			case 6005:
    						c.getDH().sendOption5("Lumbridge", "Varrock", "Camelot", "Falador", "Canifis");
    			c.teleAction = 20;
    			break;
    This is the error:



    I do not know how to fix a duplicate case.
    Duplicate case errors are saying that you have duplicate cases/two or more of a case.
    Reply With Quote  
     

  3. #3  
    Registered Member - Valhalla -'s Avatar
    Join Date
    Jun 2013
    Posts
    62
    Thanks given
    2
    Thanks received
    0
    Rep Power
    10
    Quote Originally Posted by Karma_K View Post
    Duplicate case errors are saying that you have duplicate cases/two or more of a case.
    Ok, So.. Do I find the other case that is the same and delete it?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by - Valhalla - View Post
    Ok, So.. Do I find the other case that is the same and delete it?
    That would work. Up to you.. Because there might be a reason they commented out all those buttons and made new cases
    Reply With Quote  
     

  5. #5  
    Registered Member - Valhalla -'s Avatar
    Join Date
    Jun 2013
    Posts
    62
    Thanks given
    2
    Thanks received
    0
    Rep Power
    10
    Quote Originally Posted by Karma_K View Post
    That would work. Up to you.. Because there might be a reason they commented out all those buttons and made new cases
    Well I mean. Lunar Teleports don't work. I can't have them not working. Lemme see what happens if I delete the other cases.
    Reply With Quote  
     

  6. #6  
    Registered Member - Valhalla -'s Avatar
    Join Date
    Jun 2013
    Posts
    62
    Thanks given
    2
    Thanks received
    0
    Rep Power
    10
    Ok. Thank-you all for your help! I took out the other cases, well. I actually used the // for them. What is it called when you "//" or /* something?

    I fixed it, my lunar spell-book now works wonders
    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] My Lunar Teleports do NOT work!
    By Skarlett in forum Help
    Replies: 3
    Last Post: 06-01-2013, 03:20 AM
  2. Replies: 10
    Last Post: 05-19-2013, 12:09 PM
  3. [PI] Mute and Ip-mute do NOT work;
    By Hidden Gamer in forum Help
    Replies: 16
    Last Post: 09-01-2011, 05:34 PM
  4. [PI] Lunar Teleports dont work
    By Crown in forum Help
    Replies: 3
    Last Post: 03-07-2011, 08:26 PM
  5. [PI] Lunar teleports
    By Arithium in forum Help
    Replies: 3
    Last Post: 06-13-2010, 01:49 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
  •