Thread: Items dropped on death[508]

Page 11 of 28 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 278
  1. #101  
    Banned
    Join Date
    Sep 2006
    Posts
    375
    Thanks given
    0
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by Bitlord44 View Post
    look, i changed this

    Code:
    if (g.itemGroundTime == 60) {
    to

    Code:
    if (g.itemGroundTime == 220) {
    and that makes the items appear alot faster , takes like 10 or 15 secs, but after i pickup for example the bones, i get on inv, but it stays on ground.

    does it have to do with the ground item timer? (in grounditem.java)
    if so, what do i need to change it to?
    Find:
    Code:
    if ((g.itemGroundTime <= 60
    and change that 60 to 220.
     

  2. #102  
    Registered Member Bitlord44's Avatar
    Join Date
    Jul 2008
    Posts
    603
    Thanks given
    20
    Thanks received
    34
    Rep Power
    62
    Quote Originally Posted by madman00901 View Post
    Find:
    Code:
    if ((g.itemGroundTime <= 60
    and change that 60 to 220.
    thx (mts) (mts)
    Remember, there's always an asian out there that can do something better than you.
     

  3. #103  
    alexmason_2
    Guest
    Nicely put.
     

  4. #104  
    Registered Member
    Hotyute's Avatar
    Join Date
    Jan 2008
    Posts
    2,016
    Thanks given
    7
    Thanks received
    92
    Rep Power
    1482
    Quote Originally Posted by alexmason_2 View Post
    Nicely put.
    thanks alex, love ur work too


     

  5. #105  
    Registered Member Himplx's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    515
    Thanks given
    4
    Thanks received
    7
    Rep Power
    28
    So your going to ignore me? I said that your getkiller don't work..
     

  6. #106  
    Registered Member
    Hotyute's Avatar
    Join Date
    Jan 2008
    Posts
    2,016
    Thanks given
    7
    Thanks received
    92
    Rep Power
    1482
    Quote Originally Posted by Himplx View Post
    So your going to ignore me? I said that your getkiller don't work..
    read the post that was made a veiw pages back WOW


     

  7. #107  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,322
    Thanks given
    546
    Thanks received
    1,129
    Discord
    View profile
    Rep Power
    1806
    well i did that but now i have a little problem:

    the killer cant see the stuff but the player who died sees them...

    HOW to fix???


    the killer have to wait like 2-3mins until he can see the stuff...
     

  8. #108  
    Registered Member Himplx's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    515
    Thanks given
    4
    Thanks received
    7
    Rep Power
    28
    Quote Originally Posted by mige5 View Post
    well i did that but now i have a little problem:

    the killer cant see the stuff but the player who died sees them...

    HOW to fix???


    the killer have to wait like 2-3mins until he can see the stuff...
    How to how to.. I ALREADY TOLD THAT GETKILLER METHOD IS WRONG AND ALWAYS RETURN GUY WHO DIED ID.

    thats why all this script suck. WHOLE.
     

  9. #109  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,322
    Thanks given
    546
    Thanks received
    1,129
    Discord
    View profile
    Rep Power
    1806
    well heres my method:

    public int getPlayerKiller()
    {
    int Killer = 0;
    int Count = 0;
    for(int i = 1; i < Engine.players.length; i++)
    {
    if(Killer == 0)
    {
    Killer = i;
    Count = 1;
    }
    else
    {
    if(killedBy[i] > killedBy[Killer])
    {
    Killer = i;
    Count = 1;
    }
    else if(killedBy[i] == killedBy[Killer])
    Count++;
    }
    }
    if(Count > 1)
    Killer = playerId;
    return Killer;
    }

    whats wrong in that??
     

  10. #110  
    Registered Member
    Abyssal head's Avatar
    Join Date
    May 2008
    Age
    29
    Posts
    1,255
    Thanks given
    14
    Thanks received
    22
    Rep Power
    238
    2 errors something bout Levelup =.=? meh will keep this for later

    [Only registered and activated users can see links. ]
     

Page 11 of 28 FirstFirst ... 91011121321 ... LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Tags for this Thread

View Tag Cloud

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