Thread: Teleport interface 1312

Results 1 to 3 of 3
  1. #1 Teleport interface 1312 
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    I'm Making skilling teleport with the interface 1312 But i cant Get it to work... when I'm pressing on The Agility teleport nothing happened
    I Tried with all the component of the interface that was in the agility one and nothing is working
    I want to use this interface for each Skill teleport


    ButtonHandler.java
    Code:
    else if (interfaceId == 1312) {
    			int selection = InterfaceManager.getPlayerInterfaceSelected();
    			if (selection == 1) {
    				SkillTeleports.handleInterface(player, componentId);
    				
    			}
    		}

    SkillTeleports.java
    Code:
    public static void handleInterface(Player player, int componentId) {
    		InterfaceManager.setPlayerInterfaceSelected(1);
    		player.getInterfaceManager().closeChatBoxInterface();
    		if (componentId == 38 || componentId == 35 || componentId == 5 || componentId == 37
    				|| componentId == 30 || componentId == 36 || componentId == 34 || componentId == 33
    				|| componentId == 32 || componentId == 31)
    			player.closeInterfaces(); 
    			AgilityTeleports.sendInterface(player);
    		if (componentId == 46)	
    		if (componentId == 54)	
    		if (componentId == 62)	
    		if (componentId == 70)	
    		if (componentId == 78)	
    		if (componentId == 86)		
    		if (componentId == 94)		
    		if (componentId == 110) {
    			
    			
    		}
    	}
    Attached image
    Reply With Quote  
     

  2. #2  
    Registered Member Shirayuki's Avatar
    Join Date
    Aug 2017
    Posts
    122
    Thanks given
    24
    Thanks received
    37
    Rep Power
    68
    Well, if agility is first on the list, shouldn't it be componentid 2?

    Quote Originally Posted by KingKenobi View Post
    I'm Making skilling teleport with the interface 1312 But i cant Get it to work... when I'm pressing on The Agility teleport nothing happened
    I Tried with all the component of the interface that was in the agility one and nothing is working
    I want to use this interface for each Skill teleport


    ButtonHandler.java
    Code:
    else if (interfaceId == 1312) {
    			int selection = InterfaceManager.getPlayerInterfaceSelected();
    			if (selection == 1) {
    				SkillTeleports.handleInterface(player, componentId);
    				
    			}
    		}

    SkillTeleports.java
    Code:
    public static void handleInterface(Player player, int componentId) {
    		InterfaceManager.setPlayerInterfaceSelected(1);
    		player.getInterfaceManager().closeChatBoxInterface();
    		if (componentId == 38 || componentId == 35 || componentId == 5 || componentId == 37
    				|| componentId == 30 || componentId == 36 || componentId == 34 || componentId == 33
    				|| componentId == 32 || componentId == 31)
    			player.closeInterfaces(); 
    			AgilityTeleports.sendInterface(player);
    		if (componentId == 46)	
    		if (componentId == 54)	
    		if (componentId == 62)	
    		if (componentId == 70)	
    		if (componentId == 78)	
    		if (componentId == 86)		
    		if (componentId == 94)		
    		if (componentId == 110) {
    			
    			
    		}
    	}
    You've got it set for the componentId's are where the text go
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    Bump Anyone alredy made a teleport interface with ID 1312 or 1412.... I realy cant get it to work
    Attached image
    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. interface 1312 teleportation system.
    By oblivion742 in forum Help
    Replies: 2
    Last Post: 11-23-2013, 11:11 AM
  2. [Basic] teleport interface
    By TrollCount++ in forum Snippets
    Replies: 6
    Last Post: 05-18-2009, 04:23 PM
  3. [Delta] [Teleport InterFace] [REP++]
    By Wallace in forum Help
    Replies: 4
    Last Post: 02-19-2009, 01:55 AM
  4. [Help] Teleport Interface [Help]
    By Wallace in forum Help
    Replies: 9
    Last Post: 02-18-2009, 11:16 PM
  5. teleport interface help
    By Bmxican in forum Help
    Replies: 2
    Last Post: 01-09-2009, 02:03 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •