Thread: [718 and 742] custom interface making issue

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11  
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by Shnek View Post
    When you use my editor, you don't need to enable any component settings. Using the hide packet should 100% work. If it doesn't work maybe check if your packet is actually working
    Yea i Figured out for the hide component. But my issue is that even with Debug it dont even show the component when I click on buttons. The buttons dont respond at all. The only one that respond is the close button.
    Attached image
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    Nov 2013
    Posts
    72
    Thanks given
    44
    Thanks received
    5
    Rep Power
    11
    if the button is not even responding and not outputting the component when debugging, have you even added an option to them?
    Reply With Quote  
     

  3. #13  
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by jolte View Post
    if the button is not even responding and not outputting the component in debugger, have you even added an option to them?
    Yea everything is there
    ButtonHandler.java
    Code:
    if (interfaceId == 1370) {
    			if (Settings.DEBUG) {
    				System.out.println(packetId + " and comp id: " + componentId + " and slot id: " + slotId);
    			}
    			int selection = InterfaceManager.getPlayerInterfaceSelectedNew();
    			if (selection == 1) {
    				BossTeleportsNew.handleInterface(player, componentId);
    			}
    		}
    InterfaceManager
    Code:
        public static int getPlayerInterfaceSelectedNew() {
            return playerSelected1370;
        }
    
        public static int setPlayerInterfaceSelectedNew(int value) {
            return playerSelected1370 = value;
        }
    
        public static int playerSelected1370 = 0;
    Attached image
    Reply With Quote  
     

  4. #14  
    Registered Member
    Join Date
    Nov 2013
    Posts
    72
    Thanks given
    44
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by KingKenobi View Post
    Yea everything is there
    ButtonHandler.java
    Code:
    if (interfaceId == 1370) {
    			if (Settings.DEBUG) {
    				System.out.println(packetId + " and comp id: " + componentId + " and slot id: " + slotId);
    			}
    			int selection = InterfaceManager.getPlayerInterfaceSelectedNew();
    			if (selection == 1) {
    				BossTeleportsNew.handleInterface(player, componentId);
    			}
    		}
    I mean on the interface editor menu options of the component
    Reply With Quote  
     

  5. #15  
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by jolte View Post
    I mean on the interface editor menu options of the component
    Attached image

    Even without option the debug should show the component IDs?
    Where you mean?
    Attached image
    Reply With Quote  
     

  6. #16  
    Registered Member
    Join Date
    Nov 2013
    Posts
    72
    Thanks given
    44
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by KingKenobi View Post
    Attached image

    Even without option the debug should show the component IDs?
    Where you mean?
    Text tab, right click properties
    Reply With Quote  
     

  7. #17  
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by jolte View Post
    Text tab, right click properties
    Attached image
    Okok... so you tell me i just need to put click right option ...
    Attached image
    Reply With Quote  
     

  8. #18  
    Registered Member
    Join Date
    Nov 2013
    Posts
    72
    Thanks given
    44
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by KingKenobi View Post
    Attached image
    Okok... so you tell me i just need to put click right option ...
    Yes lol without at least one right click option, it won't be clickable and therefore wont work in the buttonhandler class
    Reply With Quote  
     

  9. #19  
    Registered Member KingKenobi's Avatar
    Join Date
    Aug 2018
    Posts
    100
    Thanks given
    25
    Thanks received
    10
    Rep Power
    36
    Quote Originally Posted by jolte View Post
    Yes lol without at least one right click option, it won't be clickable
    Ight fair anought First time im making a interface from scratch Thx for the help when I get back home ill try it up
    Sometime you search to far and the answer is very simple lol

    Thx To everyone that took time to answer to help me I got the problem fixed!
    Attached image
    Attached image
    Reply With Quote  
     

  10. #20  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by KingKenobi View Post
    Ight fair anought First time im making a interface from scratch Thx for the help when I get back home ill try it up
    Sometime you search to far and the answer is very simple lol

    Thx To everyone that took time to answer to help me I got the problem fixed!
    Attached image
    Glad you figured it out. Just want to add incase someone someone finds this thread in the future / you have the same problem later on, that problem can also be caused by a script being triggered on click. It takes priority over everything else and the click is never sent.
    Project thread
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 LastLast

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. Replies: 18
    Last Post: 03-03-2022, 09:37 PM
  2. Replies: 136
    Last Post: 07-13-2014, 01:49 AM
  3. Replies: 5
    Last Post: 06-09-2014, 04:54 PM
  4. Replies: 32
    Last Post: 01-26-2014, 01:39 AM
  5. Making and adding custom interfaces
    By finalspeced in forum Help
    Replies: 0
    Last Post: 09-25-2010, 02:28 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
  •