Thread: [PI] Auto Keep

Results 1 to 4 of 4
  1. #1 [PI] Auto Keep 
    Registered Member
    Join Date
    Jun 2009
    Posts
    254
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    Where do you make an item drop on the floor and only seen able by the person who died with it?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    Umm I haven't done RS in a while.
    Open ItemAssistant.java and search for: public void dropAllItems() {
    You'll see:
    Code:
    Server.itemHandler.createGroundItem(o, 526, c.getX(), c.getY(), 1, c.killerId);
    Change it to:
    Code:
    Server.itemHandler.createGroundItem(o, 526, c.getX(), c.getY(), 1, c.playerId);
    I'm not exactly sure, just try this.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Dec 2008
    Posts
    1,010
    Thanks given
    0
    Thanks received
    1
    Rep Power
    271
    Quote Originally Posted by jakehop22 View Post
    Umm I haven't done RS in a while.
    Open ItemAssistant.java and search for: public void dropAllItems() {
    You'll see:
    Code:
    Server.itemHandler.createGroundItem(o, 526, c.getX(), c.getY(), 1, c.killerId);
    Change it to:
    Code:
    Server.itemHandler.createGroundItem(o, 526, c.getX(), c.getY(), 1, c.playerId);
    I'm not exactly sure, just try this.
    This.
    In absence of a real father figure I looked to Dr House for guidance through my turbulent teenaged years.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Mar 2010
    Posts
    1,011
    Thanks given
    2
    Thanks received
    4
    Rep Power
    11
    Any idea how to make it so certain items be dropped (like make custom items just like the torso, defender, and void)? From what I can see, the code just changes who sees the items from the person that killed him to himself.
    Looking to join a team of developers* to work on a RSPS.
    Will put in time and effort for the project.

    * Developers must have basic understanding of Java. I would love to work and learn from experts, but it's rare that they would want to work with someone that isn't on the same level as them.
    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. Auto
    By Zᴀᴄʜ in forum Help
    Replies: 1
    Last Post: 08-26-2009, 07:15 AM
  2. auto DC
    By sheezy2 in forum Help
    Replies: 4
    Last Post: 02-21-2009, 01:09 AM
  3. Auto Ip Ban. PLEASE HELP
    By sheezy2 in forum Help
    Replies: 5
    Last Post: 02-07-2009, 01:41 AM
  4. Replies: 65
    Last Post: 04-10-2008, 04:42 AM
  5. Replies: 2
    Last Post: 07-14-2007, 09:09 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
  •