Jump to content

Ayami-

Members
  • Posts

    457
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by Ayami-

  1. player.getClan().takeReputationScore(50000); it was my mistake replace the line with lololol Haters, i made a mistake rofl
  2. player.getClan().setReputationScore(50000, true); remove that line xD
  3. Eh :P i just reworked his code indeed it doesnt give logic stuff xD
  4. * 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.ai.CtrlIntention; import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.network.serverpackets.SocialAction; import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocation; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.util.random.Rnd; /** * @author Debian * * Rework Ayami */ public class L2ClanManagerInstance extends L2FolkInstance { public L2ClanManagerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("levelup")) { if(player.getClan() != null) { if (!player.isClanLeader()) { player.sendMessage("Only clan leaders, can use this service."); } if (player.isClanLeader() && player.getClan().getReputationScore() > 50000) { player.getClan().takeReputationScore(50000); player.getClan().changeLevel(8); player.sendMessage("Your clan successfully changed to level 8."); } else { player.sendMessage("Your clan must have 50000 clan reputation points in order to buy level 8."); } } else { player.sendMessage("You don't have a clan."); } } } @Override public void onAction(L2PcInstance player) { if (!canTarget(player)) return; player.setLastFolkNPC(this); // Check if the L2PcInstance already target the L2NpcInstance if (this != player.getTarget()) { // Set the target of the L2PcInstance player player.setTarget(this); // Send a Server->Client packet MyTargetSelected to the L2PcInstance player MyTargetSelected my = new MyTargetSelected(getObjectId(), 0); player.sendPacket(my); my = null; // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client player.sendPacket(new ValidateLocation(this)); } else { // Calculate the distance between the L2PcInstance and the L2NpcInstance if (!canInteract(player)) { // Notify the L2PcInstance AI with AI_INTENTION_INTERACT player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); } else { showMessageWindow(player); } } // Send a Server->Client ActionFailed to the L2PcInstance in order to avoid that the client wait another packet player.sendPacket(ActionFailed.STATIC_PACKET); } private void showMessageWindow(L2PcInstance player) { NpcHtmlMessage debian = new NpcHtmlMessage(5); StringBuilder tb = new StringBuilder(""); tb.append("<html><head><title>Clan Manager</title></head><body>"); tb.append("<center>"); tb.append("<img src=\"L2Font-e.replay_logo-e\" width=256 height=80>"); tb.append("<br>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); tb.append("<br>"); tb.append("<font color=\"FFAA00\">Clan Manager</font>"); tb.append("<br>"); tb.append("</center>"); tb.append("<center>"); tb.append("<a action=\"bypass -h npc_" + getObjectId() + "_levelup\">Get your clan at level 8.</a><br>"); tb.append("<font color=\"FFAA00\">It costs 50.000 clan reputation points.</font>"); tb.append("<br>"); tb.append("</center>"); tb.append("<center>"); tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); tb.append("<br>"); tb.append("</center>"); tb.append("</body></html>"); debian.setHtml(tb.toString()); player.sendPacket(debian); } }
  5. i might make it and share it give me some mins to finish my work
  6. change the imports and some stuff from the code basicly its nothing
  7. Changed the whole currency , new names / icons Citrine , emeralds ,gold bars , silver bars , meteoric, eternium and so on New skill on summoner , frenzied summoner CD 30mins, buff time 30sec usable when character has 30% hp or lower
  8. well everything is, even our thinkings :D someone can bypass every mind and read what we think
  9. didnt read replies indeed i got error wtf edited, i am so damn high today yes indeed i was wrong n lvl 49 also i dont read replies edit too i just like to read the 1st statement if it is the id true then if the rest is true , continue procedure, coding styles :d
  10. if (getId() == 12014) { if (player.getLevel() < 40 || player.getLevel() < 49) { player.sendMessage("Only players with level 40-49 can enter on Queen Ant zone!"); player.teleToLocation(MapRegionTable.TeleportWhereType.Town); return; } }
  11. true lemme try thanks :D dont lock it until to test that , maybe my statement is wrong
  12. this is wrong? when i type .hi .noob ppl can chat on the zone what if i remove (_text.charAt(0) != '.')) <-- i think it has no logic if (activeChar.isInsideZone(L2Character.ZONE_NEWBPVP) && (_text.charAt(0) != '.')) { activeChar.sendMessage("Chat is suspended on this zone!"); return; }
  13. Add that on qa ai and follow aCis baium ai to understand how players are move out
  14. wtf, i am owner of ewpvp but deving this clueless server ewpvp is mine ;D and i work on it
  15. Thanks very much , site and opening when the owner tell me that he is ready, i almost finished development its simple but its an actual high rate
  16. Experience: Well thats not important since you are max leveled on start [Means level 80] Skill Points: x1000 Drop Rate: x2 Quest Drop: x2 Safe : 20 Max : 20 Misc: 30 Buff slots + 4 Debuff slots Buffer with full buffs Pet Buffer , so summoners could be playable on pvp General Features: GM Shop, everything 1 adena and autoenchanted to max enchant [20] 10 Book of Giants, 1000 Gold bars [Adenas? you never run out] in your inventory so you can enchant your skills Auto flag pvp zone [Pagan Temple, Primeval Isle] No Farming Zones since you farm raidbosses only for Lifestones,Jewls [pretty hard] Every Raidboss drops also Gold bars , so if you are out of adenas you still got chance to find some 1 PvP = 1 PvP Point Ring of Queen Ant [s Grade] Sieges: 4 Hours Every 2 days Raidbosses: Baium/Valakas/Antharas/Queen Ant/Zaken/Orfen/Core/Tezza [No pt restriction] 12 Hrs respawn - Blooded fabric [Cost 10 PvP Points] and generally all port stuff that bosses need cost 10 pvp points Olympiad: Runs almost everyday - Active GM will check every match + logs enabled to avoid feeders Refreshed skills after olympiad match Hero Weapons Enchantable Augmentation: Skills? There are no skills here But in order to make augmentations valueable , stats will be x10 to Pdef,HP,CP stats - x2 patk and , x0,4 to dodge/accuracy Example, your weapon gives +80 hp , means +800 hp Killing Spree System: War Legend Aura, you get hero aura + skills until restart you need 20 pvp kills in a row Nobless: Retail Like to avoid noobs joining in Olympiad Games Subclass: Free and you can make 12 subclasses + auto leveled to 80 PvP Colour System on : 100 , 500, 700 ,1000 pvps No vote reward shits :D Soon , [ i am not the owner, just develop dat shit]
  17. Obviously trolling lol. Heard good comments for xdem but also for tryskell, i will vote tryskell
  18. 5.5 pdef x10, i guess only bin landen damage right? example of retail system Active Shield: +3kpdef example of my " nuclear implementation" stats x10 pDef on augment (lets say about 15 on stats bonus right? 15x10 = 150 pdef) I dont think it is op.. logic
  19. I would even delete augmentlol skills and stats x10
×
×
  • 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