Thread: 12 Easy Errors? [Help ASAP]

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 12 Easy Errors? [Help ASAP] 
    Registered Member
    Join Date
    Jun 2010
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Hello, Here are my errors, please help me. Thank-you. P.S. I will REP++ for help.

    Reply With Quote  
     

  2. #2  
    ELECTRONIC ENGINEER
    Scratch.'s Avatar
    Join Date
    Sep 2009
    Age
    28
    Posts
    0
    Thanks given
    53
    Thanks received
    66
    Rep Power
    0
    you have case 9178 stated twice remove it.

    Latest work in a year.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Spoof's Avatar
    Join Date
    Jun 2009
    Age
    14
    Posts
    1,475
    Thanks given
    105
    Thanks received
    122
    Rep Power
    1634
    Read where it says "Duplicate case label".

    That means those cases are already placed, so search for them, and remove them if there useless, but if not, then switch your case Id's.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Thanks , Im down to the errors that arent cases, i fixed the case ones please help with the other ones,

    8 left!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Darna's Avatar
    Join Date
    Jan 2008
    Age
    31
    Posts
    488
    Thanks given
    11
    Thanks received
    4
    Rep Power
    163
    for
    armadylKill += 1 try
    Code:
    temp.armadylKill +=1;
    etc
    +xxxKill change into
    Code:
    "+xxxKill+"
    Should work

    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2010
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    i dont understand ^ please expand on this
    Reply With Quote  
     

  7. #7  
    Registered Member
    Darna's Avatar
    Join Date
    Jan 2008
    Age
    31
    Posts
    488
    Thanks given
    11
    Thanks received
    4
    Rep Power
    163
    Look u have in ur code something like this

    SaraKill +=1

    I guess u have all this in client.java
    If you don't write temp. behind SaraKill it will look for variable SaraKill in NpcHandler
    There aren't SaraKill in NpcHandler so it throw out error

    So u must change all xxxKill += 1; for temp.xxxKill +=1;

    With temp u give compiler a signal to look in client.java for variable xxxKill


    Next in sM's u want to it to read variables but u do it wrong it's not "+VARIABLE it must be "+variable+". Remember "" ale always must be closed. There can't be one " cause it won't compile.

    So change all ur "+ZamKill "+SaraKill inside sM's to "+ZamKill+"

    Can't explain this better xD

    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2010
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Thank you! 4 More, Think you can figure them out?

    Reply With Quote  
     

  9. #9  
    Registered Member
    Darna's Avatar
    Join Date
    Jan 2008
    Age
    31
    Posts
    488
    Thanks given
    11
    Thanks received
    4
    Rep Power
    163
    U have one "
    U must close it

    U have "+ZamKill+ u should have "+ZamKill+"

    Just put between second + and ) this "

    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Jun 2010
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Thanks but it cant be cause when i do that it gives me more errors, its like this

    temp.sM("Zam Kill:" +ZamKill+);

    Its for the "zam kill:" not the +zamkill+
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

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