Thread: Player VS Player Drops

Results 1 to 3 of 3
  1. #1 Player VS Player Drops 
    Registered Member
    Join Date
    Jan 2010
    Posts
    41
    Thanks given
    10
    Thanks received
    0
    Rep Power
    1
    EDIT: FIxed you can lock this now.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2016
    Posts
    110
    Thanks given
    14
    Thanks received
    28
    Rep Power
    61
    This is most likely because the "owner" of the grounditem is not the killer, look at the parameters of the World.addGroundItem method, you should see a parameter called "owner" there. This is the player that can see the drops, regardless of the "hidden" timer (the time it takes till the loot is shown for all people)

    If you have trouble with this, or it is coded differently in your server, consider having a look at the npc drop method (which adds a ground item with the killer as the owner) and compare the 2.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    41
    Thanks given
    10
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by GerbenxB View Post
    This is most likely because the "owner" of the grounditem is not the killer, look at the parameters of the World.addGroundItem method, you should see a parameter called "owner" there. This is the player that can see the drops, regardless of the "hidden" timer (the time it takes till the loot is shown for all people)

    If you have trouble with this, or it is coded differently in your server, consider having a look at the npc drop method (which adds a ground item with the killer as the owner) and compare the 2.

    Thanks looked into it and found what was wrong with it.
    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: 35
    Last Post: 09-12-2013, 06:45 PM
  2. [No-Doze] Player vs. Player Item Dropping Fix
    By Mikey` in forum Snippets
    Replies: 7
    Last Post: 11-11-2011, 09:14 PM
  3. Dodian Player vs Player.
    By c u in lumb in forum Help
    Replies: 0
    Last Post: 04-29-2009, 05:23 AM
  4. player vs player (delta)
    By harmy in forum Help
    Replies: 4
    Last Post: 04-15-2009, 03:46 AM
  5. The real Player vs Player.
    By Grey in forum Tutorials
    Replies: 8
    Last Post: 09-23-2007, 08:00 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
  •