Thread: [PI] My GMaul spec isn't working

Results 1 to 9 of 9
  1. #1 [PI] My GMaul spec isn't working 
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Base: PI 474 release
    Problem: My GMaul spec isn't working, gimme a hand. If you need any codes I'll post them a.s.a.p.
    Errors(Compiling Errors):
    Other Information/Media(Pictures, etc):


    Thanks in advance.
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2009
    Posts
    844
    Thanks given
    44
    Thanks received
    39
    Rep Power
    29
    Against player's or npc's? or both...
    Mind providing more information other then it doesn't work?
    Reply With Quote  
     

  3. #3  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Quote Originally Posted by i0wn3v3ry View Post
    Against player's or npc's? or both...
    Mind providing more information other then it doesn't work?
    Other than*

    Nope, I don't mind at all
    It simply doesn't work. Against anything. When I wield it, it attacks fine but if I click the "Special Attack" button, noting happens. And I mean nothing, the bar doesn't even get highlighted like the rest of the specs. I've already seen a couple of snippets on the GMaul spec, but still nothing.
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2009
    Posts
    844
    Thanks given
    44
    Thanks received
    39
    Rep Power
    29
    Since you think you're a pro speller, and become a pro coder, and fuck off.

    I'm not in school, therefor I don't need to spell correctly.

    inb4Itroll.

    goodluck.
    Reply With Quote  
     

  5. #5  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Replace Case 29038 in Clickingbuttons.java with this.

    Code:
    case 29038:
    			c.specBarId = 7486;
    			if (c.playerEquipment[c.playerWeapon] == 4153) {
    			c.getCombat().handleGmaulPlayer();
    			c.usingSpecial = !c.usingSpecial;
    			c.getItems().updateSpecialBar();
    			}
    			break;
    Your welcome, post if it worked/had errors.
    Reply With Quote  
     

  6. #6  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Quote Originally Posted by i0wn3v3ry View Post
    Since you think you're a pro speller, and become a pro coder, and fuck off.

    I'm not in school, therefor I don't need to spell correctly.

    inb4Itroll.

    goodluck.
    First off, your first sentence makes no sense. At all. Secondly, it's written therefore. And third, you're never "in" school, you may be "at" school.

    Go be a wannabe elsewhere please. Flame your dad because he didn't give you a proper education. It's polite to correct and even politer to be polite when corrected. I don't need your help, there are other people in this community that actually help without being balloon knot a**-ho**s



    Quote Originally Posted by xGenesis R View Post
    Replace Case 29038 in Clickingbuttons.java with this.

    Code:
    case 29038:
    			c.specBarId = 7486;
    			if (c.playerEquipment[c.playerWeapon] == 4153) {
    			c.getCombat().handleGmaulPlayer();
    			c.usingSpecial = !c.usingSpecial;
    			c.getItems().updateSpecialBar();
    			}
    			break;
    Your welcome, post if it worked/had errors.
    There's a 'small' problem, the spec now works like this:
    GMaul Spec - Screencast
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  7. #7  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Bump
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  8. #8  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Code:
    case 29038:
    			c.specBarId = 7486;
    			if (c.specAmount >= 5) {
    				c.attackTimer = 0;
    				c.getCombat().attackPlayer(c.playerIndex);
    				c.usingSpecial = true;
    				c.specAmount -= 5;
    			}
    			c.getCombat().handleGmaulPlayer();
    			c.getItems().updateSpecialBar();
    			break;
    Code:
    	public void handleGmaulPlayer() {
    		if (c.playerIndex > 0) {
    			Client o = (Client)Server.playerHandler.players[c.playerIndex];
    			if (c.goodDistance(c.getX(), c.getY(), o.getX(), o.getY(), c.getCombat().getRequiredDistance())) {
     				if (c.getCombat().checkReqs()) {
    					if (c.getCombat().checkSpecAmount(4153)) {						
     						boolean hit = Misc.random(c.getCombat().calculateMeleeAttack()) > Misc.random(o.getCombat().calculateMeleeDefence());
    						int damage = 0;
    						if (hit)
    							damage = Misc.random(c.getCombat().calculateMeleeMaxHit());
    						if (o.prayerActive[18] && System.currentTimeMillis() - o.protMeleeDelay > 1500)
    							damage *= .6;
    						if(o.playerLevel[3] - damage <= 0) {
    							damage = o.playerLevel[3];
    						}
    						if(o.playerLevel[3] > 0) {
    							o.handleHitMask(damage);
    							c.startAnimation(1667);
    							o.gfx100(337);
    							o.dealDamage(damage);
    						}
    					}	
    				}	
    			}			
    		} else if(c.npcIndex > 0) {
    			int x = Server.npcHandler.npcs[c.npcIndex].absX;
    			int y = Server.npcHandler.npcs[c.npcIndex].absY;
    			if (c.goodDistance(c.getX(), c.getY(), x, y, 2)) {
    				if (c.getCombat().checkReqs()) {
    					if (c.getCombat().checkSpecAmount(4153)) {
    						int damage = Misc.random(c.getCombat().calculateMeleeMaxHit());
    						if(Server.npcHandler.npcs[c.npcIndex].HP - damage < 0) {
    							damage = Server.npcHandler.npcs[c.npcIndex].HP;
    						}
    						if(Server.npcHandler.npcs[c.npcIndex].HP > 0) {
    							Server.npcHandler.npcs[c.npcIndex].HP -= damage;
    							Server.npcHandler.npcs[c.npcIndex].handleHitMask(damage);
    							c.startAnimation(1667);
    							c.gfx100(337);
    						}
    					}
    				}
    			}
    		}
    	}
    CombatAssistant

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  9. #9  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Quote Originally Posted by Perpetual Abyssma View Post
    Code:
    case 29038:
    			c.specBarId = 7486;
    			if (c.specAmount >= 5) {
    				c.attackTimer = 0;
    				c.getCombat().attackPlayer(c.playerIndex);
    				c.usingSpecial = true;
    				c.specAmount -= 5;
    			}
    			c.getCombat().handleGmaulPlayer();
    			c.getItems().updateSpecialBar();
    			break;
    Code:
    	public void handleGmaulPlayer() {
    		if (c.playerIndex > 0) {
    			Client o = (Client)Server.playerHandler.players[c.playerIndex];
    			if (c.goodDistance(c.getX(), c.getY(), o.getX(), o.getY(), c.getCombat().getRequiredDistance())) {
     				if (c.getCombat().checkReqs()) {
    					if (c.getCombat().checkSpecAmount(4153)) {						
     						boolean hit = Misc.random(c.getCombat().calculateMeleeAttack()) > Misc.random(o.getCombat().calculateMeleeDefence());
    						int damage = 0;
    						if (hit)
    							damage = Misc.random(c.getCombat().calculateMeleeMaxHit());
    						if (o.prayerActive[18] && System.currentTimeMillis() - o.protMeleeDelay > 1500)
    							damage *= .6;
    						if(o.playerLevel[3] - damage <= 0) {
    							damage = o.playerLevel[3];
    						}
    						if(o.playerLevel[3] > 0) {
    							o.handleHitMask(damage);
    							c.startAnimation(1667);
    							o.gfx100(337);
    							o.dealDamage(damage);
    						}
    					}	
    				}	
    			}			
    		} else if(c.npcIndex > 0) {
    			int x = Server.npcHandler.npcs[c.npcIndex].absX;
    			int y = Server.npcHandler.npcs[c.npcIndex].absY;
    			if (c.goodDistance(c.getX(), c.getY(), x, y, 2)) {
    				if (c.getCombat().checkReqs()) {
    					if (c.getCombat().checkSpecAmount(4153)) {
    						int damage = Misc.random(c.getCombat().calculateMeleeMaxHit());
    						if(Server.npcHandler.npcs[c.npcIndex].HP - damage < 0) {
    							damage = Server.npcHandler.npcs[c.npcIndex].HP;
    						}
    						if(Server.npcHandler.npcs[c.npcIndex].HP > 0) {
    							Server.npcHandler.npcs[c.npcIndex].HP -= damage;
    							Server.npcHandler.npcs[c.npcIndex].handleHitMask(damage);
    							c.startAnimation(1667);
    							c.gfx100(337);
    						}
    					}
    				}
    			}
    		}
    	}
    CombatAssistant
    Still doesn't work and the maul is now using the full bar instead of half...
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    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. [PI]Gmaul spec not working on npc's
    By Division in forum Help
    Replies: 3
    Last Post: 05-21-2011, 02:12 AM
  2. How to add gmaul spec on PI?
    By *MartiX in forum Help
    Replies: 3
    Last Post: 01-28-2011, 04:56 PM
  3. [pi] gmaul spec
    By *MartiX in forum Help
    Replies: 1
    Last Post: 01-07-2011, 05:53 PM
  4. Gmaul Spec Hits Once not twice
    By Neekage in forum Help
    Replies: 0
    Last Post: 07-02-2010, 06:10 AM
  5. Gmaul spec help?
    By Soulevoker in forum Help
    Replies: 23
    Last Post: 04-22-2009, 11:31 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
  •