Delete Ground Items from telnet [Edited please look]
Posted: Thu Oct 29, 2009 4:26 pm
L2J Revision 6762:
L2JDP Revision 3668:
Hi mates,
I`m working on a custom command for Game Server`s telnet but i`m a bit lost and i seek some pointers to put me back on the good road. So i need to be able to run ItemsAutoDestroy class from GameStatusThread class. I added
in the import list and i changed the access modifier of CheckItemsForDestroy method from protected to public to be able to access it.
And here is my Status command i added but it doesn`t work:
The error that the compiler is giving is:
Please help
,
iamcypher
L2JDP Revision 3668:
Hi mates,
I`m working on a custom command for Game Server`s telnet but i`m a bit lost and i seek some pointers to put me back on the good road. So i need to be able to run ItemsAutoDestroy class from GameStatusThread class. I added
Code: Select all
import net.sf.l2j.gameserver.ItemsAutoDestroy;
Code: Select all
public class CheckItemsForDestroy extends Thread
Code: Select all
else if (_usrCommand.startsWith("clearitems")) {ItemsAutoDestroy.CheckItemsForDestroy();}
Code: Select all
cannot find symbol: method CheckItemsForDestroy()location: class net.sf.l2j.status.GameStatusThreadCheckItemsForDestroy();

iamcypher