Jump to content

DominiQue

Members
  • Posts

    727
  • Joined

  • Last visited

    Never
  • Feedback

    0%

Everything posted by DominiQue

  1. spik rumana hire
  2. Go on zones.xml and search for : <zone id="12006" type="BossZone" shape="Cuboid" minZ="-8320" maxZ="-4870"> <stat name="name" val="Lair of Antharas"/> <stat name="InvadeTime" val="1800000"/> </zone> and change the type.
  3. A java instance : +/* + * 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 2, 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, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * <http://www.gnu.org/copyleft/gpl.html> + */ +package com.l2jserver.gameserver.model.actor.instance; + +import javolution.text.TextBuilder; + +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; +import com.l2jserver.gameserver.templates.chars.L2NpcTemplate; + +/** + * @author xLuc1 a.k.a DominiQue + */ +public class L2NobleInstance extends L2Npc +{ + private String filename; + public L2NobleInstance(int objectId, L2NpcTemplate template) + { + super(objectId, template); + } + + @Override + public void onBypassFeedback(L2PcInstance player, String command) { + + if(player == null || player.getLastFolkNPC() == null + || player.getLastFolkNPC().getObjectId() != this.getObjectId()) { + return; + } + + if(command.startsWith("playmefirst")) + redname(player); + } + + public static void noble(L2PcInstance player) + { + player.setNoble(true); + } + + + @Override + public void showChatWindow(L2PcInstance player, int val) + { + filename = (getHtmlPath(getNpcId(), val)); + NpcHtmlMessage msg = new NpcHtmlMessage(this.getObjectId()); + msg.setHtml(colorWindow(player)); + msg.replace("%objectId%", String.valueOf(this.getObjectId())); + player.sendPacket(msg); + } + private String colorWindow(L2PcInstance player) + { + TextBuilder tb = new TextBuilder(); + + tb.append("<html><title>xLuc1</title><body>"); + tb.append("<center>"); + tb.append("<br>"); + tb.append("<img src=\"L2UI.SquareGray\" width=\"200\" height=\"1\"><br>"); + tb.append("Welcome "+player.getName()+"<br>"); + tb.append("<tr><td>I can make u a noble !</td></tr><br>"); + tb.append("<img src=\"L2UI.SquareGray\" width=\"280\" height=\"1\"></center><br>"); + tb.append("<br>"); + tb.append("<center>"); + tb.append("<button value= Noble action=\"bypass -h npc_%objectId%_playmefirst\" width=130 height=25 back= L2UI_ct1.button_df fore = L2UI_ct1.button_df>"); + tb.append("<center>"); + tb.append("<center><img src=\"L2UI.SquareGray\" width=\"280\" height=\"1\">"); + tb.append("</body></html>"); + return tb.toString(); + } + +}
  4. Un raton =)))
  5. Salut ;D Ba kid m-am uitat la l2corvus pe site si fix asta mi-a sarit in fata xD : What are you like x35 or x100 ?
  6. ofc will ask for a different question.
  7. Got the program from fim,but not for the original price;got a discount cuz I know him by a long time. Verry skilled Virtual Basic developer and an Objective-C too.
  8. Questions : A: What is this ? B: Do you know the captcha from rapidshare,etc..? A: Yes. B: Same thing for l2. A: But l2net can read the letter from captcha,I think... B: No problem,does l2net knows math or history,etc...? A: Aaa? B: Well my captcha is based on questions. A: Uuu... Features : shows up in enterworld. shows up at every "x" mobs killed. Price : 10€ A small preview:
  9. You think a ss will prove the pack is real ? Why would the admin of l2mafia give u the files? Please tell me how u fixed the whole Oneo ? else user.setScammer(true);
  10. You talk about who is trustable and who is not ? : http://www.maxcheaters.com/forum/index.php?topic=187914.0
  11. Hahaha... ;D Pawned by ureself...
  12. Anyway ... 50e for this : http://www.maxcheaters.com/forum/index.php?topic=141761.0 ?
  13. Omg...again we see people selling scoria. If these fixes were not done already in Scoria..wich there was... Please tell me how and what you fixed here : Fix Shield Revenge Removed trash potions.ini Fix attacks in the cities Fix Sand Bomb Fix Summon Treasure Key Fix PC Bang Points Fix Bluff Fix BlindingBlow Fix Force Meditation Fix Invocation Fix Touch of Life
  14. nop,IT has not a Santa Claus ;D
  15. Index: /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 345) +++ /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 346) @@ -8425,4 +8425,6 @@ public boolean addSubClass(int classId, int classIndex) { if (getTotalSubClasses() == 3 || classIndex == 0) return false; @@ -8430,4 +8432,8 @@ if (getSubClasses().containsKey(classIndex)) return false; + if(isInCombat()) + return false; + if(isInParty()) + return false; [\code]
  16. whats the problem ? Romanians are still creating unbalanced server,do you remeber the servers 1 year ago ? 9999 Custom armors and weapon sets... + 999999999999999kkkk hp xD !!! In comparation with that ;D atributes are nothing :P
×
×
  • 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