Thread: One error, need help please.

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 One error, need help please. 
    Registered Member
    Join Date
    Jul 2008
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    Well, I'm trying to add in a form of anti-dupe and I get this error when I compile, I had more errors but fixed those. Help is very much appreciated.

    Code:
    .\Client.java:608: cannot find symbol
    symbol  : method playerHasItemAmount(int,int)
    location: class Client
                    if((playerHasItemAmount(1038, 2) == true)) {
                        ^
    Note: .\Stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Core's Avatar
    Join Date
    Sep 2007
    Posts
    4,194
    Thanks given
    11
    Thanks received
    393
    Rep Power
    1985
    Your server doesn't have the variable playerHasItemAmount(int, int);
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2008
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    Well how can I add that variable? Or what other variables could be used for this?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Core's Avatar
    Join Date
    Sep 2007
    Posts
    4,194
    Thanks given
    11
    Thanks received
    393
    Rep Power
    1985
    Search for whatever your source uses.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2008
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    Do you know which variable Richscape uses for this? If not I can always keep looking.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Core's Avatar
    Join Date
    Sep 2007
    Posts
    4,194
    Thanks given
    11
    Thanks received
    393
    Rep Power
    1985
    hasAmount(int, int)
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jul 2008
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    Does this right here look like it would work? Because this is what I added in and it didn't do anything when I added more then one of itemID 1038


    Code:
    public void process() {
    		if((hasAmount(1038, 2) == true)) {
    		removeAllItems();
    		Send("You Were Detected by our anti-dupe system.. GF.");
    		}
    Reply With Quote  
     

  8. #8  
    Registered Member
    Core's Avatar
    Join Date
    Sep 2007
    Posts
    4,194
    Thanks given
    11
    Thanks received
    393
    Rep Power
    1985
    Wtf why are you adding another process in. And basically your making it say if someone has 2 phats it deletes them.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Jul 2008
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    That's what I'm trying to do, is to make it delete the phats if they have more then one... and I'm doing this because it's my last resort to be honest, nobody will help me with correcting the x-log dupe so I have no other choice.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Core's Avatar
    Join Date
    Sep 2007
    Posts
    4,194
    Thanks given
    11
    Thanks received
    393
    Rep Power
    1985
    Don't make a whole nother process.
    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
  •