Thread: Any one know why

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Any one know why 
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    anyone know why my abyssal bluegone spec shows under me and not the enemy here my spec metod

    Code:
    case 13263:
    			c.startAnimation(7010);
    			c.gfx0(1284);
    			c.specAccuracy = 1.30;
    			c.specDamage = 1.15;
    			if (c.npcIndex > 0) {
    				Experience.calculateDamageNPC(c, c.npcIndex, 0, c.doubleHit);
    			} else {
    				Experience.calculateDamagePlayer(c, i, 0, c.doubleHit);
    			}
    			break;
    rep++
    Attached image
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jan 2011
    Posts
    334
    Thanks given
    20
    Thanks received
    88
    Rep Power
    0
    Can you show us the entire method as well?
    Reply With Quote  
     

  3. #3  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by Wrecked... View Post
    Can you show us the entire method as well?

    this is the entire metod for the spec
    Attached image
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jul 2016
    Posts
    96
    Thanks given
    0
    Thanks received
    22
    Rep Power
    100
    You need to call the gfx on the npc, not the player
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Jan 2011
    Posts
    334
    Thanks given
    20
    Thanks received
    88
    Rep Power
    0
    Quote Originally Posted by sheepmonger View Post
    this is the entire metod for the spec
    But it's not
    Reply With Quote  
     

  6. #6  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,278
    Thanks given
    1,059
    Thanks received
    1,465
    Rep Power
    5000
    Is "c" the attacker or the target?
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by sheepmonger View Post
    anyone know why my abyssal bluegone spec shows under me and not the enemy here my spec metod

    Code:
    case 13263:
    			c.startAnimation(7010);
    			c.gfx0(1284);
    			c.specAccuracy = 1.30;
    			c.specDamage = 1.15;
    			if (c.npcIndex > 0) {
    				Experience.calculateDamageNPC(c, c.npcIndex, 0, c.doubleHit);
    			} else {
    				Experience.calculateDamagePlayer(c, i, 0, c.doubleHit);
    			}
    			break;
    rep++
    Code:
    Player defender = World.getWorld().getPlayers().get(i);
    case 13263:
    			defender.playGraphic(Graphic.create(1284, 0, 0));
    			attacker.playAnimation(Animation.create(3299));
    			attacker.setSpecialEffect(true);
    			break;
    Reply With Quote  
     

  8. #8  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by Bracket View Post
    Is "c" the attacker or the target?
    this purpel ting shows under me and not the npc or the player

    Attached image
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Jan 2011
    Posts
    334
    Thanks given
    20
    Thanks received
    88
    Rep Power
    0
    Quote Originally Posted by sheepmonger View Post
    this purpel ting shows under me and not the npc or the player

    Like I said, we need to see the entire method to help.

    We don't know what the names are of the variables that we need to fix your issue.
    Reply With Quote  
     

  10. #10  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by Wrecked... View Post
    Like I said, we need to see the entire method to help.

    We don't know what the names are of the variables that we need to fix your issue.
    but thats is the entire metod
    Attached image
    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. Any one know what theme this is?
    By Zanix in forum Chat
    Replies: 6
    Last Post: 03-31-2012, 07:49 AM
  2. Replies: 9
    Last Post: 04-17-2011, 01:36 PM
  3. Does Any One know How to do this ffs!
    By Akeid in forum Application Development
    Replies: 7
    Last Post: 02-07-2010, 06:30 PM
  4. Does any-one know?
    By No Go_JoE in forum Help
    Replies: 3
    Last Post: 08-12-2009, 02:38 AM
  5. any one know a good vps place to buy?
    By TLPK-SCAPE in forum Hosting
    Replies: 5
    Last Post: 04-11-2009, 05:54 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •