Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. I'll save in the first post some of the ideas that people is giving. I won't code all what people say for free. And after X days I'll update it.
  2. http://l2jhidden.com/test/images/2012/09/13/Msw7Y.jpg[/img]
  3. Really I can't. But np x'D 1 moderator can lock it.
  4. Already joined with teamviewer with GsL. You have your workspace bugged, request for help about that.
  5. Thx all. First post updated. Added patch for l2jfrozen interlude.
  6. Ty all. @vampir First post updated.
  7. dual daggers + atk speed + normal hits + mirage + armor pvp = super distarget + cancel (useful against tanks and some others) normal dagger when skill damage is required
  8. /* * 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 teleports.SteelCitadelTeleport; import com.l2jserver.Config; import com.l2jserver.gameserver.instancemanager.GrandBossManager; import com.l2jserver.gameserver.instancemanager.ZoneManager; import com.l2jserver.gameserver.model.L2Party; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.model.zone.type.L2BossZone; /** * @author GKR */ public class SteelCitadelTeleport extends Quest { private static final int BELETH = 29118; private static final int NAIA_CUBE = 32376; public SteelCitadelTeleport(int questId, String name, String descr) { super(questId, name, descr); addStartNpc(NAIA_CUBE); addTalkId(NAIA_CUBE); } @Override public String onTalk(L2Npc npc, L2PcInstance player) { switch (npc.getNpcId()) { case NAIA_CUBE: if (GrandBossManager.getInstance().getBossStatus(BELETH) == 3) { return "32376-02.htm"; } if (GrandBossManager.getInstance().getBossStatus(BELETH) > 0) { return "32376-03.htm"; } final L2BossZone zone = (L2BossZone) ZoneManager.getInstance().getZoneById(12018); if (zone != null) { GrandBossManager.getInstance().setBossStatus(BELETH, 1); L2Party party = player.getParty(); if (party != null) { for (L2PcInstance pl : party.getMembers()) { if (pl.isInsideRadius(npc.getX(), npc.getY(), npc.getZ(), 3000, true, false)) { zone.allowPlayerEntry(pl, 30); pl.teleToLocation(16342, 209557, -9352, true); } } } else { zone.allowPlayerEntry(player, 30); player.teleToLocation(16342, 209557, -9352, true); } } } return null; } public static void main(String[] args) { new SteelCitadelTeleport(-1, "SteelCitadelTeleport", "teleports"); } }
  9. Well, one friend asked to me to help him coding a simple "pvp zone" and then asked to me to add an item checker... etc So I coded a "MultiFunction", "AIO"... whatever... zone. Easy to modify, with configs... and I wanted to share it with you. Simply if you don't like it or you don't like me, don't spam here. We know that some of this features could be already shared over the net... blabla... But here are all together, are configurable and I think that it's 90% without bugs. Note: Default zone: Crystal Caverns Quickly enumeration of which configs it has: -Enable/Disable pvp flag on enter -Enable/Disable revive delay & set the time -Specify (unlimited) random respawns if revive enabled -Specify random respawn radius -Enable/Disable noblesse blessing on enter -Enable/Disable remove buffs on enter -Enable/Disable remove pets on enter -Specify special reward when hunting inside -Specify items that will be unequiped & blocked to use inside the zone -Specify items by grades that will be unequiped & blocked to use inside the zone -Specify an enchant level. Items with that level or more, will be unequiped & blocked to use inside the zone -Specify classes id's that won't be able to enter to this zone V.1.3 - 14/02/2013 Coded for l2jserver Freya. - Wyatt L2jServer Freya patch Addapted to l2jfrozen Interlude. - Wyatt L2jFrozen Interlude patch. Addapted to l2jserver H5 Beta, rev core:5639 datapack:9185. - Valanths L2jServer H5 Beta patch Addapted to l2jserver H5 Beta, rev core:6165 datapack:9909. - Valanths L2jServer H5 Beta patch Addapted to Acis, Changeset 309. - Tяαnce Acis patch Addapted to Acis, rev:299. - Dεbian Acis patch Credits: Wyatt
  10. Check if the quest name inside html is the same of the java/python...
  11. Referring to me or to @author? :o Anyway, only removing it I think it's not doing what he wants: I think he wants to keep the X minimum number of players to enter, but not necessary to be in a command channel.
  12. I did with notepad... GoD... edit it with eclipse and change it if I put a method wrong... Maybe it's getMembersCount()... just use eclipse to know it...
  13. try /* * 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 teleports.SteelCitadelTeleport; import com.l2jserver.Config; import com.l2jserver.gameserver.instancemanager.GrandBossManager; import com.l2jserver.gameserver.instancemanager.ZoneManager; import com.l2jserver.gameserver.model.L2CommandChannel; import com.l2jserver.gameserver.model.L2Party; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.model.zone.type.L2BossZone; /** * @author GKR */ public class SteelCitadelTeleport extends Quest { private static final int BELETH = 29118; private static final int NAIA_CUBE = 32376; public SteelCitadelTeleport(int questId, String name, String descr) { super(questId, name, descr); addStartNpc(NAIA_CUBE); addTalkId(NAIA_CUBE); } @Override public String onTalk(L2Npc npc, L2PcInstance player) { switch (npc.getNpcId()) { case NAIA_CUBE: if (GrandBossManager.getInstance().getBossStatus(BELETH) == 3) { return "32376-02.htm"; } final L2CommandChannel channel = player.getParty() == null ? null : player.getParty().getCommandChannel(); if ((channel != null && channel.getMemberCount() < Config.BELETH_MIN_PLAYERS) || (channel == null && player.getParty() != null && player.getParty().getPartyMembersCount() < Config.BELETH_MIN_PLAYERS) || (channel == null && player.getParty() == null)) { return "32376-02a.htm"; } if (GrandBossManager.getInstance().getBossStatus(BELETH) > 0) { return "32376-03.htm"; } final L2BossZone zone = (L2BossZone) ZoneManager.getInstance().getZoneById(12018); if (zone != null) { GrandBossManager.getInstance().setBossStatus(BELETH, 1); for (L2Party party : channel.getPartys()) { if (party == null) { continue; } for (L2PcInstance pl : party.getMembers()) { if (pl.isInsideRadius(npc.getX(), npc.getY(), npc.getZ(), 3000, true, false)) { zone.allowPlayerEntry(pl, 30); pl.teleToLocation(16342, 209557, -9352, true); } } } } } return null; } public static void main(String[] args) { new SteelCitadelTeleport(-1, "SteelCitadelTeleport", "teleports"); } }
  14. Look for L2DatabaseFactory inside source and change the import...
  15. You need to adapt imports of your pack... Which pack are you using? Chronicle?
  16. I think that the default one is 3306 but dunno... google it.
  17. Did you open any port of your pc?
  18. Is the db inside your host or your pc? Do you change the method to make connection when moving from your pc to your host? More info needed.
  19. Do you mean... DELETE FROM spawnlist WHERE npc_id=57; ?
  20. Latest hi5 of...? l2jserver? Yes it works. It's an instance. Google it and you'll know how to enter.
  21. Anyway, lets finish it here coz it's immature to discuss about if one code can be hacked or not since I've seen how is it working and coded and you not.
  22. Add the id inside npcaidata db table...
  23. What about if will dev work for free or will you pay him?
  24. If you succeeded hacking it, means that you could had access to db and simply dumped it. So you're just wasting more time doing this, by the face. Also I think that a lot of people like the idea to use commands only sending an email, nowadays... people always use the easy and faster way to do all they can. And for sure if you aren't at home is a useful utility.
×
×
  • 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