Thread: Error while compiling! rep ++ and thank

Results 1 to 4 of 4
  1. #1 Error while compiling! rep ++ and thank 
    Registered Member Saddam's Avatar
    Join Date
    Jul 2013
    Posts
    585
    Thanks given
    39
    Thanks received
    22
    Rep Power
    2
    Spoiler for error:
    starting...
    src\com\rs\net\decoders\WorldPacketsDecoder.java:6 05: error: cannot find symbol
    String name = Value;
    ^
    symbol: variable Value
    location: class WorldPacketsDecoder


    im getting this shitty error if someone can help me please??
    should i import something? i tried everything :/ please help me
    its really getting annoying cause its the only error i get please help
    Reply With Quote  
     

  2. #2  
    New Project
    Ben_U's Avatar
    Join Date
    Dec 2011
    Age
    31
    Posts
    1,711
    Thanks given
    109
    Thanks received
    360
    Rep Power
    66
    Yes, it looks like you're probably trying to add something money pouch related. If so add
    Code:
    int value = stream.readInt();
    underneath the ENTER_INTEGER_PACKET. If that's not it then under what packet do you have the error?
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jan 2014
    Posts
    376
    Thanks given
    49
    Thanks received
    111
    Rep Power
    106
    Just to add to the above post, make sure "value" starts with a lowercase "v". Java variables are case-sensitive, and convention says they should start with a lowercase letter (though it will compile ok with an uppercase letter, assuming it's been declared, it makes it easier to read )

    It could be that it's only the case which is screwing it up, so I'd definitely recommend trying that too.
    Reply With Quote  
     

  4. #4  
    Registered Member Saddam's Avatar
    Join Date
    Jul 2013
    Posts
    585
    Thanks given
    39
    Thanks received
    22
    Rep Power
    2
    Quote Originally Posted by Ben_U View Post
    Yes, it looks like you're probably trying to add something money pouch related. If so add
    Code:
    int value = stream.readInt();
    underneath the ENTER_INTEGER_PACKET. If that's not it then under what packet do you have the error?
    under this packet but its already defined there :/ any suggestion? and its lowercase
    and i get

    starting...
    src\com\rs\net\decoders\WorldPacketsDecoder.java:1 450: error: incompatible types

    String name = value;
    ^
    required: String
    found: int

    and btw its ingame highscores
    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: 3
    Last Post: 01-08-2014, 04:15 AM
  2. [PI] Compiling Errors, Will +rep and thank (d)
    By BallisticPkz in forum Help
    Replies: 10
    Last Post: 11-08-2013, 10:20 PM
  3. Compiling Error. will rep and Thank
    By krisnka in forum Help
    Replies: 1
    Last Post: 08-08-2012, 01:41 AM
  4. Replies: 0
    Last Post: 03-14-2012, 06:17 AM
  5. Compile Error ( Will Rep+ and thank )
    By Phat Stacks in forum Help
    Replies: 1
    Last Post: 02-27-2012, 04:10 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
  •