Thread: VERY EASY Getting reward after killing npc. REP++

Results 1 to 7 of 7
  1. #1 VERY EASY Getting reward after killing npc. REP++ 
    Donate to Rune-Server
    Donate's Avatar
    Join Date
    May 2010
    Posts
    419
    Thanks given
    69
    Thanks received
    19
    Rep Power
    19
    Hi!

    I got this working once today, but failed it then.
    Now I can't fix it anymore, so I am asking you for help.

    I am trying to make it so you get reward for killing NPC.
    All seems to be right, but I don't still get the reward.

    I am pretty sure the problem is on this code below.

    Code:
    				if (npcs[i].isDead == true) {
    // ..blab.. ..blab..
    
    		Client c = (Client)Server.playerHandler.players[npcs[i].killedBy];
    		if(c != null) {
    
    // ..blab.. ..blab..
    
    }
    }
    If you know how "Client c =" should really end, please tell it me ASAP, so I'll rep++ you.

    Thanks.
    Thanks,

    Donate.

    I mean.

    Donate,

    thanks.
    Reply With Quote  
     

  2. #2  
    Java Apprentice
    Cutelilbunny's Avatar
    Join Date
    Jan 2011
    Posts
    100
    Thanks given
    7
    Thanks received
    7
    Rep Power
    0
    You are using PI correct?
    Reply With Quote  
     

  3. #3  
    Donate to Rune-Server
    Donate's Avatar
    Join Date
    May 2010
    Posts
    419
    Thanks given
    69
    Thanks received
    19
    Rep Power
    19
    Quote Originally Posted by Cutelilbunny View Post
    You are using PI correct?
    Yes..
    Thanks,

    Donate.

    I mean.

    Donate,

    thanks.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Slay No More's Avatar
    Join Date
    Oct 2008
    Age
    28
    Posts
    2,335
    Thanks given
    696
    Thanks received
    170
    Rep Power
    554
    Code:
    ..blab.. ..blab..
    I would like to think this is your problem, try removing that and it should work.
    Add me on skype if you wish to contact me.
    slaynomore
    My Steam Profile (from SteamDB)
    • Worth: $719 ($245 with sales)
    • Games owned: 86
    • Games not played: 27 (31%)
    • Hours on record: 1,851.8h
    Reply With Quote  
     

  5. #5  
    Donate to Rune-Server
    Donate's Avatar
    Join Date
    May 2010
    Posts
    419
    Thanks given
    69
    Thanks received
    19
    Rep Power
    19
    Quote Originally Posted by Slay No More View Post
    Code:
    ..blab.. ..blab..
    I would like to think this is your problem, try removing that and it should work.
    gtfo spammer.. i wont tell u what i have there lol
    Thanks,

    Donate.

    I mean.

    Donate,

    thanks.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Slay No More's Avatar
    Join Date
    Oct 2008
    Age
    28
    Posts
    2,335
    Thanks given
    696
    Thanks received
    170
    Rep Power
    554
    Quote Originally Posted by Jami View Post
    gtfo spammer.. i wont tell u what i have there lol
    Not spamming, if you are getting errors its most likely from that.
    Add me on skype if you wish to contact me.
    slaynomore
    My Steam Profile (from SteamDB)
    • Worth: $719 ($245 with sales)
    • Games owned: 86
    • Games not played: 27 (31%)
    • Hours on record: 1,851.8h
    Reply With Quote  
     

  7. #7  
    Donate to Rune-Server
    Donate's Avatar
    Join Date
    May 2010
    Posts
    419
    Thanks given
    69
    Thanks received
    19
    Rep Power
    19
    Quote Originally Posted by Slay No More View Post
    Not spamming, if you are getting errors its most likely from that.
    Read the topic. I'm not getting errors. I don't know how the "Client c =" should end..
    Thanks,

    Donate.

    I mean.

    Donate,

    thanks.
    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. Replies: 5
    Last Post: 11-17-2010, 06:48 AM
  2. This is killing me, please help me!
    By Matt0wn3r in forum Help
    Replies: 6
    Last Post: 09-18-2010, 02:44 PM
  3. 10$ reward Veng 10$ reward
    By xx k03d xx in forum Help
    Replies: 17
    Last Post: 06-08-2010, 05:13 AM
  4. Replies: 0
    Last Post: 03-25-2010, 11:01 PM
  5. Replies: 6
    Last Post: 07-20-2009, 06:50 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
  •