[DEV]DjSt3rios Posted February 4, 2011 Posted February 4, 2011 Hello guys, i found a CTF Event for Gracia (http://www.maxcheaters.com/forum/index.php?topic=49821.0) But i put it in interlude. I fixed some errors, but i have one last error which i can not fix and i need your help. I have error in this line: RadarOnPlayer radar = rdr.new RadarOnPlayer(hasFlag, player); and on L2Radar.java file i have this code for RadarOnPlayer public class RadarOnPlayer implements Runnable { private final L2PcInstance _myTarget, _me; public RadarOnPlayer(L2PcInstance target, L2PcInstance me) { _me = me; _myTarget = target; } public void run() { try { if (_me == null || _me.isOnline()==0) return; _me.sendPacket(new RadarControl(1, 1, _me.getX(), _me.getY(), _me.getZ())); if (_myTarget == null || _myTarget.isOnline()==0 || !_myTarget._haveFlagCTF) return; _me.sendPacket(new RadarControl(0, 1, _myTarget.getX(), _myTarget.getY(), _myTarget.getZ())); ThreadPoolManager.getInstance().scheduleGeneral(new RadarOnPlayer(_myTarget,_me), 15000); } catch(Throwable t) {} } } Could someone help me? any ideas how to fix it? Thanks in advanced.
0 [DEV]DjSt3rios Posted February 4, 2011 Author Posted February 4, 2011 L2Radar.RadarOnPlayer cannot be resolved to a type
0 xuinia Posted February 4, 2011 Posted February 4, 2011 Did you put import com.l2jserver.gameserver.............. instead of .............. should be file were RadarOnPlayer is defined?
0 Matim Posted February 4, 2011 Posted February 4, 2011 I fixed it, thanks anyway. Problem solved, topic locked.
Question
[DEV]DjSt3rios
Hello guys, i found a CTF Event for Gracia (http://www.maxcheaters.com/forum/index.php?topic=49821.0) But i put it in interlude. I fixed some errors, but i have one last error which i can not fix and i need your help.
I have error in this line:
and on L2Radar.java file i have this code for RadarOnPlayer
Could someone help me? any ideas how to fix it? Thanks in advanced.
5 answers to this question
Recommended Posts