Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Community Answers

  1. ^Wyatt's post in [Help] Could You Describe The Idea Of Something ? was marked as the answer   
    However, here you go http://www.maxcheaters.com/topic/170046-autoshots-no-consumition/
  2. ^Wyatt's post in [Help][H5] Questions About 2 Codes (In Olympiad And Skills) was marked as the answer   
    I just checked the code where are you acting and I don't really get why u used "activeChar", wait a second I post you another try
     

    if (absorbDamage > 0) { + if ((this instanceof L2PcInstance) && (target instanceof L2MonsterInstance) && (((L2PcInstance) this).getPvpFlag() > 0)) + { + absorbDamage = 0; + } setCurrentHp(getCurrentHp() + absorbDamage); } } try it
  3. ^Wyatt's post in Admin Command Mass Hero was marked as the answer   
    as sweets said remove the {}
    just use L2World.getInstance().getAllPlayersArray()
     
    just..
    package handlers.admincommandhandlers; import com.l2jserver.gameserver.handler.IAdminCommandHandler; import com.l2jserver.gameserver.model.L2World; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.SocialAction; public class AdminMassHero implements IAdminCommandHandler { @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { if (activeChar == null) { return false; } if (command.startsWith("admin_masshero")) { for (L2PcInstance player : L2World.getInstance().getAllPlayersArray()) { if (!player.isHero() || !player.isInOlympiadMode()) { player.setHero(true); player.sendMessage("Admin is rewarding all online players with Hero Status."); player.broadcastPacket(new SocialAction(player.getObjectId(), 16)); player.broadcastUserInfo(); } player = null; } } return true; } private static String[] ADMIN_COMMANDS = { "admin_masshero" }; } Nope, it gets all player values, at least since few months it was doing so, if it's not changed.
     
     
    edit: yep it was changed, but like 1-2months ago it was working Q_Q
     
    2pages for this stupid code  :rage:
  4. ^Wyatt's post in Read It Please. was marked as the answer   
    U could use the "search" button before posting.
    http://www.maxcheaters.com/topic/22187-share-rin4as-buffer-v13/?hl=scheme
  5. ^Wyatt's post in [Question]Demonic Swords Transformation was marked as the answer   
    This is the worst way ever but should work... as the first solution...
    ### Eclipse Workspace Patch 1.0 #P L2J_Server Index: java/com/l2jserver/gameserver/instancemanager/TransformationManager.java =================================================================== --- java/com/l2jserver/gameserver/instancemanager/TransformationManager.java (revision 6223) +++ java/com/l2jserver/gameserver/instancemanager/TransformationManager.java (working copy) @@ -46,7 +46,7 @@   public boolean transformPlayer(int id, L2PcInstance player)   {   L2Transformation template = getTransformationById(id); - if (template != null) + if ((template != null) && (id != 301) && (id != 302))   {   L2Transformation trans = template.createTransformationForPlayer(player);   trans.start();  
  6. ^Wyatt's post in Eclipse Lines Finding was marked as the answer   
    :happyforever:  CTRL + F for Find/Replace panel, CTRL + L to find lines



  7. ^Wyatt's post in [Question] About Fastmap was marked as the answer   
    I'm not sure 100%, I usually work with FastList.
     
     
    package com.custom;   import java.util.Map;   import javolution.util.FastMap;   import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;   /**  * @author Wyatt  */   public class Test { private final FastMap<Integer, L2PcInstance> players_map = new FastMap<>();   public L2PcInstance[] getAllPlayers() { return players_map.values().toArray(new L2PcInstance[0]); }   public void addPlayer(int index, L2PcInstance player) { players_map.put(index, player); }   public Map<Integer, L2PcInstance> getPlayerList() { return players_map; }   public L2PcInstance getPlayer(int index) { return players_map.get(index); }   public boolean isPlayerInside(L2PcInstance player) { return players_map.containsValue(player); }   public boolean isKeyUsed(int index) { return players_map.containsValue(index); } }
  8. ^Wyatt's post in Code Problem was marked as the answer   
    Why the hell do you use "replace all" to remove the "+" symbols? :/!!!!
     

    if(classes != null && classes.contains(""+activeChar.getClassId().getId())) activeChar.sendMessage(o.getItemName()+" unequiped because is not allowed inside this zone."); player.teleToLocation(loc[0]+Rnd.get(-radius,radius), loc[1]+Rnd.get(-radius,radius), loc[2]); if(items != null && items.contains(""+item.getItemId()))
  9. ^Wyatt's post in Tvt Event was marked as the answer   
    Take a look here http://svn.l2jserver.com/trunk/L2J_Server/java/com/l2jserver/Config.java CTRL+F "TVT_EVENT_REWARDS" and you'll see how can you do it.
  10. ^Wyatt's post in Errors On Ctf Event On Last Rev. Of H5 was marked as the answer   
    .getPet() method doesn't exist anymore, now is getSummon()
  11. ^Wyatt's post in Item Name Change was marked as the answer   
    Google -> "FileEdit"
    Then open that program, search inside your system the file "itemname-e.dat", open and decrypt it -> "CTRL + F" and search your item ID (if you don't know the item ID, search it here http://l2jdb.l2jdp.com/), then you'll see the name there, change it, and Save and Encrypt.
    Open your L2 Client and that's it. 
×
×
  • 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