Ir para conteúdo
  • Cadastre-se
  • 0

Falha ao tentar mudar o java no eclipse


N0K3

Pergunta

Bom dia, boa tarde e boa noite meu amigos.

Eu venho pedir a ajuda de vocês em um erro que estou tendo na hora de compilar minha rev, adicionei recentemente um mod onde usa códigos um pouco mais avançados e por isso é necessário utilizar uma versão de java maior do que a que já veio no projeto eu estou usando java 8 (link do java), porém, eu tento mudar as opções para adicionar o java 8 e falho miseravelmente, gostaria da ajuda dos amigos do fórum pra resolver este problema, já tive ele antes dentro do mod de bs na ilha mas contornei com outro mod, agora preciso consertar o erro.

Erro :  https://imgur.com/a/UXPba6v

Java 1 https://imgur.com/idyz1rG

Java 2 : https://imgur.com/xBqtPhT

Java 3 https://imgur.com/P1WVtkz

Fico no aguardo.

Ótimo dia pra todos.

Link para o comentário
Compartilhar em outros sites

18 respostass a esta questão

Posts recomendados

  • 0
 

Atualizei o eclipse pra uma versão mais nova 4.3.2.

O compliance continua maximo 1.7

O Java continua a mesma coisa.

Agora tive tempo de olhar, a versão do eclipse que começou a ter suporte a Java 8 é a 4.4 (Eclipse Luna). Por esse motivo, você não consegue colocar maior que 1.7. A versão mais atual é a 4.8, sugiro que utilize a mais atual.

Link para o comentário
Compartilhar em outros sites


  • 0
8 minutos atrás, KhayrusS disse:

Vá em  "Window -> Preferences -> Java -> Installed JREs"  e procure o local que instalou o Java 8. Aí vai conseguir colocar o compliance level para o Java 8

Local citado 1: https://imgur.com/fNssu6T

Local citado 2: https://imgur.com/2focxjM

E os erros continuam, mas to impressionado por tal rapidez e vontade de ajudar Khayruss ♥

Caso tenha alguma outra forma, estou aqui.

Edit : compliance máximo continua 1.7

Editado por N0K3
Informações adicionais
Link para o comentário
Compartilhar em outros sites

  • 0
11 minutos atrás, KhayrusS disse:

Utiliza o Ant pra compilar ? 

Sim, "1 Ant Build".

Editado por N0K3
Informações adicionais
Link para o comentário
Compartilhar em outros sites

  • 0

No build.xml deve ter algo parecido com isso:

<target name="compile" depends="init" description="Compile the source.">
	<javac srcdir="${src}" classpathref="classpath" destdir="${build.classes}" compiler="javac1.8" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="1.8" target="1.8" />
</target>

verifica se o source e o target estão com o valor "1.8"

Link para o comentário
Compartilhar em outros sites

  • 0
2 minutos atrás, KhayrusS disse:

No build.xml deve ter algo parecido com isso:


<target name="compile" depends="init" description="Compile the source.">
	<javac srcdir="${src}" classpathref="classpath" destdir="${build.classes}" compiler="javac1.8" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="1.8" target="1.8" />
</target>

verifica se o source e o target estão com o valor "1.8"

	<target name="compile" depends="version" description="Compile the source.">

		<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.6" target="1.6" encoding="utf-8" nowarn="off">
			<src path="${src}" />
			<classpath refid="classpath" />
		</javac>
	</target>

Irei mudar todos os valores de 1.6 e te retorno o resultado.

Link para o comentário
Compartilhar em outros sites

  • 0
16 minutos atrás, KhayrusS disse:

No build.xml deve ter algo parecido com isso:


<target name="compile" depends="init" description="Compile the source.">
	<javac srcdir="${src}" classpathref="classpath" destdir="${build.classes}" compiler="javac1.8" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="1.8" target="1.8" />
</target>

verifica se o source e o target estão com o valor "1.8"

Build target e source salvo com 1.8: https://imgur.com/jlONVp3

Build target e source salvo com 1.7: https://imgur.com/vURiOad

Salvo com 1.8 ta dando tanto erro acredito que seja pelo fato e não conseguir aumentar o compliance, o máximo la ta 1.7.

Link para o comentário
Compartilhar em outros sites

  • 0
24 minutos atrás, N0K3 disse:

Salvo com 1.8 ta dando tanto erro acredito que seja pelo fato e não conseguir aumentar o compliance, o máximo la ta 1.7.

Não acredito que seja esse o caso, o código em si aparenta estar com erro, pois o ant e o eclipse teoricamente são duas aplicações separadas, a configuração do "compliance" não deveria afetar o Ant.  Mostra um dos erros completo que está dando quando tenta compilar.

Contudo também é preciso que o eclipse reconheça o 1.8. Você consegue marcar a opção "Use compliance from excution environment on the Java Build Path" ?

Link para o comentário
Compartilhar em outros sites

  • 0
7 minutos atrás, KhayrusS disse:

Não acredito que seja esse o caso, o código em si aparenta estar com erro, pois o ant e o eclipse teoricamente são duas aplicações separadas, a configuração do "compliance" não deveria afetar o Ant.  Mostra um dos erros completo que está dando quando tenta compilar.

Contudo também é preciso que o eclipse reconheça o 1.8. Você consegue marcar a opção "Use compliance from excution environment on the Java Build Path" ?

Erros imagem 1.8 : https://imgur.com/gO0XKFE

Erros imagem 1.7 : https://imgur.com/TdzjwRj

Compliance bloqueado msm desabilitando as opções : https://imgur.com/c5TkpFC

Código com os erros abaixo caso não de pra ver nas imagens.

Código dos erros 1.7

[echo] L2jFrozen Gameserver Revision: exported
compile:
    [javac] Compiling 1518 source files to C:\Users\nok\workspace\gameserver\trunk\build\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:42: warning: '_' used as an identifier
    [javac] 	private static final String _ = "\t";
    [javac] 	                            ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                          ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                        ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                                                               ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                                                                                                        ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayerManager.java:101: error: lambda expressions are not supported in -source 1.7
    [javac] 		return L2World.getInstance().getAllPlayers().stream().filter(x -> x instanceof FakePlayer).map(x -> (FakePlayer) x).collect(Collectors.toList());
    [javac] 		                                                               ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:116: error: lambda expressions are not supported in -source 1.7
    [javac] 		List<HealingSpell> spellsOrdered = getHealingSpells().stream().sorted((o1, o2)-> Integer.compare(o1.getPriority(), o2.getPriority())).collect(Collectors.toList());
    [javac] 		                                                                              ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:82: error: lambda expressions are not supported in -source 1.7
    [javac] 						.filter(x->x.getEffectType() == EffectType.BUFF)
    [javac] 						         ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\addon\IConsumableSpender.java:13: error: default methods are not supported in -source 1.7
    [javac] 	default void handleConsumable(FakePlayer fakePlayer, int consumableId) {
    [javac] 	^
    [javac]   (use -source 8 or higher to enable default methods)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\addon\IHealer.java:16: error: default methods are not supported in -source 1.7
    [javac] 	default void tryTargetingLowestHpTargetInRadius(FakePlayer player, Class<? extends L2PcInstance> creatureClass, int radius) {
    [javac] 	^
    [javac]   (use -source 8 or higher to enable default methods)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\addon\IHealer.java:19: error: lambda expressions are not supported in -source 1.7
    [javac] 			List<L2PcInstance> targets = (List<L2PcInstance>) player.getKnownList().getKnownPlayersInRadius(radius).stream().filter(x->!x.isDead());
    [javac] 			                                                                                                                         ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\task\AITask.java:30: error: lambda expressions are not supported in -source 1.7
    [javac] 			fakePlayers.stream().filter(x-> !x.getFakeAi().isBusyThinking()).forEach(x-> x.getFakeAi().thinkAndAct());	
    [javac] 			                             ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\task\AITaskRunner.java:22: error: lambda expressions are not supported in -source 1.7
    [javac] 		aiTasks.forEach(aiTask -> ThreadPoolManager.executeAi(aiTask));
    [javac] 		                       ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] 8 errors
    [javac] 6 warnings

BUILD FAILED
C:\Users\nok\workspace\gameserver\trunk\build.xml:65: Compile failed; see the compiler error output for details.

 

 

 

Código dos erros 1.8

[echo] L2jFrozen Gameserver Revision: exported
compile:
    [javac] Compiling 1518 source files to C:\Users\nok\workspace\gameserver\trunk\build\classes
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:42: warning: '_' used as an identifier
    [javac] 	private static final String _ = "\t";
    [javac] 	                            ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                          ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                        ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                                                               ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                                                                                                        ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayer.java:13: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.geo.util.Door;
    [javac]                                         ^
    [javac]   symbol:   class Door
    [javac]   location: package com.l2jfrozen.gameserver.geo.util
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayer.java:41: error: cannot inherit from final L2PcInstance
    [javac] public class FakePlayer extends L2PcInstance
    [javac]                                 ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:15: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.datatables.xml.MapRegionTable;
    [javac]                                               ^
    [javac]   symbol:   class MapRegionTable
    [javac]   location: package com.l2jfrozen.gameserver.datatables.xml
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:16: error: package com.l2jfrozen.gameserver.datatables.xml.MapRegionTable does not exist
    [javac] import com.l2jfrozen.gameserver.datatables.xml.MapRegionTable.TeleportWhereType;
    [javac]                                                              ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:18: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.geo.util.Door;
    [javac]                                         ^
    [javac]   symbol:   class Door
    [javac]   location: package com.l2jfrozen.gameserver.geo.util
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayerManager.java:11: error: package com.l2jfrozen.gameserver.datatables.xml.MapRegionTable does not exist
    [javac] import com.l2jfrozen.gameserver.datatables.xml.MapRegionTable.TeleportWhereType;
    [javac]                                                              ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:10: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.datatables.xml.CharTemplateData;
    [javac]                                               ^
    [javac]   symbol:   class CharTemplateData
    [javac]   location: package com.l2jfrozen.gameserver.datatables.xml
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayer.java:56: error: L2PcInstance(int) has private access in L2PcInstance
    [javac] 		super(objectId);
    [javac] 		^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayer.java:61: error: constructor L2PcInstance in class L2PcInstance cannot be applied to given types;
    [javac] 		super(objectId, template, accountName, app);
    [javac] 		^
    [javac]   required: int
    [javac]   found: int,L2PcTemplate,String,PcAppearance
    [javac]   reason: actual and formal argument lists differ in length
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayer.java:93: error: incompatible types: L2Skill cannot be converted to int
    [javac] 		if(isSkillDisabled(skill))
    [javac] 		                   ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayer.java:602: error: cannot find symbol
    [javac] 			notifyFriends(false);
    [javac] 			^
    [javac]   symbol:   method notifyFriends(boolean)
    [javac]   location: class FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:106: error: cannot find symbol
    [javac] 				if(Config.FAKE_PLAYER_RETURNS_TO_FARM_ZONE == true)
    [javac] 				         ^
    [javac]   symbol:   variable FAKE_PLAYER_RETURNS_TO_FARM_ZONE
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:207: error: cannot find symbol
    [javac] 					_fakePlayer.setIsCastingNow1(false);
    [javac] 					           ^
    [javac]   symbol:   method setIsCastingNow1(boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:218: error: cannot find symbol
    [javac] 					_fakePlayer.setIsCastingNow1(false);
    [javac] 					           ^
    [javac]   symbol:   method setIsCastingNow1(boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:229: error: incompatible types: L2Skill cannot be converted to int
    [javac] 				if (_fakePlayer.isSkillDisabled(skill)) {
    [javac] 				                                ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:234: error: cannot find symbol
    [javac] 			if (skill.getHitTime() > 50 && !skill.isSimultaneousCast())
    [javac] 			                                     ^
    [javac]   symbol:   method isSimultaneousCast()
    [javac]   location: variable skill of type L2Skill
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:244: error: incompatible types: L2Skill cannot be converted to int
    [javac] 		if(!_fakePlayer.isCastingNow() && !_fakePlayer.isSkillDisabled(skill)) {		
    [javac] 		                                                               ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:247: error: cannot find symbol
    [javac] 			if (skill.getHitTime() > 50 && !skill.isSimultaneousCast())
    [javac] 			                                     ^
    [javac]   symbol:   method isSimultaneousCast()
    [javac]   location: variable skill of type L2Skill
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:255: error: cannot find symbol
    [javac] 		Location location = MapRegionTable.getInstance().getTeleToLocation(_fakePlayer, TeleportWhereType.Town);
    [javac] 		                                                                                ^
    [javac]   symbol:   variable TeleportWhereType
    [javac]   location: class FakePlayerAI
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:255: error: cannot find symbol
    [javac] 		Location location = MapRegionTable.getInstance().getTeleToLocation(_fakePlayer, TeleportWhereType.Town);
    [javac] 		                    ^
    [javac]   symbol:   variable MapRegionTable
    [javac]   location: class FakePlayerAI
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:256: error: cannot find symbol
    [javac] 		if (_fakePlayer.isDead()  && !Config.FAKE_PLAYER_RETURNS_TO_FARM_ZONE)
    [javac] 		                                    ^
    [javac]   symbol:   variable FAKE_PLAYER_RETURNS_TO_FARM_ZONE
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:447: error: moveToLocation(int,int,int,int) has protected access in L2Character
    [javac] 			_fakePlayer.moveToLocation(pawn.getX(), pawn.getY(), pawn.getZ(), offset);
    [javac] 			           ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:475: error: moveToLocation(int,int,int,int) has protected access in L2Character
    [javac] 			_fakePlayer.moveToLocation(x, y, z, 0);
    [javac] 			           ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:514: error: cannot find symbol
    [javac] 			_fakePlayer.setIsCastingNow1(false);
    [javac] 			           ^
    [javac]   symbol:   method setIsCastingNow1(boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\FakePlayerTaskManager.java:41: error: non-static method scheduleAiAtFixedRate(Runnable,long,long) cannot be referenced from a static context
    [javac] 		ThreadPoolManager.scheduleAiAtFixedRate(new AITaskRunner(), aiTaskRunnerInterval, aiTaskRunnerInterval);
    [javac] 		                 ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:34: error: cannot find symbol
    [javac] 			L2Skill skill = _fakePlayer.getSkill(botSkill.getSkillId());
    [javac] 			                           ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:107: error: cannot find symbol
    [javac] 			_fakePlayer.rechargeShots(true, true);
    [javac] 			           ^
    [javac]   symbol:   method rechargeShots(boolean,boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:136: error: cannot find symbol
    [javac] 		L2Skill skill = _fakePlayer.getSkill(botSkill.getSkillId());
    [javac] 		                           ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:155: error: cannot find symbol
    [javac] 			skill = _fakePlayer.getSkill(spellsOrdered.get(skillIndex).getSkillId());
    [javac] 			                   ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:167: error: cannot find symbol
    [javac] 		L2Skill skill = _fakePlayer.getSkill(spellsOrdered.get(skillIndex).getSkillId());
    [javac] 		                           ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\CombatAI.java:174: error: cannot find symbol
    [javac] 			skill = _fakePlayer.getSkill(spellsOrdered.get(skillIndex).getSkillId());
    [javac] 			                   ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\AdventurerAI.java:39: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\ArchmageAI.java:36: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\addon\IHealer.java:48: error: cannot find symbol
    [javac] 								player.getFakeAi().castSpell(player.getSkill(skill.getSkillId()));						
    [javac] 								                                   ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable player of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\DominatorAI.java:36: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\DreadnoughtAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\DuelistAI.java:33: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\GhostHunterAI.java:36: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\GhostSentinelAI.java:40: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\GrandKhavatariAI.java:34: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\MoonlightSentinelAI.java:41: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\MysticMuseAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\SaggitariusAI.java:41: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\SoultakerAI.java:40: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\StormScreamerAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\TitanAI.java:39: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\ai\WindRiderAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:116: error: cannot find symbol
    [javac] 		final L2PcTemplate template = CharTemplateData.getInstance().getTemplate(classId);
    [javac] 		                              ^
    [javac]   symbol:   variable CharTemplateData
    [javac]   location: class FakeHelpers
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:117: error: cannot find symbol
    [javac] 		PcAppearance app = getRandomAppearance(template.getRace());
    [javac] 		                                               ^
    [javac]   symbol:   method getRace()
    [javac]   location: variable template of type L2PcTemplate
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:121: error: cannot find symbol
    [javac] 		player.setAccessLevel(Config.DEFAULT_ACCESS_LEVEL);
    [javac] 		                            ^
    [javac]   symbol:   variable DEFAULT_ACCESS_LEVEL
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:125: error: cannot find symbol
    [javac] 		player.setTitle(Config.FAKE_PLAYER_TITLE);
    [javac] 		                      ^
    [javac]   symbol:   variable FAKE_PLAYER_TITLE
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:330: error: MAX_LEVEL has private access in ExperienceData
    [javac] 		if (level >= 1 && level <= ExperienceData.MAX_LEVEL) {
    [javac] 		                                         ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:333: error: MAX_LEVEL has private access in ExperienceData
    [javac] 			long tXp = ExperienceData.getInstance().getExpForLevel(ExperienceData.MAX_LEVEL);
    [javac] 			                                                                     ^
    [javac] C:\Users\nok\workspace\gameserver\trunk\head-src\com\rouxy\phantom\task\AITaskRunner.java:22: error: non-static method executeAi(Runnable) cannot be referenced from a static context
    [javac] 		aiTasks.forEach(aiTask -> ThreadPoolManager.executeAi(aiTask));
    [javac] 		                                           ^
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 54 errors
    [javac] 5 warnings

BUILD FAILED
C:\Users\nok\workspace\gameserver\trunk\build.xml:65: Compile failed; see the compiler error output for details.

 

Link para o comentário
Compartilhar em outros sites

  • 0

Como eu tinha imaginado, não há erro de compatibilidade com o Java com o source 1.8. O que existem são erros no código. Quanto ao eclipse se tiver usando uma versão mais antiga, tenta utilizar o mais novo, acredito que seja o Photon. Outra opção é utilizar o IntelliJ IDEA

Link para o comentário
Compartilhar em outros sites

  • 0
15 horas atrás, KhayrusS disse:

Como eu tinha imaginado, não há erro de compatibilidade com o Java com o source 1.8. O que existem são erros no código. Quanto ao eclipse se tiver usando uma versão mais antiga, tenta utilizar o mais novo, acredito que seja o Photon. Outra opção é utilizar o IntelliJ IDEA

 

2 horas atrás, marciox25 disse:

Muda de eclipse, atualisa o subversion installado

Atualizei o eclipse pra uma versão mais nova 4.3.2.

O compliance continua maximo 1.7

O Java continua a mesma coisa.

Porém, agora não compila e da o seguinte erro abaixo, obs: da o erro mudando o build tanto pra 1.7 quanto pra 1.8

Imagem do erro : https://imgur.com/4rullof

Edit: atualizei o subversion(svn) para 1.10 este a frente (link do sub).

Editado por N0K3
Informações adicionais
Link para o comentário
Compartilhar em outros sites

  • 0
 

O compliance continua maximo 1.7

O Java continua a mesma coisa.

Olha se existe um arquivo 'org.eclipse.jdt.core.prefs' dentro de uma pasta '.settings'. Se tiver posta o conteúdo.

 

 

Porém, agora não compila e da o seguinte erro abaixo, obs: da o erro mudando o build tanto pra 1.7 quanto pra 1.8

Imagem do erro : https://imgur.com/4rullof

Posta teu arquivo build.xml

Link para o comentário
Compartilhar em outros sites

  • 0
 

Olha se existe um arquivo 'org.eclipse.jdt.core.prefs' dentro de uma pasta '.settings'. Se tiver posta o conteúdo.

 

Posta teu arquivo build.xml

Bom não sei se é relevante mas cabe eu informar pra caso ajude a me ajudar rs.

Eu estes mesmo arquivos que estou implementando estão dando erro são os arquivos do fake player do elfocrash adaptados para l2jpx que usa como base l2frozen e os arquivos vinheram em um source toda pronta, eu retirei os arquivos mudei os imports e coloquei na minha rev.

Sobre o 'org.eclipse...' bom não existe com exatamente mesmo nome mas existe algo parecido.

Imagem do arquivo 'org.eclipse...' : https://imgur.com/IVGdAgT

 

Código build.xml

<?xml version="1.0" encoding="UTF-8"?>
<project name="L2jFrozen_GameServer" default="dist-local" basedir=".">
	<description>
        This script will build the L2J-Frozen server. Thanks for Using our Pack.
        
        This program is opensource   
        
    </description>

	<property file="build.properties" />
	<property name="src" location="head-src" />
	<property name="src-lib" location="lib" />

	<target name="prepare-test" description="Prepare the test folder property">

		<property name="build" location="${test_destination_folder}" />

	</target>

	<target name="prepare-compiledRev" description="Prepare the compiledRev folder property">

		<property name="build" location="${compiled_rev_destination_folder}" />

	</target>

	<target name="prepare-local" description="Prepare the local folder property">

		<property name="build" location="build" />

	</target>

	<target name="prepare-final" description="Prepare the final folders properties">

		<property name="build.classes" location="${build}/classes" />
		<property name="build.dist" location="${build}/dist" />
		<property name="build.dist.login" location="${build.dist}/loginserver" />
		<property name="build.dist.login.lib" location="${build.dist.login}/lib" />
		<property name="build.dist.game" location="${build.dist}/gameserver" />
		<property name="build.dist.game.lib" location="${build.dist.game}/lib" />
		<property name="properties-file" location="${build.dist.game}/config/version/l2jfrozen-server.properties" />

	</target>

	<path id="classpath">
		<fileset dir="${src-lib}">
			<include name="*.jar" />
		</fileset>
	</path>

	<target name="init" description="Create the output directories.">

		<mkdir dir="${build}" />
		<mkdir dir="${build.classes}" />
		<mkdir dir="${build.dist}" />
		<mkdir dir="${build.dist.login}" />
		<mkdir dir="${build.dist.login.lib}" />
		<mkdir dir="${build.dist.game}" />
		<mkdir dir="${build.dist.game.lib}" />
		
	</target>


	<target name="compile" depends="version" description="Compile the source.">

		<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.8" target="1.8" encoding="utf-8" nowarn="off">
			<src path="${src}" />
			<classpath refid="classpath" />
		</javac>
	</target>


	<target name="jar" depends="compile" description="Create the jar file">

		<jar destfile="${build}/l2jfrozen-core.jar">
			<fileset dir="${build.classes}" />
		</jar>

		<copy todir="${build.dist.login.lib}">
			<fileset dir="${build}">
				<include name="l2jfrozen-core.jar" />
			</fileset>
		</copy>
		<copy todir="${build.dist.game.lib}">
			<fileset dir="${build}">
				<include name="l2jfrozen-core.jar" />
			</fileset>
		</copy>

	</target>

	<target name="export" depends="jar">

		<!-- copy todir="${build.dist.login}">
			<fileset dir="config/others">
				<include name="log.cfg" />
				<include name="servername.xml" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}">
			<fileset dir="config/others">
				<include name="log.cfg" />
			</fileset>
		</copy -->

		<copy todir="${build.dist.game.lib}">
			<fileset dir="${src-lib}">
				<include name="*.jar" />
				<include name="*.txt" />
			</fileset>
		</copy>

		<copy todir="${build.dist.login.lib}">
			<fileset dir="${src-lib}">
				<include name="*.jar" />
				<include name="*.txt" />
			</fileset>
		</copy>

		<copy todir="${build.dist.login}">
			<fileset dir="dist">
				<include name="LoginServer_loop.sh" />
				<include name="startLoginServer.*" />
				<include name="anti_ddos.*" />
				<include name="RegisterGameServer.*" />
			</fileset>
		</copy>
		<copy todir="${build.dist.game}">
			<fileset dir="dist">
				<include name="GameServer_loop.sh" />
				<include name="startGameServer.*" />
				<include name="startBackup.*" />
			</fileset>
		</copy>
		<copy todir="${build.dist}">
			<fileset dir="dist">
				<include name="Start_GameServer_noScreen.sh" />
				<include name="Start_LoginServer_noScreen.sh" />
			</fileset>
		</copy>

		<fixcrlf srcdir="${build.dist.game}" eol="lf" eof="remove" includes="**/*.sh">
		</fixcrlf>
		<fixcrlf srcdir="${build.dist.login}" eol="lf" eof="remove" includes="**/*.sh">
		</fixcrlf>

		<fixcrlf srcdir="${build.dist.game}" eol="crlf" eof="remove" includes="**/*.bat">
		</fixcrlf>
		<fixcrlf srcdir="${build.dist.login}" eol="crlf" eof="remove" includes="**/*.bat">
		</fixcrlf>

		<mkdir dir="${build.dist.game}/log" />
		<mkdir dir="${build.dist.login}/log" />
		
		<mkdir dir="${build.dist.login}/config" />
		<mkdir dir="${build.dist.login}/config/network" />
		<mkdir dir="${build.dist.login}/config/protected" />
		
		<mkdir dir="${build.dist.game}/config/protected" />
		<mkdir dir="${build.dist.game}/config/head" />
		<mkdir dir="${build.dist.game}/config/functions" />
		<mkdir dir="${build.dist.game}/config/powerpak" />
		<mkdir dir="${build.dist.game}/config/powerpak/webservices" />
		<mkdir dir="${build.dist.game}/config/network" />
		<mkdir dir="${build.dist.game}/config/fun" />

		<mkdir dir="${build.dist.game}/config/others" />

		<!-- game server -->
		<copy todir="${build.dist.game}/config">
			<fileset dir="config">
				<include name="*.properties" />
				<include name="*.info" />
				<include name="chatfilter.txt" />
				<include name="questionwords.txt" />
				<include name="key.cfg" />
				<!-- include name="banned_ip.cfg" / -->
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/protected">
			<fileset dir="config/protected">
				<include name="*.properties" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/functions">
			<fileset dir="config/functions">
				<include name="*.properties" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/head">
			<fileset dir="config/head">
				<include name="*.properties" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/powerpak">
			<fileset dir="config/powerpak">
				<include name="*.*" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/powerpak/webservices">
			<fileset dir="config/powerpak/webservices">
				<include name="*.*" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/frozen">
			<fileset dir="config/frozen">
				<include name="*.properties" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/fun">
			<fileset dir="config/fun">
				<include name="*.properties" />
			</fileset>
		</copy>
		<!-- network gameserver -->
		<copy todir="${build.dist.game}/config/network">
			<fileset dir="config/network">
				<include name="gameserver.properties" />
			</fileset>
		</copy>

		<copy todir="${build.dist.game}/config/others">
					<fileset dir="config/others">
						<include name="*.*" />
					</fileset>
		</copy>
		
		<!-- copy todir="${build.dist.game}/">
			<fileset dir="config/others">
				<include name="*.*" />
			</fileset>
		</copy -->


		<!-- login server -->
		<copy todir="${build.dist.login}/config">
			<fileset dir="config">
				<include name="telnet.properties" />
			</fileset>
			<!-- fileset dir="config/others">
				<include name="banned_ip.cfg" />
			</fileset -->
		</copy>

		<copy todir="${build.dist.login}/config/protected">
			<fileset dir="config/protected">
				<include name="mmocore.properties" />
			</fileset>
		</copy>


		<!-- network ls -->
		<copy todir="${build.dist.login}/config/network">
			<fileset dir="config/network">
				<include name="loginserver.properties" />
			</fileset>
		</copy>
		
		<copy todir="${build.dist.login}/config/others">
							<fileset dir="config/others">
								<include name="*.*" />
							</fileset>
				</copy>


		<delete dir="${build.classes}" />
		<delete file="${build}/l2jfrozen-core.jar" />

	</target>

	<target name="version" depends="init" description="Create Version file">

		<tstamp>
			<format property="build.tstamp" pattern="dd-MM-yyyy hh:mm:ss aa" />
		</tstamp>

		<exec dir="." executable="./subversion/svnversion" outputproperty="l2jfrozen.revision" failifexecutionfails="false">
			<arg line="-n ." />
		</exec>

		<concat destfile="${properties-file}">
		      revision=${l2jfrozen.revision}
		      builddate=${build.tstamp}
	      	  repository=http://subversion.assembla.com/svn/L2jFrozenInterlude/trunk/gameserver
		  </concat>

		<echo>L2jFrozen Gameserver Revision: ${l2jfrozen.revision}</echo>
	</target>

	<target name="dist-local" depends="prepare-local,prepare-final,export" description="Create distribution files and Zip one into 'build' folder">
		<zip destfile="${build}/L2JFrozen_GameServer.zip" basedir="${build.dist}" update="true" />
	</target>

	<target name="dist-test" depends="prepare-test,prepare-final,export" description="Create distribution files into 'local_test_folder' folder: change it into build.properties">
	</target>

	<target name="dist-compiledRev" depends="prepare-compiledRev,prepare-final,export" description="Create distribution files into 'compiledRev_folder' folder: change it into build.properties">
	</target>

	<target name="dist-core" description="Generate core jar into 'build-core' folder">
		<property name="build" location="build-core" />
		<property name="build.classes" location="${build}/classes" />
		<delete dir="${build.classes}" />
		<delete file="${build}/l2jfrozen-core.jar" />
		<mkdir dir="${build}" />
		<mkdir dir="${build.classes}" />
		<javac destdir="${build.classes}" includeantruntime="false" optimize="on" debug="on" source="1.8" target="1.8" encoding="UTF-8" nowarn="off">

			<src path="${src}" />
			<classpath refid="classpath" />
		</javac>

		<jar destfile="${build}/l2jfrozen-core.jar">
			<fileset dir="${build.classes}" />
		</jar>

		<delete dir="${build.classes}" />
	</target>

</project>

 

Link para o comentário
Compartilhar em outros sites

  • 0
 

Agora tive tempo de olhar, a versão do eclipse que começou a ter suporte a Java 8 é a 4.4 (Eclipse Luna). Por esse motivo, você não consegue colocar maior que 1.7. A versão mais atual é a 4.8, sugiro que utilize a mais atual.

Realmente, agora eu consegui colocar o compliance em 8 e vai até o 10.

Mas os erros continuam, estou passando a acreditar que os erros são do código.

Mas o que me intriga é que os primeiros erros ainda dizem que precisa do java 8.

Veja abaixo.

[echo] L2jFrozen Gameserver Revision: exported
compile:
    [javac] Compiling 843 source files to C:\Users\nok\workspace\gameserver\tags\stable_1004\build\classes
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\logs\FileLogFormatter.java:42: warning: '_' used as an identifier
    [javac] 	private static final String _ = "\t";
    [javac] 	                            ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                          ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                        ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                                                               ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier
    [javac] 		return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString();
    [javac] 		                                                                                                                                                                                                        ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayer.java:13: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.geo.util.Door;
    [javac]                                         ^
    [javac]   symbol:   class Door
    [javac]   location: package com.l2jfrozen.gameserver.geo.util
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayer.java:41: error: cannot inherit from final L2PcInstance
    [javac] public class FakePlayer extends L2PcInstance
    [javac]                                 ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:15: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.datatables.xml.MapRegionTable;
    [javac]                                               ^
    [javac]   symbol:   class MapRegionTable
    [javac]   location: package com.l2jfrozen.gameserver.datatables.xml
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:16: error: package com.l2jfrozen.gameserver.datatables.xml.MapRegionTable does not exist
    [javac] import com.l2jfrozen.gameserver.datatables.xml.MapRegionTable.TeleportWhereType;
    [javac]                                                              ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:18: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.geo.util.Door;
    [javac]                                         ^
    [javac]   symbol:   class Door
    [javac]   location: package com.l2jfrozen.gameserver.geo.util
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayerManager.java:11: error: package com.l2jfrozen.gameserver.datatables.xml.MapRegionTable does not exist
    [javac] import com.l2jfrozen.gameserver.datatables.xml.MapRegionTable.TeleportWhereType;
    [javac]                                                              ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:10: error: cannot find symbol
    [javac] import com.l2jfrozen.gameserver.datatables.xml.CharTemplateData;
    [javac]                                               ^
    [javac]   symbol:   class CharTemplateData
    [javac]   location: package com.l2jfrozen.gameserver.datatables.xml
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\model\entity\event\AntiAfkTvt.java:49: error: cannot find symbol
    [javac]             if (TvT.isStarted())
    [javac]                    ^
    [javac]   symbol:   method isStarted()
    [javac]   location: class TvT
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\model\entity\event\AntiAfkTvt.java:52: error: incompatible types: String cannot be converted to TvT
    [javac]                 for (TvT team : TvT._teams)
    [javac]                                    ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\model\entity\event\AntiAfkTvt.java:55: error: cannot find symbol
    [javac]                     for (L2PcInstance playerInstance : team.getParticipatedPlayers().values())
    [javac]                                                            ^
    [javac]   symbol:   method getParticipatedPlayers()
    [javac]   location: variable team of type TvT
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\model\entity\event\AntiAfkTvt.java:57: error: bad operand types for binary operator '&&'
    [javac]                         if ((playerInstance != null) && playerInstance.isOnline())
    [javac]                                                      ^
    [javac]   first type:  boolean
    [javac]   second type: int
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\model\entity\event\AntiAfkTvt.java:93: error: incomparable types: int and boolean
    [javac]                     if ((_x == xx) && (_y == yy) && (_z == zz) && (_player.isAttackingNow() == false) && (_player.isCastingNow() == false) && (_player.isOnline() == true))
    [javac]                                                                                                                                                                   ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\network\clientpackets\MoveBackwardToLocation.java:81: error: cannot find symbol
    [javac] 		if(activeChar.isControllingFakePlayer()) {
    [javac] 		             ^
    [javac]   symbol:   method isControllingFakePlayer()
    [javac]   location: variable activeChar of type L2PcInstance
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\network\clientpackets\MoveBackwardToLocation.java:82: error: cannot find symbol
    [javac] 			FakePlayer fakePlayer = activeChar.getPlayerUnderControl();
    [javac] 			                                  ^
    [javac]   symbol:   method getPlayerUnderControl()
    [javac]   location: variable activeChar of type L2PcInstance
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\network\clientpackets\MoveBackwardToLocation.java:84: error: cannot find symbol
    [javac] 			fakePlayer.getAI().setIntention(CtrlIntention.MOVE_TO, new Location(_targetX, _targetY, _targetZ));
    [javac] 			                                             ^
    [javac]   symbol:   variable MOVE_TO
    [javac]   location: class CtrlIntention
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\gameserver\network\clientpackets\MoveBackwardToLocation.java:84: error: cannot find symbol
    [javac] 			fakePlayer.getAI().setIntention(CtrlIntention.MOVE_TO, new Location(_targetX, _targetY, _targetZ));
    [javac] 			                                                           ^
    [javac]   symbol:   class Location
    [javac]   location: class MoveBackwardToLocation
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayer.java:56: error: L2PcInstance(int) has private access in L2PcInstance
    [javac] 		super(objectId);
    [javac] 		^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayer.java:61: error: constructor L2PcInstance in class L2PcInstance cannot be applied to given types;
    [javac] 		super(objectId, template, accountName, app);
    [javac] 		^
    [javac]   required: int
    [javac]   found: int,L2PcTemplate,String,PcAppearance
    [javac]   reason: actual and formal argument lists differ in length
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayer.java:93: error: incompatible types: L2Skill cannot be converted to int
    [javac] 		if(isSkillDisabled(skill))
    [javac] 		                   ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayer.java:602: error: cannot find symbol
    [javac] 			notifyFriends(false);
    [javac] 			^
    [javac]   symbol:   method notifyFriends(boolean)
    [javac]   location: class FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:106: error: cannot find symbol
    [javac] 				if(Config.FAKE_PLAYER_RETURNS_TO_FARM_ZONE == true)
    [javac] 				         ^
    [javac]   symbol:   variable FAKE_PLAYER_RETURNS_TO_FARM_ZONE
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:207: error: cannot find symbol
    [javac] 					_fakePlayer.setIsCastingNow1(false);
    [javac] 					           ^
    [javac]   symbol:   method setIsCastingNow1(boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:218: error: cannot find symbol
    [javac] 					_fakePlayer.setIsCastingNow1(false);
    [javac] 					           ^
    [javac]   symbol:   method setIsCastingNow1(boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:229: error: incompatible types: L2Skill cannot be converted to int
    [javac] 				if (_fakePlayer.isSkillDisabled(skill)) {
    [javac] 				                                ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:234: error: cannot find symbol
    [javac] 			if (skill.getHitTime() > 50 && !skill.isSimultaneousCast())
    [javac] 			                                     ^
    [javac]   symbol:   method isSimultaneousCast()
    [javac]   location: variable skill of type L2Skill
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:244: error: incompatible types: L2Skill cannot be converted to int
    [javac] 		if(!_fakePlayer.isCastingNow() && !_fakePlayer.isSkillDisabled(skill)) {		
    [javac] 		                                                               ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:247: error: cannot find symbol
    [javac] 			if (skill.getHitTime() > 50 && !skill.isSimultaneousCast())
    [javac] 			                                     ^
    [javac]   symbol:   method isSimultaneousCast()
    [javac]   location: variable skill of type L2Skill
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:255: error: cannot find symbol
    [javac] 		Location location = MapRegionTable.getInstance().getTeleToLocation(_fakePlayer, TeleportWhereType.Town);
    [javac] 		                                                                                ^
    [javac]   symbol:   variable TeleportWhereType
    [javac]   location: class FakePlayerAI
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:255: error: cannot find symbol
    [javac] 		Location location = MapRegionTable.getInstance().getTeleToLocation(_fakePlayer, TeleportWhereType.Town);
    [javac] 		                    ^
    [javac]   symbol:   variable MapRegionTable
    [javac]   location: class FakePlayerAI
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:256: error: cannot find symbol
    [javac] 		if (_fakePlayer.isDead()  && !Config.FAKE_PLAYER_RETURNS_TO_FARM_ZONE)
    [javac] 		                                    ^
    [javac]   symbol:   variable FAKE_PLAYER_RETURNS_TO_FARM_ZONE
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:447: error: moveToLocation(int,int,int,int) has protected access in L2Character
    [javac] 			_fakePlayer.moveToLocation(pawn.getX(), pawn.getY(), pawn.getZ(), offset);
    [javac] 			           ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:475: error: moveToLocation(int,int,int,int) has protected access in L2Character
    [javac] 			_fakePlayer.moveToLocation(x, y, z, 0);
    [javac] 			           ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\FakePlayerAI.java:514: error: cannot find symbol
    [javac] 			_fakePlayer.setIsCastingNow1(false);
    [javac] 			           ^
    [javac]   symbol:   method setIsCastingNow1(boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\FakePlayerTaskManager.java:41: error: non-static method scheduleAiAtFixedRate(Runnable,long,long) cannot be referenced from a static context
    [javac] 		ThreadPoolManager.scheduleAiAtFixedRate(new AITaskRunner(), aiTaskRunnerInterval, aiTaskRunnerInterval);
    [javac] 		                 ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\CombatAI.java:34: error: cannot find symbol
    [javac] 			L2Skill skill = _fakePlayer.getSkill(botSkill.getSkillId());
    [javac] 			                           ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\CombatAI.java:107: error: cannot find symbol
    [javac] 			_fakePlayer.rechargeShots(true, true);
    [javac] 			           ^
    [javac]   symbol:   method rechargeShots(boolean,boolean)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\CombatAI.java:136: error: cannot find symbol
    [javac] 		L2Skill skill = _fakePlayer.getSkill(botSkill.getSkillId());
    [javac] 		                           ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\CombatAI.java:155: error: cannot find symbol
    [javac] 			skill = _fakePlayer.getSkill(spellsOrdered.get(skillIndex).getSkillId());
    [javac] 			                   ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\CombatAI.java:167: error: cannot find symbol
    [javac] 		L2Skill skill = _fakePlayer.getSkill(spellsOrdered.get(skillIndex).getSkillId());
    [javac] 		                           ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\CombatAI.java:174: error: cannot find symbol
    [javac] 			skill = _fakePlayer.getSkill(spellsOrdered.get(skillIndex).getSkillId());
    [javac] 			                   ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable _fakePlayer of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\AdventurerAI.java:39: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\ArchmageAI.java:36: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\addon\IHealer.java:48: error: cannot find symbol
    [javac] 								player.getFakeAi().castSpell(player.getSkill(skill.getSkillId()));						
    [javac] 								                                   ^
    [javac]   symbol:   method getSkill(int)
    [javac]   location: variable player of type FakePlayer
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\DominatorAI.java:36: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\DreadnoughtAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\DuelistAI.java:33: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\GhostHunterAI.java:36: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\GhostSentinelAI.java:40: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\GrandKhavatariAI.java:34: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\MoonlightSentinelAI.java:41: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\MysticMuseAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\SaggitariusAI.java:41: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\SoultakerAI.java:40: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\StormScreamerAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\TitanAI.java:39: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\ai\WindRiderAI.java:37: error: cannot find symbol
    [javac] 		if(Config.FAKE_PLAYER_CAN_TARGET_REAL_PLAYER == true)
    [javac] 		         ^
    [javac]   symbol:   variable FAKE_PLAYER_CAN_TARGET_REAL_PLAYER
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:116: error: cannot find symbol
    [javac] 		final L2PcTemplate template = CharTemplateData.getInstance().getTemplate(classId);
    [javac] 		                              ^
    [javac]   symbol:   variable CharTemplateData
    [javac]   location: class FakeHelpers
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:117: error: cannot find symbol
    [javac] 		PcAppearance app = getRandomAppearance(template.getRace());
    [javac] 		                                               ^
    [javac]   symbol:   method getRace()
    [javac]   location: variable template of type L2PcTemplate
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:121: error: cannot find symbol
    [javac] 		player.setAccessLevel(Config.DEFAULT_ACCESS_LEVEL);
    [javac] 		                            ^
    [javac]   symbol:   variable DEFAULT_ACCESS_LEVEL
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:125: error: cannot find symbol
    [javac] 		player.setTitle(Config.FAKE_PLAYER_TITLE);
    [javac] 		                      ^
    [javac]   symbol:   variable FAKE_PLAYER_TITLE
    [javac]   location: class Config
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:330: error: MAX_LEVEL has private access in ExperienceData
    [javac] 		if (level >= 1 && level <= ExperienceData.MAX_LEVEL) {
    [javac] 		                                         ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:333: error: MAX_LEVEL has private access in ExperienceData
    [javac] 			long tXp = ExperienceData.getInstance().getExpForLevel(ExperienceData.MAX_LEVEL);
    [javac] 			                                                                     ^
    [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\task\AITaskRunner.java:22: error: non-static method executeAi(Runnable) cannot be referenced from a static context
    [javac] 		aiTasks.forEach(aiTask -> ThreadPoolManager.executeAi(aiTask));
    [javac] 		                                           ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 63 errors
    [javac] 5 warnings

BUILD FAILED
C:\Users\nok\workspace\gameserver\tags\stable_1004\build.xml:65: Compile failed; see the compiler error output for details.

 

Link para o comentário
Compartilhar em outros sites

  • 0
 

Mas o que me intriga é que os primeiros erros ainda dizem que precisa do java 8.

Os erros que você fala são desse tipo ?

 

[javac] (use of '_' as an identifier might not be supported in releasMas os erros continuam, estou passando a acreditar que os erros são do código.es after Java SE ? [javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\l2jfrozen\logs\FileLogFormatter.java:50: warning: '_' used as an identifier [javac] return output.append(dateFmt.format(new Date(record.getMillis()))).append(_).append(record.getLevel().getName()).append(_).append(record.getThreadID()).append(_).append(record.getLoggerName()).append(_).append(record.getMessage()).append(CRLF).toString(); [javac]

Caso esteja se referindo a esse, não é um erro, é um warning. Basicamente o compilador está reclamando que depois do java 8 variáveis declaradas como '_' podem não serem mais suportada.

 

Mas os erros continuam, estou passando a acreditar que os erros são do código.

Sim, eu tenho plena certeza que são erros do código. Exemplo:

 

[javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\task\AITaskRunner.java:22: error: non-static method executeAi(Runnable) cannot be referenced from a static context [javac] aiTasks.forEach(aiTask -> ThreadPoolManager.executeAi(aiTask));

O compilador está reclamando que o método executeAI da class ThreadPoolManager não é 'static'. Ou seja, só pode ser acessado a partir de uma instância.

 

[javac] C:\Users\nok\workspace\gameserver\tags\stable_1004\head-src\com\rouxy\phantom\helpers\FakeHelpers.java:333: error: MAX_LEVEL has private access in ExperienceData [javac] long tXp = ExperienceData.getInstance().getExpForLevel(ExperienceData.MAX_LEVEL); [javac]

O Compilador está reclamando que a propriedade 'MAX_LEVEL' da classe ExperienceData está 'private'. Ou seja, só pode ser acessado pela própria classe.

Link para o comentário
Compartilhar em outros sites

  • 0
 

Os erros que você fala são desse tipo ?

Caso esteja se referindo a esse, não é um erro, é um warning. Basicamente o compilador está reclamando que depois do java 8 variáveis declaradas como '_' podem não serem mais suportada.

Sim, eu tenho plena certeza que são erros do código. Exemplo:

O compilador está reclamando que o método executeAI da class ThreadPoolManager não é 'static'. Ou seja, só pode ser acessado a partir de uma instância.

O Compilador está reclamando que a propriedade 'MAX_LEVEL' da classe ExperienceData está 'private'. Ou seja, só pode ser acessado pela própria classe.

Bom então meu problema está resolvido, basta agora saber se eu que to compilando errado o mod ou se o mod que está falho mesmo, mas de qualquer forma e eu fico muito grato por sua ajuda KhayrusS, você é um Deus cara ♥

Obrigado também ao marciox25 que também teve uma parcela.

Obrigado ao dois s2

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.





  • Patrocinadores

  • Quem Está Navegando

    • Nenhum usuário registrado visualizando esta página.
  • Posts

    • Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?    
    • muchas gracias muy lindos NPC 🙂
    • relaxa jovem gafanhoto, testa as quests. e posTa os erros indesejaveis.  
    • Se alguém pudesse me ensinar como codificar as missões, eu ficaria feliz em fazer isso sozinho ou pelo menos ajudar. Eu realmente quero jogar em um servidor onde todas as quests funcionem bem e melhor ainda se você puder fazer quests customizadas!
    • mas no interlude, nem todas as quests de class,  vai mostrar onde tem que ir, ate o reborn nao mostrava quando era interlude, só mostrou depois que eles colocaram client classic pra rodar, e ficou melhor ainda quando virou hellbound em diante, mas ha sim alguma chance de modificar isso direto no script para fazer igualmente, só basta te um pouco de paciencia e persistencia exato
    • 408_PathToElvenwizard dá Orion eu tive que mexer tbm, até modifiquei e consegui deixar ela igual do Classic, com a seta e a marcação no mapa. (não retail IL) Dá pra importar py de várias revs, o foda é que não da regular as quest py através do debug em tempo real, pelo menos eu não consegui rsrs
    • Hasta el momento todas las QUESTS son completables si te guias con un tutorial de youtube. El problema es que tienen bugs de locacion y de subquests que no avanzan o no te marcan correctamente a donde ir en el mapa, cosa que en Retail si se ve como corresponde.
    • estranho, mas pelo menos a galera nunca reclamo das quests quando tinha aberto 5x, geral fez class primeira e segunda job, poucos que compraram a class
    • en RUSaCis-3.5 data pack, las Quests estan en formato .java y son diferentes a como estan redactadas en jOrion y jFrozen 1.5 (ProyectX) package net.sf.l2j.gameserver.scripting.quest; import net.sf.l2j.commons.random.Rnd; import net.sf.l2j.gameserver.enums.Paperdoll; import net.sf.l2j.gameserver.enums.QuestStatus; import net.sf.l2j.gameserver.enums.actors.ClassId; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.sf.l2j.gameserver.scripting.QuestState; public class Q224_TestOfSagittarius extends SecondClassQuest { private static final String QUEST_NAME = "Q224_TestOfSagittarius"; // Items private static final int BERNARD_INTRODUCTION = 3294; private static final int HAMIL_LETTER_1 = 3295; private static final int HAMIL_LETTER_2 = 3296; private static final int HAMIL_LETTER_3 = 3297; private static final int HUNTER_RUNE_1 = 3298; private static final int HUNTER_RUNE_2 = 3299; private static final int TALISMAN_OF_KADESH = 3300; private static final int TALISMAN_OF_SNAKE = 3301; private static final int MITHRIL_CLIP = 3302; private static final int STAKATO_CHITIN = 3303; private static final int REINFORCED_BOWSTRING = 3304; private static final int MANASHEN_HORN = 3305; private static final int BLOOD_OF_LIZARDMAN = 3306; private static final int CRESCENT_MOON_BOW = 3028; private static final int WOODEN_ARROW = 17; // Rewards private static final int MARK_OF_SAGITTARIUS = 3293; // NPCs private static final int BERNARD = 30702; private static final int HAMIL = 30626; private static final int SIR_ARON_TANFORD = 30653; private static final int VOKIAN = 30514; private static final int GAUEN = 30717; // Monsters private static final int ANT = 20079; private static final int ANT_CAPTAIN = 20080; private static final int ANT_OVERSEER = 20081; private static final int ANT_RECRUIT = 20082; private static final int ANT_PATROL = 20084; private static final int ANT_GUARD = 20086; private static final int NOBLE_ANT = 20089; private static final int NOBLE_ANT_LEADER = 20090; private static final int BREKA_ORC_SHAMAN = 20269; private static final int BREKA_ORC_OVERLORD = 20270; private static final int MARSH_STAKATO_WORKER = 20230; private static final int MARSH_STAKATO_SOLDIER = 20232; private static final int MARSH_STAKATO_DRONE = 20234; private static final int MARSH_SPIDER = 20233; private static final int ROAD_SCAVENGER = 20551; private static final int MANASHEN_GARGOYLE = 20563; private static final int LETO_LIZARDMAN = 20577; private static final int LETO_LIZARDMAN_ARCHER = 20578; private static final int LETO_LIZARDMAN_SOLDIER = 20579; private static final int LETO_LIZARDMAN_WARRIOR = 20580; private static final int LETO_LIZARDMAN_SHAMAN = 20581; private static final int LETO_LIZARDMAN_OVERLORD = 20582; private static final int SERPENT_DEMON_KADESH = 27090; public Q224_TestOfSagittarius() { super(224, "Test Of Sagittarius"); setItemsIds(BERNARD_INTRODUCTION, HAMIL_LETTER_1, HAMIL_LETTER_2, HAMIL_LETTER_3, HUNTER_RUNE_1, HUNTER_RUNE_2, TALISMAN_OF_KADESH, TALISMAN_OF_SNAKE, MITHRIL_CLIP, STAKATO_CHITIN, REINFORCED_BOWSTRING, MANASHEN_HORN, BLOOD_OF_LIZARDMAN, CRESCENT_MOON_BOW); addQuestStart(BERNARD); addTalkId(BERNARD, HAMIL, SIR_ARON_TANFORD, VOKIAN, GAUEN); addMyDying(ANT, ANT_CAPTAIN, ANT_OVERSEER, ANT_RECRUIT, ANT_PATROL, ANT_GUARD, NOBLE_ANT, NOBLE_ANT_LEADER, BREKA_ORC_SHAMAN, BREKA_ORC_OVERLORD, MARSH_STAKATO_WORKER, MARSH_STAKATO_SOLDIER, MARSH_STAKATO_DRONE, MARSH_SPIDER, ROAD_SCAVENGER, MANASHEN_GARGOYLE, LETO_LIZARDMAN, LETO_LIZARDMAN_ARCHER, LETO_LIZARDMAN_SOLDIER, LETO_LIZARDMAN_WARRIOR, LETO_LIZARDMAN_SHAMAN, LETO_LIZARDMAN_OVERLORD, SERPENT_DEMON_KADESH); } @Override public String onAdvEvent(String event, Npc npc, Player player) { String htmltext = event; QuestState st = player.getQuestList().getQuestState(QUEST_NAME); if (st == null) return htmltext; // BERNARD if (event.equalsIgnoreCase("30702-04.htm")) { st.setState(QuestStatus.STARTED); st.setCond(1); playSound(player, SOUND_ACCEPT); giveItems(player, BERNARD_INTRODUCTION, 1); if (giveDimensionalDiamonds39(player)) htmltext = "30702-04a.htm"; } // HAMIL else if (event.equalsIgnoreCase("30626-03.htm")) { st.setCond(2); playSound(player, SOUND_MIDDLE); takeItems(player, BERNARD_INTRODUCTION, 1); giveItems(player, HAMIL_LETTER_1, 1); } else if (event.equalsIgnoreCase("30626-07.htm")) { st.setCond(5); playSound(player, SOUND_MIDDLE); takeItems(player, HUNTER_RUNE_1, 10); giveItems(player, HAMIL_LETTER_2, 1); } // SIR_ARON_TANFORD else if (event.equalsIgnoreCase("30653-02.htm")) { st.setCond(3); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_1, 1); } // VOKIAN else if (event.equalsIgnoreCase("30514-02.htm")) { st.setCond(6); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_2, 1); } return htmltext; } @Override public String onTalk(Npc npc, Player player) { String htmltext = getNoQuestMsg(); QuestState st = player.getQuestList().getQuestState(QUEST_NAME); if (st == null) return htmltext; switch (st.getState()) { case CREATED: if (player.getClassId() != ClassId.ROGUE && player.getClassId() != ClassId.ELVEN_SCOUT && player.getClassId() != ClassId.ASSASSIN) htmltext = "30702-02.htm"; else if (player.getStatus().getLevel() < 39) htmltext = "30702-01.htm"; else htmltext = "30702-03.htm"; break; case STARTED: int cond = st.getCond(); switch (npc.getNpcId()) { case BERNARD: htmltext = "30702-05.htm"; break; case HAMIL: if (cond == 1) htmltext = "30626-01.htm"; else if (cond == 2 || cond == 3) htmltext = "30626-04.htm"; else if (cond == 4) htmltext = "30626-05.htm"; else if (cond > 4 && cond < 8) htmltext = "30626-08.htm"; else if (cond == 8) { htmltext = "30626-09.htm"; st.setCond(9); playSound(player, SOUND_MIDDLE); takeItems(player, HUNTER_RUNE_2, 10); giveItems(player, HAMIL_LETTER_3, 1); } else if (cond > 8 && cond < 12) htmltext = "30626-10.htm"; else if (cond == 12) { htmltext = "30626-11.htm"; st.setCond(13); playSound(player, SOUND_MIDDLE); } else if (cond == 13) htmltext = "30626-12.htm"; else if (cond == 14) { htmltext = "30626-13.htm"; takeItems(player, BLOOD_OF_LIZARDMAN, -1); takeItems(player, CRESCENT_MOON_BOW, 1); takeItems(player, TALISMAN_OF_KADESH, 1); giveItems(player, MARK_OF_SAGITTARIUS, 1); rewardExpAndSp(player, 54726, 20250); player.broadcastPacket(new SocialAction(player, 3)); playSound(player, SOUND_FINISH); st.exitQuest(false); } break; case SIR_ARON_TANFORD: if (cond == 2) htmltext = "30653-01.htm"; else if (cond > 2) htmltext = "30653-03.htm"; break; case VOKIAN: if (cond == 5) htmltext = "30514-01.htm"; else if (cond == 6) htmltext = "30514-03.htm"; else if (cond == 7) { htmltext = "30514-04.htm"; st.setCond(8); playSound(player, SOUND_MIDDLE); takeItems(player, TALISMAN_OF_SNAKE, 1); } else if (cond > 7) htmltext = "30514-05.htm"; break; case GAUEN: if (cond == 9) { htmltext = "30717-01.htm"; st.setCond(10); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_3, 1); } else if (cond == 10) htmltext = "30717-03.htm"; else if (cond == 11) { htmltext = "30717-02.htm"; st.setCond(12); playSound(player, SOUND_MIDDLE); takeItems(player, MANASHEN_HORN, 1); takeItems(player, MITHRIL_CLIP, 1); takeItems(player, REINFORCED_BOWSTRING, 1); takeItems(player, STAKATO_CHITIN, 1); giveItems(player, CRESCENT_MOON_BOW, 1); giveItems(player, WOODEN_ARROW, 10); } else if (cond > 11) htmltext = "30717-04.htm"; break; } break; case COMPLETED: htmltext = getAlreadyCompletedMsg(); break; } return htmltext; } @Override public void onMyDying(Npc npc, Creature killer) { final Player player = killer.getActingPlayer(); final QuestState st = checkPlayerState(player, npc, QuestStatus.STARTED); if (st == null) return; switch (npc.getNpcId()) { case ANT: case ANT_CAPTAIN: case ANT_OVERSEER: case ANT_RECRUIT: case ANT_PATROL: case ANT_GUARD: case NOBLE_ANT: case NOBLE_ANT_LEADER: if (st.getCond() == 3 && dropItems(player, HUNTER_RUNE_1, 1, 10, 500000)) st.setCond(4); break; case BREKA_ORC_SHAMAN: case BREKA_ORC_OVERLORD: if (st.getCond() == 6 && dropItems(player, HUNTER_RUNE_2, 1, 10, 500000)) { st.setCond(7); giveItems(player, TALISMAN_OF_SNAKE, 1); } break; case MARSH_STAKATO_WORKER: case MARSH_STAKATO_SOLDIER: case MARSH_STAKATO_DRONE: if (st.getCond() == 10 && dropItems(player, STAKATO_CHITIN, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, MITHRIL_CLIP, REINFORCED_BOWSTRING)) st.setCond(11); break; case MARSH_SPIDER: if (st.getCond() == 10 && dropItems(player, REINFORCED_BOWSTRING, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, MITHRIL_CLIP, STAKATO_CHITIN)) st.setCond(11); break; case ROAD_SCAVENGER: if (st.getCond() == 10 && dropItems(player, MITHRIL_CLIP, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, REINFORCED_BOWSTRING, STAKATO_CHITIN)) st.setCond(11); break; case MANASHEN_GARGOYLE: if (st.getCond() == 10 && dropItems(player, MANASHEN_HORN, 1, 1, 100000) && player.getInventory().hasItems(REINFORCED_BOWSTRING, MITHRIL_CLIP, STAKATO_CHITIN)) st.setCond(11); break; case LETO_LIZARDMAN: case LETO_LIZARDMAN_ARCHER: case LETO_LIZARDMAN_SOLDIER: case LETO_LIZARDMAN_WARRIOR: case LETO_LIZARDMAN_SHAMAN: case LETO_LIZARDMAN_OVERLORD: if (st.getCond() == 13) { if (((player.getInventory().getItemCount(BLOOD_OF_LIZARDMAN) - 120) * 5) > Rnd.get(100)) { playSound(player, SOUND_BEFORE_BATTLE); takeItems(player, BLOOD_OF_LIZARDMAN, -1); addSpawn(SERPENT_DEMON_KADESH, player, false, 300000, true); } else dropItemsAlways(player, BLOOD_OF_LIZARDMAN, 1, 0); } break; case SERPENT_DEMON_KADESH: if (st.getCond() == 13) { if (player.getInventory().getItemIdFrom(Paperdoll.RHAND) == CRESCENT_MOON_BOW) { st.setCond(14); playSound(player, SOUND_MIDDLE); giveItems(player, TALISMAN_OF_KADESH, 1); } else addSpawn(SERPENT_DEMON_KADESH, player, false, 300000, true); } break; } } }  
×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.