Ошибки при компиляции

accavit

Пляшущий с бубном
Участник
Сообщения
133
Розыгрыши
0
Решения
2
Репутация
0
Реакции
22
Баллы
220
Хроники
  1. Interlude
Исходники
Отсутствуют
Сборка
Lucera 1.7
Почему при простой компиляции .java в class компилятор javac пытается найти связи? Он не может просто скомпилить мне файл класса без всяких проверок на связи?
Вообщем, я достал из ядра класс и декомпилировал его. Поменял одну цифру и хочу заново закомпилировать обратно туда же. Но при попытке компила, что простой командой "javac *******.java", что попыткой сразу в ядро компилить командой "javac -classpath ************.jar -Xlint:unchecked -encoding utf8 **********.java" выдает одни и те же ошибки:

Код:
C:\Program Files\Java\jdk1.8.0_291\bin>javac L2GrandBossInstance.java
L2GrandBossInstance.java:3: error: package javolution.util does not exist
import javolution.util.FastList;
                      ^
L2GrandBossInstance.java:4: error: package javolution.util.FastList does not exist
import javolution.util.FastList.Node;
                               ^
L2GrandBossInstance.java:5: error: package javolution.util.FastMap does not exist
import javolution.util.FastMap.Entry;
                              ^
L2GrandBossInstance.java:6: error: cannot find symbol
import ru.catssoftware.Config;
                      ^
  symbol:   class Config
  location: package ru.catssoftware
L2GrandBossInstance.java:7: error: package ru.catssoftware.Config does not exist
import ru.catssoftware.Config.EventReward;
                             ^
L2GrandBossInstance.java:8: error: package ru.catssoftware.Config does not exist
import ru.catssoftware.Config.MobLevelReward;
                             ^
L2GrandBossInstance.java:9: error: cannot find symbol
import ru.catssoftware.gameserver.model.L2Boss;
                                       ^
  symbol:   class L2Boss
  location: package ru.catssoftware.gameserver.model
L2GrandBossInstance.java:10: error: cannot find symbol
import ru.catssoftware.gameserver.model.L2Character;
                                       ^
  symbol:   class L2Character
  location: package ru.catssoftware.gameserver.model
L2GrandBossInstance.java:11: error: cannot find symbol
import ru.catssoftware.gameserver.model.L2Skill;
                                       ^
  symbol:   class L2Skill
  location: package ru.catssoftware.gameserver.model
L2GrandBossInstance.java:12: error: package ru.catssoftware.gameserver.model.L2Attackable does not exist
import ru.catssoftware.gameserver.model.L2Attackable.RewardItem;
                                                    ^
L2GrandBossInstance.java:13: error: cannot find symbol
import ru.catssoftware.gameserver.model.actor.instance.L2PcInstance;
                                                      ^
  symbol:   class L2PcInstance
  location: package ru.catssoftware.gameserver.model.actor.instance
L2GrandBossInstance.java:14: error: cannot find symbol
import ru.catssoftware.gameserver.model.actor.instance.L2GrandBossInstance.GrandBossReturnHomeManager;
                                                                          ^
  symbol:   class GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:15: error: package ru.catssoftware.gameserver.network does not exist
import ru.catssoftware.gameserver.network.SystemMessageId;
                                         ^
L2GrandBossInstance.java:16: error: package ru.catssoftware.gameserver.network.serverpackets does not exist
import ru.catssoftware.gameserver.network.serverpackets.SystemMessage;
                                                       ^
L2GrandBossInstance.java:17: error: package ru.catssoftware.gameserver.templates.chars does not exist
import ru.catssoftware.gameserver.templates.chars.L2NpcTemplate;
                                                 ^
L2GrandBossInstance.java:18: error: package ru.catssoftware.tools.random does not exist
import ru.catssoftware.tools.random.Rnd;
                                   ^
L2GrandBossInstance.java:19: error: package ru.catssoftware.util does not exist
import ru.catssoftware.util.Log;
                           ^
