Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
компиляция L2Character
#1
^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])
^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])
^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1761: error: case, default, or '}' expected
/* 2527 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$model$
L2Skill$SkillTargetType[skill.getTargetType().ordinal()])

^
L2Character.java:1762: error: case, default, or '}' expected
/* */ {
^
L2Character.java:4776: error: ')' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])
^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])
^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])
^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4776: error: case, default, or '}' expected
/* 8004 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$temp
lates$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4777: error: case, default, or '}' expected
/* */ {
^
L2Character.java:4812: error: ')' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])
^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])
^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])
^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4812: error: case, default, or '}' expected
/* 8048 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gameserver$templa
tes$L2WeaponType[weapon.getItemType().ordinal()])

^
L2Character.java:4813: error: case, default, or '}' expected
/* */ {
^
L2Character.java:5944: error: ')' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])
^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])
^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])
^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5944: error: case, default, or '}' expected
/* 9565 */ switch (L2Character.1.$SwitchMap$com$l2jfrozen$gam
eserver$model$L2Skill$SkillType[skill.getSkillType().ordinal()])

^
L2Character.java:5945: error: case, default, or '}' expected
/* */ {
^
64 errors

D:\temp>


вот такая ошибка, я удалил только
reduceArrowCount();

_move = null;

в командной строке прописал

javac -classpath l2jfrozen-core.jar -Xlint:unchecked L2Character.java
также просто писал
javac L2Character.java
оно мне показует это, в чем проблема??
Ответ
#2
Дай угадаю, декомпилятор?) Во-первых меняется структура файла, последствием чего может быть невозможность компиляции)
Во-вторых, у класса L2Character есть импорты к классам, которые находятся в других jar-архивах (проще говоря, либах). Проще уже указать в командной строке -cp путь_к_сборке/libs
libs - папка, где хранятся jar-архивы.
Ответ
#3
GooD Написал:Дай угадаю, декомпилятор?) Во-первых меняется структура файла, последствием чего может быть невозможность компиляции)
Во-вторых, у класса L2Character есть импорты к классам, которые находятся в других jar-архивах (проще говоря, либах). Проще уже указать в командной строке -cp путь_к_сборке/libs
libs - папка, где хранятся jar-архивы.

да декомпилятор, не надо было?? несколько файлов удачно было
Ответ
#4
Skilz Написал:да декомпилятор, не надо было?? несколько файлов удачно было
При декомпиле классы "портятся". Вообще, работать по ядру нужно с исходами, а не со скомпилированной сборкой.
Ответ
#5
GooD Написал:При декомпиле классы "портятся". Вообще, работать по ядру нужно с исходами, а не со скомпилированной сборкой.

ts does not exist
import com.l2jfrozen.gameserver.network.serverpackets.CharInfo;
^
L2Character.java:100: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.CharMoveToLocation;
^
L2Character.java:101: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.ExOlympiadSpelledInfo;
^
L2Character.java:102: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.L2GameServerPacket;
^
L2Character.java:103: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.MagicEffectIcons;
^
L2Character.java:104: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillCanceld;
^
L2Character.java:105: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillLaunched;
^
L2Character.java:106: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
^
L2Character.java:107: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected;
^
L2Character.java:108: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.NpcInfo;
^
L2Character.java:109: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.PartySpelled;
^
L2Character.java:110: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.PetInfo;
^
L2Character.java:111: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.RelationChanged;
^
L2Character.java:112: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.Revive;
^
L2Character.java:113: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.SetupGauge;
^
L2Character.java:114: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.StatusUpdate;
^
L2Character.java:115: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.StopMove;
^
L2Character.java:116: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage;
^
L2Character.java:117: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.TargetUnselected;
^
L2Character.java:118: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.TeleportToLocation;
^
L2Character.java:119: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocation;
^
L2Character.java:120: error: package com.l2jfrozen.gameserver.network.serverpack
ets does not exist
import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocationInVehicle;

