Thread: Help ...cannot be resolved!

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11  
    Donator
    Ange's Avatar
    Join Date
    Apr 2018
    Posts
    43
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Goody View Post
    import PlayerHandler or if you don't have it, then change it to what it's supposed to be. Also try replacing "Client" with "Player"
    yes replacing client with player worked, thanks! EDITED: I found playerhandler, so now I need to import it ?
    Reply With Quote  
     

  2. #12  
    Extreme Donator


    Join Date
    Aug 2016
    Posts
    597
    Thanks given
    109
    Thanks received
    96
    Rep Power
    254
    Quote Originally Posted by John1 View Post
    yes replacing client with player worked, thanks! But I can't find playerHandler but I don't understand what you say ``then change it to what it's supposed to be.``
    Well i'd imagine you copied that from another base which is why you have all those errors. Half of those classes don't exist on your source so there is no "type" that exists. You would have to know what class is equivalent to PlayerHandler which is why I said "change it to what it's supposed to be". You didn't mention what base you're using so it's not like we can tell you what class to use. Maybe World.java if you have it? I'd imagine thats what it would be on ruse. World.getPlayers() otherwise I have no idea. Take a wild guess or use Eclipse and the search button and have at it
    Reply With Quote  
     

  3. #13  
    Donator
    Ange's Avatar
    Join Date
    Apr 2018
    Posts
    43
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Jmusic View Post
    Sometimes it could also be you IDE, I've experienced this problem a few times with eclipse. You have to sometimes try refreshing, closing and opening eclipse again, try deleting and reimporting, if its a maven project, try updating dependencies. This is what usually solves my problem.If thats not the case, the IDE is trying to find a PlayerHandler class which it cannot resolve at that point.
    I did something and now I have this. https://gyazo.com/f64f469a774845a418fc8308be1465e4

    Added this on player.java https://gyazo.com/04c346a607f6cce0ad13737336761696

    and this on playerhandler https://gyazo.com/ab6e07f4e161ebe4a54cdbdc6f499f60

    Quote Originally Posted by Goody View Post
    Well i'd imagine you copied that from another base which is why you have all those errors. Half of those classes don't exist on your source so there is no "type" that exists. You would have to know what class is equivalent to PlayerHandler which is why I said "change it to what it's supposed to be". You didn't mention what base you're using so it's not like we can tell you what class to use. Maybe World.java if you have it? I'd imagine thats what it would be on ruse. World.getPlayers() otherwise I have no idea. Take a wild guess or use Eclipse and the search button and have at it
    I'm using oak osrs pkv1, I forgot to ask if I can use any code I find on other base ? oups Edited: yes I have world.java
    Reply With Quote  
     

  4. #14  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    You should learn how to program from scratch before trying to do things you don't understand.
    It'll work out better that way.
    https://www.udemy.com/java-tutorial/
    Attached image
    Reply With Quote  
     

  5. #15  
    Donator
    Ange's Avatar
    Join Date
    Apr 2018
    Posts
    43
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Tesla View Post
    You should learn how to program from scratch before trying to do things you don't understand.
    It'll work out better that way.
    https://www.udemy.com/java-tutorial/
    yes nice idea, I think I'm too quick into the project. I'm actually watching youtube video explaining java ``pure``
    Reply With Quote  
     

  6. #16  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,084
    Thanks given
    0
    Thanks received
    1,043
    Rep Power
    3608
    Quote Originally Posted by John1 View Post
    I did something and now I have this. https://gyazo.com/f64f469a774845a418fc8308be1465e4

    Added this on player.java https://gyazo.com/04c346a607f6cce0ad13737336761696

    and this on playerhandler https://gyazo.com/ab6e07f4e161ebe4a54cdbdc6f499f60



    I'm using oak osrs pkv1, I forgot to ask if I can use any code I find on other base ? oups Edited: yes I have world.java
    again, you're copying and pasting tutorials and snippets and expecting them to work with every base without any apparent changes or refactoring whatsoever.
    Reply With Quote  
     

  7. #17  
    Donator
    Ange's Avatar
    Join Date
    Apr 2018
    Posts
    43
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Omelete View Post
    again, you're copying and pasting tutorials and snippets and expecting them to work with every base without any apparent changes or refactoring whatsoever.
    Don't need to spam what you just said earlier, thanks.
    Reply With Quote  
     

  8. #18  
    Registered Member

    Join Date
    Dec 2017
    Posts
    43
    Thanks given
    3
    Thanks received
    13
    Rep Power
    77
    Quote Originally Posted by John1 View Post
    Don't need to spam what you just said earlier, thanks.
    hes literally saying copying and pasting will NOT work, idk why you don't understand that
    Reply With Quote  
     

  9. #19  
    Donator
    Ange's Avatar
    Join Date
    Apr 2018
    Posts
    43
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Layna View Post
    hes literally saying copying and pasting will NOT work, idk why you don't understand that
    I don't understand why you in help section ?
    Reply With Quote  
     

  10. #20  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,084
    Thanks given
    0
    Thanks received
    1,043
    Rep Power
    3608
    Quote Originally Posted by John1 View Post
    I don't understand why you in help section ?
    i don't understand why you copying and pasting?
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 LastLast

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: 0
    Last Post: 04-14-2014, 11:20 PM
  2. Replies: 4
    Last Post: 08-12-2013, 06:58 PM
  3. Replies: 2
    Last Post: 07-25-2013, 01:33 AM
  4. Replies: 12
    Last Post: 04-30-2013, 07:00 PM
  5. Replies: 0
    Last Post: 10-30-2008, 11:50 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
  •