Thread: Dragon claws Stumped.

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Dragon claws Stumped. 
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Base : 317
    Compiler: n/a
    Problem: When i click the spec bar on D claws It doesn't highlight or even do the special attack?

    Attempt to solve myself: I've ripped from other servers, no luck i'm using A clean PI from FailPKerz.

    Note: ID Is 14484
    CombatAssistant:http://pastebin.com/pMuNvbtR

    ItemAssistant: http://pastebin.com/TtNNdF2R

    public boolean usingClaws = false;
    public int clawType = 0;
    public int clawIndex = 0;
    public int clawDamage = 0;


    Imported in Client.java

    Really need help with this. please
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Quote Originally Posted by ViolationX View Post
    Base : 317
    Compiler: n/a
    Problem: No spec bar

    Really not sure what else there is to do, to make the special bar appear lol I followed this guide http://www.rune-server.org/runescape...aws-setup.html


    Can post anything if needed.

    Any help is greatly appreciated.
    Code:
    case 14484: //dragon claws
                c.getPA().sendFrame171(0, 7800);
                specialAmount(weapon, c.specAmount, 7812);
                break;
    Code:
    case 14484: // dclaw
    			c.attackLevelReq = 60;
    			return;
    Code:
    } else if (c.playerEquipment[c.playerWeapon] == 14484) {
                c.setSidebarInterface(0, 7762); //claws
                c.getPA().sendFrame246(7763, 200, Weapon);
                c.getPA().sendFrame126(WeaponName, 7765);
    Make sure you got these in ItemAssistant
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Quote Originally Posted by Faris View Post
    Code:
    case 14484: //dragon claws
                c.getPA().sendFrame171(0, 7800);
                specialAmount(weapon, c.specAmount, 7812);
                break;
    Code:
    case 14484: // dclaw
    			c.attackLevelReq = 60;
    			return;
    Code:
    } else if (c.playerEquipment[c.playerWeapon] == 14484) {
                c.setSidebarInterface(0, 7762); //claws
                c.getPA().sendFrame246(7763, 200, Weapon);
                c.getPA().sendFrame126(WeaponName, 7765);
    Make sure you got these in ItemAssistant
    Ok Implented your codes.

    Result: spec bar is on but when i click it doesn't highlight or do the special attack.
    Reply With Quote  
     

  5. #4  
    Banned
    Join Date
    Sep 2011
    Posts
    72
    Thanks given
    3
    Thanks received
    3
    Rep Power
    0
    you have to add like umm when you click that action button @yel@ s p e c i a l attack or somthing
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Code:
    public boolean checkSpecAmount(int weapon) {
    Find this, and inside it put.
    Code:
    case 14484:
    Reply With Quote  
     

  7. #6  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Quote Originally Posted by Faris View Post
    Code:
    public boolean checkSpecAmount(int weapon) {
    Find this, and inside it put.
    Code:
    case 14484:
    Code:
    case 4151:
                case 11694:
    			case 11698:
    			case 14484:
    			case 4153:
    			if(c.specAmount >= 5) {
    				c.specAmount -= 5;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    Already have mate.
    Reply With Quote  
     

  8. #7  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Quote Originally Posted by ViolationX View Post
    Code:
    case 4151:
                case 11694:
    			case 11698:
    			case 14484:
    			case 4153:
    			if(c.specAmount >= 5) {
    				c.specAmount -= 5;
    				c.getItems().addSpecialBar(weapon);
    				return true;
    			}
    Already have mate.
    And this?
    Code:
                case 14484:
    			c.gfx0(1950);
    			c.startAnimation(10961);
    			c.specAccuracy = 9.9;
                		c.clawDamage = 0;
    			c.specDamage = 1.10;
    
                		  if (c.playerIndex > 0) {
                	Client o = (Client) Server.playerHandler.players[c.playerIndex];
                	if (Misc.random(calculateMeleeAttack()) > Misc.random(o.getCombat().calculateMeleeDefence())) {
                		c.clawDamage = Misc.random(calculateMeleeMaxHit() + 5);
    				} else {
    					c.clawDamage = Misc.random(calculateMeleeMaxHit() + 5);
                	}
                	c.clawIndex = c.playerIndex;
                	c.clawType = 1;
                } else if (c.npcIndex > 0) {
                	NPC n = Server.npcHandler.npcs[c.npcIndex];
                	if (Misc.random(calculateMeleeAttack()) > Misc.random(n.defence)) {
                		c.clawDamage = Misc.random(calculateMeleeMaxHit() + Misc.random(6));
                	} else {
    					c.clawDamage = Misc.random(calculateMeleeMaxHit() /2);
    				}
                	c.clawIndex = c.npcIndex;
                	c.clawType = 2;
                }
    Inside your
    Code:
    public void activateSpecial(int weapon, int i){
    Reply With Quote  
     

  9. #8  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Quote Originally Posted by Faris View Post
    And this?
    Code:
                case 14484:
    			c.gfx0(1950);
    			c.startAnimation(10961);
    			c.specAccuracy = 9.9;
                		c.clawDamage = 0;
    			c.specDamage = 1.10;
    
                		  if (c.playerIndex > 0) {
                	Client o = (Client) Server.playerHandler.players[c.playerIndex];
                	if (Misc.random(calculateMeleeAttack()) > Misc.random(o.getCombat().calculateMeleeDefence())) {
                		c.clawDamage = Misc.random(calculateMeleeMaxHit() + 5);
    				} else {
    					c.clawDamage = Misc.random(calculateMeleeMaxHit() + 5);
                	}
                	c.clawIndex = c.playerIndex;
                	c.clawType = 1;
                } else if (c.npcIndex > 0) {
                	NPC n = Server.npcHandler.npcs[c.npcIndex];
                	if (Misc.random(calculateMeleeAttack()) > Misc.random(n.defence)) {
                		c.clawDamage = Misc.random(calculateMeleeMaxHit() + Misc.random(6));
                	} else {
    					c.clawDamage = Misc.random(calculateMeleeMaxHit() /2);
    				}
                	c.clawIndex = c.npcIndex;
                	c.clawType = 2;
                }
    Inside your
    Code:
    public void activateSpecial(int weapon, int i){

    Yep, still nothing :\

    Can anyone teamview me and see if they can fix it.

    Thanks given to Faris.
    Reply With Quote  
     

  10. #9  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Still stuck on this issue.

    Note: I have a clean PI and using Failpkerz Source.
    Reply With Quote  
     

  11. #10  
    Registered Member
    Join Date
    Jan 2012
    Posts
    269
    Thanks given
    155
    Thanks received
    78
    Rep Power
    50
    You've seen this topic?:
    http://www.rune-server.org/runescape...ecials-pi.html

    Make sure the ID is correct, maybe you've added your own ID for the claws thats why its not working.
    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. Replies: 91
    Last Post: 08-01-2011, 03:38 AM
  2. Dragon Claws
    By Tyluur in forum Show-off
    Replies: 56
    Last Post: 11-02-2010, 12:09 AM
  3. Replies: 0
    Last Post: 07-26-2009, 10:28 AM
  4. help getting rune claws with dragon claws spec
    By pkownage135 in forum Help
    Replies: 4
    Last Post: 02-02-2009, 07:24 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
  •