Thread: I was wondering

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 I was wondering 
    zachverbeek
    Guest
    Can i make it so if i click the hotkey s it clicks the special interface (while im in another interface) so it does a special?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    It's client sided, you have to set a keyboard listener in your applet class. Search 'hotkeys' and you should find something.



    Reply With Quote  
     

  3. #3  
    zachverbeek
    Guest
    I searched hotkeys but idk how to get it set to the actual spec bar
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Applet_Sub1 in your keyPressed method:
    Code:
    	if (i == KeyEvent.VK_F1) {
    		client.aBoolean1153 = true;
    		client.anInt1221 = 0;
    		client.aBoolean1103 = true;
    	}



    Reply With Quote  
     

  5. #5  
    zachverbeek
    Guest
    I need all the info and make it public and static
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    replace all "private" -> "public" figure out the static, it's not hard. This should be in the client section, by the way. Hi



    Reply With Quote  
     

  7. #7  
    zachverbeek
    Guest
    i need the
    Code:
    	if (i == KeyEvent.VK_F1) {
    		client.aBooleanTHIS = true;
    		client.anInt1221 = 0;
    		client.aBooleanTHIS = true;
    	}
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    I just told you it. How can you need it if you have it?



    Reply With Quote  
     

  9. #9  
    zachverbeek
    Guest
    Thats just switching to that interface i want it to automatically click the spec bar for me (activate spec)
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    I'm not intelligent when it comes to client-> server capabilities; create a boolean when the key is pressed and enable it server sided? I don't know how, so don't ask me.



    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •