Thread: someone take a look at this -pic

Results 1 to 5 of 5
  1. #1 someone take a look at this -pic 
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6



    Anyone know how to remove that? here is a few lines of where the nullpointer is-

    if (Server.playerHandler.players[c.killerId].connectedFrom.equals(Server.playerHandler.players[c.playerKilled].connectedFrom)) {
    o.sendMessage("You Don't Recieve PK Points for killing yourself!");
    if(isDead && respawnTimer == -6) {
    getPA().applyDead();
    }
    players[i].processPackets = 0;
    players[i].process();
    and finally,

    playerHandler.process();
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    No, that is not where the nullpointer is, it's in the bankItem method.
    Also use code tags and not quote please.
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  3. #3  
    Registered Member
    whac's Avatar
    Join Date
    Nov 2011
    Posts
    176
    Thanks given
    35
    Thanks received
    84
    Rep Power
    245
    Notice: java.lang.ArrayIndexOutOfBoundsException, with the out of bounds element ID being -1. You might want to try checking the element ID first.
    Reply With Quote  
     

  4. #4  
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    they are code tags, well that shows up when someone dies from an npc i think.



    and also about the out of bounds, its this?


    Code:
    		if (!Item.itemIsNote[c.playerItems[fromSlot]-1]) {
    			if (c.playerItems[fromSlot] <= 0) {
    				return false;
    Reply With Quote  
     

  5. #5  
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    anyone?
    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. my pic
    By i bl0ody i in forum Showcase
    Replies: 6
    Last Post: 02-09-2010, 11:53 PM
  2. Pic's of me ^^
    By Flow in forum Images
    Replies: 23
    Last Post: 08-12-2009, 11:15 PM
  3. Replies: 5
    Last Post: 02-22-2009, 10:03 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
  •