Jump to content

osvaldotl2015

Membro
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    8

osvaldotl2015 last won the day on March 24 2017

osvaldotl2015 had the most liked content!

Community Reputation

95 Regular

About osvaldotl2015

  • Rank
    Muito Noob
  • Birthday 08/21/1979

Profile Information

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

Recent Profile Visitors

1,708 profile views
  1. Hola Osvaldo , qero comprar un server pack l2jacis , me puedes decir cuanto vale Gracias !

  2. Thanks for sharing :) inquiry! would you happen to have the xml files for l2jAcis?
  3. 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 😉
  4. ######################## Workspace updated 05/09/2018 ######################## http://www.mediafire.com/file/m5qa4tacag4hmpl/Work+366+By+Dagger.rar Enjoy them
  5. Without the source, little can be done
  6. Updated workspace All in one http://www.mediafire.com/file/m5qa4tacag4hmpl/Work+366+By+Dagger.rar
  7. 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
  8. link da source com os mods: https://mega.nz/#!JQ...OkdQwtZL6ZGkWHQ FAIL Editado por kuringa, Hoje, 00:40.
  9. 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
  10. 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
  11. You can set it for the days you want 1,7,15,30,89,99,1000,9999 Etc
  12. If you use the command // setheroim + days always selecting the character regards
  13. Can you show if there is an image of some bug in Gameserver.bat console in the moment that these things happen? Thank you
  14. The idea is not only to update the mods to the new version of the datapack but also the configurations that if each one can configure them to taste they would even enter new mods, npcs and protections :)
  15. estou com esse problema ao ligar a pack e nao consigo resolver ja reinstalei o java 3x. You must assign more RAM to the Gameserver.bat and to the loginserver.bat Anyway, here is how to fix it: Go to Start->Control Panel->System->Advanced(tab)->Environment Variables->System Variables->New: Variable name: _JAVA_OPTIONS Variable value: -Xmx512M If 512Mb doesn't work, try reducing it from 1024 to lower until it works. Also, when googling around I noticed that some users reported that the order in which the path variables occur makes a difference too. The JRE must be the first one. I am not sure if this is true, but here it is anyway: Variable name: Path Variable value: ;C:\Program Files\Java\jre6\bin;F:\JDK\bin; Change this to your appropriate path. Hello friends sorry for the delay know that I live a little isolated from the city and the internet is very bad That is why I enter periodically. I have been asked to adapt several mods but it would not be the best given that there are more updated versions of l2jacis if someone can collaborate in passing the last revision of the dp I will be providing updated revisions with updated mods without adding thanks for the support. Dagger (Osvaldotl2015)
×
×
  • Create New...