Jump to content

thedaggerman

Members
  • Posts

    13
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About thedaggerman

Profile Information

  • Gender
    Not Telling

thedaggerman's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. I made some few changes because it wasn't working...anyway it may was my mistake but now i know for sure it works because i tested it...i am using latest rev of jfrozen and i just had the same problem with Visius.... i was targeting the npc and it was saying i have nothing to say to you. i just changed from: StringBuilder tb = new StringBuilder(""); to: TextBuilder tb = new TextBuilder(); +package com.l2jfrozen.gameserver.model.actor.instance; + +import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; +import com.l2jfrozen.gameserver.templates.L2NpcTemplate; +import javolution.text.TextBuilder; + +public class L2MassSiegeManagerInstance extends L2NpcInstance +{ + + public L2MassSiegeManagerInstance(int objectId, L2NpcTemplate template) + { + super(objectId, template); + } + + @Override + public void showChatWindow(L2PcInstance player, int val) + { + NpcHtmlMessage msg = new NpcHtmlMessage(getObjectId()); + msg.setHtml(siegeWindow(player)); + msg.replace("%objectId%", String.valueOf(getObjectId())); + player.sendPacket(msg); + } + private String siegeWindow(L2PcInstance player) + { + TextBuilder tb = new TextBuilder(); + + tb.append("<html><title>Siege Manager</title><body><center>"); + tb.append("<br>"); + tb.append("<img src=\"L2UI_CH3.onscrmsg_pattern01_1\" width=\"300\" height=\"32\""); + tb.append("<br>"); + tb.append("<button value=\"Giran Siege\" action=\"bypass -h siege_giran\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Aden Siege\" action=\"bypass -h siege_aden\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Rune Siege\" action=\"bypass -h siege_rune\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Goddard Siege\" action=\"bypass -h siege_goddard\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Dion Siege\" action=\"bypass -h siege_dion\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Shuttgart Siege\" action=\"bypass -h siege_shuttgart\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Innadril Siege\" action=\"bypass -h siege_innadril\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Oren Siege\" action=\"bypass -h siege_oren\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("<button value=\"Gludio Siege\" action=\"bypass -h siege_gludio\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"); + tb.append("</center>"); + + tb.append("<center><img src=\"L2UI_CH3.onscrmsg_pattern01_2\" width=295 height=32><br></center>"); + tb.append("</body></html>"); + return tb.toString(); + } +}
  2. lol if you where experienced enough and not so R-E-T-A-R-D you would understand that you can make them by yourself....nabzor..piss off
  3. Nc man thanks a lot. it will be very outgoing with my server. P.S.: sry for bad ebglish. :ppp
  4. L2Dynamo x70 no Customs f ull protection 100% ballance (even full donator can be killed by a good normal player) aio buffers retail like skills/sieges/areas/ dm/tvt/ctf/VIP Events
  5. o JFrozen einai gtp...? :p to pack leitourgei teleia. egw afto exw. ews twra kanena problem. to exw k xwris config k uncompiled k t mono pou 8elei ftia3imo einai ta Item Skills: (active/passive/chance) oso gia ta chance akoma k afta douleyoun pou den douleyoun s sxedon kanena allo pack.!!!!!! apo pou k ws pou gtp t frozen? mhpws exeis kamia version: 400??? :S
  6. loipon eyxaristw gia tin prosoxh sou alla to elusa to problem monos mou. kai pali euxaristw :)
  7. koita ta configs pou evala pic. sto post afto m vgazei opote mporeis pare m ena thl. s esteila pm.
  8. 8elw na ani3w ena server kai exw tin teleftaia ekdosh tou JFrozen pack alla den ta paw kai toso kala me ta login k ta gameserver k den mporw na ani3w ton server mou. opoios mporei as boh8isei. P.S.:exw ru8misei ta config ta internal/external ip ta host olaaa....alla kati paei strava kai m leei login server was terminated abnormaly kai gameserver was terminated abnormaly.
×
×
  • Create New...