Jump to content

disorder25

Members
  • Posts

    451
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by disorder25

  1. Can you make a automatic Raid Event that will start by spawning a register npc, players will register and they will be teleported to the event. You will be able to add as many Bosses as you want and 1 will be picked randomly an will spawn for that event, so every event will spawn a different boss. Also they will be spawn in different areas of the world that you will be able to add and it will be random picked. We should be able to set a time for the event to end if the boss is not dead. After the Raid is dead all players registered will get the drop, event will finish and they will be ported back to town and Event is over.
  2. I finally got it fixed. Anyone need help message me. I will help for 1/2 of what they are asking on market place.
  3. I get an error on gameserver when I click on the button and nothing happen. "Sent not handled RequestBypassToServer: [vote-hopzone]" "Sent not handled RequestBypassToServer: [vote-topzone]" How do we fix that?
  4. For some reason it does not work with Hopzone. I get no errors on gameserver but it keep telling me "You did not vote. Please Try again." I'm using only your Hopzone "getVotes" method. I want it to work with my vote vortex engine npc. The Topzone method works fine. Can you check why hopzone is not working? Thank you.
  5. And how exactly we do that?
  6. OK i got it to work now, I just need to add a restriction for it not to work in case they click "Confirm" without enter a code. Here is the working code. package handlers.voicedcommandhandlers; import com.l2jserver.gameserver.handler.IVoicedCommandHandler; import com.l2jserver.gameserver.model.actor.instance.L2AntiBot; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; /** * @author disorder25 */ public class Code implements IVoicedCommandHandler { private static String[] VOICED_COMMANDS = { "code" }; @Override public boolean useVoicedCommand(String command, L2PcInstance player, String target) { NpcHtmlMessage _npcHtmlMessage = new NpcHtmlMessage(0); if (command.equalsIgnoreCase("code")) { _npcHtmlMessage.setHtml(L2AntiBot.ShowHtml_Start(player)); player.getActingPlayer().sendPacket(_npcHtmlMessage); } else { player.sendMessage("omg lame error! where is " + command + " ! blame the Server Admin"); return false; } return true; } @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } }
  7. Thank you for your reply but still couldn't figure out how to fix it.
  8. I made a little voicedcommand to call the Bot window in case the player close it by mistake. I have no errors when I use the command but nothing happen. I got this error on the voicedcommandhandlers folder. Error on: C:\Users\Giovanni Amorim\Desktop\Project_l2obs\game\data\scripts\handlers\voicedcommandhandlers\Code.java.error.log Line: -1 - Column: -1 no main method in handlers.voicedcommandhandlers.Code Can someone help me make this code work. Thank you in advance. Here is the code. package handlers.voicedcommandhandlers; import com.l2jserver.gameserver.handler.IVoicedCommandHandler; import com.l2jserver.gameserver.model.actor.instance.L2AntiBot; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; /** * @author disorder25 */ public class Code implements IVoicedCommandHandler { private static String[] VOICED_COMMANDS = { "code" }; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("code")) { L2AntiBot.ShowHtml_Start(activeChar); } else { activeChar.sendMessage("omg lame error! where is " + command + " ! blame the Server Admin"); } return true; } @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } }
  9. share it please or help me fix it. Thank you.
  10. anyone have the fix for vortex engine to read hopzone votes?
  11. Hello no one can fix the HOPZONE system? I tried many different ways and none of the work, but L2 Damage still have the Vote Manager Npc and theirs work just fine.
  12. Why this is not working? This is from the Vortex Engine, Topzone is working but Hopzone is not. I tried to use the same method from the AutoVoteManager witch is working but on this code did not work, so I need to fix this one> Thank you f\to anyone that help. protected static int getHopZoneVotes() { int votes = -1; URL url = null; URLConnection con = null; InputStream is = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(Config.VOTE_LINK_HOPZONE); con = url.openConnection(); con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76"); is = con.getInputStream(); isr = new InputStreamReader(is); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("no steal make love") || inputLine.contains("no votes here") || inputLine.contains("bang, you don't have votes") || inputLine.contains("la vita e bella")) { votes = Integer.valueOf(inputLine.split(">")[2].replace("</div", "")); break; } } } catch (Exception e) { e.printStackTrace(); } return votes; }
  13. can you help adapt this code to l2j server Hi5.. I got one error on eclipse on getSkill() Thank you.
  14. it's working now, The only thing now I'm getting a message on gameserver every time someone click on the tabs. L2StatusInstance: Unknown NPC bypass: "pvplist" NpcId: 50012 L2StatusInstance: Unknown NPC bypass: "pklist" NpcId: 50012 L2StatusInstance: Unknown NPC bypass: "onlinelist" NpcId: 50012
  15. I adapted the code to L2j Hi5, got no errors on Eclipse but in game it only show a empty chat window. Why?
  16. Anyone fixed this for L2j Hi5? When I ban a player no one can log in until I restart the server.
  17. this is the one cord inside of the area I want to change to peace zone. 88716, 258269, -10378 Like I said I have done it but it did not come out right. I would like to make this whole area up to the exit wall a peace zone.
  18. That's what I did but on the part where the wall have columns it did work too good. The big area worked but the walk way didn't.
  19. Can anyone help me make this room a peace zone? I got it almost done, the big area is working good but the hallway and the ramp down next to the secret wall entrance is not working good. I use H5 server. Thank you.
  20. The Balance system have a error on the phoenix knight class (probably caused by copy/paste), the add pdef doesn't work but I found the problem and fixed. Now the problem is, I adapted to L2j Hi5 unstable, got almost the whole thing working but there is only one thing missing, for some reason the save feature doesn't save to the database table. Can someone help me fix this? Thank you.
×
×
  • Create New...