Jump to content

Search the Community

Showing results for tags 'script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General Zone
    • Announcements and News
    • Newbies Introduce Urself
    • Maxcheaters Competitions & Events
    • Votes/Polls Area
    • Report Section
    • Downloads Section
    • Suggestions/Feedback Board
  • Lineage II General Section
    • General Discussion [English]
    • Request Support [English]
  • Lineage II Hacks,Cheats and Bots
    • Hacks & Cheats [English]
    • Request Hacks & Cheats [English]
    • Botting [English]
    • Request Botting [English]
  • Lineage II Private Servers
    • Buy Advertising Link #1
    • Private Servers
    • [Previews] L2 Private Servers
    • Clans and Alliances
  • Lineage II Marketplace
    • Marketplace [Items & Chars]
    • Marketplace [L2Packs & Files]
    • Marketplace [Powerlvl & Support]
    • Marketplace [Webdesign & Webdevelop]
  • Lineage II OFF Server Development
    • Server Development Discussion [L2OFF]
    • Request Server Development Help [L2OFF]
    • Server Shares & Files [L2OFF]
  • Lineage II Java Server Development
    • Server Development Discussion [L2J]
    • Request Server Development Help [L2J]
    • Server Shares & Files [L2J]
    • Private Projects [L2J]
  • Lineage II Client Development
    • Client Development Discussion
  • Other Games
    • Grand Theft Auto V: FiveM
    • League of Legends
    • World Of Warcraft
    • Counter Strike GO
    • Aion
    • Diablo IV
    • Other Multiplayer Games
  • General Section
    • General Marketplace
    • Crypto Zone
    • Consoles/Mobile Gaming Zone
    • Webmasters Zone
    • Hacking/Coding Zone
  • Graphics/GFX Zone
    • Graphics/GFX General Discussion
    • Graphics/GFX Showcase
    • Graphics/GFX Resources/Tools
  • Premium Zone
    • General Discussion [Premium]
    • Lineage II [Premium]
    • GFX Area [Premium]
  • MaxCheaters Corner
    • Tech/World News
    • Off-Topics
    • Spam Topics
  • L2Classic Club's Just trying this thing out
  • Lineage 2 Revolution Club's Discussions
  • Lineage 2 Revolution Club's Tutorials
  • Lineage 2 Revolution Club's Request Help
  • DenArt Designs's Hello and welcome to my club!
  • DenArt Designs's News

