Jump to content

Prostyle1990

Members
  • Posts

    95
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Prostyle1990

  1. Hello again mate and thx for your fast reply , i will show you an photo because my english its not so good maybe can you show me an example how to do that ? when i press button 1 in cb i want to open the window witch is opened from pushkin when i press augument an item
  2. Any can help me to add on my community board : add augument and remove augument fuctions? how i can link from blacksmith pushking to community board ? i use l2mythras pack from maxcheater forum
  3. Hello everyone maybe someone can help me to create a voiced command witch open a page from communityboard for this pack if any can post an example how to open gm shop from community board when i Write in chat ----( .shop or .gmshop)------- please do it please or for example when i type in chat .gatekeeper to open gatekeeper from community board if any can show us that please do it please , thanks all
  4. Posted 4 hours ago Hello everyone maybe someone can help me to create a voiced command witch open a page from communityboard for this pack if any can post an example how to open gm shop from community board when i Write in chat ----( .shop or .gmshop)------- please do it please or for example when i type in chat .gatekeeper to open gatekeeper from community board if any can show us that please do it please , thanks to all Quote Edit
  5. Hello mate can u help me to create a voiced command witch open a page from communityboard for this pack if any can post an example how to open gm shop from community board when i Write in chat ----( .shop or .gmshop)------- please do it please or for example when i type in chat .gatekeeper to open gatekeeper from community board if any can show us that please do it please , thanks all
  6. Any can help us to create a voiced command witch open a page from communityboard for this pack ? any can give an example please ? if any can post an example how to open gm shop from community board when i type in chat .shop please do it please or for example when i type in chat .gatekeeper to open gatekeeper from community board if any can show us that please do it please , thanks all
  7. im already done with editing quest , my wrong was because i trust you ... you told me ''Open quest and remove piece if code, which blocks another mob spawn. Or simply use l2jserver code, you can spawn as many rbs as you want. '' but in this l2mythras pack you need to change dimensionalvortex and not the quest ...
  8. yes im going to open a server but not a fail server , why u say a fail server ?
  9. i already checked or maybe i am doing wrong because i dont know java , but still dont working , again i ask can you make for me an model for mythras file please ? for example mage me .gmshop command to open gmshop from communityboard ? just if u want to help me to show me an model of create a voice command using l2mythras pack file , thanks and sorry for stress
  10. thx for ur answer mate , but are you sure that working on mythras file ?
  11. Hey mate , thx for ur answer but i dont know what to remove from here maybe can you show me or can you help me please ...if u want this is the code from legendary tales quest package quests; import java.util.StringTokenizer; import l2f.gameserver.data.xml.holder.NpcHolder; import l2f.gameserver.model.Player; import l2f.gameserver.model.instances.NpcInstance; import l2f.gameserver.model.quest.Quest; import l2f.gameserver.model.quest.QuestState; import l2f.gameserver.scripts.ScriptFile; /** * @author pchayka */ public class _254_LegendaryTales extends Quest implements ScriptFile { private static final int Gilmore = 30754; private static final int LargeBone = 17249; private static final int[] raids = { 25718, 25719, 25720, 25721, 25722, 25723, 25724 }; public _254_LegendaryTales() { super(PARTY_ALL); addStartNpc(Gilmore); addKillId(raids); addQuestItem(LargeBone); } @Override public String onEvent(String event, QuestState st, NpcInstance npc) { String htmltext = event; if (event.equalsIgnoreCase("gilmore_q254_05.htm")) { st.setState(STARTED); st.setCond(1); st.playSound(SOUND_ACCEPT); } else if (event.startsWith("gilmore_q254_09.htm")) { st.takeAllItems(LargeBone); StringTokenizer tokenizer = new StringTokenizer(event); tokenizer.nextToken(); switch (Integer.parseInt(tokenizer.nextToken())) { case 1: st.giveItems(13467, 1); break; case 2: st.giveItems(13462, 1); break; case 3: st.giveItems(13464, 1); break; case 4: st.giveItems(13461, 1); break; case 5: st.giveItems(13465, 1); break; case 6: st.giveItems(13463, 1); break; case 7: st.giveItems(13460, 1); break; case 8: st.giveItems(13466, 1); break; case 9: st.giveItems(13459, 1); break; case 10: st.giveItems(13457, 1); break; case 11: st.giveItems(13458, 1); break; default: break; } st.playSound(SOUND_FINISH); st.setState(COMPLETED); st.exitCurrentQuest(false); htmltext = "gilmore_q254_09.htm"; } return htmltext; } @Override public String onTalk(NpcInstance npc, QuestState st) { String htmltext = "noquest"; int cond = st.getCond(); if (npc.getNpcId() == Gilmore) { if (cond == 0) { if (st.getPlayer().getLevel() >= 80) htmltext = "gilmore_q254_01.htm"; else { htmltext = "gilmore_q254_00.htm"; st.exitCurrentQuest(true); } } else if (cond == 1) htmltext = "gilmore_q254_06.htm"; else if (cond == 2) htmltext = "gilmore_q254_07.htm"; } return htmltext; } @Override public String onKill(NpcInstance npc, QuestState st) { int cond = st.getCond(); if (cond == 1) { int mask = 1; int var = npc.getNpcId(); for (int i = 0; i < raids.length; i++) { if (raids[i] == var) break; mask = mask << 1; } var = st.getInt("RaidsKilled"); if ((var & mask) == 0) // �того бо��а еще не убивали { var |= mask; st.set("RaidsKilled", var); st.giveItems(LargeBone, 1); if (st.getQuestItemsCount(LargeBone) >= 7) st.setCond(2); } checkKilledRaids(st.getPlayer(), var); } return null; } public static void checkKilledRaids(Player player, int var) { player.sendMessage("=== Remaining Dragon(s) ==="); for (int i : raids) { int mask = 1; for (int b = 0; b < raids.length; b++) { if (raids[b] == i) { break; } mask = mask << 1; } if ((var & mask) == 0) // �того бо��а еще не убивали { String name = NpcHolder.getInstance().getTemplate(i).getName(); player.sendMessage(name); } } } @Override public void onLoad() { } @Override public void onReload() { } @Override public void onShutdown() { } }
  12. y yes mate but the window its opened in a small window and not in normall window how i can make to open like this window
  13. what you mean ? can you show me ? please ? let me show you what happend when i press gk
  14. guys my code look like that but i dont know why in game when i use .gatekeeper appear me gk page but in a small window and not on original window maybe someone can help me please ???? package l2f.gameserver.handler.voicecommands.impl; import l2f.gameserver.handler.voicecommands.IVoicedCommandHandler; import l2f.gameserver.model.Player; import l2f.gameserver.network.serverpackets.NpcHtmlMessage; public class gatekeeper implements IVoicedCommandHandler { @Override public boolean useVoicedCommand(String command, Player activeChar, String target) { if (!target.isEmpty()) { } showMainPage(activeChar); return true; } private static void showMainPage(Player activeChar) { activeChar.sendPacket(new NpcHtmlMessage(0).setFile("scripts/services/communityPVP/gatekeeper/main.htm")); } @Override public String[] getVoicedCommandList() { return new String[] { "gatekeeper" }; } }
  15. thanks for your reply but be more explicit if you can
  16. well finally i did this working for me but now i have another problem for example when i type .gk open me gatekeeper page but not in corectly dimension and open in dialog dimension that mean my original gatekeper html page its 780x512 and when i press .gk it open in 289x359 how i can fix that ?any can help ?
  17. Any know how to modifiy how many rb i can spawn on legendary tales quest ??? because when i take the quest and i try to spawn more raidbosses i cant ... i just can spawn only 1 raidboss and kill them and then again 1 raidboss and so ....where i need to modifiy to spawn how many raidboss i want ? any know that please ?
  18. guys what i want to do its only to create a command for my buttons when i press button gatekeper to open "bypass _bbsgatekeeper" page but right now when i press button with gatekeper only appear in chat .gatekeeper because i have no voicedcommands maybe someone can make for me an example ? files what i use its shared here L2Mythras file https://ibb.co/gBW1rx
  19. You have right alt+g its only for admin ! now i will explain why i want to make this commands , just because i adapted this shortcuts to my interface and when i press each button just appear in chat .buffer .gatekeeper .shop etc....because commands are not implemented in java :D to open the html page for each button here is the pic ---------> https://ibb.co/gBW1rx <--------------
  20. you have to run scripts.xml and full.xml and then copy libs and bin to server folder and will working 100%
  21. man thank you for you answer , but i already lost 1 week without any succes :( maybe can you make for me just an command like .gatekeeper and when i press .gatekeeper i want to open _bbsgatekeper html page please ? i want to use that commmand in l2mythras file witch is shared here on mxc please
  22. No one know something about gg or lg of this pack ????? and any can tell us please ?
  23. Hey mate thanks for your answer but im little afraid because right now i bought an vServer and i dont know what its the diference from vServer and Root Server and witch one is better for open live my server h5 ? look the photo and tell me please if its enough for 1k ppl
×
×
  • 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