Your server doesn't have the variable playerHasItemAmount(int, int);
|
|
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 . . .
Your server doesn't have the variable playerHasItemAmount(int, int);
Well how can I add that variable? Or what other variables could be used for this?
Search for whatever your source uses.
Do you know which variable Richscape uses for this? If not I can always keep looking.
hasAmount(int, int)
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."); }
Wtf why are you adding another process in. And basically your making it say if someone has 2 phats it deletes them.
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.
Don't make a whole nother process.
| « Remove interface's | Walking packet.... » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |