Jump to content

osvaldotl2015

Membro
  • Content Count

    113
  • Joined

  • Last visited

  • Days Won

    8

osvaldotl2015 last won the day on March 24 2017

osvaldotl2015 had the most liked content!

Community Reputation

98 Regular

About osvaldotl2015

  • Rank
    Muito Noob
  • Birthday 08/21/1979

Profile Information

  • Gênero:
    Masculino
  • Localização:
    Peru
  • Interesses:
    L2j

Recent Profile Visitors

1,828 profile views
  1. Check this out aCis 380, 381,382 regards
  2. It is not a problem of MMOCORE or system resources that error is generated when someone wants to connect to the server with a different protocol version than the one assigned to the server
  3. Hola Osvaldo , qero comprar un server pack l2jacis , me puedes decir cuanto vale Gracias !

  4. Thanks for sharing :) inquiry! would you happen to have the xml files for l2jAcis?
  5. Config.java public boolean estático ADMIN_READ_ITEM_ID; ////////////////////////////////////////////////// ///////////// ADMIN_READ_ITEM_ID = Boolean.valueOf (players.getProperty ("AdminClickInfoItem", "true")); ////////////////////////////////////////////////// ///////////// paquete net.sf.l2j.gameserver.network.clientpackets.UseItem.java + + if (Config.ADMIN_READ_ITEM_ID && activeChar.isGM ()) + activeChar.sendPacket (nuevo CreatureSay (0, Say2.PARTY, "[Información del artículo]", "ID del artículo:" + item.getItemId () + "| Name : "+ item.getItemName ())); + if (activeChar.isFishing () && item.getItem (). getDefaultAction ()! = ActionType.fishingshot) X.properties # Opción habilitable que al hacer doble clic en el administrador lee la información del artículo AdminClickInfoItem = True release the source, free willy ?
  6. ######################## Workspace updated 05/09/2018 ######################## http://www.mediafire.com/file/m5qa4tacag4hmpl/Work+366+By+Dagger.rar Enjoy them
  7. Without the source, little can be done
  8. Updated workspace All in one http://www.mediafire.com/file/m5qa4tacag4hmpl/Work+366+By+Dagger.rar
  9. I have released the workspace of revision 366 since I do not have time to pay attention better than you can develop it yourself http://www.mediafire.com/file/winmq1ov2r9avdd/aCis+366+workspace.rar I hope you give value to my effort greetings
  10. link da source com os mods: https://mega.nz/#!JQ...OkdQwtZL6ZGkWHQ FAIL Editado por kuringa, Hoje, 00:40.
  11. https://www.google.com.pe/search?q=pasar+milisegundos+a+horas&oq=pasar+milise&aqs=chrome.2.69i57j0l5.5016j0j7&sourceid=chrome&ie=UTF-8 604800000=7 Days
  12. Index: config/head/altsettings.properties =================================================================== --- config/head/altsettings.properties (revision 1118) +++ config/head/altsettings.properties (working copy) # Maximum number of debuffs MaxDebuffAmount = 6 +# ----------------------------------------- +# Canceled Buffs Return +# ----------------------------------------- +# With this feature, players will get their +# canceled buffs back after the amount of +# seconds you've set on CustomCancelSeconds +# Enable Canceled Buffs Return? +# Default : False +AllowCustomCancelTask = False + +# Time for buffs to return in seconds +# Default: 15 +CustomCancelSeconds = 15 Index: head-src/com/l2jfrozen/Config.java =================================================================== --- head-src/com/l2jfrozen/Config.java (revision 1118) +++ head-src/com/l2jfrozen/Config.java (working copy) public static boolean ALT_MOBS_STATS_BONUS; public static boolean ALT_PETS_STATS_BONUS; + public static boolean ALLOW_CUSTOM_CANCEL; + public static int CUSTOM_CANCEL_SECONDS; =================================================================== ALT_LOTTERY_2_AND_1_NUMBER_PRIZE = Integer.parseInt(altSettings.getProperty("AltLottery2and1NumberPrize", "200")); BUFFS_MAX_AMOUNT = Byte.parseByte(altSettings.getProperty("MaxBuffAmount", "24")); DEBUFFS_MAX_AMOUNT = Byte.parseByte(altSettings.getProperty("MaxDebuffAmount", "6")); + ALLOW_CUSTOM_CANCEL = Boolean.parseBoolean(altSettings.getProperty("AllowCustomCancelTask", "false")); + CUSTOM_CANCEL_SECONDS = Integer.parseInt(altSettings.getProperty("CustomCancelSeconds", "15")); Index: head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Disablers.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Disablers.java (revision 1118) +++ head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Disablers.java (working copy) import java.io.IOException; +import java.util.Vector; import org.apache.log4j.Logger; =================================================================== import com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2SiegeSummonInstance; +import com.l2jfrozen.gameserver.model.entity.CustomCancelTask; import com.l2jfrozen.gameserver.network.SystemMessageId; import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage; import com.l2jfrozen.gameserver.skills.Formulas; import com.l2jfrozen.gameserver.skills.Stats; +import com.l2jfrozen.gameserver.thread.ThreadPoolManager; import com.l2jfrozen.util.random.Rnd; =================================================================== case CANCEL: { + Vector<L2Skill> cancelledBuffs = new Vector<>(); if (target.reflectSkill(skill)) { target = activeChar; } =================================================================== else if (rate < 5) { rate = 5; } if (Rnd.get(100) < rate) { + if (Config.ALLOW_CUSTOM_CANCEL) + { + if (!cancelledBuffs.contains(e.getSkill()) && !((L2PcInstance)activeChar).isInOlympiadMode()) + { + cancelledBuffs.add(e.getSkill()); + } + } e.exit(true); maxfive--; if (maxfive == 0) { break; } } } } } + if (Config.ALLOW_CUSTOM_CANCEL) + { + + if (cancelledBuffs.size() > 0) + ThreadPoolManager.getInstance().scheduleGeneral(new CustomCancelTaskManager((L2PcInstance)target, cancelledBuffs), Config.CUSTOM_CANCEL_SECONDS *1000); + } effects = null; } =================================================================== else if (rate < 5) { rate = 5; } if (Rnd.get(100) < rate) { + if (Config.ALLOW_CUSTOM_CANCEL) + { + if (!cancelledBuffs.contains(e.getSkill()) && !((L2PcInstance)activeChar).isInOlympiadMode()) + { + cancelledBuffs.add(e.getSkill()); + } + } e.exit(true); maxdisp--; if (maxdisp == 0) { break; } } } } } + if (Config.ALLOW_CUSTOM_CANCEL) + { + if (cancelledBuffs.size() > 0) + ThreadPoolManager.getInstance().scheduleGeneral(new CustomCancelTaskManager((L2PcInstance)target, cancelledBuffs), Config.CUSTOM_CANCEL_SECONDS *1000); + } // effects = null; Index: head-src/com/l2jfrozen/gameserver/model/entity/CustomCancelTask.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/entity/CustomCancelTask.java (nonexistent) +++ head-src/com/l2jfrozen/gameserver/model/entity/CustomCancelTask.java (working copy) /* * 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 com.l2jfrozen.gameserver.model.entity; import java.util.Vector; import com.l2jfrozen.gameserver.model.L2Skill; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; /** * @author Psyancy * */ public class CustomCancelTaskManager implements Runnable { private L2PcInstance player = null; private Vector<L2Skill> buffsCanceled = null; public CustomCancelTaskManager(L2PcInstance p, Vector<L2Skill> skill) { player = p; buffsCanceled = skill; } @Override public void run() { if (player == null) return; for (L2Skill skill : buffsCanceled) { if (skill == null) continue; skill.getEffects(player, player); } } } Credits for the original Code: Anarchy Credits for the modifications: Bluur Don´t test Por favor, verifique os castelos para que quando o jogador quiser conversar com o monumento é lançar, mas não entregar o castelo o mais rápido possível, há pessoas com este servidor on-line e com esse erro
  13. You can set it for the days you want 1,7,15,30,89,99,1000,9999 Etc
  14. If you use the command // setheroim + days always selecting the character regards
  15. Can you show if there is an image of some bug in Gameserver.bat console in the moment that these things happen? Thank you
×
×
  • Create New...