» Find Revision
L2J Revision Number:6245
L2JDP Revision Number:9982
I'm trying to apply this buffer(i attached it),but i get a lot of error..
GS side error:
Code: Select all
GS side error: NpcBuffer_SmartWindow cannot be resolved or is not a field ---------- 3. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 80) private static final boolean ENABLE_VIP_BUFFER = Config.NpcBuffer_VIP; ^^^^^^^^^^^^^ NpcBuffer_VIP cannot be resolved or is not a field ---------- 4. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 81) private static final int VIP_ACCESS_LEVEL = Config.NpcBuffer_VIP_ALV; ^^^^^^^^^^^^^^^^^ NpcBuffer_VIP_ALV cannot be resolved or is not a field ---------- 5. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 82) private static final boolean ENABLE_BUFF_SECTION = Config.NpcBuffer_Enab leBuff; ^^^^^^^^^^^^^^ ^^^^^^ NpcBuffer_EnableBuff cannot be resolved or is not a field ---------- 6. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 83) private static final boolean ENABLE_SCHEME_SYSTEM = Config.NpcBuffer_Ena bleScheme; ^^^^^^^^^^^^^ ^^^^^^^^^ NpcBuffer_EnableScheme cannot be resolved or is not a field ---------- 7. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 84) private static final boolean ENABLE_HEAL = Config.NpcBuffer_EnableHeal; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_EnableHeal cannot be resolved or is not a field ---------- 8. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 85) private static final boolean ENABLE_BUFFS = Config.NpcBuffer_EnableBuffs ; ^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_EnableBuffs cannot be resolved or is not a field ---------- 9. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 86) private static final boolean ENABLE_RESIST = Config.NpcBuffer_EnableResi st; ^^^^^^^^^^^^^^^^^^^^ ^^ NpcBuffer_EnableResist cannot be resolved or is not a field ---------- 10. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 87) private static final boolean ENABLE_SONGS = Config.NpcBuffer_EnableSong; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_EnableSong cannot be resolved or is not a field ---------- 11. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 88) private static final boolean ENABLE_DANCES = Config.NpcBuffer_EnableDanc e; ^^^^^^^^^^^^^^^^^^^^ ^ NpcBuffer_EnableDance cannot be resolved or is not a field ---------- 12. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 89) private static final boolean ENABLE_CHANTS = Config.NpcBuffer_EnableChan t; ^^^^^^^^^^^^^^^^^^^^ ^ NpcBuffer_EnableChant cannot be resolved or is not a field ---------- 13. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 90) private static final boolean ENABLE_OTHERS = Config.NpcBuffer_EnableOthe r; ^^^^^^^^^^^^^^^^^^^^ ^ NpcBuffer_EnableOther cannot be resolved or is not a field ---------- 14. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 91) private static final boolean ENABLE_SPECIAL = Config.NpcBuffer_EnableSpe cial; ^^^^^^^^^^^^^^^^^^^ ^^^^ NpcBuffer_EnableSpecial cannot be resolved or is not a field ---------- 15. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 92) private static final boolean ENABLE_CUBIC = Config.NpcBuffer_EnableCubic ; ^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_EnableCubic cannot be resolved or is not a field ---------- 16. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 93) private static final boolean ENABLE_BUFF_REMOVE = Config.NpcBuffer_Enabl eCancel; ^^^^^^^^^^^^^^^ ^^^^^^^ NpcBuffer_EnableCancel cannot be resolved or is not a field ---------- 17. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 94) private static final boolean ENABLE_BUFF_SET = Config.NpcBuffer_EnableBu ffSet; ^^^^^^^^^^^^^^^^^^ ^^^^^ NpcBuffer_EnableBuffSet cannot be resolved or is not a field ---------- 18. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 95) private static final boolean BUFF_WITH_KARMA = Config.NpcBuffer_EnableBu ffPK; ^^^^^^^^^^^^^^^^^^ ^^^^ NpcBuffer_EnableBuffPK cannot be resolved or is not a field ---------- 19. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 96) private static final boolean FREE_BUFFS = Config.NpcBuffer_EnableFreeBuf fs; ^^^^^^^^^^^^^^^^^^^^^^^ ^^ NpcBuffer_EnableFreeBuffs cannot be resolved or is not a field ---------- 20. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 97) private static final boolean TIME_OUT = Config.NpcBuffer_EnableTimeOut; ^^^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_EnableTimeOut cannot be resolved or is not a field ---------- 21. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 98) private static final int TIME_OUT_TIME = Config.NpcBuffer_TimeOutTime; ^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_TimeOutTime cannot be resolved or is not a field ---------- 22. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 99) private static final int MIN_LEVEL = Config.NpcBuffer_MinLevel; ^^^^^^^^^^^^^^^^^^ NpcBuffer_MinLevel cannot be resolved or is not a field ---------- 23. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 100) private static final int BUFF_REMOVE_PRICE = Config.NpcBuffer_PriceCance l; ^^^^^^^^^^^^^^^^^^^^ ^ NpcBuffer_PriceCancel cannot be resolved or is not a field ---------- 24. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 101) private static final int HEAL_PRICE = Config.NpcBuffer_PriceHeal; ^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceHeal cannot be resolved or is not a field ---------- 25. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 102) private static final int BUFF_PRICE = Config.NpcBuffer_PriceBuffs; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceBuffs cannot be resolved or is not a field ---------- 26. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 103) private static final int RESIST_PRICE = Config.NpcBuffer_PriceResist; ^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceResist cannot be resolved or is not a field ---------- 27. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 104) private static final int SONG_PRICE = Config.NpcBuffer_PriceSong; ^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceSong cannot be resolved or is not a field ---------- 28. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 105) private static final int DANCE_PRICE = Config.NpcBuffer_PriceDance; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceDance cannot be resolved or is not a field ---------- 29. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 106) private static final int CHANT_PRICE = Config.NpcBuffer_PriceChant; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceChant cannot be resolved or is not a field ---------- 30. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 107) private static final int OTHERS_PRICE = Config.NpcBuffer_PriceOther; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceOther cannot be resolved or is not a field ---------- 31. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 108) private static final int SPECIAL_PRICE = Config.NpcBuffer_PriceSpecial; ^^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceSpecial cannot be resolved or is not a field ---------- 32. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 109) private static final int CUBIC_PRICE = Config.NpcBuffer_PriceCubic; ^^^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceCubic cannot be resolved or is not a field ---------- 33. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 110) private static final int BUFF_SET_PRICE = Config.NpcBuffer_PriceSet; ^^^^^^^^^^^^^^^^^^ NpcBuffer_PriceSet cannot be resolved or is not a field ---------- 34. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 111) private static final int SCHEME_BUFF_PRICE = Config.NpcBuffer_PriceSchem e; ^^^^^^^^^^^^^^^^^^^^ ^ NpcBuffer_PriceScheme cannot be resolved or is not a field ---------- 35. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 112) private static final int SCHEMES_PER_PLAYER = Config.NpcBuffer_MaxScheme ; ^^^^^^^^^^^^^^^^^^^ NpcBuffer_MaxScheme cannot be resolved or is not a field ---------- 36. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 113) private static final int CONSUMABLE_ID = Config.NpcBuffer_consumableID; ^^^^^^^^^^^^^^^^^^^^^^ NpcBuffer_consumableID cannot be resolved or is not a field ---------- 37. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 1179) System.out.println(getScriptName() + "#onAdvEvent('" + event + "'," + (n pc == null ? "NULL" : npc.getNpcId() + npc.getName()) + "," + (player == null ? "NULL" : player.getName()) + ")"); ^^^^^^^^ The method getNpcId() is undefined for the type L2Npc ---------- 38. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 1506) player.delCubic(cubic.getId()); ^^^^^^^^ The method delCubic(int) is undefined for the type L2PcInstance ---------- 39. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 1718) player.delCubic(cubic.getId()); ^^^^^^^^ The method delCubic(int) is undefined for the type L2PcInstance ---------- 40. ERROR in \custom\NpcBuffer\NpcBuffer.java (at line 1737) player.delCubic(cubic.getId()); ^^^^^^^^ The method delCubic(int) is undefined for the type L2PcInstance ---------- 40 problems (40 errors)NpcBuffer_Reload cannot be resolved or is not a field NpcBuffer_SmartWindow cannot be resolved or is not a field NpcBuffer_VIP cannot be resolved or is not a field NpcBuffer_VIP_ALV cannot be resolved or is not a field NpcBuffer_EnableBuff cannot be resolved or is not a field NpcBuffer_EnableScheme cannot be resolved or is not a field NpcBuffer_EnableHeal cannot be resolved or is not a field NpcBuffer_EnableBuffs cannot be resolved or is not a field NpcBuffer_EnableResist cannot be resolved or is not a field NpcBuffer_EnableSong cannot be resolved or is not a field NpcBuffer_EnableDance cannot be resolved or is not a field NpcBuffer_EnableChant cannot be resolved or is not a field NpcBuffer_EnableOther cannot be resolved or is not a field NpcBuffer_EnableSpecial cannot be resolved or is not a field NpcBuffer_EnableCubic cannot be resolved or is not a field NpcBuffer_EnableCancel cannot be resolved or is not a field NpcBuffer_EnableBuffSet cannot be resolved or is not a field NpcBuffer_EnableBuffPK cannot be resolved or is not a field NpcBuffer_EnableFreeBuffs cannot be resolved or is not a field NpcBuffer_EnableTimeOut cannot be resolved or is not a field NpcBuffer_TimeOutTime cannot be resolved or is not a field NpcBuffer_MinLevel cannot be resolved or is not a field NpcBuffer_PriceCancel cannot be resolved or is not a field NpcBuffer_PriceHeal cannot be resolved or is not a field NpcBuffer_PriceBuffs cannot be resolved or is not a field NpcBuffer_PriceResist cannot be resolved or is not a field NpcBuffer_PriceSong cannot be resolved or is not a field NpcBuffer_PriceDance cannot be resolved or is not a field NpcBuffer_PriceChant cannot be resolved or is not a field NpcBuffer_PriceOther cannot be resolved or is not a field NpcBuffer_PriceSpecial cannot be resolved or is not a field NpcBuffer_PriceCubic cannot be resolved or is not a field NpcBuffer_PriceSet cannot be resolved or is not a field NpcBuffer_PriceScheme cannot be resolved or is not a field NpcBuffer_MaxScheme cannot be resolved or is not a field NpcBuffer_consumableID cannot be resolved or is not a field The method getNpcId() is undefined for the type com.l2jserver.gameserver.model.a ctor.L2Npc The method delCubic(int) is undefined for the type com.l2jserver.gameserver.mode l.actor.instance.L2PcInstance The method delCubic(int) is undefined for the type com.l2jserver.gameserver.mode l.actor.instance.L2PcInstance The method delCubic(int) is undefined for the type com.l2jserver.gameserver.mode l.actor.instance.L2PcInstance Failed executing script: D:\l2prajekts\game\data\scripts\custom\NpcBuffer\NpcBuf fer.java. See NpcBuffer.java.error.log for details. Bandit StrongHold siege scheduled for: Sat Nov 02 12:00:00 EET 2013 Beast Farm siege scheduled for: Sat Nov 02 12:00:00 EET 2013 Devastated Castle siege scheduled for: Sat Nov 02 12:00:00 EET 2013 Fortress of Resistance siege scheduled for: Sat Nov 02 12:00:00 EET 2013 Fortresss of the Dead siege scheduled for: Sat Nov 02 12:00:00 EET 2013 QuestManager: Loaded: 700 quests ItemsOnGroundManager: Loaded 0 items. SevenSignsFestival: The first Festival of Darkness cycle begins in 2 minute(s). Event ID: (Valentines Event) has passed... Ignored. FaenorScriptEngine: Loaded Valentines.xml successfully. AutoSpawnHandler: Loaded 129 handlers in total. CoupleManager: Loaded: 0 couples(s) TaskManager: Loaded: 13 Tasks MailManager: Successfully loaded 0 messages. PunishmentManager: Loaded 0 active and 0 expired punishments. IdFactory: Free ObjectID's remaining: 1878999628 TvTEventEngine[TvTManager.TvTManager()]: Started. GameServer: Started, free memory 251 Mb of 935 Mb Connecting to login on 127.0.0.1:9014 CommunityServerThread: Deactivated by config. Maximum numbers of connected players: 100 Server loaded in 220 seconds. AutoAnnoucements: Loaded 0 Auto Annoucement Data. GameServer: Telnet server is currently disabled. Registered on login as Server 11 : Luna (EURO)
Code: Select all
Scheme Buffer Settings NpcBuffer_Reload = Boolean.parseBoolean(L2JModSettings.getProperty("EnableReloadScript", "False")); NpcBuffer_SmartWindow = Boolean.parseBoolean(L2JModSettings.getProperty("EnableSmartWindow", "True")); NpcBuffer_VIP = Boolean.parseBoolean(L2JModSettings.getProperty("EnableVIP", "False")); NpcBuffer_VIP_ALV = Integer.parseInt(L2JModSettings.getProperty("VipAccesLevel", "1")); NpcBuffer_EnableBuff = Boolean.parseBoolean(L2JModSettings.getProperty("EnableBuffSection", "True")); NpcBuffer_EnableScheme = Boolean.parseBoolean(L2JModSettings.getProperty("EnableScheme", "True")); NpcBuffer_EnableHeal = Boolean.parseBoolean(L2JModSettings.getProperty("EnableHeal", "True")); NpcBuffer_EnableBuffs = Boolean.parseBoolean(L2JModSettings.getProperty("EnableBuffs", "True")); NpcBuffer_EnableResist = Boolean.parseBoolean(L2JModSettings.getProperty("EnableResist", "True")); NpcBuffer_EnableSong = Boolean.parseBoolean(L2JModSettings.getProperty("EnableSongs", "True")); NpcBuffer_EnableDance = Boolean.parseBoolean(L2JModSettings.getProperty("EnableDances", "True")); NpcBuffer_EnableChant = Boolean.parseBoolean(L2JModSettings.getProperty("EnableChants", "True")); NpcBuffer_EnableOther = Boolean.parseBoolean(L2JModSettings.getProperty("EnableOther", "True")); NpcBuffer_EnableSpecial = Boolean.parseBoolean(L2JModSettings.getProperty("EnableSpecial", "True")); NpcBuffer_EnableCubic = Boolean.parseBoolean(L2JModSettings.getProperty("EnableCubic", "True")); NpcBuffer_EnableCancel = Boolean.parseBoolean(L2JModSettings.getProperty("EnableRemoveBuffs", "True")); NpcBuffer_EnableBuffSet = Boolean.parseBoolean(L2JModSettings.getProperty("EnableBuffSet", "True")); NpcBuffer_EnableBuffPK = Boolean.parseBoolean(L2JModSettings.getProperty("EnableBuffForPK", "False")); NpcBuffer_EnableFreeBuffs = Boolean.parseBoolean(L2JModSettings.getProperty("EnableFreeBuffs", "True")); NpcBuffer_EnableTimeOut = Boolean.parseBoolean(L2JModSettings.getProperty("EnableTimeOut", "True")); NpcBuffer_TimeOutTime = Integer.parseInt(L2JModSettings.getProperty("TimeoutTime", "10")); NpcBuffer_MinLevel = Integer.parseInt(L2JModSettings.getProperty("MinimumLevel", "20")); NpcBuffer_PriceCancel = Integer.parseInt(L2JModSettings.getProperty("RemoveBuffsPrice", "100000")); NpcBuffer_PriceHeal = Integer.parseInt(L2JModSettings.getProperty("HealPrice", "100000")); NpcBuffer_PriceBuffs = Integer.parseInt(L2JModSettings.getProperty("BuffsPrice", "100000")); NpcBuffer_PriceResist = Integer.parseInt(L2JModSettings.getProperty("ResistPrice", "100000")); NpcBuffer_PriceSong = Integer.parseInt(L2JModSettings.getProperty("SongPrice", "100000")); NpcBuffer_PriceDance = Integer.parseInt(L2JModSettings.getProperty("DancePrice", "100000")); NpcBuffer_PriceChant = Integer.parseInt(L2JModSettings.getProperty("ChantsPrice", "100000")); NpcBuffer_PriceOther = Integer.parseInt(L2JModSettings.getProperty("OtherPrice", "100000")); NpcBuffer_PriceSpecial = Integer.parseInt(L2JModSettings.getProperty("SpecialPrice", "100000")); NpcBuffer_PriceCubic = Integer.parseInt(L2JModSettings.getProperty("CubicPrice", "100000")); NpcBuffer_PriceSet = Integer.parseInt(L2JModSettings.getProperty("SetPrice", "100000")); NpcBuffer_PriceScheme = Integer.parseInt(L2JModSettings.getProperty("SchemePrice", "100000")); NpcBuffer_MaxScheme = Integer.parseInt(L2JModSettings.getProperty("MaxScheme", "4")); NpcBuffer_consumableID = Integer.parseInt(L2JModSettings.getProperty("ConsumableID", "57"));

p.s. sorry for flame but old thread is dead in custom datapack subforum.