L2GrandBossInstance.java:21: error: cannot find symbol
public class L2GrandBossInstance extends L2Boss {
                                         ^
  symbol: class L2Boss
L2GrandBossInstance.java:35: error: cannot find symbol
   public L2GrandBossInstance(int objectId, L2NpcTemplate template) {
                                            ^
  symbol:   class L2NpcTemplate
  location: class L2GrandBossInstance
L2GrandBossInstance.java:39: error: cannot find symbol
   public void dropCustomGrandBossLevel(L2PcInstance killer, EventReward reward, MobLevelReward lvl, FastList items) {
                                        ^
  symbol:   class L2PcInstance
  location: class L2GrandBossInstance
L2GrandBossInstance.java:39: error: cannot find symbol
   public void dropCustomGrandBossLevel(L2PcInstance killer, EventReward reward, MobLevelReward lvl, FastList items) {
                                                             ^
  symbol:   class EventReward
  location: class L2GrandBossInstance
L2GrandBossInstance.java:39: error: cannot find symbol
   public void dropCustomGrandBossLevel(L2PcInstance killer, EventReward reward, MobLevelReward lvl, FastList items) {
                                                                                 ^
  symbol:   class MobLevelReward
  location: class L2GrandBossInstance
L2GrandBossInstance.java:39: error: cannot find symbol
   public void dropCustomGrandBossLevel(L2PcInstance killer, EventReward reward, MobLevelReward lvl, FastList items) {
                                                                                                     ^
  symbol:   class FastList
  location: class L2GrandBossInstance
L2GrandBossInstance.java:65: error: cannot find symbol
   public boolean doDie(L2Character killer) {
                        ^
  symbol:   class L2Character
  location: class L2GrandBossInstance
L2GrandBossInstance.java:87: error: cannot find symbol
   private void dropZakenEarr(L2PcInstance player) {
                              ^
  symbol:   class L2PcInstance
  location: class L2GrandBossInstance
L2GrandBossInstance.java:104: error: cannot find symbol
   public void reduceCurrentHp(double damage, L2Character attacker, boolean awake, boolean isDOT, L2Skill skill) {
                                              ^
  symbol:   class L2Character
  location: class L2GrandBossInstance
L2GrandBossInstance.java:104: error: cannot find symbol
   public void reduceCurrentHp(double damage, L2Character attacker, boolean awake, boolean isDOT, L2Skill skill) {
                                                                                                  ^
  symbol:   class L2Skill
  location: class L2GrandBossInstance
L2GrandBossInstance.java:110: error: cannot find symbol
   public void doAttack(L2Character target) {
                        ^
  symbol:   class L2Character
  location: class L2GrandBossInstance
L2GrandBossInstance.java:116: error: cannot find symbol
   public void doCast(L2Skill skill) {
                      ^
  symbol:   class L2Skill
  location: class L2GrandBossInstance
L2GrandBossInstance.java:41: error: cannot find symbol
         Entry e = Config.RAID_DROP_LEVEL_GRAND_BOSS.head();
         ^
  symbol:   class Entry
  location: class L2GrandBossInstance
L2GrandBossInstance.java:41: error: package Config does not exist
         Entry e = Config.RAID_DROP_LEVEL_GRAND_BOSS.head();
                         ^
L2GrandBossInstance.java:42: error: cannot find symbol
         Entry end = Config.RAID_DROP_LEVEL_GRAND_BOSS.tail();
         ^
  symbol:   class Entry
  location: class L2GrandBossInstance
L2GrandBossInstance.java:42: error: package Config does not exist
         Entry end = Config.RAID_DROP_LEVEL_GRAND_BOSS.tail();
                           ^
L2GrandBossInstance.java:45: error: cannot find symbol
            lvl = (MobLevelReward)e.getKey();
                   ^
  symbol:   class MobLevelReward
  location: class L2GrandBossInstance
L2GrandBossInstance.java:46: error: cannot find symbol
            if(lvl.isInRange(this.getLevel())) {
                                 ^
  symbol: method getLevel()
L2GrandBossInstance.java:47: error: cannot find symbol
               items = (FastList)e.getValue();
                        ^
  symbol:   class FastList
  location: class L2GrandBossInstance
L2GrandBossInstance.java:49: error: cannot find symbol
                  Node k = items.head();
                  ^
  symbol:   class Node
  location: class L2GrandBossInstance
L2GrandBossInstance.java:50: error: cannot find symbol
                  Node endk = items.tail();
                  ^
  symbol:   class Node
  location: class L2GrandBossInstance
L2GrandBossInstance.java:53: error: cannot find symbol
                     reward = (EventReward)k.getValue();
                               ^
  symbol:   class EventReward
  location: class L2GrandBossInstance
L2GrandBossInstance.java:54: error: cannot find symbol
                     if(reward != null && Rnd.get(100) < reward.chance) {
                                          ^
  symbol:   variable Rnd
  location: class L2GrandBossInstance
L2GrandBossInstance.java:66: error: cannot find symbol
      if(!super.doDie(killer)) {
          ^
  symbol:   variable super
  location: class L2GrandBossInstance
L2GrandBossInstance.java:69: error: cannot find symbol
         if(this._lair != null) {
                ^
  symbol: variable _lair
L2GrandBossInstance.java:70: error: cannot find symbol
            this._lair.setRespawn();
                ^
  symbol: variable _lair
L2GrandBossInstance.java:73: error: cannot find symbol
         Log.storeBossDeath(this.getNpcId());
                                ^
  symbol: method getNpcId()
L2GrandBossInstance.java:73: error: cannot find symbol
         Log.storeBossDeath(this.getNpcId());
         ^
  symbol:   variable Log
  location: class L2GrandBossInstance
L2GrandBossInstance.java:74: error: cannot find symbol
         Log.add("died; killer " + killer.getFingerPrints(), "bosses/" + this.getName() + "_" + this.getNpcId());
                                                                             ^
  symbol: method getName()
L2GrandBossInstance.java:74: error: cannot find symbol
         Log.add("died; killer " + killer.getFingerPrints(), "bosses/" + this.getName() + "_" + this.getNpcId());
                                                                                                    ^
  symbol: method getNpcId()
L2GrandBossInstance.java:74: error: cannot find symbol
         Log.add("died; killer " + killer.getFingerPrints(), "bosses/" + this.getName() + "_" + this.getNpcId());
         ^
  symbol:   variable Log
  location: class L2GrandBossInstance
L2GrandBossInstance.java:75: error: cannot find symbol
         if(Config.CUSTOM_DROP_LEVEL_GRAND_BOSS) {
            ^
  symbol:   variable Config
  location: class L2GrandBossInstance
L2GrandBossInstance.java:75: error: illegal start of type
         if(Config.CUSTOM_DROP_LEVEL_GRAND_BOSS) {
           ^
L2GrandBossInstance.java:76: error: cannot find symbol
            this.dropCustomGrandBossLevel(killer.getPlayer(), (EventReward)null, (MobLevelReward)null, (FastList)null);
                                                               ^
  symbol:   class EventReward
  location: class L2GrandBossInstance
L2GrandBossInstance.java:76: error: cannot find symbol
            this.dropCustomGrandBossLevel(killer.getPlayer(), (EventReward)null, (MobLevelReward)null, (FastList)null);
                                                                                  ^
  symbol:   class MobLevelReward
  location: class L2GrandBossInstance
L2GrandBossInstance.java:76: error: cannot find symbol
            this.dropCustomGrandBossLevel(killer.getPlayer(), (EventReward)null, (MobLevelReward)null, (FastList)null);
                                                                                                        ^
  symbol:   class FastList
  location: class L2GrandBossInstance
L2GrandBossInstance.java:79: error: cannot find symbol
         if(Config.ZAKEN_DROP_FIX && this.getNpcId() == 29022) {
            ^
  symbol:   variable Config
  location: class L2GrandBossInstance
L2GrandBossInstance.java:79: error: cannot find symbol
         if(Config.ZAKEN_DROP_FIX && this.getNpcId() == 29022) {
                                         ^
  symbol: method getNpcId()
L2GrandBossInstance.java:89: error: cannot find symbol
         SystemMessage sm = new SystemMessage(SystemMessageId.S1_DIED_DROPPED_S3_S2);
         ^
  symbol:   class SystemMessage
  location: class L2GrandBossInstance
L2GrandBossInstance.java:89: error: cannot find symbol
         SystemMessage sm = new SystemMessage(SystemMessageId.S1_DIED_DROPPED_S3_S2);
                                ^
  symbol:   class SystemMessage
  location: class L2GrandBossInstance
L2GrandBossInstance.java:89: error: cannot find symbol
         SystemMessage sm = new SystemMessage(SystemMessageId.S1_DIED_DROPPED_S3_S2);
                                              ^
  symbol:   variable SystemMessageId
  location: class L2GrandBossInstance
L2GrandBossInstance.java:94: error: cannot find symbol
         if(Config.AUTO_LOOT_RAID && player.isAutoLootEnabled(6659)) {
            ^
  symbol:   variable Config
  location: class L2GrandBossInstance
L2GrandBossInstance.java:95: error: cannot find symbol
            player.doAutoLoot(this, new RewardItem(this, 6659, 1));
                                        ^
  symbol:   class RewardItem
  location: class L2GrandBossInstance
L2GrandBossInstance.java:100: error: cannot find symbol
         Log.add("Item: Zaken\'s Earring, itemId: 6659, count: 1", "bosses/drop_" + this.getName() + "_" + this.getNpcId());
                                                                                        ^
  symbol: method getName()
L2GrandBossInstance.java:100: error: cannot find symbol
         Log.add("Item: Zaken\'s Earring, itemId: 6659, count: 1", "bosses/drop_" + this.getName() + "_" + this.getNpcId());
                                                                                                               ^
  symbol: method getNpcId()
L2GrandBossInstance.java:100: error: cannot find symbol
         Log.add("Item: Zaken\'s Earring, itemId: 6659, count: 1", "bosses/drop_" + this.getName() + "_" + this.getNpcId());
         ^
  symbol:   variable Log
  location: class L2GrandBossInstance
L2GrandBossInstance.java:105: error: cannot find symbol
      if(!this.isInSocialAction() && !this.isInvul()) {
                                          ^
  symbol: method isInvul()
L2GrandBossInstance.java:106: error: cannot find symbol
         super.reduceCurrentHp(damage, attacker, awake, isDOT, skill);
         ^
  symbol:   variable super
  location: class L2GrandBossInstance
L2GrandBossInstance.java:112: error: cannot find symbol
         super.doAttack(target);
         ^
  symbol:   variable super
  location: class L2GrandBossInstance
L2GrandBossInstance.java:118: error: cannot find symbol
         super.doCast(skill);
         ^
  symbol:   variable super
  location: class L2GrandBossInstance
L2GrandBossInstance.java:123: error: cannot find symbol
      this.setIsRaid(true);
          ^
  symbol: method setIsRaid(boolean)
L2GrandBossInstance.java:124: error: cannot find symbol
      this.setIsGrandBoss(true);
          ^
  symbol: method setIsGrandBoss(boolean)
L2GrandBossInstance.java:126: error: cannot find symbol
      super.onSpawn();
      ^
  symbol:   variable super
  location: class L2GrandBossInstance
L2GrandBossInstance.java:127: error: cannot find symbol
      GrandBossReturnHomeManager.access$000().startTask(this);
      ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:128: error: cannot find symbol
      Log.add("spawned", "bosses/" + this.getName() + "_" + this.getNpcId());
                                         ^
  symbol: method getName()
L2GrandBossInstance.java:128: error: cannot find symbol
      Log.add("spawned", "bosses/" + this.getName() + "_" + this.getNpcId());
                                                                ^
  symbol: method getNpcId()
L2GrandBossInstance.java:128: error: cannot find symbol
      Log.add("spawned", "bosses/" + this.getName() + "_" + this.getNpcId());
      ^
  symbol:   variable Log
  location: class L2GrandBossInstance
L2GrandBossInstance.java:132: error: cannot find symbol
      int npcId = this.getNpcId();
                      ^
  symbol: method getNpcId()
L2GrandBossInstance.java:144: error: cannot find symbol
      if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
         ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:145: error: cannot find symbol
         GrandBossReturnHomeManager.access$000().stopTask(this);
         ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:148: error: cannot find symbol
      super.deleteMe();
      ^
  symbol:   variable super
  location: class L2GrandBossInstance
L2GrandBossInstance.java:152: error: cannot find symbol
      if(this.getSpawn() != null) {
             ^
  symbol: method getSpawn()
L2GrandBossInstance.java:154: error: cannot find symbol
            if(!this.isDead() && !this.isInsideRadius(this.getSpawn().getLocx(), this.getSpawn().getLocy(), 5000, false)) {
                    ^
  symbol: method isDead()
L2GrandBossInstance.java:154: error: cannot find symbol
            if(!this.isDead() && !this.isInsideRadius(this.getSpawn().getLocx(), this.getSpawn().getLocy(), 5000, false)) {
                                                          ^
  symbol: method getSpawn()
L2GrandBossInstance.java:154: error: cannot find symbol
            if(!this.isDead() && !this.isInsideRadius(this.getSpawn().getLocx(), this.getSpawn().getLocy(), 5000, false)) {
                                                                                     ^
  symbol: method getSpawn()
L2GrandBossInstance.java:155: error: cannot find symbol
               this.clearAggroList();
                   ^
  symbol: method clearAggroList()
L2GrandBossInstance.java:156: error: cannot find symbol
               this.healFull();
                   ^
  symbol: method healFull()
L2GrandBossInstance.java:157: error: cannot find symbol
               this.teleToLocation(this.getSpawn().getLocx(), this.getSpawn().getLocy(), this.getSpawn().getLocz());
                                       ^
  symbol: method getSpawn()
L2GrandBossInstance.java:157: error: cannot find symbol
               this.teleToLocation(this.getSpawn().getLocx(), this.getSpawn().getLocy(), this.getSpawn().getLocz());
                                                                  ^
  symbol: method getSpawn()
L2GrandBossInstance.java:157: error: cannot find symbol
               this.teleToLocation(this.getSpawn().getLocx(), this.getSpawn().getLocy(), this.getSpawn().getLocz());
                                                                                             ^
  symbol: method getSpawn()
L2GrandBossInstance.java:158: error: cannot find symbol
               if(this.hasMinions()) {
                      ^
  symbol: method hasMinions()
L2GrandBossInstance.java:159: error: cannot find symbol
                  this.callMinions(true);
                      ^
  symbol: method callMinions(boolean)
L2GrandBossInstance.java:162: error: cannot find symbol
         } else if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
                   ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:163: error: cannot find symbol
            GrandBossReturnHomeManager.access$000().stopTask(this);
            ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:165: error: cannot find symbol
      } else if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
                ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:166: error: cannot find symbol
         GrandBossReturnHomeManager.access$000().stopTask(this);
         ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
93 errors

Вот сам файл .java:

Java:
package ru.catssoftware.gameserver.model.actor.instance;

import javolution.util.FastList;
import javolution.util.FastList.Node;
import javolution.util.FastMap.Entry;
import ru.catssoftware.Config;
import ru.catssoftware.Config.EventReward;
import ru.catssoftware.Config.MobLevelReward;
import ru.catssoftware.gameserver.model.L2Boss;
import ru.catssoftware.gameserver.model.L2Character;
import ru.catssoftware.gameserver.model.L2Skill;
import ru.catssoftware.gameserver.model.L2Attackable.RewardItem;
import ru.catssoftware.gameserver.model.actor.instance.L2PcInstance;
import ru.catssoftware.gameserver.model.actor.instance.L2GrandBossInstance.GrandBossReturnHomeManager;
import ru.catssoftware.gameserver.network.SystemMessageId;
import ru.catssoftware.gameserver.network.serverpackets.SystemMessage;
import ru.catssoftware.gameserver.templates.chars.L2NpcTemplate;
import ru.catssoftware.tools.random.Rnd;
import ru.catssoftware.util.Log;

public class L2GrandBossInstance extends L2Boss {

   protected boolean _isInSocialAction = false;
   private byte _zoneId = 0;


   public boolean isInSocialAction() {
      return this._isInSocialAction;
   }

   public void setIsInSocialAction(boolean value) {
      this._isInSocialAction = value;
   }

   public L2GrandBossInstance(int objectId, L2NpcTemplate template) {
      super(objectId, template);
   }

   public void dropCustomGrandBossLevel(L2PcInstance killer, EventReward reward, MobLevelReward lvl, FastList items) {
      if(killer != null) {
         Entry e = Config.RAID_DROP_LEVEL_GRAND_BOSS.head();
         Entry end = Config.RAID_DROP_LEVEL_GRAND_BOSS.tail();

         while((e = e.getNext()) != end) {
            lvl = (MobLevelReward)e.getKey();
            if(lvl.isInRange(this.getLevel())) {
               items = (FastList)e.getValue();
               if(items != null && !items.isEmpty()) {
                  Node k = items.head();
                  Node endk = items.tail();

                  while((k = k.getNext()) != endk) {
                     reward = (EventReward)k.getValue();
                     if(reward != null && Rnd.get(100) < reward.chance) {
                        killer.addItem("dropCustomRaidBossLevel", reward.id, reward.count, killer, true);
                     }
                  }
               }
            }
         }

      }
   }

   public boolean doDie(L2Character killer) {
      if(!super.doDie(killer)) {
         return false;
      } else {
         if(this._lair != null) {
            this._lair.setRespawn();
         }

         Log.storeBossDeath(this.getNpcId());
         Log.add("died; killer " + killer.getFingerPrints(), "bosses/" + this.getName() + "_" + this.getNpcId());
         if(Config.CUSTOM_DROP_LEVEL_GRAND_BOSS) {
            this.dropCustomGrandBossLevel(killer.getPlayer(), (EventReward)null, (MobLevelReward)null, (FastList)null);
         }

         if(Config.ZAKEN_DROP_FIX && this.getNpcId() == 29022) {
            this.dropZakenEarr(killer.getPlayer());
         }

         return true;
      }
   }

   private void dropZakenEarr(L2PcInstance player) {
      if(player != null) {
         SystemMessage sm = new SystemMessage(SystemMessageId.S1_DIED_DROPPED_S3_S2);
         sm.addCharName(this);
         sm.addItemName(6659);
         sm.addNumber(1);
         this.broadcastPacket(sm);
         if(Config.AUTO_LOOT_RAID && player.isAutoLootEnabled(6659)) {
            player.doAutoLoot(this, new RewardItem(this, 6659, 1));
         } else {
            this.dropItem(player, 6659, 1);
         }

         Log.add("Item: Zaken\'s Earring, itemId: 6659, count: 1", "bosses/drop_" + this.getName() + "_" + this.getNpcId());
      }
   }

   public void reduceCurrentHp(double damage, L2Character attacker, boolean awake, boolean isDOT, L2Skill skill) {
      if(!this.isInSocialAction() && !this.isInvul()) {
         super.reduceCurrentHp(damage, attacker, awake, isDOT, skill);
      }
   }

   public void doAttack(L2Character target) {
      if(!this._isInSocialAction) {
         super.doAttack(target);
      }
   }

   public void doCast(L2Skill skill) {
      if(!this._isInSocialAction) {
         super.doCast(skill);
      }
   }

   public void onSpawn() {
      this.setIsRaid(true);
      this.setIsGrandBoss(true);
      this.setupZone();
      super.onSpawn();
      GrandBossReturnHomeManager.access$000().startTask(this);
      Log.add("spawned", "bosses/" + this.getName() + "_" + this.getNpcId());
   }

   private void setupZone() {
      int npcId = this.getNpcId();
      if(npcId == 29001) {
         this._zoneId = 20;
      } else if(npcId == 29020) {
         this._zoneId = 21;
      } else if(npcId == 29022 || npcId == 13099) {
         this._zoneId = 22;
      }

   }

   public void deleteMe() {
      if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
         GrandBossReturnHomeManager.access$000().stopTask(this);
      }

      super.deleteMe();
   }

   public void returnHome() {
      if(this.getSpawn() != null) {
         if(this._zoneId > 0) {
            if(!this.isDead() && !this.isInsideRadius(this.getSpawn().getLocx(), this.getSpawn().getLocy(), 5000, false)) {
               this.clearAggroList();
               this.healFull();
               this.teleToLocation(this.getSpawn().getLocx(), this.getSpawn().getLocy(), this.getSpawn().getLocz());
               if(this.hasMinions()) {
                  this.callMinions(true);
               }
            }
         } else if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
            GrandBossReturnHomeManager.access$000().stopTask(this);
         }
      } else if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
         GrandBossReturnHomeManager.access$000().stopTask(this);
      }

   }
}
 
а подкинуть ему целый jar файл ядра\скриптов трудно?
 
4ipolino, я же пробовал и "javac -classpath ************.jar -Xlint:unchecked -encoding utf8 **********.java", все равно также ошибки выдает, но уже поменьше (там пакет javolution вообще находится в другом архиве .jar):

Код:
C:\Program Files\Java\jdk1.8.0_291\bin>javac -classpath Alltar-Core.jar -Xlint:unchecked -encoding utf8 L2GrandBossInstance.java
L2GrandBossInstance.java:3: error: package javolution.util does not exist
import javolution.util.FastList;
                      ^
L2GrandBossInstance.java:4: error: package javolution.util.FastList does not exist
import javolution.util.FastList.Node;
                               ^
L2GrandBossInstance.java:5: error: package javolution.util.FastMap does not exist
import javolution.util.FastMap.Entry;
                              ^
L2GrandBossInstance.java:14: error: cannot find symbol
import ru.catssoftware.gameserver.model.actor.instance.L2GrandBossInstance.GrandBossReturnHomeManager;
                                                                          ^
  symbol:   class GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:39: error: cannot find symbol
   public void dropCustomGrandBossLevel(L2PcInstance killer, EventReward reward, MobLevelReward lvl, FastList items) {
                                                                                                     ^
  symbol:   class FastList
  location: class L2GrandBossInstance
L2GrandBossInstance.java:41: error: cannot find symbol
         Entry e = Config.RAID_DROP_LEVEL_GRAND_BOSS.head();
         ^
  symbol:   class Entry
  location: class L2GrandBossInstance
L2GrandBossInstance.java:41: error: cannot access FastMap
         Entry e = Config.RAID_DROP_LEVEL_GRAND_BOSS.head();
                                                    ^
  class file for javolution.util.FastMap not found
L2GrandBossInstance.java:42: error: cannot find symbol
         Entry end = Config.RAID_DROP_LEVEL_GRAND_BOSS.tail();
         ^
  symbol:   class Entry
  location: class L2GrandBossInstance
L2GrandBossInstance.java:47: error: cannot find symbol
               items = (FastList)e.getValue();
                        ^
  symbol:   class FastList
  location: class L2GrandBossInstance
L2GrandBossInstance.java:49: error: cannot find symbol
                  Node k = items.head();
                  ^
  symbol:   class Node
  location: class L2GrandBossInstance
L2GrandBossInstance.java:50: error: cannot find symbol
                  Node endk = items.tail();
                  ^
  symbol:   class Node
  location: class L2GrandBossInstance
L2GrandBossInstance.java:76: error: cannot find symbol
            this.dropCustomGrandBossLevel(killer.getPlayer(), (EventReward)null, (MobLevelReward)null, (FastList)null);
                                                                                                        ^
  symbol:   class FastList
  location: class L2GrandBossInstance
L2GrandBossInstance.java:95: error: constructor RewardItem in class L2Attackable.RewardItem cannot be applied to given types;
            player.doAutoLoot(this, new RewardItem(this, 6659, 1));
                                    ^
  required: int,int
  found: L2GrandBossInstance,int,int
  reason: actual and formal argument lists differ in length
L2GrandBossInstance.java:127: error: cannot find symbol
      GrandBossReturnHomeManager.access$000().startTask(this);
      ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:144: error: cannot find symbol
      if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
         ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:145: error: cannot find symbol
         GrandBossReturnHomeManager.access$000().stopTask(this);
         ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:162: error: cannot find symbol
         } else if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
                   ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:163: error: cannot find symbol
            GrandBossReturnHomeManager.access$000().stopTask(this);
            ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:165: error: cannot find symbol
      } else if(GrandBossReturnHomeManager.access$000().hasTask(this)) {
                ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
L2GrandBossInstance.java:166: error: cannot find symbol
         GrandBossReturnHomeManager.access$000().stopTask(this);
         ^
  symbol:   variable GrandBossReturnHomeManager
  location: class L2GrandBossInstance
20 errors
 
4ipolino, я же пробовал и "javac -classpath ************.jar -Xlint:unchecked -encoding utf8 **********.java", все равно также ошибки выдает, но уже поменьше (там пакет javolution вообще находится в другом архиве .jar):
-classpath указать путь к директории с библиотеками "/libs/*.jar"
 
LifeGame32, попробую...

LifeGame32, вообщем, такой метод тоже не помог. Ошибки те же самые
 
Назад
Сверху Снизу