Thread: Adding special bar

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Adding special bar 
    Registered Member
    Join Date
    Apr 2016
    Posts
    194
    Thanks given
    25
    Thanks received
    3
    Rep Power
    63
    I am trying to add a special bar to the Anger battleaxe (7807). I am not worried about the special attack itself I just want the bar displayed while im wielding.
    (PI BASE)

    Now I have gone through both combatassistant and itemassistant and put my case 7807: everywhere where I found 4151 (whip) that dealt with the special. I have followed 5 tutorials that everyone swears worked for them and although I get no errors I can not for the life of me get my special bar to show up. Very frustrating. Can anyone help?
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Sounds like you are sending the special attack for 7807 on a whip attack style interface instead of sending it on whatever style interface your Anger battleaxe is using.
    Try use the dragon battleaxe reference as they both use the same. If they do not just add it.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Member Adding special bar Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    Look how the special attack is displayed for other weapons and do the same thing when you wield the battleaxe?

    IE copy the dragon battleaxe

    Attached imageAttached image
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Registered Member
    Join Date
    Apr 2016
    Posts
    194
    Thanks given
    25
    Thanks received
    3
    Rep Power
    63
    I haven't even fixed it yet but just reading this Im 100% sure your right xD Ah man.

    I was almost 100% sure you guys were right but I added
    Code:
    case 7807:
    			c.getPA().sendFrame171(0, 7499);
    			specialAmount(weapon, c.specAmount, 7511);
    			break;
    as a separate case under d battleaxe and still didn't work. This ones really got me stumped.
    Reply With Quote  
     

  7. #5  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Raiga View Post
    I haven't even fixed it yet but just reading this Im 100% sure your right xD Ah man.

    I was almost 100% sure you guys were right but I added
    Code:
    case 7807:
    			c.getPA().sendFrame171(0, 7499);
    			specialAmount(weapon, c.specAmount, 7511);
    			break;
    as a separate case under d battleaxe and still didn't work. This ones really got me stumped.
    Make sure you use "1698" as your interface under equipment tab.
    You could try this code below and see if it print it out / sending the configs correctly on the interface.
    Code:
    case 7807:
    System.out.println("Updating anger battleaxe correctly!");
    c.getPA().showInterface(1698);
    			c.getPA().sendFrame171(0, 7499);
    			specialAmount(weapon, c.specAmount, 7511);
    			break;


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  8. #6  
    Registered Member
    Join Date
    Apr 2016
    Posts
    194
    Thanks given
    25
    Thanks received
    3
    Rep Power
    63
    Quote Originally Posted by arch337 View Post
    Make sure you use "1698" as your interface under equipment tab.
    You could try this code below and see if it print it out / sending the configs correctly on the interface.
    Code:
    case 7807:
    System.out.println("Updating anger battleaxe correctly!");
    c.getPA().showInterface(1698);
    			c.getPA().sendFrame171(0, 7499);
    			specialAmount(weapon, c.specAmount, 7511);
    			break;
    It does print it out, and it does send the configs correctly.

    Now without displaying the interface like above^ How do I get the special bar to show up lol.
    Reply With Quote  
     

  9. #7  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Raiga View Post
    It does print it out, and it does send the configs correctly.

    Now without displaying the interface like above^ How do I get the special bar to show up lol.
    Add the code to change the equipment tab's interface to the 1698.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  10. #8  
    Registered Member
    Join Date
    Apr 2016
    Posts
    194
    Thanks given
    25
    Thanks received
    3
    Rep Power
    63
    Quote Originally Posted by arch337 View Post
    Add the code to change the equipment tab's interface to the 1698.

    Thats the part I don't get, i can't find any examples of it so I'm not sure where this goes.
    Reply With Quote  
     

  11. #9  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Raiga View Post
    Thats the part I don't get, i can't find any examples of it so I'm not sure where this goes.
    It is your oout buffering 71 that send the tab interface. See if you got it in your "c.getPA()".


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  12. #10  
    Registered Member
    Join Date
    Apr 2016
    Posts
    194
    Thanks given
    25
    Thanks received
    3
    Rep Power
    63
    Quote Originally Posted by arch337 View Post
    It is your oout buffering 71 that send the tab interface. See if you got it in your "c.getPA()".
    You had me but now you lost 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

Similar Threads

  1. adding Special Bar [PI]
    By Genc in forum Help
    Replies: 14
    Last Post: 06-12-2010, 11:46 AM
  2. Adding Special Bar
    By Rapidz in forum Help
    Replies: 6
    Last Post: 10-03-2009, 03:14 AM
  3. [525] Adding Special Bar
    By d0nt v3ng in forum Tutorials
    Replies: 5
    Last Post: 05-03-2009, 03:30 AM
  4. Adding special bar [508] rep++
    By massacre215 in forum Help
    Replies: 2
    Last Post: 03-30-2009, 10:42 PM
  5. [req] need help adding special bars! [req]
    By james10000 in forum Requests
    Replies: 1
    Last Post: 02-08-2009, 10:51 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
  •