Product Groups

  • Advertisements
  • Old Vips
  • Premium Member

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








  1. Hi guys, me and a friend are working on a H5 server, using Mythras, we've searched how to adapt the mod for get Noblesse from killing Barakiel without quest but no results. We need some help, or for adapt or to find the script. Thank you for any help!!!
  2. Hello, i made a web script with Watir in Ruby and it navigate the web doing specific actions, click buttons based on id, div or text etc. It is working perfect but the problem is that i want to run this script 24/7 and it is impossible to let computer on 24/7. So there is any way to run the script from a web server like web hosting / plesk - cpanel? Best regards and thanks in advance.
  3. Hello guys i need captcha script for this : anyone help ?
  4. Kalhspera sthn parea kai kalh xronia..!! Exw 2 arxeia script kai 8a h8ela thn boh8eia sas gia na ta kanw 1... opoios gnwrizei as me grapsei apo katw ena sxolio h se pm... euxaristw..!!
  5. Format : TTF File Size : 26.42 KB License : Personal Use Only Download: https://mega.nz/#!0pd3HJgZ!WIlVfFXnkC-S6g7VTtTzWVFCsg8rYQwx2iDdIVUc514 Resource from: https://freedesignresources.net/
  6. I need sql script that would delete rb's bellow certain lvl. Does anyone have that?
  7. Greetings from SellersAndFriends.com We are looking for a CODER or SCRIPTER that would be able to help us with SPAM BOTs in this MMO Titles: Lineage 2 ArcheAge Blade & Soul The Elder Scrolls Online Revelation Online If you have any knowledge about in-game SPAM, SPAM BOTS, etc. Contact us! @ www.sellersandfriends.com :)!
  8. Greetings to all. Recently I made the decision to move my old H5 server to the new "master" one available on L2J, However, a few error has appear :?: , when try to put my customization environment, which is made by this list: 1 - Auto Announcement: handle auto announcement over the server, 2 - Event Manager: handle faenor events like GlitteringMedals, L2Day, MasterOfEnchanting, Valentines, etc... 3 - Services Manager: main NPC which handle Buffer, Gatekeeper, Shops, Clan, Warehouse, Dyes, the list is endless 4 - Subclass Stack Manager: handle substack system 5 - Tattoo's Workings: xml fix for tatoo been wearables, non stacking with other armors and workings stats. 6 - Custom Mob+Drop: custom spawnlist, custom drop, custom npc definition, etc... 7 - Trader Zone: giran harbor with delimiter npc for trader zone, a few edited htmls and more... 8 - SQL Fixing: including autorestart, city guards enhancer, more custom item drops, etc... 9 - Vote Reminder: a screaming npc in each town, obvious 10-Delevel Manager: obvious 11-Services Manager Premium: premium NPC for player that donate, more xml, more script, and so on... 12-Potion Stuff: stack pot system (swift, haste, mana drug, and so on). And now the questions: :crazy: 1- Notice that entire Multisell format on L2J has changed, now is not allow the "id" attribute on "item" element, which forced me to change ALL multisell xml o the entire server. There is any better way to search and replace a pattern like <item id="1"> to <item>, and <item id="276"> to <item> as well, rather than manual style? :think: 2- Services manager, is a fork from Services Manager by Allen, work really good those lately year, but now is giving me headache, missing imports, tons of multisell to change "manually" to fit new xml format, endless pain. The XML can be fix soon or late in auto or manual mode, but on script matter, I have some missing imports, there is any fix from that Services Manager to new L2J H5 format? Here are some missing headers: from com.l2jserver import L2DatabaseFactory from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest from com.l2jserver.gameserver.model.base import Race - ¿Founded in: com.l2jserver.gameserver.enums? from com.l2jserver.gameserver.datatables import SkillTable from com.l2jserver.gameserver.datatables import SkillTreesData - ¿Founded in: com.l2jserver.gameserver.data.xml.impl? from com.l2jserver.gameserver.datatables import ClanTable - ¿Founded in: com.l2jserver.gameserver.data.sql.impl? from com.l2jserver.gameserver.datatables import CharTemplateTable from com.l2jserver.gameserver.datatables import HennaTreeTable 3- Substack system, also work with a lot of script server side, it was a fork of By Allen once more, but again some import are missing and of course doesn't work under this new L2J H5 structure, any help?. :roll: Basically: :crazy: 1- Missing import from Services Manager and Substack System --- I hope get some help and answer from here, otherwise, I will need to forget the update, which is not what I'm looking. I will use this thread to put all my doubt, waiting for some good soul to enlighten me... :clap: Thanks to all :D
  9. Hey Guys!! I have been using XDAT Editor to make new Windows. The problem I found and the lack of information of this software, I couldn't find on Internet anything of how to use this Script Console. I just found some samples of "SAVO" He shared long time ago on other RU forums. I know you can add windows, tabs, textures etc, etc, if you are using the GUI, but some times when your project is getting too big, better start using the Script Console. So, long story short, this is the problem: How to add a "TabElement" and filling it with some data information? for example this is the code I have been trying: println "Data Base Windows" xdat.windows.add(new Window( name: "DataBaseWnd", anchored: 0, size: 1, size_absolute_width: 800, size_absolute_height: 490, usePosition: 1, relativePoint: Alignment.TOP_LEFT, anchorPoint: Alignment.TOP_LEFT, parent: "undefined", backTex: "L2UI_CT1.Windows_DF_Large_Bg", script: "DataBaseWnd", state: "GamingState", frame: 1, hidden: 1, alwaysFullAlpha: 1, savePosition: 1, title: 6000, exitbutton: 1, workingConfiguration: "Game")) def DataBaseWnd = xdat.windows["DataBaseWnd"] DataBaseWnd.children.add(new Texture( name: "TexTabBg", parentName: "MagicSkillWnd", anchored: 0, size: 1, size_absolute_width: 800, size_absolute_height: 458, usePosition: 1, relativePoint: Alignment.TOP_LEFT, anchorPoint: Alignment.TOP_LEFT, anchor_y: 31.0, virtual: 1, file: "L2UI_CT1.tab.tab_df_bg", type: "Stretch", layer: "Background", alpha: -9999)) DataBaseWnd.children.add(new Texture( name: "TexTabBgLine", alwaysOnBack: 1, parentName: "MagicSkillWnd", anchored: 0, size: 1, size_absolute_width: 631, size_absolute_height: 30, usePosition: 1, relativePoint: Alignment.TOP_LEFT, anchorPoint: Alignment.TOP_LEFT, anchor_x: 164.0, anchor_y: 31.0, virtual: 1, file: "L2UI_CT1.tab.tab_df_bg_line", type: "Stretch", layer: "Background", alpha: -9999)) DataBaseWnd.children.add(new Tab( name: "DataBaseTabCtrl", parentName: "DataBaseWnd", anchored: 0, size: 1, size_absolute_width: 160, size_absolute_height: 23, usePosition: 1, relativePoint: Alignment.TOP_LEFT, anchorPoint: Alignment.TOP_LEFT, anchor_x: 8.0, anchor_y: 31.0)) def DataBaseTabCtrl = DataBaseWnd.children["DataBaseTabCtrl"] DataBaseTabCtrl.tabs[0].buttonName = 6001 DataBaseTabCtrl.tabs[0].target = "NpcDataTab" DataBaseTabCtrl.tabs[0].width = 78 DataBaseTabCtrl.tabs[0].height = 23 DataBaseTabCtrl.tabs[0].normalTex = "L2UI_CT1.tab.Tab_DF_Tab_Unselected" DataBaseTabCtrl.tabs[0].pushedTex = "L2UI_CT1.tab.Tab_DF_Tab_Selected" DataBaseTabCtrl.tabs[1].buttonName = 6002 DataBaseTabCtrl.tabs[1].target = "ItemDataTab" DataBaseTabCtrl.tabs[1].width = 78 DataBaseTabCtrl.tabs[1].height = 23 DataBaseTabCtrl.tabs[1].normalTex = "L2UI_CT1.tab.Tab_DF_Tab_Unselected" DataBaseTabCtrl.tabs[1].pushedTex = "L2UI_CT1.tab.Tab_DF_Tab_Selected" println "done!" And this is the error of the Script Console: Data Base Windows java.lang.NullPointerException: Cannot set property 'buttonName' on null object at org.codehaus.groovy.runtime.NullObject.setProperty(NullObject.java:80) at org.codehaus.groovy.runtime.InvokerHelper.setProperty(InvokerHelper.java:195) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setProperty(ScriptBytecodeAdapter.java:484) at Script1.run(Script1.groovy:86) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594) at acmi.l2.clientmod.xdat.scripting.Controller.lambda$execute$0(Controller.java:156) at acmi.l2.clientmod.xdat.scripting.Controller$$Lambda$442/1071997580.call(Unknown Source) at acmi.l2.clientmod.xdat.XdatEditor.lambda$execute$7(XdatEditor.java:219) at acmi.l2.clientmod.xdat.XdatEditor$$Lambda$209/1755738610.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) So, as you can see, the problem is when I'm trying to add some data information on "DataBaseTabCtrl". I hope someone have any clue or experience doing this process and it would be grateful share their knowledge to resolve this issue. thx so much guys!!
  10. Hello, Im working on a server bassed on fandc project. Right now Im trying to implement a pvp zone. I have this script but I can't make it work in the right way because after some minutes the player gets unflagged. So if someone can help me to make it works and the player to stay flagged until he leave the zone I would apreciate. (Sorry for my English). This is the code:
  11. So here's a script for changing sex but i cant make it work ...any suggestions?? Anyone who could help let me know :) ERROR: https://postimg.org/image/43usurd33/ CODE: import sys from com.l2jfrozen import Config from com.l2jfrozen.util.database import L2DatabaseFactory from com.l2jfrozen.gameserver.datatables.sql import CharTemplateTable from com.l2jfrozen.gameserver.communitybbs.Manager import RegionBBSManager from com.l2jfrozen.gameserver.model import L2World from com.l2jfrozen.gameserver.model.quest import State from com.l2jfrozen.gameserver.model.quest import QuestState from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest from com.l2jfrozen.gameserver.network.serverpackets import EtcStatusUpdate from com.l2jfrozen.gameserver.network.serverpackets import PledgeShowInfoUpdate from com.l2jfrozen.util.random import Rnd qn = "8700_Services" NPC = 300300 # Items Item = 57 GenreCount = 10 print "INFO Loaded: 8700_Services" def AutoChat(npc, text) : chars = npc.getKnownList().getKnownPlayers().values().toArray() if chars != None : for pc in chars : sm = NpcSay(npc.getObjectId(), 0, npc.getNpcId(), text) pc.sendPacket(sm) class Quest (JQuest) : def __init__(self, id, name, descr) : JQuest.__init__(self, id, name, descr) def onAdvEvent(self, event, npc, player) : st = player.getQuestState(qn) htmltext = event if event == "changeGenre" : if st.getQuestItemsCount(Item) < GenreCount : htmltext = "cant.htm" elif player.isCursedWeaponEquipped() : AutoChat(npc, player.getName()+" you can't change your genre when you are equipped with a Cursed Weapon.") htmltext = "cant.htm" else : if player.getAppearance().getSex() == 1 : newGenre = 0 else : newGenre = 1 con = L2DatabaseFactory.getInstance().getConnection(None) offline = con.prepareStatement("UPDATE characters SET sex = ? WHERE charId = ?") offline.setInt(1, newGenre) offline.setInt(2, player.getObjectId()) try : offline.executeUpdate() offline.close() con.close() except : try : con.close() except : pass player.store() player.broadcastUserInfo() player.decayMe() player.spawnMe(player.getX(), player.getY(), player.getZ()) st.takeItems(Item, GenreCount) st.playSound("ItemSound.quest_finish") return "2.htm" st.exitQuest(1) def onTalk(self, npc, player) : htmltext = "" st = player.getQuestState(qn) if not st : st = self.newQuestState(player) htmltext = "2.htm" st.playSound("ItemSound.quest_accept") return htmltext QUEST = Quest(8700,qn,"custom") QUEST.addStartNpc(NPC) QUEST.addTalkId(NPC)
  12. My free reference: Auto augment script for all three major chronicles. New script: Multipurpose supporter script. Can be used on Bishop, Shillien Elder, Elven Elder, Warcryer, Overlord. - Buffing party members by name each with their own unique bufflist that you can give. It will ONLY buff the missing buffs, so if you get a cancel it will instantly rebuff the missing buff(s) on you! - Party heal. - Self heal - Party recharge - Follow given player - Assist given player ( put debuffs on mobs: stigma, windshackle etc... you can give the debuffs you want to put on mobs, even multiple debuffs at once ) - Give noblesse to every party member. - Remove 1 or 2 zerk if needed. - You can define the health, and mana limits the script will let party members drop below, before it starts to recharge/heal. - It will remove EVERY debuffs from all of the party members that YOU give to the script in a list. - Evey each one of the settings can be turned off or on, to suit the user's needs. - Works with all three major chronicles. Script can be extended for custom requests. This script is being continously improved, when I have added something, you will get the updated version for free. Price: 12€. New script: Assisting spoiler. - Spoils assist target until it has been successfully spoiled. - It will sweep every mob in it's surroundings, if it has items in it to sweep, even if the mob that died is not the main target. - Follows party leader given by name. - Accepts party invites from given names. - Assists given name in combat. - Works with all three major chronicles. Script can be extended for custom requests. Price: 8€. New script: Multipurpose supporter script. Anti Aggro/Anti Mirage/Target Lock Script. - Retarget the previous target as soon as possible, it may even bypass aggression on some of the less good servers. - Works with all three major chronicles. Script can be extended for custom requests. Price: 6€. Auto Enchant Script. - Auto enchant infinite type of items with one setup. ( meaning you can enchant a full set without touching the script ) - Stop enchanting at given enchant level. - Use blessed or crystal scroll from given enchant level. - Cancels trade requests, party requests, clan requests. - Restocks items from any kind of custom shops with a very easy one-time setup that I will help in! - Works with all three major chronicles. Price: 8€. Auto Skill enchant script ( 8€. 1x sold ): - Automatically enchants skills as fast as possible ( this is usually fast as lightning ) - Uses mastery books from given skill level. - Stops on given level if set. - Works with all three major chronicles. Price: 8€. DeadlyBackstab. - Move behind your target as precisely as it is possible in the game ( it will be the back of your target, even if you skill from the front ) - Works with all three major chronicles. - Can be easily combined with anti-mirage and anti-backstab scripts. ( for an extra 4€ ) Price: 8€. Auto Attribute Script. - Define 6 items at once to attribute the given elements on them. - Stops at given level if set. - Fast as lightning! - Works with all three major chronicles. Price: 8€. Anti-Backstab script. - Instantly turn to the target, as soon as someone casts a skill with lethal chance on you. Price: 2€.
  13. Hi i want to offer my services of making scripts for autofarm, mass shout and so on (on every server). More info on skype: adena.depot1
  14. Someone can help me to do an html for this code? Its an NOBLESS NPC script import sys from net.sf.l2j.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from net.sf.l2j.gameserver.datatables import SkillTable from net.sf.l2j import L2DatabaseFactory from net.sf.l2j.gameserver.model.actor.appearance import PcAppearance from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.actor.appearance import PcAppearance from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "8204_NpcNoblesse" NPC=[100009] GOLDBAR= 3470 NOBLESS_TIARA = 7694 QuestId = 8204 QuestName = "NpcNoblesse" QuestDesc = "custom" InitialHtml = "1.htm" print "INFO Loaded: Noblesse Manager" class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event count=st.getQuestItemsCount(GOLDBAR) if count < 250 and st.getPlayer().getLevel() < 75 : htmltext = "<html><head><body>Sorry, but you dont have enought gb or u low lvl</body></html>" elif st.getPlayer().isNoble() == 1 : htmltext = "<html><head><body>Sorry, But you are alrdy nobles</body></html>" else: st.getPlayer().setTarget(st.getPlayer()) if event == "2": st.takeItems(GOLDBAR,250) st.getPlayer().setNoble(true) st.giveItems(NOBLESS_TIARA,1) st.playSound("ItemSound.quest_finish") st.setState(State.COMPLETED) return "End.htm" st.exitQuest(1) if htmltext != event: st.setState(State.COMPLETED) st.exitQuest(1) return htmltext def onTalk (self,npc,player): st = player.getQuestState(qn) htmltext = "<html><head><body>I have nothing to say to you</body></html>" st.setState(State.STARTED) return InitialHtml QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc) for npcId in NPC: QUEST.addStartNpc(npcId) QUEST.addTalkId(npcId) Thanks, sorry for my bad english, and i dont know how to create an htm, for the npc 100009 .
  15. If anyone have a working script for tatteosian for E-global Reborn pls share it, we tried about everything and character stuck in front of Jeremy doing nothing...your help will be apreaciated
  16. Hello, title says it all. Urgent please!
  17. Hy my friends i need your help.Why i got this error? :-\
  18. Hello guys I got stuck with that if little help it would be blessing I want check from the database if clan got already clan skills but I don't know the right parameters help!!! imports import sys from com.l2jfrozen.gameserver.model import L2Skill from com.l2jfrozen.gameserver.model.quest import State from com.l2jfrozen.gameserver.model.quest import QuestState from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance from com.l2jfrozen.gameserver.datatables import SkillTable from com.l2jfrozen.gameserver.network.serverpackets import PledgeSkillList from com.l2jfrozen.gameserver.network.serverpackets import PledgeShowInfoUpdate from com.l2jfrozen.gameserver.network.serverpackets import SystemMessage from java.lang import Integer script problem if event == "skills": if xCLANx == 8888 : if st.getQuestItemsCount(Item3) < Count6 : return u"<html><title>Exclusive Shop</title><body><center><table>bla..bla</table></center></body></html>" elif not st.getPlayer().isClanLeader() : return u"<html><title>Exclusive Shop</title><body><center><table>bla..bla</table></center></body></html>" here i want to add an (if) that checks if ClanLeader got already the skills but i am not sure what exactly to check i tried : if st.getplayer().getClan()(SkillTable.getInstance(): return u"<html><title>Exclusive Shop</title><body><center><table>bla..bla</table></center></body>/html>" st.takeItems(Item3,Count6) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(370,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(371,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(372,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(373,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(374,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(375,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(376,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(377,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(378,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(379,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(380,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(381,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(382,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(383,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(384,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(385,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(386,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(387,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(388,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(389,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(390,3)) st.getPlayer().getClan().addNewSkill(SkillTable.getInstance().getInfo(391,1)) st.getPlayer().getClan().broadcastToOnlineMembers(PledgeSkillList(st.getPlayer().getClan())) st.playSound("ItemSound.quest_finish") return u"<html><title>Exclusive Shop</title><body><center><table>bla..bla</table></center></body>/html>" st.exitQuest(1)
  19. [Error] The method getkarma(int) is undefined for the type L2PcInstance Regards Well I am somewhat new to java scripts xD and I´m using these server files: http://eliteadmins.l2jhispano.com/threads/high-five-preconfigurado-ii-masterio-pack-mods-custom-eventos-npcs.6705/ My problem is that it does not let me use the getkarma() command, the error is this: ---------- 1. ERROR in C:\ALCARK\L2 Hi5\Server Propio\Servidor de lineage 2 H5 ( Masterio-P ack )\lineage 2 H5\game\data\scripts\handlers\voicedcommandhandlers\Pk_Banking.j ava (at line 46) activeChar.getActingPlayer().getkarma(1000); ^^^^^^^^ The method getkarma(int) is undefined for the type L2PcInstance ---------- 1 problem (1 error)The method getkarma(int) is undefined for the type com.l2jser ver.gameserver.model.actor.instance.L2PcInstance Failed executing script: C:\ALCARK\L2 Hi5\Server Propio\Servidor de lineage 2 H5 ( Masterio-Pack )\lineage 2 H5\game\data\scripts\handlers\MasterHandler.java. S ee MasterHandler.java.error.log for details. TarBeetleSpawn: Loaded 55 spawn zones. HellboundManager: Spawned 424 NPCs. . . . And the .java file is this: /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package handlers.voicedcommandhandlers; import com.l2jserver.Config; import com.l2jserver.gameserver.handler.IVoicedCommandHandler; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; public class Pk_Banking implements IVoicedCommandHandler { private static final String[] _voicedCommands = { "pkbank", "pkwithdraw", }; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params) { if (command.equals("pkbank")) { activeChar.sendMessage(".deposit (" + Config.BANKING_SYSTEM_ADENA + " Adena = " + Config.BANKING_SYSTEM_GOLDBARS + " Four-leaf Golden Clover Coin) / .withdraw (" + Config.BANKING_SYSTEM_GOLDBARS + " Four-leaf Golden Clover Coin = " + Config.BANKING_SYSTEM_ADENA + " Adena)"); } else if (command.equals("pkwithdraw")) { if (activeChar.getInventory().getInventoryItemCount(7569, 0) >= Config.BANKING_SYSTEM_GOLDBARS) { if (!activeChar.destroyItemByItemId("Adena", 7569, Config.BANKING_SYSTEM_GOLDBARS, activeChar, false)) { return false; } activeChar.getInventory().addAdena("Adena", Config.BANKING_SYSTEM_ADENA, activeChar, null); activeChar.getActingPlayer().getkarma(1000); activeChar.getInventory().updateDatabase(); activeChar.sendMessage("Thank you, you now have " + Config.BANKING_SYSTEM_ADENA + " Adena, and " + Config.BANKING_SYSTEM_GOLDBARS + " less Four-leaf Golden Clover Coin(s)."); } else { activeChar.sendMessage("You do not have any Four-leaf Golden Clover Coins to turn into " + Config.BANKING_SYSTEM_ADENA + " Adena."); } } return true; } @Override public String[] getVoicedCommandList() { return _voicedCommands; } } ¿Are there any other commands which work in the same way that the getkarma ()? what I want is to increase the karma of the player over and over again, when it runs. Your help shall be really appreciated :)
  20. Looking for script which show character inventory, it can be web-side, for example Stress Web admin panel have it, maybe there are more?
  21. Functions - Generate link. - Reward Item ( Use Telnet ). - Top 30 Invites. - Works on l2j, (All Chronic). Interested ? please contact me, I can show the files. and also show the system working! Contact / Payment Skype: xxxboaxxx. Payment: paypal. Price: 20 Euros.
  23. Status: OFF
  24. WANT TO SELL SCRIPTS OF ZRANGER FOR ANY TYPE OF CLASS. PVP OR/AND PVE We'll be in contact all time for any issue and we fix it in 1 minute, btw there are perfect scripts Conctact me: Skype -> ferraaan91 / ferraaan91@hotmail.com ( u can use both ) Mail me: drop me a mail in my Inbox!! Ask price in skype or mail!
  25. Recover password The name says it all, the player fills out a form and a new password is sent to your email! Contact / Payment Skype: xxxboaxxx. Payment: paypal. Price: 5 Euros.
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock