Jump to content
  • 0

[Help] With Java . For Bot Report .


Question

Posted

Well i put in the code.. but when i try to compile it .. it gives me errros and doesn't compile

 

can someone help me with this problem ?

 

These ar the errors....

 

  [javac] Compiling 1465 source files to C:\Users\Cloud\workspace\L2_GameServer\build\classes
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:293: cannot find symbol
    [javac] symbol  : method getPlayerPunish()
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] statement.setLong(1, punished.getPlayerPunish().getPunishTimeLeft());
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:327: cannot find symbol
    [javac] symbol  : variable CANNOT_REPORT_IN_WARZONE_PEACEZONE_CLANWAR_OLYMPIAD
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] reporter.sendPacket(new SystemMessage(SystemMessageId.CANNOT_REPORT_IN_WARZONE_PEACEZONE_CLANWAR_OLYMPIAD));
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:340: cannot find symbol
    [javac] symbol  : method hasEarnedExp()
    [javac] location: class com.l2jserver.gameserver.model.actor.stat.PcStat
    [javac] if (!reported.getStat().hasEarnedExp())
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:370: cannot find symbol
    [javac] symbol  : variable _account
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] if(reporter._account == null)
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:371: cannot find symbol
    [javac] symbol  : variable _account
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] reporter._account = new L2Account(reporter.getAccountName());
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:374: cannot find symbol
    [javac] symbol  : variable _account
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] if(reporter._account.getReportsPoints() == 0)
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:376: cannot find symbol
    [javac] symbol  : variable YOU_CAN_REPORT_IN_S1_MINUTES_S2_REPORT_POINTS_REMAIN_IN_ACCOUNT
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] SystemMessage sm = new SystemMessage(SystemMessageId.YOU_CAN_REPORT_IN_S1_MINUTES_S2_REPORT_POINTS_REMAIN_IN_ACCOUNT);
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:390: cannot find symbol
    [javac] symbol  : variable YOU_CAN_REPORT_IN_S1_MINUTES_S2_REPORT_POINTS_REMAIN_IN_ACCOUNT
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] SystemMessage sm = new SystemMessage(SystemMessageId.YOU_CAN_REPORT_IN_S1_MINUTES_S2_REPORT_POINTS_REMAIN_IN_ACCOUNT);
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:392: cannot find symbol
    [javac] symbol  : variable _account
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] sm.addNumber(reporter._account.getReportsPoints());
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:402: cannot find symbol
    [javac] symbol  : variable CANNOT_REPORT_ALREDY_REPORTED_FROM_YOUR_CLAN_OR_IP
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] reporter.sendPacket(new SystemMessage(SystemMessageId.CANNOT_REPORT_ALREDY_REPORTED_FROM_YOUR_CLAN_OR_IP));
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:408: cannot find symbol
    [javac] symbol  : variable CANNOT_REPORT_ALAREDY_REPORTED_FROM_SAME_ACCOUNT
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] reporter.sendPacket(new SystemMessage(SystemMessageId.CANNOT_REPORT_ALAREDY_REPORTED_FROM_SAME_ACCOUNT));
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:423: cannot find symbol
    [javac] symbol  : variable CANNOT_REPORT_ALREDY_REPORTED_FROM_YOUR_CLAN_OR_IP
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] reporter.sendPacket(new SystemMessage(SystemMessageId.CANNOT_REPORT_ALREDY_REPORTED_FROM_YOUR_CLAN_OR_IP));
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:431: cannot find symbol
    [javac] symbol  : variable CANNOT_REPORT_ALREDY_REPORTED_FROM_YOUR_CLAN_OR_IP
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] reporter.sendPacket(new SystemMessage(SystemMessageId.CANNOT_REPORT_ALREDY_REPORTED_FROM_YOUR_CLAN_OR_IP));
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:437: cannot find symbol
    [javac] symbol  : variable _account
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] reporter._account.reducePoints();
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:447: cannot find symbol
    [javac] symbol  : method setFirstExp(long)
    [javac] location: class com.l2jserver.gameserver.model.actor.stat.PcStat
    [javac] activeChar.getStat().setFirstExp(activeChar.getExp());
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:449: cannot find symbol
    [javac] symbol  : variable _account
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] activeChar._account = new L2Account(activeChar.getAccountName());
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:498: cannot find symbol
    [javac] symbol  : method setPunishDueBotting(com.l2jserver.gameserver.util.BotPunish.Punish,int)
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] activeChar.setPunishDueBotting(p, (int) left);
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\instancemanager\BotManager.java:501: cannot find symbol
    [javac] symbol  : method endPunishment()
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] activeChar.endPunishment();
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\network\serverpackets\MoveToLocation.java:54: cannot find symbol
    [javac] symbol  : variable ENABLE_BOTREPORT
    [javac] location: class com.l2jserver.Config
    [javac] if(_cha instanceof L2PcInstance && Config.ENABLE_BOTREPORT)
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\network\serverpackets\MoveToLocation.java:57: cannot find symbol
    [javac] symbol  : method isBeingPunished()
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] if(actor.isBeingPunished())
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\network\serverpackets\MoveToLocation.java:59: cannot find symbol
    [javac] symbol  : method getPlayerPunish()
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] if(actor.getPlayerPunish().canWalk() && actor.getPlayerPunish().getBotPunishType() == BotPunish.Punish.MOVEBAN)
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\network\serverpackets\MoveToLocation.java:59: cannot find symbol
    [javac] symbol  : method getPlayerPunish()
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] if(actor.getPlayerPunish().canWalk() && actor.getPlayerPunish().getBotPunishType() == BotPunish.Punish.MOVEBAN)
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\network\serverpackets\MoveToLocation.java:61: cannot find symbol
    [javac] symbol  : method endPunishment()
    [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2PcInstance
    [javac] actor.endPunishment();
    [javac] ^
    [javac] C:\Users\Cloud\workspace\L2_GameServer\java\com\l2jserver\gameserver\network\serverpackets\MoveToLocation.java:65: cannot find symbol
    [javac] symbol  : variable REPORTED_120_MINS_WITHOUT_MOVE
    [javac] location: class com.l2jserver.gameserver.network.SystemMessageId
    [javac] actor.sendPacket(new SystemMessage(SystemMessageId.REPORTED_120_MINS_WITHOUT_MOVE));
    [javac] ^
    [javac] 24 errors

BUILD FAILED

 

The bot report code is from maxcheaters forum >>>>> http://www.maxcheaters.com/forum/index.php?topic=136688.0

 

P.S. sorry for that last post.... I didn't saw this forum

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...