Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. By editing npcname.dat in your system folder 20001 Gremlin 9C E8 A9 -1 9C E8 A9 - these numbers, if im not wrong
  2. http://maxcheaters.com/forum/index.php?topic=227053.0
  3. Well, I just successfully logged into forum using mobile-phone and I noticed a topic made by a hoster in which one guy found a temp fix how to connect to the forum. I didnt checked yet if it really works, but here you go.. Go to C:\WINDOWS\system32\drivers\etc and add to a host file 46.20.232.99 acis.i-live.eu Edit: It works, or maybe the site is finally up? :o
  4. F@ckin' FBI! :|
  5. Yeah, do whatever you want, use name which you like more :o
  6. Ummm, just change mine code (case 1: => case 3:, case2: => case 6: and so on..) and change the text, it's not hard.
  7. Yeah, you're right*, I forgot about spreeKills = 0; in doDie() :P Here you go fixed code: ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 224) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -35,6 +35,7 @@ import javolution.util.FastSet; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.GameTimeController; import net.sf.l2j.gameserver.GeoData; import net.sf.l2j.gameserver.ItemsAutoDestroy; @@ -4525,6 +4526,8 @@ if (is-beep-ted()) stopFeed(); + spreeKills = 0; + synchronized (this) { if (isFakeDeath()) @@ -4783,8 +4786,38 @@ * Increase the pvp kills count and send the info to the player * */ + private int spreeKills = 0; + public void increasePvpKills() { + spreeKills++; + + switch(spreeKills) + { + case 1: + Announcements.getInstance().announceToAll("" + this.getName()+ " has drawn the first blood!"); + break; + + case 2: + Announcements.getInstance().announceToAll("" + this.getName()+ " has scored a double kill!"); + break; + + case 3: + Announcements.getInstance().announceToAll("" + this.getName()+ " has scored a triple kill!"); + break; + + default: + ; + } + // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); * - like always, damn Falcon's eye :D
  8. Find ID of hat, go to xml/items and add following thing: <mul order="0x30" stat="maxHp" val="1.15" /> <mul order="0x30" stat="maxMp" val="1.15" /> So, it would looks like this <item id="7683" type="Armor" name="Rabbit Ears"> <set name="default_action" val="equip" /> <set name="bodypart" val="hair" /> <set name="material" val="wood" /> <set name="weight" val="10" /> <set name="price" val="500000" /> <for> <mul order="0x30" stat="maxHp" val="1.15" /> <mul order="0x30" stat="maxMp" val="1.15" /> </for> </item>
  9. Just add how much case's you want in the same way, just change the number. Number = how much pvp you need in a row to announce a spree. ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 224) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -35,6 +35,7 @@ import javolution.util.FastSet; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.GameTimeController; import net.sf.l2j.gameserver.GeoData; import net.sf.l2j.gameserver.ItemsAutoDestroy; @@ -4525,6 +4526,8 @@ if (is-beep-ted()) stopFeed(); + spreeKills = 0; + synchronized (this) { if (isFakeDeath()) @@ -4783,8 +4786,38 @@ * Increase the pvp kills count and send the info to the player * */ + private int spreeKills = 0; + public void increasePvpKills() { + spreeKills++; + + switch(spreeKills) + { + case 1: + Announcements.getInstance().announceToAll("" + this.getName()+ " has drawn the first blood!"); + break; + + case 2: + Announcements.getInstance().announceToAll("" + this.getName()+ " has scored a double kill!"); + break; + + case 3: + Announcements.getInstance().announceToAll("" + this.getName()+ " has scored a triple kill!"); + break; + + default: + ; + } + // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1);
  10. He don't mean that. His point is that while you have pvp, and someone send you /friendinvite a window pops up, like in trade - damn it, your fcking invite disturbs my pvp. :P So he want to make a check like when you're flagged, you cant receive a friendinvite.
  11. That's why there exist such programs like SkillXML :o
  12. Use damn SkillXML, its way faster :P
  13. Changeset 221 Misc [*] Addition of missing skills for 3rd class summons. [*] Fix //polyself, adding check on templates. [*] Remove the useless button "Diet" on admin panel. [*] Addition of Ketra/Varka support. Ty fernandopm/Kenrix for their work. [*] Correct some things on " chat (GMs aren't blocked anymore), and send systemMessage when possible. [*] porta skill (GetPlayer) is now retail-like. [*] Fix an issue about BossZone (L2Summon != L2SummonInstance) [*] Avoid to stuck client if you try to exploit augment panel (trying to drop weapon/gemstones/LS).
  14. http://maxcheaters.com/forum/index.php?topic=212959.0
  15. Such share already exist. http://www.maxcheaters.com/forum/index.php?topic=183597.0
  16. Everything is explained HERE. Just try :P
  17. Appearances are deceptive, cuz they just look, nothing more :) Nop, you can't :)
  18. Problem is that, aCis is not 'free' anymore (for those who don't want to work/help), they have to 'work' for sources while they could get it for free before 'contribute2play' system :P What a shame :D
  19. No work, no cookies. You have to give 'something' in order to 'take'. Simple like that :P
  20. Well, if you want original credits, so here you go. Originally it was made by Rain, then modified(?) by Zoey and it was for Freya. Hazzard (aCis forum member) adapted it for aCis, and then another aCis's member Fire, fixed the code to fit with current Hopzone. That's the story :)
  21. Sorry Darth :( Good luck with sell and I trust it's way better :D
  22. Here you go :D /* * This is a script completely developed by Rain^ (?) * You are not allowed to sell any copies of it. * Since 2.0 (by Zoey76 for L2J Forums): * Added logger instead of System.out.println() * Moved to Datapack. * Reworked AutoReward class. * Reworked getVotes() method. * Time is in minutes instead of milliseconds. * Uses different a-beep-t for each item. * Only rewards online players, not offline shops. * Rewarded players count. */ package custom.VoteEngine; import java.io.*; import java.net.*; import java.util.Collection; import java.util.logging.Level; import java.util.logging.Logger; import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; /** * @author Zoey76 * @version 2.0 */ public class AutoVoteRewardHandler { protected static final Logger _log = Logger.getLogger(AutoVoteRewardHandler.class.getName()); //URL from your server site at HopZone.net //Example: [url=http://l2.hopzone.net/lineage2/moreinfo/YourServer/ID.html]http://l2.hopzone.net/lineage2/moreinfo/YourServer/ID.html[/url] private final static String _url = "http://l2.hopzone.net/lineage2/moreinfo/L2WorldPvP/74078.html";//Add your URL from HopZone here! //Reward all online players each '_votesRequiredForReward' votes. private final int _votesRequiredForReward = 1;// //Initial check, time in minutes: //Default: 1 minute private final int initialCheck = 1; //Delay interval, time in minutes (do not set it too low): //Default: 10 minutes private final int delayForCheck = 1; //Item Id, A-beep-t. private final static int[][] ITEMs = { { 5575, 10 }, //10 Event - Apiga(s) { 57, 1000000 }, //1 million Adena }; //Do not change private int _lastVoteCount = 0; private AutoVoteRewardHandler() { _log.info("[AutoVoteRewardHandler]: Vote Reward System Initiated."); ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), initialCheck * 60000, delayForCheck * 60000); } private class AutoReward implements Runnable { public void run() { int votes = getVotes(); int rewardedPlayers = 0; if (votes > -1) { if ((getLastVoteCount() != 0) && (votes >= (getLastVoteCount() + _votesRequiredForReward))) { Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); for (L2PcInstance player : pls) { if ((player != null) && !player.getClient().isDetached()) { for (int[] reward : ITEMs) { if (player.getInventory().validateCapacityByItemId(reward[0])) { player.addItem("reward", reward[0], reward[1], player, true); } } rewardedPlayers++; } } setLastVoteCount(getLastVoteCount() + _votesRequiredForReward); } else if (getLastVoteCount() == 0) { setLastVoteCount(votes); } _log.info("[AutoVoteRewardHandler]: Server Votes: " + votes + ", Rewarded players: " + rewardedPlayers); Announcements.getInstance().announceToAll("Server Votes: " + votes + " | Next Reward on " + (getLastVoteCount() + _votesRequiredForReward) + " votes!"); } else { _log.log(Level.WARNING, "[AutoVoteRewardHandler]: Error retreiving server votes count!"); } } } private static int getVotes() { InputStreamReader isr = null; BufferedReader in = null; int votes = -1; try { URLConnection conn = new URL(_url).openConnection(); conn.addRequestProperty("User-Agent", "Mozilla/4.76"); isr = new InputStreamReader(conn.getInputStream()); in = new BufferedReader(isr); String inputLine; while (((inputLine = in.readLine()) != null) && (votes == -1)) { if (inputLine.contains("Anonymous User Votes")) { try { votes = Integer.valueOf(inputLine.split(">")[2].replace("</span", "")); } catch (Exception e) { } } } in.close(); } catch (Exception e) { _log.log(Level.WARNING, "[AutoVoteRewardHandler]: " + e.getMessage(), e); } return votes; } private void setLastVoteCount(int voteCount) { _lastVoteCount = voteCount; } private int getLastVoteCount() { return _lastVoteCount; } public static AutoVoteRewardHandler getInstance() { return SingletonHolder._instance; } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final AutoVoteRewardHandler _instance = new AutoVoteRewardHandler(); } public static void main(String[] args) { //System.out.println("Server votes: " + getVotes());//Just a test. AutoVoteRewardHandler.getInstance(); } }
  23. Well, its based on old aCis sources, so originally it's for interlude and like livogro said, you can adapt it for any chron, and yup it's tested. Also, there isn't any config :)
  24. Use SkillXML will be way faster, just you need skills ID.
  25. Try this + PlaySound _snd = new PlaySound(1, "enemydown", 0, 0, 0, 0, 0); + + Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); + for (L2PcInstance onlinePlayer : pls) + if (onlinePlayer.getClan() != null) + { + if (onlinePlayer.getClan() == pk.getClan() && onlinePlayer != pk) + { + onlinePlayer.sendPacket(_snd); + } + } +
×
×
  • 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