Re: Teleporting Item
Posted: Sun Mar 14, 2010 12:05 am
I made this long time ago so take care of it...
http://www.4shared.com/file/240660997/6 ... orter.html
http://www.4shared.com/file/240660997/6 ... orter.html
Cobra thank you for your help i tried again and i think everything fits well except this NPC Settings -Begin thing in config.java. Look, i mean this:Cobra wrote:well you should learn how to c/p a code first T.T
those file that you said are "missing"
You must create them also some imports are changed like the L2PlayebleInstance must be to L2Playable.
Code: Select all
+ /** ************************************************** **/+ /** Customs Settings -Begin **/+ /** ************************************************** **/++ public static boolean ENABLE_FREE_TELEPORT_SPELLBOOK;+ + /** ************************************************** **/ /** NPC Settings -Begin **/ <------ there is no such thing in my file /** ************************************************** **/
whats wrong ? is only dublicated explanation code... delete the one or delete both theres no problem ;]Abyssal wrote:Cobra thank you for your help i tried again and i think everything fits well except this NPC Settings -Begin thing in config.java. Look, i mean this:Cobra wrote:well you should learn how to c/p a code first T.T
those file that you said are "missing"
You must create them also some imports are changed like the L2PlayebleInstance must be to L2Playable.
i searched many times but i didnt find it so if you could tell me where else can i add this code i would appreciate it.Code: Select all
+ /** ************************************************** **/+ /** Customs Settings -Begin **/+ /** ************************************************** **/++ public static boolean ENABLE_FREE_TELEPORT_SPELLBOOK;+ + /** ************************************************** **/ /** NPC Settings -Begin **/ <------ there is no such thing in my file /** ************************************************** **/
euxaristo kai pali cobra...
Code: Select all
+ /** ************************************************** **/+ /** Customs Settings -Begin **/+ /** ************************************************** **/++ public static boolean ENABLE_FREE_TELEPORT_SPELLBOOK;+
Code: Select all
compile: [javac] Compiling 1224 source files to C:\workspace\L2_GameServer_It\build\classes [javac] C:\workspace\L2_GameServer_It\java\net\sf\l2j\Config.java:2000: cannot find symbol [javac] symbol : variable is [javac] location: class net.sf.l2j.Config [javac] is = new FileInputStream(new File(CUSTOMS_FILE)); [javac] ^ [javac] C:\workspace\L2_GameServer_It\java\net\sf\l2j\Config.java:2001: cannot find symbol [javac] symbol : variable is [javac] location: class net.sf.l2j.Config [javac] CustomSettings.load(is); [javac] ^ [javac] C:\workspace\L2_GameServer_It\java\net\sf\l2j\gameserver\handler\itemhandlers\FreeTeleportItem.java:53: cannot find symbol [javac] symbol : variable STATIC_PACKET [javac] location: class net.sf.l2j.gameserver.serverpackets.ActionFailed [javac] activeChar.sendPacket( ActionFailed.STATIC_PACKET ); [javac] ^ [javac] Note: C:\workspace\L2_GameServer_It\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 3 errors BUILD FAILEDC:\workspace\L2_GameServer_It\build.xml:67: Compile failed; see the compiler error output for details. Total time: 5 seconds
Like...?jurchiks wrote:try something else instead if "is"
Code: Select all
FileInputStream is = null;try { is = new FileInputStream(...);}
Code: Select all
try { is = new FileInputStream(...);}
Code: Select all
[javac] C:\workspace\L2_GameServer_It\java\net\sf\l2j\Config.java:2000: cannot find symbol [javac] symbol : variable is [javac] location: class net.sf.l2j.Config [javac] is = new FileInputStream(new File(CUSTOMS_FILE)); [javac] ^ [javac] C:\workspace\L2_GameServer_It\java\net\sf\l2j\Config.java:2001: cannot find symbol [javac] symbol : variable is [javac] location: class net.sf.l2j.Config [javac] CustomSettings.load(is); [javac] ^ [javac] C:\workspace\L2_GameServer_It\java\net\sf\l2j\gameserver\handler\itemhandlers\FreeTeleportItem.java:53: cannot find symbol [javac] symbol : variable STATIC_PACKET [javac] location: class net.sf.l2j.gameserver.serverpackets.ActionFailed [javac] activeChar.sendPacket( ActionFailed.STATIC_PACKET );
nothing i just said your help wasnt that useful but i thank you anyway.BiggBoss wrote:what?