Jump to content

lowrider88

Members
  • Posts

    76
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by lowrider88

  1. Cool Thanks i found it, Thanks for your Help :D
  2. Hello, i am using Hi five Server and i want to edit the stats of the dark Panther like up his patk and defense, How do i do this, i found this in skills but dont know what to change Thanks <skill id="283" levels="7" name="Summon Dark Panther" enchantGroup1="1"> <table name="#enchantNpcIds"> 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 </table> <table name="#mpInitialConsume"> 14 18 22 23 25 26 28 </table> <table name="#mpConsume"> 56 70 85 92 98 104 109 </table> <table name="#itemConsumeCount"> 1 3 3 2 4 4 4 </table> <table name="#itemConsumeCountOT"> 1 1 2 3 4 4 4 </table> <table name="#npcIds"> 14799 14800 14801 14802 14803 14804 14805 </table> <table name="#ench1expPenalty"> 0.14 0.13 0.12 0.11 0.1 0.09 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </table> <table name="#magicLvl"> 40 49 58 62 66 70 74 </table> <set name="mpInitialConsume" val="#mpInitialConsume" /> <set name="mpConsume" val="#mpConsume" /> <set name="magicLvl" val="#magicLvl" /> <set name="itemConsumeId" val="1459" /> <set name="itemConsumeCount" val="#itemConsumeCount" /> <set name="itemConsumeIdOT" val="1459" /> <set name="itemConsumeCountOT" val="#itemConsumeCountOT" /> <set name="itemConsumeSteps" val="4" /> <set name="summonTotalLifeTime" val="1200000" /> <set name="summonTimeLostIdle" val="500" /> <set name="summonTimeLostActive" val="1000" /> <set name="target" val="TARGET_SELF" /> <set name="reuseDelay" val="5000" /> <set name="hitTime" val="15000" /> <set name="skillType" val="SUMMON" /> <set name="isMagic" val="1" /> <!-- Magic Skill --> <set name="operateType" val="A1" /> <!-- Summon-specific --> <set name="npcId" val="#npcIds" /> <set name="expPenalty" val="0.15" /> <!-- 15 percent of acquired Exp will also be consumed. --> <enchant1 name="npcId" val="#enchantNpcIds" /> <enchant1 name="expPenalty" val="#ench1expPenalty" />
  3. What do i do with the armorset sql, becuase there is no table like that in my navicat, I am using High Five Server
  4. How can i change how far a mob will chase you before it returns to its spawn point ?
  5. But i dont have that location package com.l2jserver.gameserver.model.actor.instance is it because i downloaded a compiled server and didnt compile it myself ?
  6. ok so i found this com.l2jserver.gameserver.model.actor.instance.L2NpcBufferInstance http://trac.l2jserver.com/browser/trunk/L2J_Server/java/com/l2jserver/gameserver/model/actor/instance/L2NpcBufferInstance.java# /* * 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 com.l2jserver.gameserver.model.actor.instance; import gnu.trove.map.hash.TIntIntHashMap; import java.util.logging.Logger; import com.l2jserver.gameserver.cache.HtmCache; import com.l2jserver.gameserver.datatables.NpcBufferTable; import com.l2jserver.gameserver.datatables.SkillTable; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.L2Summon; import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate; import com.l2jserver.gameserver.model.items.instance.L2ItemInstance; import com.l2jserver.gameserver.model.skills.L2Skill; import com.l2jserver.gameserver.network.SystemMessageId; import com.l2jserver.gameserver.network.serverpackets.ActionFailed; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jserver.gameserver.network.serverpackets.SystemMessage; import com.l2jserver.gameserver.taskmanager.AttackStanceTaskManager; /** * The Class L2NpcBufferInstance. */ public class L2NpcBufferInstance extends L2Npc { static final Logger _log = Logger.getLogger(L2NpcBufferInstance.class.getName()); private static TIntIntHashMap pageVal = new TIntIntHashMap(); /** * Instantiates a new l2 npc buffer instance. * * @param objectId the object id * @param template the template */ public L2NpcBufferInstance(int objectId, L2NpcTemplate template) { super(objectId, template); setInstanceType(InstanceType.L2NpcBufferInstance); } @Override public void showChatWindow(L2PcInstance playerInstance, int val) { if (playerInstance == null) return; if (player.isInCombat) { player.sendMessage("You can't use buffer while you are in combat mode!"); return; } if (player.getPvpFlag() != 0) { player.sendMessage("You can't use buffer while you have PvP Flag!"); return; } if (player.getKarma() > 0) { player.sendMessage("You can't use buffer while you have karma!"); return; } String htmContent = HtmCache.getInstance().getHtm(playerInstance.getHtmlPrefix(), "data/html/mods/NpcBuffer.htm"); if (val > 0) htmContent = HtmCache.getInstance().getHtm(playerInstance.getHtmlPrefix(), "data/html/mods/NpcBuffer-" + val + ".htm"); if (htmContent != null) { NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(getObjectId()); npcHtmlMessage.setHtml(htmContent); npcHtmlMessage.replace("%objectId%", String.valueOf(getObjectId())); playerInstance.sendPacket(npcHtmlMessage); } playerInstance.sendPacket(ActionFailed.STATIC_PACKET); } @Override public void onBypassFeedback(L2PcInstance player, String command) { // BypassValidation Exploit plug. if (player == null || player.getLastFolkNPC() == null || player.getLastFolkNPC().getObjectId() != this.getObjectId()) return; L2Character target = player; if (command.startsWith("Pet")) { L2Summon pet = player.getPet(); if (pet == null) { player.sendMessage("You do not have your pet summoned."); showChatWindow(player, 0); // 0 = main window return; } target = pet; } int npcId = getNpcId(); if (command.startsWith("Chat")) { int val = Integer.parseInt(command.substring(5)); pageVal.put(player.getObjectId(), val); showChatWindow(player, val); } else if (command.startsWith("Buff") || command.startsWith("PetBuff")) { String[] buffGroupArray = command.substring(command.indexOf("Buff") + 5).split(" "); for (String buffGroupList : buffGroupArray) { if (buffGroupList == null) { _log.warning("NPC Buffer Warning: npcId = " + npcId + " has no buffGroup set in the bypass for the buff selected."); return; } int buffGroup = Integer.parseInt(buffGroupList); int[] npcBuffGroupInfo = NpcBufferTable.getInstance().getSkillInfo(npcId, buffGroup); if (npcBuffGroupInfo == null) { _log.warning("NPC Buffer Warning: npcId = " + npcId + " Location: " + getX() + ", " + getY() + ", " + getZ() + " Player: " + player.getName() + " has tried to use skill group (" + buffGroup + ") not assigned to the NPC Buffer!"); return; } int skillId = npcBuffGroupInfo[0]; int skillLevel = npcBuffGroupInfo[1]; int skillFeeId = npcBuffGroupInfo[2]; int skillFeeAmount = npcBuffGroupInfo[3]; if (skillFeeId != 0) { L2ItemInstance itemInstance = player.getInventory().getItemByItemId(skillFeeId); if (itemInstance == null || (!itemInstance.isStackable() && player.getInventory().getInventoryItemCount(skillFeeId, -1) < skillFeeAmount)) { SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.THERE_ARE_NOT_ENOUGH_NECESSARY_ITEMS_TO_USE_THE_SKILL); player.sendPacket(sm); continue; } if (itemInstance.isStackable()) { if (!player.destroyItemByItemId("Npc Buffer", skillFeeId, skillFeeAmount, player.getTarget(), true)) { SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.THERE_ARE_NOT_ENOUGH_NECESSARY_ITEMS_TO_USE_THE_SKILL); player.sendPacket(sm); continue; } } else { for (int i = 0; i < skillFeeAmount; ++i) { player.destroyItemByItemId("Npc Buffer", skillFeeId, 1, player.getTarget(), true); } } } L2Skill skill; skill = SkillTable.getInstance().getInfo(skillId, skillLevel); if (skill != null) skill.getEffects(player, target); } showChatWindow(player, pageVal.get(player.getObjectId())); } else if (command.startsWith("Heal") || command.startsWith("PetHeal")) { if (!target.isInCombat() && !AttackStanceTaskManager.getInstance().getAttackStanceTask(target)) { String[] healArray = command.substring(command.indexOf("Heal") + 5).split(" "); for (String healType : healArray) { if (healType.equalsIgnoreCase("HP")) { target.setCurrentHp(target.getMaxHp()); } else if (healType.equalsIgnoreCase("MP")) { target.setCurrentMp(target.getMaxMp()); } else if (healType.equalsIgnoreCase("CP")) { target.setCurrentCp(target.getMaxCp()); } } } showChatWindow(player, pageVal.get(player.getObjectId())); } else if (command.startsWith("RemoveBuffs") || command.startsWith("PetRemoveBuffs")) { target.stopAllEffectsExceptThoseThatLastThroughDeath(); showChatWindow(player, pageVal.get(player.getObjectId())); } else { super.onBypassFeedback(player, command); } } } i put it in C:\server\game\data\scripts\custom\L2NpcBufferInstance.java then i add it to my scripts.config # Custom custom/L2NpcBufferInstance.java i get this in gave server console: 1. ERROR in \L2NpcBufferInstance.java (at line 62) if (player.isInCombat) { ^^^^^^ player cannot be resolved to a variable ---------- 2. ERROR in \L2NpcBufferInstance.java (at line 63) player.sendMessage("You can't use buffer while you are in combat mode!") ; ^^^^^^ player cannot be resolved ---------- 3. ERROR in \L2NpcBufferInstance.java (at line 66) if (player.getPvpFlag() != 0) { ^^^^^^ player cannot be resolved ---------- 4. ERROR in \L2NpcBufferInstance.java (at line 67) player.sendMessage("You can't use buffer while you have PvP Flag!"); ^^^^^^ player cannot be resolved ---------- 5. ERROR in \L2NpcBufferInstance.java (at line 70) if (player.getKarma() > 0) { ^^^^^^ player cannot be resolved ---------- 6. ERROR in \L2NpcBufferInstance.java (at line 71) player.sendMessage("You can't use buffer while you have karma!"); ^^^^^^ player cannot be resolved ---------- 6 problems (6 errors)player cannot be resolved to a variable player cannot be resolved player cannot be resolved player cannot be resolved player cannot be resolved player cannot be resolved Failed executing script: C:\server\game\data\scripts\custom\L2NpcBufferInstance. java. See L2NpcBufferInstance.java.error.log for details. and the log says: Error on: C:\server\game\data\scripts\custom\L2NpcBufferInstance.java.error.log Line: -1 - Column: -1 compilation failed
  7. I am using L2J High Five, I didnt compile it, Its Server 5550 and DataPack 9049 i looked for com.l2jserver.gameserver.model.actor.instance.L2NpcBufferInstance but could not find any thing that looked like that, do you have to compile it first in order do do that
  8. sorry i am not sure what you mean, do i have to make a Script of my own then ? because if so i am screwed lol
  9. no it dont have any scripts, just html buffer.
  10. Ok so i have a buffer but i want to make it to where if you are in combat/pvp/karma it wont buff or heal, how would i go about doing this, I am using High Five L2J..Thanks
  11. Ok so i am using the newest Data pack and server for high five, and i download things from this website like gate keepers, buffers, and other that all say are for high five, so when i try to add there sql to my sql i get this error : [Err] 1136 - Column count doesn't match value count at row 1 [Err] INSERT INTO `npc` VALUES (11111,32262,"Josh",0,"L2 Server",0,"LineageNPC.e_elmore_guard_Mhuman",20.00,30.00,80,"male","L2Npc",40,680.00000,1820.00000,0.00000,0.90000,40,43,30,21,20,20,0,0,500,500,500,500,500,1,0,500,05,05,0,02,25,1,1,0,1); [Msg] Finished - Unsuccessfully -------------------------------------------------- So whats wrong why can i not add these sqls to mine... Thanks
  12. Where do i put this code ?
  13. HI, could this please be put together in a alrdy made file so i can easily just copy them to my l2j high five server, i have no idea how to put these in manualy. Looks great and would really love to have thanks
  14. Can you make this for High Five ?
  15. LOL ok so i fugred out why it was giving me this error : :L2j\game\data\scripts\custom\NobleQuest.java> @ scripts.cfg :705-Reason: Doesnt exists or is not a file. I was putting custom/NobleQuest.java in the config like the read me said to do, but instead your supposed to put custom/NobleQuest/NobleQuest.java easy fix lol dont Great Share BTW
  16. i know l2 pride was a good interlude server back in the day
  17. Hello Welcome :P
  18. i downloaded the buffer For Freya - H5 every thing seems to work fine but when u click the heal/remove button, it just brings up a window that says i have nothing to say to you, i place the folder C:\server\game\data\scripts\custom\99999_NPCBuffer and the others in C:\server\game\data\html\mods do i have to add anything to the script config ?
  19. my favorite energy drink, i love the coffe one :P
×
×
  • 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