Thread: [PI] Special Attack Bar Updating

Results 1 to 4 of 4
  1. #1 [PI] Special Attack Bar Updating 
    Registered Member I'mAGeek's Avatar
    Join Date
    Jan 2012
    Age
    26
    Posts
    504
    Thanks given
    146
    Thanks received
    44
    Rep Power
    16
    Whenever I click the special attack bar the text is not highlighting until you hover the bar twice or walk.

    Does anyone know what the problem is?

    Thanks!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2009
    Posts
    630
    Thanks given
    79
    Thanks received
    24
    Rep Power
    52
    add this in clickingbutton when u click on a special attack

    Code:
    c.getItems().updateSpecialBar();
    and this in item assis


    Code:
    	public void updateSpecialBar() {
    		if(c.usingSpecial) {
    			c.getPA().sendFrame126(
    			""+(c.specAmount >= 2 ?  "@[email protected] P" : "@[email protected] P")
    			+""+(c.specAmount >= 3 ?  "@[email protected] E" : "@[email protected] E") 
    			+""+(c.specAmount >= 4 ?  "@[email protected] C I" : "@[email protected] C I")
    			+""+(c.specAmount >= 5 ?  "@[email protected] A L" : "@[email protected] A L") 
    			+""+(c.specAmount >= 6 ?  "@[email protected]  A" : "@[email protected]  A") 
    			+""+(c.specAmount >= 7 ?  "@[email protected] T T" : "@[email protected] T T") 
    			+""+(c.specAmount >= 8 ?  "@[email protected] A" : "@[email protected] A") 
    			+""+(c.specAmount >= 9 ?  "@[email protected] C" : "@[email protected] C") 
    			+""+(c.specAmount >= 10 ?  "@[email protected] K" : "@[email protected] K") , c.specBarId);
    		} else {
    			c.getPA().sendFrame126("@[email protected] P E C I A L  A T T A C K", c.specBarId);
    		}
    	}
    Reply With Quote  
     

  3. #3  
    Registered Member I'mAGeek's Avatar
    Join Date
    Jan 2012
    Age
    26
    Posts
    504
    Thanks given
    146
    Thanks received
    44
    Rep Power
    16
    Quote Originally Posted by team b0 View Post
    add this in clickingbutton when u click on a special attack

    Code:
    c.getItems().updateSpecialBar();
    and this in item assis


    Code:
    	public void updateSpecialBar() {
    		if(c.usingSpecial) {
    			c.getPA().sendFrame126(
    			""+(c.specAmount >= 2 ?  "@[email protected] P" : "@[email protected] P")
    			+""+(c.specAmount >= 3 ?  "@[email protected] E" : "@[email protected] E") 
    			+""+(c.specAmount >= 4 ?  "@[email protected] C I" : "@[email protected] C I")
    			+""+(c.specAmount >= 5 ?  "@[email protected] A L" : "@[email protected] A L") 
    			+""+(c.specAmount >= 6 ?  "@[email protected]  A" : "@[email protected]  A") 
    			+""+(c.specAmount >= 7 ?  "@[email protected] T T" : "@[email protected] T T") 
    			+""+(c.specAmount >= 8 ?  "@[email protected] A" : "@[email protected] A") 
    			+""+(c.specAmount >= 9 ?  "@[email protected] C" : "@[email protected] C") 
    			+""+(c.specAmount >= 10 ?  "@[email protected] K" : "@[email protected] K") , c.specBarId);
    		} else {
    			c.getPA().sendFrame126("@[email protected] P E C I A L  A T T A C K", c.specBarId);
    		}
    	}
    already got this
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2009
    Posts
    630
    Thanks given
    79
    Thanks received
    24
    Rep Power
    52
    then it is something with the client not sure?
    [Only registered and activated users can see links. ]
    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. My New Special Attack Bar
    By TheElveAge in forum Show-off
    Replies: 23
    Last Post: 10-02-2012, 11:44 AM
  2. Special Bar Updating
    By WarZorg in forum Help
    Replies: 2
    Last Post: 10-10-2010, 08:45 PM
  3. Special Bar Not Updating After Spec.
    By mmaKush in forum Help
    Replies: 0
    Last Post: 07-22-2010, 07:50 PM
  4. Special attack bar
    By Felixia in forum Help
    Replies: 3
    Last Post: 05-25-2009, 10: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
  •