Jump to content

Question

Posted

I added a java code(http://www.maxcheaters.com/forum/index.php?topic=139036.0) and when i tried to compile i got these errors:

    [javac] Compiling 1403 source files to D:\workspace\L2j edelvez rev.86\Edelvez-GS\build\classes
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\scripts.java:30: class L2RBManager is public, should be declared in a file named L2RBManager.java
    [javac] public class L2RBManager
    [javac]        ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\scripts.java:15: package com.edelvez.gameserver.model.scripts clashes with class of same name
    [javac] package com.edelvez.gameserver.model.scripts;
    [javac] ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12485: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12485: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12507: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12507: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12548: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12548: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12578: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12578: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12612: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12612: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12644: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12644: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12671: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12671: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12703: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2PcInstance.java:12703: cannot find symbol
    [javac] symbol  : class TextBuilder
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2PcInstance
    [javac] 		TextBuilder text = new TextBuilder();
    [javac] 		                       ^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1487: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel40(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1489: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel45(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1491: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel50(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1493: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel55(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1495: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel60(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1497: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel65(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2NpcInstance.java:1499: cannot find symbol
    [javac] symbol  : variable L2RBManager
    [javac] location: class com.edelvez.gameserver.model.actor.instance.L2NpcInstance
    [javac] 					L2RBManager.RaidbossLevel70(player);
    [javac] 					^
    [javac] D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\model\actor\instance\L2RaidBossManagerInstance.java:67: ActionFailed() has private access in com.edelvez.gameserver.network.serverpackets.ActionFailed
    [javac] 		player.sendPacket(new ActionFailed());
    [javac] 		                  ^
    [javac] Note: D:\workspace\L2j edelvez rev.86\Edelvez-GS\java\com\edelvez\gameserver\GeoEngine.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 26 errors

Script.java: http://pastebin.com/E4UUwk9P

L2PcInstance.java: http://pastebin.com/cPZqLh23

L2NpcInstance.java: http://pastebin.com/NvTi6U4R

These are my files.

Please someone fix them.

thanks in advance.

2 answers to this question

Recommended Posts

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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



×
×
  • Create New...