^
L2Character.java:121: error: package com.l2jfrozen.gameserver.skills does not ex
ist
import com.l2jfrozen.gameserver.skills.Calculator;
^
L2Character.java:122: error: package com.l2jfrozen.gameserver.skills does not ex
ist
import com.l2jfrozen.gameserver.skills.Formulas;
^
L2Character.java:123: error: package com.l2jfrozen.gameserver.skills does not ex
ist
import com.l2jfrozen.gameserver.skills.Stats;
^
L2Character.java:124: error: package com.l2jfrozen.gameserver.skills.effects doe
s not exist
import com.l2jfrozen.gameserver.skills.effects.EffectCharge;
^
L2Character.java:125: error: package com.l2jfrozen.gameserver.skills.funcs does
not exist
import com.l2jfrozen.gameserver.skills.funcs.Func;
^
L2Character.java:126: error: package com.l2jfrozen.gameserver.skills.holders doe
s not exist
import com.l2jfrozen.gameserver.skills.holders.ISkillsHolder;
^
L2Character.java:127: error: package com.l2jfrozen.gameserver.templates does not
exist
import com.l2jfrozen.gameserver.templates.L2CharTemplate;
^
L2Character.java:128: error: package com.l2jfrozen.gameserver.templates does not
exist
import com.l2jfrozen.gameserver.templates.L2NpcTemplate;
^
100 errors

D:\temp>javac -classpath l2jfrozen-core.jar -Xlint:unchecked L2Character.java
L2Character.java:32: error: package javolution.util does not exist
import javolution.util.FastList;
^
L2Character.java:33: error: package javolution.util does not exist
import javolution.util.FastMap;
^
L2Character.java:34: error: package javolution.util does not exist
import javolution.util.FastTable;
^
L2Character.java:3705: error: cannot find symbol
private FastTable<L2Effect> _effects = new FastTable<L2Effect>();
^
symbol: class FastTable
location: class L2Character
L2Character.java:5675: error: cannot find symbol
public void broadcastModifiedStats(FastList<Stats> stats)
^
symbol: class FastList
location: class L2Character
L2Character.java:431: error: cannot find symbol
_triggeredSkills = new FastMap<Integer, L2Skill>();
^
symbol: class FastMap
location: class L2Character
L2Character.java:457: error: cannot find symbol
_skills = new FastMap<Integer, L2Skill>().shared();
^
symbol: class FastMap
location: class L2Character
L2Character.java:1213: error: cannot access FastList
if (!Config.LIST_ALLOWED_NPC_TYPES.contains(mobt
ype))
^
class file for javolution.util.FastList not found
L2Character.java:2620: error: cannot find symbol
_attackByList = new FastList<L2Character>();
^
symbol: class FastList
location: class L2Character
L2Character.java:3705: error: cannot find symbol
private FastTable<L2Effect> _effects = new FastTable<L2Effect>();
^
symbol: class FastTable
location: class L2Character
L2Character.java:3708: error: cannot find symbol
protected Map<String, List<L2Effect>> _stackedEffects = new FastMap<Stri
ng, List<L2Effect>>();
^
symbol: class FastMap
location: class L2Character
L2Character.java:3917: error: cannot find symbol
stackQueue = new FastList<L2Effect>();
^
symbol: class FastList
location: class L2Character
L2Character.java:4852: error: bad operand types for binary operator '!='
if ((player != null) && Olympiad.getInstance().getSpecta
tors(player.getOlympiadGameId()) != null)

^
first type: L2FastList<L2PcInstance>
second type: <null>
L2Character.java:4854: error: for-each not applicable to expression type
for (L2PcInstance spectator : Olympiad.getInstan
ce().getSpectators(player.getOlympiadGameId()))

