Thread: PvP Random Drops - ++Repping

Results 1 to 10 of 10
  1. #1 PvP Random Drops - ++Repping 
    Registered Member
    Markian's Avatar
    Join Date
    Apr 2009
    Posts
    613
    Thanks given
    17
    Thanks received
    26
    Rep Power
    373
    I coded in the PvP delta system in the tutorials section, but when someone dies they don't get a random drop. How can I make it so when a player dies theres a random drop? Giving ++++++REP.
     

  2. #2  
    Registered Member
    Join Date
    Dec 2008
    Posts
    207
    Thanks given
    1
    Thanks received
    0
    Rep Power
    14
    youdied() method?

    where they items are added to the ground, add it the random item stuff.
     

  3. #3  
    Registered Member
    Markian's Avatar
    Join Date
    Apr 2009
    Posts
    613
    Thanks given
    17
    Thanks received
    26
    Rep Power
    373
    Quote Originally Posted by americanboyg View Post
    youdied() method?

    where they items are added to the ground, add it the random item stuff.
    How could I do that?
     

  4. #4  
    Banned

    Join Date
    Jan 2007
    Age
    30
    Posts
    4,417
    Thanks given
    3
    Thanks received
    105
    Rep Power
    0
    Drophandler.
     

  5. #5  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Use an array to make a list of drops then add a randomizer like the one for deltas clue scrolls...Then make it drop one of the random items when a player dies
     

  6. #6  
    Banned

    Join Date
    Jul 2008
    Posts
    1,043
    Thanks given
    209
    Thanks received
    46
    Rep Power
    0
    you put ++Rep so first rep and then help xD
    otherwise put Rep++.
     

  7. #7  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by Witch King View Post
    you put ++Rep so first rep and then help xD
    otherwise put Rep++.
    Rep whore....
     

  8. #8  
    Registered Member Hexagon's Avatar
    Join Date
    May 2008
    Posts
    672
    Thanks given
    28
    Thanks received
    18
    Rep Power
    33
    seatch for:
    Code:
    if (deathStage == 2 && System.currentTimeMillis() - deathTimer >= 2500 && !isInPitGame() && !IsInFightCave())
    and add

    killerz.getDrop();

    =]

    Extra:
    making a On and Off on the loot:
    declare:
    Code:
    public boolean bountydrop = true;
    so it will be already on when server stats

    commands:
    Code:
    ~if(command.startsWith("bountydrop") && playerRights >= 3) {
    yell("Bounty drops has turned on by " + playerName);
    bountydrop = true;
    }
    if(command.startsWith("bountyoff") && playerRights >= 3) {
    yell("Bounty drops has turned off by " + playerName);
    bountydrop = false;
    }
    and where you added the: getdrop()

    replace with:
    Code:
    			if(bountydrop == true){
    			killerz.getDrop();
    			}
    did all by myself
     

  9. #9  
    Registered Member
    AMG A Bear's Avatar
    Join Date
    Jun 2008
    Posts
    1,157
    Thanks given
    27
    Thanks received
    87
    Rep Power
    945
    ~if(command.startsWith("bountydrop") && playerRights >= 3) {

    What is that? lol
    Quote Originally Posted by The Night Life View Post
    Errm. I had a similar idea a very long time ago, about instead of current rs's gameframe, (622) making a rsps with about a 1645 or something. Make it look like you walked outside. I even gathered proffesional computer programmers to help, but bailed on the idea after i realized if we all worked on it non-stop for months at a time, we'd barely get any progress. (unless you wanted to half ass it)
     

  10. #10  
    Registered Member Hexagon's Avatar
    Join Date
    May 2008
    Posts
    672
    Thanks given
    28
    Thanks received
    18
    Rep Power
    33
    ahh... didn't saw... ignore the ~
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •