alucardeck 17 de jun. de 2008
jah sei… eh o Lineage 2?
uaehuahe
modificar o jogo e fazer ele rodar… vai exigir um bom conhecimento Java…
com o DJ compiler… vc vai pegar o codigo parcial…
pq parcial? pq ele nao consegue decompilar tudo q esta dentro do Jar… (problemas do proprio DJ)
entao vc ia precisar decompilar… e reescrever as partes “faltantes”… e pra isso vai precisar de uma pesada pratica de engenharia reversa…
ah nao ser q vc pretende mudar por exemplo… uma classe em especial, como o banco de dados de equipamentos do jogo… que seria na verdade uma tabela…
enfim… feito isso…
basta vc dar export no eclipse… e gerar o novo JAR…
onde vc substituiria o JAR antigo…
provavelmente as alterações jah estariam fazendo efeito… (se compilar sem erros)
sommer 17 de jun. de 2008
beleza entendi mais ou menos como que vai ser feito agora tenho outra duvida tenho um codigo ja escrito que me passaram preciso fazer ele vira em .class mais ele da erros pq fala que nao tem os pacotes certos , como faço pra fazer esses pcotes do jogo ficar certo na hora da compilação?
Deu pra entender?
alucardeck 17 de jun. de 2008
entendi…
mas seria mais facil se vc postar o erro exibido na tela…
pra gente saber exatamente qual erro acontece…
pacote vc ker dizer “Package” né ?
sommer 17 de jun. de 2008
Acho que sim , rrsss
sou newbie ao ²
vo tentar fazer aqui e mostrar o Erroo
sommer 17 de jun. de 2008
Deu esse ERRO aqui
Microsoft Windows XP [ versão 5.1.2600 ]
( C ) Copyright 1985 - 2001 Microsoft Corp .
C : \ Documents and Settings \ SERVIDOR > cd c : \ curso
C : \ curso > dir
O volume na unidade C é
O número de série do volume é DC5B - 6126
Pasta de C : \ curso
06 / 06 / 2008 18 : 40 < DIR > .
06 / 06 / 2008 18 : 40 < DIR > ..
05 / 06 / 2008 19 : 17 415 Hello . class
05 / 06 / 2008 19 : 16 216 Hello . java
06 / 06 / 2008 12 : 55 < DIR > jedi
06 / 06 / 2008 13 : 21 < DIR > jedii
05 / 06 / 2008 20 : 30 < DIR > pacote
06 / 06 / 2008 13 : 23 < DIR > rebirth
17 / 06 / 2008 14 : 30 3.576 rebirth . java
06 / 06 / 2008 18 : 49 < DIR > referencia
05 / 06 / 2008 20 : 37 < DIR > teste
3 arquivo ( s ) 4.207 bytes
8 pasta ( s ) 3.783.667.712 bytes disponíveis
C : \ curso > javac rebirth . java
rebirth . java : 32 : class L2RebirthMasterInstance is public , should be declared in
a file named L2RebirthMasterInstance . java
public class L2RebirthMasterInstance extends L2FolkInstance
^
rebirth . java : 16 : package net.sf.l2j.gameserver.datatables does not exist
import net.sf.l2j.gameserver.datatables.ItemTable ;
^
rebirth . java : 17 : cannot find symbol
symbol : class L2ItemInstance
location : package net.sf.l2j.gameserver.model
import net.sf.l2j.gameserver.model.L2ItemInstance ;
^
rebirth . java : 18 : cannot find symbol
symbol : class L2Skill
location : package net.sf.l2j.gameserver.model
import net.sf.l2j.gameserver.model.L2Skill ;
^
rebirth . java : 19 : package net.sf.l2j.gameserver.model.base does not exist
import net.sf.l2j.gameserver.model.base.ClassId ;
^
rebirth . java : 20 : package net.sf.l2j.gameserver.model.base does not exist
import net.sf.l2j.gameserver.model.base.Experience ;
^
rebirth . java : 21 : package net.sf.l2j.gameserver.network does not exist
import net.sf.l2j.gameserver.network.SystemMessageId ;
^
rebirth . java : 22 : package net.sf.l2j.gameserver.network.serverpackets does not ex
ist
import net.sf.l2j.gameserver.network.serverpackets.SystemMessage ;
^
rebirth . java : 23 : package net.sf.l2j.gameserver.network.serverpackets does not ex
ist
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage ;
^
rebirth . java : 24 : package net.sf.l2j.gameserver.templates does not exist
import net.sf.l2j.gameserver.templates.L2NpcTemplate ;
^
rebirth . java : 32 : cannot find symbol
symbol : class L2FolkInstance
public class L2RebirthMasterInstance extends L2FolkInstance
^
rebirth . java : 37 : cannot find symbol
symbol : class L2NpcTemplate
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
public L2RebirthMasterInstance ( int objectId , L2NpcTemplate template )
^
rebirth . java : 43 : cannot find symbol
symbol : class L2PcInstance
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
public void onBypassFeedback ( L2PcInstance player , String command )
^
rebirth . java : 47 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
ClassId classId = player . getClassId ();
^
rebirth . java : 52 : cannot find symbol
symbol : class L2ItemInstance
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
L2ItemInstance item = ItemTable . getInstance (). cr
eateItem ( "Rebirth Item" , itemId , count , player );
^
rebirth . java : 52 : cannot find symbol
symbol : variable ItemTable
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
L2ItemInstance item = ItemTable . getInstance (). cr
eateItem ( "Rebirth Item" , itemId , count , player );
^
rebirth . java : 56 : cannot find symbol
symbol : variable Experience
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
long tXp = Experience . LEVEL [ 1 ] ;
^
rebirth . java : 60 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
ClassId _baseClass = classId ;
^
rebirth . java : 61 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child : ClassId . values ())
^
rebirth . java : 61 : cannot find symbol
symbol : variable ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child : ClassId . values ())
^
rebirth . java : 66 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child2 : ClassId . va
lues ())
^
rebirth . java : 66 : cannot find symbol
symbol : variable ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child2 : ClassId . va
lues ())
^
rebirth . java : 71 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId chi
ld3 : ClassId . values ())
^
rebirth . java : 71 : cannot find symbol
symbol : variable ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId chi
ld3 : ClassId . values ())
^
rebirth . java : 81 : cannot find symbol
symbol : class L2Skill
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( L2Skill skill : player . getAllSkills ())
^
rebirth . java : 95 : cannot find symbol
symbol : class SystemMessage
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
player . sendPacket ( new SystemMessage ( SystemMessag
eId . CLASS_TRANSFER ));
^
rebirth . java : 95 : cannot find symbol
symbol : variable SystemMessageId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
player . sendPacket ( new SystemMessage ( SystemMessag
eId . CLASS_TRANSFER ));
^
rebirth . java : 42 : method does not override a method from its superclass
@Override
^
28 errors
C : \ curso >
alucardeck 17 de jun. de 2008
bom… parece q vc tirou o .JAVA da pasta original dele…
quando vc compila um arquivo .JAVA… se vc abrir o arquivo logo no topo dele… deve ter algo do tipo
package AAAA . BBBBB . CCCCC ;
ou
package AAAA ;
ou
package BBBB . AAAA . AAA . CCC . EEEEE ;
ou qqer coisa assim…
isso ker dizer a “pasta” onde ele deve estar pra ser compilado…
qdo esse erro acontece…
# C:\curso>javac rebirth.java
rebirth.java:32: class L2RebirthMasterInstance is public, should be declared in
a file named L2RebirthMasterInstance.java
public class L2RebirthMasterInstance extends L2FolkInstance
^
rebirth.java:16: package net.sf.l2j.gameserver.datatables does not exist
import net.sf.l2j.gameserver.datatables.ItemTable;
eu entendo q:
o .JAVA q vc tah tentando compilar…
devia se chamar L2RebirthMasterInstance.Java
e não rebirth.java (vc NÂO PODE mudar o nome do arquivo)…
pq ele tem q ser o mesmo nome da classe q existe dentro dele…
e ele tem q estar no mesmo “package” (pasta) q ele indica na topo do arquivo…
ou os arquivos vão gerar erros em efeito domino…
nao sei se fui claro… mas qqer coisa posta aki =)
se der erro diferente jah poste o erro
sommer 17 de jun. de 2008
Pow cara valeu ai vo tentar aqui agora que entendi a sua explicação pera ai que vo tenta novamente… !!
sommer 17 de jun. de 2008
tipo o Package dele indica pra esse lugar aqui..
package net . sf . l2j . gameserver . model . actor . instance ;
import net.sf.l2j.gameserver.datatables.ItemTable ;
import net.sf.l2j.gameserver.model.L2ItemInstance ;
import net.sf.l2j.gameserver.model.L2Skill ;
import net.sf.l2j.gameserver.model.base.ClassId ;
import net.sf.l2j.gameserver.model.base.Experience ;
import net.sf.l2j.gameserver.network.SystemMessageId ;
import net.sf.l2j.gameserver.network.serverpackets.SystemMessage ;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage ;
import net.sf.l2j.gameserver.templates.L2NpcTemplate ;
Entao onde esta Net/sf/l2/gameserve/model/actor/instace ( são as pasta ) coloquei o arquivo lá dentro ..
Blz até ai?
Fiz o Processo novamente renomei o Arquivo pra a L2Rebirth bla bla..
e deu esse ERRO..
05 / 06 / 2008 11 : 11 2.031 L2BlacksmithInstance . class
05 / 06 / 2008 11 : 11 1.455 L2BoatInstance$BoatCaptain . class
05 / 06 / 2008 11 : 11 2.302 L2BoatInstance$Boatrun . class
05 / 06 / 2008 11 : 11 884 L2BoatInstance$L2BoatTrajet$L2BoatPoint . clas
s
05 / 06 / 2008 11 : 11 6.654 L2BoatInstance$L2BoatTrajet . class
05 / 06 / 2008 11 : 11 13.347 L2BoatInstance . class
05 / 06 / 2008 11 : 11 1.639 L2BoxInstance$L2BoxItem . class
05 / 06 / 2008 11 : 11 11.251 L2BoxInstance . class
05 / 06 / 2008 11 : 11 4.142 L2CabaleBufferInstance$CabalaAI . class
05 / 06 / 2008 11 : 11 3.329 L2CabaleBufferInstance . class
05 / 06 / 2008 11 : 11 5.280 L2CastleBlacksmithInstance . class
05 / 06 / 2008 11 : 11 13.637 L2CastleChamberlainInstance . class
05 / 06 / 2008 11 : 11 5.689 L2CastleTeleporterInstance . class
05 / 06 / 2008 11 : 11 6.060 L2CastleWarehouseInstance . class
05 / 06 / 2008 11 : 11 4.294 L2ChestInstance . class
05 / 06 / 2008 11 : 11 35.310 L2ClanHallManagerInstance . class
05 / 06 / 2008 11 : 11 10.687 L2ClassMasterInstance . class
05 / 06 / 2008 11 : 11 3.646 L2CommanderInstance . class
05 / 06 / 2008 11 : 11 956 L2ControllableMobInstance$ControllableAIAces
sor . class
05 / 06 / 2008 11 : 11 3.759 L2ControllableMobInstance . class
05 / 06 / 2008 11 : 11 4.856 L2ControlTowerInstance . class
05 / 06 / 2008 11 : 11 19.826 L2CraftManagerInstance . class
05 / 06 / 2008 11 : 11 4.013 L2CubicInstance$Action . class
05 / 06 / 2008 11 : 11 1.024 L2CubicInstance$Disappear . class
05 / 06 / 2008 11 : 11 4.545 L2CubicInstance$Heal . class
05 / 06 / 2008 11 : 11 4.078 L2CubicInstance . class
05 / 06 / 2008 11 : 11 1.976 L2DecoInstance . class
05 / 06 / 2008 11 : 11 1.668 L2DecoyInstance$DecoyLifetime . class
05 / 06 / 2008 11 : 11 1.530 L2DecoyInstance$HateSpam . class
05 / 06 / 2008 11 : 11 4.313 L2DecoyInstance . class
05 / 06 / 2008 11 : 11 1.729 L2DoorInstance$AIAccessor . class
05 / 06 / 2008 11 : 11 1.745 L2DoorInstance$AutoOpenClose . class
05 / 06 / 2008 11 : 11 1.009 L2DoorInstance$CloseTask . class
05 / 06 / 2008 11 : 11 15.457 L2DoorInstance . class
05 / 06 / 2008 11 : 11 8.004 L2DoormenInstance . class
05 / 06 / 2008 11 : 11 4.092 L2DooropenInstance . class
05 / 06 / 2008 11 : 11 1.493 L2EffectPointInstance . class
05 / 06 / 2008 11 : 11 5.907 L2FactionManagerInstance . class
05 / 06 / 2008 11 : 11 4.628 L2FactionQuestManagerInstance . class
05 / 06 / 2008 11 : 11 574 L2FeedableBeastInstance . class
05 / 06 / 2008 11 : 11 11.527 L2FestivalGuideInstance . class
05 / 06 / 2008 11 : 11 3.323 L2FestivalMonsterInstance . class
05 / 06 / 2008 11 : 11 5.128 L2FishermanInstance . class
05 / 06 / 2008 11 : 11 12.180 L2FolkInstance . class
05 / 06 / 2008 11 : 11 7.922 L2FortMerchantInstance . class
05 / 06 / 2008 11 : 11 1.514 L2FriendlyMobInstance . class
05 / 06 / 2008 11 : 11 1.572 L2GrandBossInstance$RespawnNurseAnts . class
05 / 06 / 2008 11 : 11 5.650 L2GrandBossInstance . class
05 / 06 / 2008 11 : 11 1.084 L2GuardInstance$ReturnTask . class
05 / 06 / 2008 11 : 11 5.949 L2GuardInstance . class
05 / 06 / 2008 11 : 11 8.855 L2ManorManagerInstance . class
05 / 06 / 2008 11 : 11 12.342 L2MerchantInstance . class
05 / 06 / 2008 11 : 11 4.903 L2MercManagerInstance . class
05 / 06 / 2008 11 : 11 2.671 L2MinionInstance . class
05 / 06 / 2008 11 : 11 918 L2MonsterInstance$1 . class
05 / 06 / 2008 11 : 11 6.441 L2MonsterInstance . class
05 / 06 / 2008 11 : 11 1.332 L2NpcInstance$destroyTemporalNPC . class
05 / 06 / 2008 11 : 11 1.210 L2NpcInstance$destroyTemporalSummon . class
05 / 06 / 2008 11 : 11 1.487 L2NpcInstance$RandomAnimationTask . class
05 / 06 / 2008 11 : 11 62.657 L2NpcInstance . class
05 / 06 / 2008 11 : 11 920 L2NpcWalkerInstance$L2NpcWalkerAIAccessor . cl
ass
05 / 06 / 2008 11 : 11 3.698 L2NpcWalkerInstance . class
05 / 06 / 2008 11 : 11 3.552 L2ObservationInstance . class
05 / 06 / 2008 11 : 11 9.549 L2OlympiadManagerInstance . class
05 / 06 / 2008 11 : 11 1.288 L2PcInstance$1 . class
05 / 06 / 2008 11 : 11 1.288 L2PcInstance$2 . class
05 / 06 / 2008 11 : 11 1.288 L2PcInstance$3 . class
05 / 06 / 2008 11 : 11 986 L2PcInstance$4 . class
05 / 06 / 2008 11 : 11 986 L2PcInstance$5 . class
05 / 06 / 2008 11 : 11 1.096 L2PcInstance$6 . class
05 / 06 / 2008 11 : 11 5.492 L2PcInstance$AIAccessor . class
05 / 06 / 2008 11 : 11 1.725 L2PcInstance$GameGuardCheck . class
05 / 06 / 2008 11 : 11 779 L2PcInstance$InventoryEnable . class
05 / 06 / 2008 11 : 11 976 L2PcInstance$JailTask . class
05 / 06 / 2008 11 : 11 1.465 L2PcInstance$LookingForFishTask . class
05 / 06 / 2008 11 : 11 1.002 L2PcInstance$ProtectSitDownStandUp . class
05 / 06 / 2008 11 : 11 756 L2PcInstance$RentPetTask . class
05 / 06 / 2008 11 : 11 996 L2PcInstance$SchedChatUnban . class
05 / 06 / 2008 11 : 11 1.077 L2PcInstance$ShortBuffTask . class
05 / 06 / 2008 11 : 11 1.337 L2PcInstance$SkillDat . class
05 / 06 / 2008 11 : 11 863 L2PcInstance$SoulTask . class
05 / 06 / 2008 11 : 11 1.069 L2PcInstance$TimeStamp . class
05 / 06 / 2008 11 : 11 1.288 L2PcInstance$WarnUserTakeBreak . class
05 / 06 / 2008 11 : 11 1.449 L2PcInstance$WaterTask . class
05 / 06 / 2008 11 : 11 223.097 L2PcInstance . class
05 / 06 / 2008 11 : 11 3.018 L2PenaltyMonsterInstance . class
05 / 06 / 2008 11 : 11 4.269 L2PetInstance$FeedTask . class
05 / 06 / 2008 11 : 11 26.916 L2PetInstance . class
05 / 06 / 2008 11 : 11 5.312 L2PlayableInstance . class
05 / 06 / 2008 11 : 11 1.029 L2RaceManagerInstance$Announcement . class
05 / 06 / 2008 11 : 11 1.294 L2RaceManagerInstance$Race$Info . class
05 / 06 / 2008 11 : 11 1.154 L2RaceManagerInstance$Race . class
05 / 06 / 2008 11 : 11 1.637 L2RaceManagerInstance$RunEnd . class
05 / 06 / 2008 11 : 11 1.648 L2RaceManagerInstance$RunRace . class
05 / 06 / 2008 11 : 11 12.592 L2RaceManagerInstance . class
05 / 06 / 2008 11 : 11 970 L2RaidBossInstance . class
17 / 06 / 2008 14 : 30 3.576 L2RebirthMasterInstance . java
05 / 06 / 2008 11 : 11 568 L2RiftInvaderInstance . class
05 / 06 / 2008 11 : 11 2.252 L2SepulcherMonsterInstance$ChangeImmortal . cl
ass
05 / 06 / 2008 11 : 11 1.073 L2SepulcherMonsterInstance$ChangeMortal . clas
s
05 / 06 / 2008 11 : 11 2.086 L2SepulcherMonsterInstance$OnDeadEvent . class
05 / 06 / 2008 11 : 11 1.304 L2SepulcherMonsterInstance$VictimSpawnKeyBox
. class
05 / 06 / 2008 11 : 11 5.978 L2SepulcherMonsterInstance . class
05 / 06 / 2008 11 : 11 2.278 L2SepulcherNpcInstance$CloseNextDoor . class
05 / 06 / 2008 11 : 11 1.048 L2SepulcherNpcInstance$SpawnMonster . class
05 / 06 / 2008 11 : 11 1.084 L2SepulcherNpcInstance$SpawnNextMysteriousBo
x . class
05 / 06 / 2008 11 : 11 9.627 L2SepulcherNpcInstance . class
05 / 06 / 2008 11 : 11 4.842 L2SiegeFlagInstance . class
05 / 06 / 2008 11 : 11 6.963 L2SiegeGuardInstance . class
05 / 06 / 2008 11 : 11 3.509 L2SiegeNpcInstance . class
05 / 06 / 2008 11 : 11 1.858 L2SiegeSummonInstance . class
05 / 06 / 2008 11 : 11 13.095 L2SignsPriestInstance . class
05 / 06 / 2008 11 : 11 4.729 L2StaticObjectInstance . class
05 / 06 / 2008 11 : 11 3.182 L2SummonInstance$SummonConsume . class
05 / 06 / 2008 11 : 11 6.772 L2SummonInstance . class
05 / 06 / 2008 11 : 11 3.649 L2SymbolMakerInstance . class
05 / 06 / 2008 11 : 11 2.450 L2TamedBeastInstance$CheckDuration . class
05 / 06 / 2008 11 : 11 3.338 L2TamedBeastInstance$CheckOwnerBuffs . class
05 / 06 / 2008 11 : 11 9.139 L2TamedBeastInstance . class
05 / 06 / 2008 11 : 11 7.448 L2TeleporterInstance . class
05 / 06 / 2008 11 : 11 1.531 L2TownPetInstance$RandomWalkTask . class
05 / 06 / 2008 11 : 11 2.759 L2TownPetInstance . class
05 / 06 / 2008 11 : 11 1.150 L2TrainerInstance . class
05 / 06 / 2008 11 : 11 6.301 L2TransformManagerInstance . class
05 / 06 / 2008 11 : 11 4.505 L2TrapInstance$TrapTask . class
05 / 06 / 2008 11 : 11 5.108 L2TrapInstance . class
05 / 06 / 2008 11 : 11 11.232 L2UrnInstance . class
05 / 06 / 2008 11 : 11 27.357 L2VillageMasterInstance . class
05 / 06 / 2008 11 : 11 10.858 L2WarehouseInstance . class
05 / 06 / 2008 11 : 11 7.479 L2WeddingManagerInstance . class
05 / 06 / 2008 11 : 11 6.024 L2WyvernManagerInstance . class
05 / 06 / 2008 11 : 11 2.773 L2XmassTreeInstance$XmassAI . class
05 / 06 / 2008 11 : 11 1.775 L2XmassTreeInstance . class
138 arquivo ( s ) 937.622 bytes
2 pasta ( s ) 3.768.434.688 bytes disponíveis
C : \ net \ sf \ l2j \ gameserver \ model \ actor \ instance > javac L2RebirthMasterInstance . java
L2RebirthMasterInstance . java : 16 : package net.sf.l2j.gameserver.datatables does n
ot exist
import net.sf.l2j.gameserver.datatables.ItemTable ;
^
L2RebirthMasterInstance . java : 17 : cannot find symbol
symbol : class L2ItemInstance
location : package net.sf.l2j.gameserver.model
import net.sf.l2j.gameserver.model.L2ItemInstance ;
^
L2RebirthMasterInstance . java : 18 : cannot find symbol
symbol : class L2Skill
location : package net.sf.l2j.gameserver.model
import net.sf.l2j.gameserver.model.L2Skill ;
^
L2RebirthMasterInstance . java : 19 : package net.sf.l2j.gameserver.model.base does n
ot exist
import net.sf.l2j.gameserver.model.base.ClassId ;
^
L2RebirthMasterInstance . java : 20 : package net.sf.l2j.gameserver.model.base does n
ot exist
import net.sf.l2j.gameserver.model.base.Experience ;
^
L2RebirthMasterInstance . java : 21 : package net.sf.l2j.gameserver.network does not
exist
import net.sf.l2j.gameserver.network.SystemMessageId ;
^
L2RebirthMasterInstance . java : 22 : package net.sf.l2j.gameserver.network.serverpac
kets does not exist
import net.sf.l2j.gameserver.network.serverpackets.SystemMessage ;
^
L2RebirthMasterInstance . java : 23 : package net.sf.l2j.gameserver.network.serverpac
kets does not exist
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage ;
^
L2RebirthMasterInstance . java : 24 : package net.sf.l2j.gameserver.templates does no
t exist
import net.sf.l2j.gameserver.templates.L2NpcTemplate ;
^
L2RebirthMasterInstance . java : 32 : cannot find symbol
symbol : class L2FolkInstance
public class L2RebirthMasterInstance extends L2FolkInstance
^
L2RebirthMasterInstance . java : 37 : cannot find symbol
symbol : class L2NpcTemplate
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
public L2RebirthMasterInstance ( int objectId , L2NpcTemplate template )
^
L2RebirthMasterInstance . java : 43 : cannot find symbol
symbol : class L2PcInstance
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
public void onBypassFeedback ( L2PcInstance player , String command )
^
L2RebirthMasterInstance . java : 47 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
ClassId classId = player . getClassId ();
^
L2RebirthMasterInstance . java : 52 : cannot find symbol
symbol : class L2ItemInstance
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
L2ItemInstance item = ItemTable . getInstance (). cr
eateItem ( "Rebirth Item" , itemId , count , player );
^
L2RebirthMasterInstance . java : 52 : cannot find symbol
symbol : variable ItemTable
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
L2ItemInstance item = ItemTable . getInstance (). cr
eateItem ( "Rebirth Item" , itemId , count , player );
^
L2RebirthMasterInstance . java : 56 : cannot find symbol
symbol : variable Experience
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
long tXp = Experience . LEVEL [ 1 ] ;
^
L2RebirthMasterInstance . java : 60 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
ClassId _baseClass = classId ;
^
L2RebirthMasterInstance . java : 61 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child : ClassId . values ())
^
L2RebirthMasterInstance . java : 61 : cannot find symbol
symbol : variable ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child : ClassId . values ())
^
L2RebirthMasterInstance . java : 66 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child2 : ClassId . va
lues ())
^
L2RebirthMasterInstance . java : 66 : cannot find symbol
symbol : variable ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId child2 : ClassId . va
lues ())
^
L2RebirthMasterInstance . java : 71 : cannot find symbol
symbol : class ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId chi
ld3 : ClassId . values ())
^
L2RebirthMasterInstance . java : 71 : cannot find symbol
symbol : variable ClassId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( ClassId chi
ld3 : ClassId . values ())
^
L2RebirthMasterInstance . java : 81 : cannot find symbol
symbol : class L2Skill
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
for ( L2Skill skill : player . getAllSkills ())
^
L2RebirthMasterInstance . java : 95 : cannot find symbol
symbol : class SystemMessage
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
player . sendPacket ( new SystemMessage ( SystemMessag
eId . CLASS_TRANSFER ));
^
L2RebirthMasterInstance . java : 95 : cannot find symbol
symbol : variable SystemMessageId
location : class net . sf . l2j . gameserver . model . actor . instance . L2RebirthMasterInstan
ce
player . sendPacket ( new SystemMessage ( SystemMessag
eId . CLASS_TRANSFER ));
^
L2RebirthMasterInstance . java : 42 : method does not override a method from its supe
rclass
@Override
^
27 errors
C : \ net \ sf \ l2j \ gameserver \ model \ actor \ instance >
Cara tu é um anjo , valeu pela força ai
alucardeck 17 de jun. de 2008
hahah rlx…
estou apenas com algum tempo livre aqui no trabalho…
entao nao me custa nada usar ele pra estudar e ajudar os outros =)
o erro inicial agora é:
# C:\net\sf\l2j\gameserver\model\actor\instance>javac L2RebirthMasterInstance.java
L2RebirthMasterInstance.java:16: package net.sf.l2j.gameserver.datatables does n
ot exist
import net.sf.l2j.gameserver.datatables.ItemTable;
^
L2RebirthMasterInstance.java:17: cannot find symbol
symbol : class L2ItemInstance
location: package net.sf.l2j.gameserver.model
import net.sf.l2j.gameserver.model.L2ItemInstance;
entendo q…
ele não encontra o package net.sf.l2j.gameserver.datatables para compilar…
provavelmente eh um pacote de Itens do jogo…
verifique se a pasta existe… e coloque ela no lugar certo…
se der novamente um erro parecido… verifique se todas elas estão no lugar certo…
para compilar um projeto… tudo deve estar redondamente funcionando… ou ele vai bloquear e não fazer nada…
sommer 17 de jun. de 2008
Blz vo procurar aqui e ve isso … ja respondo !
sommer 17 de jun. de 2008
Blz achei o caminho ai … da net.sf.l2j.gameserver.datatables esse datables é uma pasta vo ter que remover ela ? tem que deix ali ne ^^
Agora to nu mato sem cachorro … o que podemos fazer?
alucardeck 17 de jun. de 2008
na verdade essa pasta deveria estar ai mesmo
o erro diz q nao encontra nenhum arquivo chamado ItemTable (.java)
dentro dessa pasta…
verifique se o arquivo existe…
se existir… eu nao imagino oq pode ser… jah q ele acusa um arquivo q esta no lugar certo…
se nao existir… vai ter q dar um jeito de encontrar esse arquivo e jogar na pasta…
sommer 17 de jun. de 2008
Já sei talvez o que pode ser … a tabela tem la sim nessa pasta porem no arquivo java que tamo querendo gera o .class precisava por um ID de algum item que qndo o plaqyer fazer algo era receber entende?
int itemId = 2822; // item ID which should be given, should be in this format: “int itemId = ???;”
int count = 1; // how many of the item should be given?, should be in this format: "int count = ?
bem nessa linha e coloquei qualquer ID o jogo tem muito ID talvez esse id que coloquei nao tenha né?
Pode ser isso …
vo ve outro id aqui pra por que existe no jogo
sommer 17 de jun. de 2008
Vixi nao deu … não ¬¬
que saco cara parece que quando vai nao vai … =(
voce tem ideia do que pode ser?
alucardeck 17 de jun. de 2008
eh… ai complica…
nessas horas soh resta… estudar… estudar… e estudar…
ateh descobrir oq pode ser o erro…
recomendo q vc pergunte ao seu amigo q possui o servidor…
kem sabe ele nao te mostre um funcionando e te ensine a modificar sem gerar erros…
qdo eu tiver um tempo livre eu baixo o servidor do L2 e dou uma xeretada pra tentar rodar e modificar ele