^
required: array or java.lang.Iterable
found: L2FastList<L2PcInstance>
L2Character.java:5370: error: cannot find symbol
private List<QuestState> _NotifyQuestOfDeathList = new FastList<QuestSta
te>();
^
symbol: class FastList
location: class L2Character
L2Character.java:5396: error: cannot find symbol
_NotifyQuestOfDeathList = new FastList<QuestState>();
^
symbol: class FastList
location: class L2Character
L2Character.java:5477: error: cannot find symbol
FastList<Stats> modifiedStats = new FastList<Stats>();
^
symbol: class FastList
location: class L2Character
L2Character.java:5477: error: cannot find symbol
FastList<Stats> modifiedStats = new FastList<Stats>();
^
symbol: class FastList
location: class L2Character
L2Character.java:5573: error: cannot find symbol
FastList<Stats> modifiedStats = new FastList<Stats>();
^
symbol: class FastList
location: class L2Character
L2Character.java:5573: error: cannot find symbol
FastList<Stats> modifiedStats = new FastList<Stats>();
^
symbol: class FastList
location: class L2Character
L2Character.java:5615: error: cannot find symbol
FastList<Stats> modifiedStats = null;
^
symbol: class FastList
location: class L2Character
L2Character.java:7616: error: cannot access FastMap
if (_chanceSkills != null)
^
class file for javolution.util.FastMap not found
L2Character.java:7622: error: bad operand types for binary operator '!='
if (target.getChanceSkills() != null)
^
first type: ChanceSkillList
second type: <null>
L2Character.java:8122: error: bad operand types for binary operator '!='
if(oldSkill != null && _chanceSkills != null)
^
first type: ChanceSkillList
second type: <null>
L2Character.java:8157: error: bad operand types for binary operator '=='
if(_chanceSkills == null)
^
first type: ChanceSkillList
second type: <null>
L2Character.java:8162: error: cannot find symbol
_chanceSkills.put(skill, skill.getChanceCondition());
^
symbol: method put(L2Skill,ChanceCondition)
location: variable _chanceSkills of type ChanceSkillList
L2Character.java:8175: error: cannot find symbol
for(L2Skill skill : _chanceSkills.keySet())
^
symbol: method keySet()
location: variable _chanceSkills of type ChanceSkillList
L2Character.java:8179: error: cannot find symbol
_chanceSkills.remove(skill);
^
symbol: method remove(L2Skill)
location: variable _chanceSkills of type ChanceSkillList
L2Character.java:8183: error: cannot find symbol
if(_chanceSkills.size() == 0)
^
symbol: method size()
location: variable _chanceSkills of type ChanceSkillList
L2Character.java:8272: error: bad operand types for binary operator '!='
if(oldSkill.isChance() && _chanceSkills != null)
^
first type: ChanceSkillList
second type: <null>
L2Character.java:8630: error: cannot find symbol
List<L2Character> targetList = new FastList<L2Character>
();
^
symbol: class FastList
location: class L2Character
L2Character.java:9170: error: cannot find symbol
_disabledSkills = Collections.synchronizedList(new FastL
ist<Integer>());
^
symbol: class FastList
location: class L2Character
L2Character.java:9347: error: bad operand types for binary operator '!='
if (_chanceSkills != nul
l)
^
first type: ChanceSkillList
second type: <null>
L2Character.java:9352: error: bad operand types for binary operator '!='
if (targ.getChanceSkills
() != null)

^
first type: ChanceSkillList
second type: <null>
34 errors

D:\temp>
теперь с исходников
Ответ
#6
такой большой класс уже не будет работать как нужно, ибо если вы задаете такие вопросы, то вы врядли сумеете исправить все ошибки декомпилятора...

я вот непойму, зачем вы занимаетесь такой ерундой, если у фрозенов открытый исходный код?
Ответ
#7
linliss Написал:такой большой класс уже не будет работать как нужно, ибо если вы задаете такие вопросы, то вы врядли сумеете исправить все ошибки декомпилятора...

я вот непойму, зачем вы занимаетесь такой ерундой, если у фрозенов открытый исходный код?

последнее сообщение это уже svn исходники, а не декомпеляция их.
Ответ
#8
Skilz Написал:последнее сообщение это уже svn исходники, а не декомпеляция их.
Эм, ты один файл компилишь? :redlol:
Ответ
#9
GooD Написал:Эм, ты один файл компилишь? :redlol:

емм да Smile, а что все время надо все исходники???
Ответ
#10
Skilz Написал:емм да Smile, а что все время надо все исходники???
как бы да...
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Компиляция Lucera 2 Athlete2 1 2,099 08-23-2015, 01:34 AM
Последний пост: Deazer
  L2jServer Компиляция AirRebbit 6 2,036 09-21-2014, 09:04 AM
Последний пост: DRIAD
  Компиляция исходников sakson 32 8,199 11-22-2013, 09:58 AM
Последний пост: LestatL
  Компиляция исходников L2EMU Scream 6 1,660 09-25-2013, 04:02 PM
Последний пост: Scream
  компиляция Skilz 1 1,294 08-01-2013, 02:51 PM
Последний пост: TosyBosy
  компиляция l2jserver Skilz 0 1,258 07-28-2013, 02:34 PM
Последний пост: Skilz
  Компиляция через Eclipse Drag0N 7 1,782 07-25-2013, 08:03 AM
Последний пост: gorodetskiy
  Компиляция ошибки La2lucky 4 1,384 07-12-2013, 02:35 PM
Последний пост: kingzor
  Компиляция исходников sashachapalo 4 1,668 05-06-2013, 01:11 PM
Последний пост: sashachapalo
  Компиляция Login Server C5 Krasavella 14 4,129 02-12-2013, 10:41 PM
Последний пост: gorodetskiy

Перейти к форуму:


Пользователи, просматривающие эту тему: 2 Гость(ей)