Thread: Java nullpointer

Results 1 to 4 of 4
  1. #1 Java nullpointer 
    Registered Member 2pro's Avatar
    Join Date
    Aug 2009
    Posts
    774
    Thanks given
    15
    Thanks received
    15
    Rep Power
    66




    The error occurs when im hitting somebody and clicking away during the spec. But why?

    Edit: Error fixed.
    Quote Originally Posted by Gator God View Post
    The use of small code like this is what makes a server great.
    Quote Originally Posted by Shoes View Post
    First of all, that's my code. Second of all it is more efficient in many ways, they may not be big but it's the little things that count.
    Quote Originally Posted by Luke132 View Post
    A thread's age doesn't mean anything if the information in the topic is still relevant.
    Why is gravedigging disallowed then?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2010
    Age
    29
    Posts
    891
    Thanks given
    22
    Thanks received
    47
    Rep Power
    0
    EDIT: nvm didnt see the video

    remove this post some1
    hi
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2010
    Age
    27
    Posts
    2,528
    Thanks given
    544
    Thanks received
    584
    Rep Power
    411
    When you run away it sets ur oponoment to -1 or null, so you have to check if the oponoment is null, or -1 in the method.
    Reply With Quote  
     

  4. #4  
    Registered Member 2pro's Avatar
    Join Date
    Aug 2009
    Posts
    774
    Thanks given
    15
    Thanks received
    15
    Rep Power
    66
    Thanks. got it working
    Quote Originally Posted by Gator God View Post
    The use of small code like this is what makes a server great.
    Quote Originally Posted by Shoes View Post
    First of all, that's my code. Second of all it is more efficient in many ways, they may not be big but it's the little things that count.
    Quote Originally Posted by Luke132 View Post
    A thread's age doesn't mean anything if the information in the topic is still relevant.
    Why is gravedigging disallowed then?
    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. Nullpointer [PI]
    By Spencer4678 in forum Help
    Replies: 5
    Last Post: 06-19-2011, 09:26 PM
  2. Nullpointer, but how?
    By Cjay00091 in forum Help
    Replies: 3
    Last Post: 03-08-2011, 05:34 AM
  3. Nullpointer
    By Back in time in forum Help
    Replies: 0
    Last Post: 09-18-2010, 04:40 PM
  4. Nullpointer
    By Goro in forum Help
    Replies: 3
    Last Post: 07-14-2010, 12:53 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
  •