Jump to content

DevError

Members
  • Posts

    131
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by DevError

  1. I passed it again from the beginning and i have this error.!! help me?
  2. i have add all parts and lines... if i forgot any lines or parts dont see any error?
  3. command dont work.... chek this /* 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.l2jfrozen.gameserver.model.actor.instance; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.gameserver.event.EventManager; import javolution.text.TextBuilder; /** * Stat Manager * * @author Rizel */ public class L2EventManagerInstance extends L2FolkInstance { private int objectId; public L2EventManagerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); this.objectId = objectId; } @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("reg")) { EventManager.getInstance().registerPlayer(player); } if (command.startsWith("unreg")) { EventManager.getInstance().unregisterPlayer(player); } if (command.startsWith("list")) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); TextBuilder sb = new TextBuilder(); sb.append("<html><body><center>Select an event to vote for it:<br>"); int i = 0; for(String name: EventManager.getInstance().getEventNames()) { i++; sb.append (" <a action=\"bypass -h npc_"+objectId+"_"+i+"\">- "+name+" -</a> <br>"); } sb.append("</center></body></html>"); html.setHtml(sb.toString()); player.sendPacket(html); } else { EventManager.getInstance().addVote(player,Integer.parseInt(command)); } } }
  4. otan paw na me kanw panw apo 1 lvl me vgazei errors... l2jfrozen doulevw...
  5. i spawn npc and i press on npc and he say me only for Quest :P .... dont have the Event Engine template
  6. i add now... and i have problem with npc type "L2EventManager" how i fix it?
  7. i add manual and i dont have error's now.... but i have this problem any help?
  8. have and more errors but i dont upload all :P any1 help me?
  9. I need 1 code about trade chat and global chat... i need the trade chat with 50 pvp and global chat with 100... how i make this?? And one more.... i need trade chat and global chat with minute...every 5 minute can spam in trade and global chat....sorry for my bad english
  10. psaxnw ena code to opios einai gia to trade chat + global chat na 8eloun pvp....kai ena allo gia na 8eloun 5 lepta..dld otan kaneis trade chat i global chat na 8es 5 lepta gia na ksana kaneis!! help pls!
  11. its better for interlude this armor :P any help me with how i edit this armor for interlude?? add me in skype: gamemaster.error ty!
  12. des sto gameserver an exei error's kai meta fixareto...gt standar exeis error sto gameserver!
  13. exw ftia3ei aderfe 2 kiolas....apla kati exei kai den m ta bgazei sto no-ip....
  14. exw to e3hs provlhma.. mipws mporw na anoi3w ton server m me allo ip? dld me kapio port/ip sto router m? voh8iste please!! :D
  15. lock it... to pack ftiaxtike xarhs ta videos sto youtube.!!!
  16. pou eisoun toso kairo re gamoto?? plaka plaka eyxaristw pou m to eipes...xaaxxaaa klaiw!!!
  17. gia otidipote voh8eia kante me add sto skype: gamemaster.error
×
×
  • Create New...