Jump to content

-Invoke

Members
  • Posts

    27
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by -Invoke

  1. Contact info: Discord: Invoke#4502 Skype: chrisis19 wts items in L2Kings x25 epics : Antharas, baium, qa, orfen, blessed freya necklace (for all epics 150 euros negotiable) chars to sell 2 sorcerer , bishop (negiotiable price for chars) - Hero sorceror 1st in top pvp list 1.8k pvp + vesper noble set lvl7 attr +8, +8 rising star augments and everything skill +30, certi -bps full skills +30, certifications, vorpal set +6 pvp lvl7 attri, acumen weapons with skills, augmented weps with refresh etc. B.Freya Necklase -sorc with vesper noble found set pvp +6 lvl 7 attri, rising stars/veni +6 acumen SA, augmented weps with refresh etc, certi some skills +30
  2. i was trying with l2file edit, thanks a lot mate! I edited with l2lige and now its perfect
  3. Anyway to fix the alignment on this one? its keep appearing on the bottom behind my bar after editing the SystemMsg-e.dat many times, should I look elsewhere? I would appreciate it if you let me know, thanks!
  4. In mobius try parseCommunityBoardCommand(string, player) at the end of every void you have and it will probably solve ur problem, or code directly into the command, if u are gonna call a void then use this at the end of the void.
  5. The above things u mentioned such as wh, blacksmith and dyes are using packets, and since community board is not an npc u cant use npc commands. You need to send packets, for example in order to press add dye lets say, u need to create a command in community board handler and to register it also. You can create a new or add inside an existing CB file in handlers. I am gonna give u a hand here as an example. I hope i helped. Register the commands: private static final String[] COMMANDS = { "_bbsaug", "_bbsdisaug", "_bbsdraw", "_bbsundraw", }; Examples: @Override public boolean parseCommunityBoardCommand(String command, PlayerInstance player) { if (command.equals("_bbsaug")) { player.sendPacket(ExShowVariationMakeWindow.STATIC_PACKET); player.sendPacket(SystemMessageId.SELECT_THE_ITEM_TO_BE_AUGMENTED); player.cancelActiveTrade(); } else if (command.equals("_bbsdisaug")) { player.sendPacket(ExShowVariationCancelWindow.STATIC_PACKET); player.sendPacket(SystemMessageId.SELECT_THE_ITEM_FROM_WHICH_YOU_WISH_TO_REMOVE_AUGMENTATION); player.cancelActiveTrade(); } else if (command.equals("_bbsdraw")) { player.sendPacket(new HennaEquipList(player)); } else if (command.equals("_bbsundraw")) { player.sendPacket(new HennaRemoveList(player)); } } @Override public String[] getCommunityBoardCommands() { return COMMANDS; }
  6. Mind me if i am wrong but you don't mention anywhere the getItemId in the DressMe.java maybe u missed the DressMe.java from model folder in your new upload, check it again
  7. Exactly , I totally agree with you! Thanks for the advice, i thought of the engine but my time is limited behind the scenes so i will try to do it some time in the future!
  8. I don't think you know me or my coding abilities in order for you to come for me like that. And i am not saying that i am pro in java but i can understand a lot of stuff and learn fast. I agree on the part about sharing, but since i spend a lot of time and effort doing this i dicided to sell it and not to share it, because i have coded it by my self - some mods are added from the original tvt as well which are completely optional and which i mentioned on the begging of my topic about the similarity. Best regards
  9. Yes i know but there are also people who begin their projects with clean packs and its modified so in any case if someone is interested why not ? I just shoot my shot here u know :) Thank you!
  10. Hello guys as the title says i am selling a fully reworked and fully configurable deathmatch event for High Five client (with some implemenation i can implement it for aCis too) Some features are similar to Tvt but reworked alot in order to be more stable. Configurable Features: Event can be done in instance (optionable) - can also close and open doors on enter and at the end of the event Max players per IP Time that the event will occur in 24h format (you can set the event to start any time you want) Registration time for participation Running time of participation Npc Id to spawn in specific coordinates once the event pops up Participation fee - if needed (can be without) Max players and min players to join the event Max and min player levels Player spawn coordinates ( random spawn coordinates on enter of event and on death of player) Reward on everykill and amount PvP point on every kill Reward the first 3 players if the deathmatch is a Tie - if players made same kills as the others (optionable) Option if its a tie you can reward one player otherwise you can set the top players to reward Change visible name to Player's class name (this can be changed if you want) change of the visual title as well (but not the player's one for better performance) note that i can change the their title aswell - if needed from the buyer Change visible color of name and title (set it as u want) - currently i disabled it Change's visible title to amounts of kills of every player (this is only visible to other players if you want to change for current character as well let me know) Option for restriction can be added for scrolls/potions/summon Option of removing all the buffs on enter / give specific buffs/ or remove nothing at all add specific buffs for mages and for fighters (optionable) Protection against teleporting measures On enter pvp flag will be always on On enter and on death Noblesse and Flames of Invisibility (FOI) are applied. Commands for join/leave/info added status command shows the rankings of the current player inside the event Dialog message pops up to all online players when the event starts with confirm and cancel option Skype: chrisis19 Discord: Invoke#4502 Here are some pictures: Dialog message - announcement - spawn of NPC: Registration confirmed: Teleporting players into the arena - announce for players registered for the event: On enter - change of visual name - update pvp flag (can be changed) - apply effects (noble, foi): On kill (add pvp point and reward): Command for deathmatch status with rankings during the event: Random respawn on death - change of visual title of player with their Kills: At the end of the event html window pop up with the Rankings (in this case i have enabled to reward the top 3 players):
  11. Hi i am looking for workable highfive or at least freya events like Deathmatch, tvt, ctf, last hero etc. Most of them are not working please let me know, Thanks
  12. Create new batch file and name it GameServer and add this inside but i dont know where u installed ur java so this is an example "C:\Program Files\Java\jdk-12.0.2\bin\java" add your java path there @echo off "C:\Program Files\Java\jdk-12.0.2\bin\java" -server -Dfile.encoding=UTF-8 -Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=error -Xmx4g -Xms2g -jar ../libs/GameServer.jar pause For LoginServer batch add this one @echo off "C:\Program Files\Java\jdk-12.0.2\bin\java" -server -Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=error -Xms128m -Xmx256m -jar ../libs/LoginServer.jar pause
  13. Try searching something like hidedress in DressMe voice command, or something that remove the specific variable for that as i remember from fandc and that gives a new packet to the world CharInfo, this is what i understood from ur topic let me know if its something else
  14. There are many possibilities, one is that maybe it reaches the maximum size of the ShowBoard, try removing (multiple pictures, backgrounds ,icons) keep the pages more minimal and try again! Also try using notepad++ and go through ur CB htmls again and check all ur tables if everything is closing correctly!
  15. Nice idea, but i think it will need a lot of restrictions. example: Imagine doing boss quest and losing the item, and then retrieving them again :D
  16. Hey guys if you are doing a project from the scratch and looking for a way to connect community board with the htmls i think this is a good way to do it even though there are many ways! I am just giving the idea here so please don't flame with better codes and stuff :) I will do this in l2j mobious H5, i think it works mostly in all packs but let me know if it does not. 1) So you basically you are gonna create a new custom script that will extend Quest, in this case I named it CBnpcs.java (scripts/custom/CommunityNpcs/CBnpcs.java) 2) Set the ids of our custom npcs 3) You have to add them on firsttalk , talk, startnpc each one separately just like bellow 4) Then the link where you have stored your htmls 5) So if you want to create more npcs connecting them to CB you can simply copy and paste the else ifs and set more ids 6) Some packs i think require the scripts to be registered on scripts.cfg so do that as well if you own such pack package custom.CommunityNpcs; import com.l2jmobius.gameserver.cache.HtmCache; import com.l2jmobius.gameserver.handler.CommunityBoardHandler; import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; import com.l2jmobius.gameserver.model.quest.Quest; import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage; /** * @author -Invoke */ public class CBnpcs extends Quest { private static final int Merchant = 36621; private static final int Gatekeeper = 36622; public CBnpcs(int questId) { super(questId); addFirstTalkId(Merchant); addFirstTalkId(Gatekeeper); // addTalkId(Merchant); addTalkId(Gatekeeper); // addStartNpc(Merchant); addStartNpc(Gatekeeper); } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { final int npcId = npc.getId(); String mainhtml = HtmCache.getInstance().getHtm(player, "data/html/CommunityBoard/Custom/main.html"); if (npcId == Merchant) { String html = HtmCache.getInstance().getHtm(player, "data/html/CommunityBoard/Custom/merchant/main.html"); CommunityBoardHandler.separateAndSend(html, player); } else if (npcId == Gatekeeper) { String html = HtmCache.getInstance().getHtm(player, "data/html/CommunityBoard/Custom/gatekeeper/main.html"); CommunityBoardHandler.separateAndSend(html, player); } CommunityBoardHandler.separateAndSend(mainhtml, player); return ""; } public static void main(final String[] args) { new CBnpcs(-1); LOGGER.info("COMMYNITY NPCS LOADED"); } }
  17. it should be something like L2CastleManage as a type why don't you make it like a voice command? I did it for l2jmobius i can help you for your pack if you want. package handlers.voicedcommandhandlers; import com.l2jmobius.gameserver.handler.IVoicedCommandHandler; import com.l2jmobius.gameserver.instancemanager.CastleManager; import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; import com.l2jmobius.gameserver.model.entity.Castle; import com.l2jmobius.gameserver.network.SystemMessageId; import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jmobius.gameserver.network.serverpackets.SiegeInfo; public class SiegeAndCastleManagerVC implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = { "siege", "siege_gludio", "siege_dion", "siege_giran", "siege_oren", "siege_aden", "siege_innadril", "siege_goddard", "siege_rune", "siege_schuttgart", }; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.startsWith("siege")) { sendHtml(activeChar); } if (command.startsWith("siege_")) { if ((activeChar.getClan() != null) && !activeChar.isClanLeader()) { activeChar.sendPacket(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT); return false; } int castleId = 0; if (command.startsWith("siege_gludio")) { castleId = 1; } else if (command.startsWith("siege_dion")) { castleId = 2; } else if (command.startsWith("siege_giran")) { castleId = 3; } else if (command.startsWith("siege_oren")) { castleId = 4; } else if (command.startsWith("siege_aden")) { castleId = 5; } else if (command.startsWith("siege_innadril")) { castleId = 6; } else if (command.startsWith("siege_goddard")) { castleId = 7; } else if (command.startsWith("siege_rune")) { castleId = 8; } else if (command.startsWith("siege_schuttgart")) { castleId = 9; } Castle castle = CastleManager.getInstance().getCastleById(castleId); if ((castle != null) && (castleId != 0)) { activeChar.sendPacket(new SiegeInfo(castle, activeChar)); } } return true; } private void sendHtml(L2PcInstance activeChar) { NpcHtmlMessage html = new NpcHtmlMessage(); html.setFile(activeChar, "data/html/ExtraStuff/CastleManager.html"); activeChar.sendPacket(html); } @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } }
  18. Hello i would like to find out about how the twitch voice command is working in some servers that i've seen, how is it possible for example to create a twitch voice command in order to take the username of the twitch account and used only by one individual character only in game and count the views for example and after some amount of views reward them with items and also checks if the stream is online or offline. If there is someone who can help me out i would really appreciate it
×
×
  • Create New...