Jump to content

'Baggos'

Legendary Member
  • Posts

    3,874
  • Credits

  • Joined

  • Last visited

  • Days Won

    27
  • Feedback

    100%

Everything posted by 'Baggos'

  1. You can wait for the Global Mod who removed the posts to explain the reason.. But at the moment the posts are deleted, I don't think there is any way to undone this action.. Just to know, we always remove/hide only spam/flame replies(just to keep the topic clear for the onwer).. Maybe he removed the other replies by mistake.. It's just a misunderstanding, there Isn't any reason to remove anything. Nothing personal with anybody. :) Have a nice day buddy..
  2. Team will remove only spam posts.. Maybe your replies was spam/flame or something.
  3. The only way is to start reading some guides and then you can work on it. No one will help you right now.
  4. No signal in cave.. Sorry.. Maybe next time. :)
  5. Because I don't like the even numbers.. Now the number 151 it's ok as an odd number..
  6. Hello there.. Here is my Epic Boss Manager from my old server. Nothing special, but some of you may need it. What's inside? Works only with retail Grandbosses. [No retail zaken id] Inform you about the status of Grandboss. Inform you about respawn time. Date/Time. Enable/Disable it on configs. # Announce Grandboss status. # Ex: If status for Antharas/Valakas/Frintezza change to 2 player get announce: # Grandboss>name is engaged in battle. # If status changed to 3: Grandbossname has been killed. Type .epic for details! # For Baium if status change to 1 - Baium is awake and fighting. # All Grandboses respawned - Grandbossname is spawned in the world! AnnounceGrandBossStatus = True Pastebin
  7. Just change the ID of the armor lvl 2. Dyn set ID 1,2,3,4,5, go to your xml/items, c/p those armor parts and then change the ID and stats. Also, you will need to put the new ID on client. itemname, armorgrp. About shop, as sweet told you, you will need to put npc type Merchant. Mutilsell example: <?xml version='1.0' encoding='utf-8'?> <!-- D-Grade Weapons --> <list> <!-- Dynasty Helm lvl 1 --> <item id="1"> <ingredient id="1" count="1"/> <production id="2" count="1"/> </item> <!-- Dynasty BreastPlate lvl 1 --> <item id="2"> <ingredient id="1" count="1"/> <production id="2" count="1"/> </item> <!-- Dynasty Legs lvl 1 --> <item id="3"> <ingredient id="1" count="1"/> <production id="2" count="1"/> </item> <!-- Dynasty Gloves lvl 1 --> <item id="4"> <ingredient id="1" count="1"/> <production id="2" count="1"/> </item> <!-- Dynasty Boots lvl 1 --> <item id="5"> <ingredient id="1" count="1"/> <production id="2" count="1"/> </item> </list> Npc example: <npc id="20704" idTemplate="30865" name="Shop" title="Global Store"> <set name="usingServerSideName" val="true"/> <set name="usingServerSideTitle" val="true"/> <set name="level" val="80"/> <set name="radius" val="8"/> <set name="height" val="26"/> <set name="rHand" val="0"/> <set name="lHand" val="0"/> <set name="type" val="Merchant"/> <set name="exp" val="0"/> <set name="sp" val="0"/> <set name="hp" val="2444.46819"/> <set name="mp" val="1345.8"/> <set name="hpRegen" val="7.5"/> <set name="mpRegen" val="2.7"/> <set name="pAtk" val="688.86373"/> <set name="pDef" val="295.91597"/> <set name="mAtk" val="470.40463"/> <set name="mDef" val="216.53847"/> <set name="crit" val="4"/> <set name="atkSpd" val="253"/> <set name="str" val="40"/> <set name="int" val="21"/> <set name="dex" val="30"/> <set name="wit" val="20"/> <set name="con" val="43"/> <set name="men" val="20"/> <set name="corpseTime" val="7"/> <set name="walkSpd" val="50"/> <set name="runSpd" val="120"/> <set name="dropHerbGroup" val="0"/> <ai type="DEFAULT" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="false"/> <skills> <skill id="4045" level="1"/> <skill id="4416" level="17"/> </skills> </npc> html/merchant/20704 <html> <title> SHOP UPGRADER </title> <center> <img src="networklogo1.networklogo1" height=90 width=294></td> </center> <center> <img src="L2UI.SquareGray" width=300 height=1> <br> <img src="L2UI.SquareGray" width=300 height=1> <table width=300 height=32 bgcolor=000000> <tr> <td fixwidth=5> </td> <td fixwidth=32 height=42> <img src="icon.accessory_necklace_of_valakas_i00" width=34 height=33> </td> <td fixwidth=250> <font color=F57E21><a action="bypass -h npc_%objectId%_multisell 501">Upgrade Dynasty</font></a><br1> <font color=F2F5A9>You need Upgrade? Here you are.</font> </td> </tr> </table> <img src="L2UI.SquareGray" width=300 height=1> </center> </body> </html>
  8. Apella lvl 1 to Apella lvl 2. Same thing as Sideral told you.. You will give Apella lvl 1(ID 1) for Apella lvl 2(ID 2).
  9. Hello there.. Here is my buffer from my old server.. (Main html made by protoftw) What's inside? Mage | Fighter set [config] Buffs/Dance/Song/Extra etc one by one Special buffs + Malaria Vote buff [If you want it, you can enable it, config] Scheme Buffer Code Preview > pastebin [aCis 401] Code/HTML/XML > Download [aCis 401] Baggos coded the buffer protoftw the html design Scheme coded by Tryskell on his own project. UPDATED FOR ACIS LATEST FREE REV 401.
  10. Upgrade to what? From Arcana to Dynasty or something? You can create a new npc, edit the multisell and that's it.. Check how blacksmith works with SA and make your own..
  11. Dynasty or classic, the whole idea counts... Make something with "unique" features and just let it happen.. Don't bother yourself with polls like this. There are always players who like both if you go for same stats... Players always cry, so move your head and desire your gameplay.
  12. Edit your title and put [L2J] or [L2OFF].
  13. exception: java.lang.ClassNotFoundException: net.sf.l2j.gameserver.model.actor.instance.L2TvtEventNpc I saw it there, that's why I told you to change it. Check your instances and c/p the name to be sure. Try with this: public static boolean startParticipation() { final int npcc = Config.TVT_EVENT_PARTICIPATION_TIME * 1000 * 60; try { final NpcTemplate template = NpcTable.getInstance().getTemplate(Config.TVT_EVENT_PARTICIPATION_NPC_ID); final L2Spawn spawn = new L2Spawn(template); spawn.setLoc(Config.TVT_EVENT_BACK_COORDINATES[0], Config.TVT_EVENT_BACK_COORDINATES[1], Config.TVT_EVENT_BACK_COORDINATES[2], 0); SpawnTable.getInstance().addNewSpawn(spawn, false); final Npc npc = spawn.doSpawn(true); npc.scheduleDespawn(npcc); npc.broadcastPacket(new MagicSkillUse(npc, npc, 1034, 1, 1, 1)); } catch (Exception e) { System.out.println("TvTEventEngine[TvTEvent.startParticipation()]: exception: " + e); return false; } setState(EventState.PARTICIPATING); return true; } Also, create a new file on instances with name TvTEventNpc and try with this(Don't forget to change the npc type on xml to TvTEventNpc): /* * 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 net.sf.l2j.gameserver.model.actor.instance; import net.sf.l2j.Config; import net.sf.l2j.gameserver.data.cache.HtmCache; import net.sf.l2j.gameserver.events.TvTEvent; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.template.NpcTemplate; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; public class TvTEventNpc extends Npc { public TvTEventNpc(int objectId, NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(Player playerInstance, String command) { TvTEvent.onBypass(command, playerInstance); } @Override public void showChatWindow(Player playerInstance, int val) { if (playerInstance == null) return; if (TvTEvent.isParticipating()) { String htmFile = "data/html/mods/"; if (!TvTEvent.isPlayerParticipant(playerInstance.getName())) htmFile += "TvTEventParticipation"; else htmFile += "TvTEventRemoveParticipation"; htmFile += ".htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { int[] teamsPlayerCounts = TvTEvent.getTeamsPlayerCounts(); NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(getObjectId()); npcHtmlMessage.setHtml(htmContent); npcHtmlMessage.replace("%objectId%", String.valueOf(getObjectId())); npcHtmlMessage.replace("%team1name%", Config.TVT_EVENT_TEAM_1_NAME); npcHtmlMessage.replace("%team1playercount%", String.valueOf(teamsPlayerCounts[0])); npcHtmlMessage.replace("%team2name%", Config.TVT_EVENT_TEAM_2_NAME); npcHtmlMessage.replace("%team2playercount%", String.valueOf(teamsPlayerCounts[1])); playerInstance.sendPacket(npcHtmlMessage); } } else if (TvTEvent.isStarting() || TvTEvent.isStarted()) { String htmFile = "data/html/mods/TvTEventStatus.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { int[] teamsPlayerCounts = TvTEvent.getTeamsPlayerCounts(); int[] teamsPointsCounts = TvTEvent.getTeamsPoints(); NpcHtmlMessage npcHtmlMessage = new NpcHtmlMessage(getObjectId()); npcHtmlMessage.setHtml(htmContent); // npcHtmlMessage.replace("%objectId%", String.valueOf(getObjectId())); npcHtmlMessage.replace("%team1name%", Config.TVT_EVENT_TEAM_1_NAME); npcHtmlMessage.replace("%team1playercount%", String.valueOf(teamsPlayerCounts[0])); npcHtmlMessage.replace("%team1points%", String.valueOf(teamsPointsCounts[0])); npcHtmlMessage.replace("%team2name%", Config.TVT_EVENT_TEAM_2_NAME); npcHtmlMessage.replace("%team2playercount%", String.valueOf(teamsPlayerCounts[1])); npcHtmlMessage.replace("%team2points%", String.valueOf(teamsPointsCounts[1])); // <---- array index from 0 to 1 thx DaRkRaGe playerInstance.sendPacket(npcHtmlMessage); } } playerInstance.sendPacket(ActionFailed.STATIC_PACKET); } }
  14. Sorry mate, those questions leade us nowhere.. Try to be more specific..
  15. Well, your instance is < L2TvtEventNpc > small "t", and your npc type L2TvTEventNpc. Also, use 50000 xml or create a new by c/p an existing xml to avoid any wrong format.
  16. Next time use the bump button.
  17. Stop spamming on every reply. Comments on share topic, not here. Do not answer this. Let it clean.. Nice one Designatix. Hope members will make shares.
  18. Your Buffer have type SchemeBuffer, so your rev is 367+, so you should use type as Gatekeeper and not L2Teleporter. Take a look on instances and make your npcs. It should look like this: Copy and paste it. <npc id="50009" idTemplate="30952" name="Global Gatekeeper" title="Portal"> <set name="usingServerSideName" val="true"/> <set name="usingServerSideTitle" val="true"/> <set name="level" val="70"/> <set name="radius" val="7"/> <set name="height" val="35"/> <set name="rHand" val="0"/> <set name="lHand" val="0"/> <set name="type" val="Gatekeeper"/> <set name="exp" val="0"/> <set name="sp" val="0"/> <set name="hp" val="2444.46819"/> <set name="mp" val="1345.8"/> <set name="hpRegen" val="7.5"/> <set name="mpRegen" val="2.7"/> <set name="pAtk" val="688.86373"/> <set name="pDef" val="295.91597"/> <set name="mAtk" val="470.40463"/> <set name="mDef" val="216.53847"/> <set name="crit" val="4"/> <set name="atkSpd" val="253"/> <set name="str" val="40"/> <set name="int" val="21"/> <set name="dex" val="30"/> <set name="wit" val="20"/> <set name="con" val="43"/> <set name="men" val="20"/> <set name="corpseTime" val="7"/> <set name="walkSpd" val="50"/> <set name="runSpd" val="120"/> <set name="dropHerbGroup" val="0"/> <skills> <skill id="4045" level="1"/> <skill id="4416" level="18"/> </skills> </npc>
  19. Do not spam useless answers in help topics. Next time you will be warned.
  20. Use l2 file edit. If you get errors, try to move your file on Desktop and try again. Otherwise, take a clean armorgrp file from clean patch and work with it.
  21. Faster solution: Edit your client before to log in the game. So, you don't have to worry about restarting the client. :O No you can't.. Client need to run the file(s), that's why need restart. Locked. No need to explain something else about your question.
×
×
  • Create New...