Перейти к содержанию

P1ckw1ck

OVC-Dev
  • Публикаций

    1673
  • Зарегистрирован

  • Посещение

  • Победитель дней

    9
  • Отзывы

    0%

Весь контент P1ckw1ck

  1. P1ckw1ck

    Вопрос по баффу

    Мб слотов не хвотает?
  2. # Player coordinates synchronization # 1 - partial synchronization Client --> Server ; don't use it with geodata # 2 - partial synchronization Server --> Client ; use this setting with geodata # -1 - Old system: will synchronize Z only ; default CoordSynchronize = -1 а вот здесь?
  3. Добрый день помогите с настройкой геодаты, на ацисах. Не разбераюсь в этом. # =========================================== # # Geodata & ValidatePosition # =========================================== # # GeoData options: # 0 = GeoData and PathFinding OFF (default) # 1 = GeoData used to check Line Of Sight (LOS) targeting and L2Playable movement. You need to download # files for data/geodata folder. Monsters can pass walls but not aggro through them. # 2 = Full GeoData enabled. Includes PathFinding (requires also /data/pathnode files) and all # character moves go through geodata checks (if a mob passes a wall, pathing is wrong). GeoData = 2 #[True]Loads GeoData buffer's content into physical memory. #[False] Does not necessarily imply that the GeoData buffer's content is not resident in physical memory. ForceGeodata = True # Player coordinates synchronization # 1 - partial synchronization Client --> Server ; don't use it with geodata # 2 - partial synchronization Server --> Client ; use this setting with geodata # -1 - Old system: will synchronize Z only ; default CoordSynchronize = -1
  4. public void doCast(L2Skill skill) { L2Character.this.doCast(skill); } Тут разве есть запрет?
  5. Контакты в профиле сделаю за спасибо.
  6. Прошу http://forummaxi.ru/user/14715-centro/
  7. # Анонсировать появление рейд босса? AnnounceRspawnRaid = true Конфиг respawn
  8. Реализовал теперь пишет мол не хватает предметов
  9. как я понел вот в коде макс ид итемов. for(MultiSellIngredient i : ent.getIngredients()) { int items = i.getItemId(); int typeE = 65535; if (items != 65336) typeE = ItemTable.getInstance().getTemplate(i.getItemId()).getType2(); writeH(items); //ID writeH(typeE); writeD(i.getItemCount()); //Count writeH(i.getEnchantmentLevel()); //Enchant Level writeD(0x00); // C6 writeD(0x00); // C6 } } } }
  10. гс Client: [Character: P1ckw1ck - Account: test - IP: 5.100.113.68] - Failed writin g: D0 MultiSellList java.lang.ArrayIndexOutOfBoundsException: -100 at net.sf.l2j.gameserver.datatables.ItemTable.getTemplate(ItemTable.java :210) at net.sf.l2j.gameserver.network.serverpackets.MultiSellList.writeImpl(M ultiSellList.java:82) at net.sf.l2j.gameserver.network.serverpackets.L2GameServerPacket.write( L2GameServerPacket.java:39) at org.mmocore.network.SelectorThread.putPacketIntoWriteBuffer(SelectorT hread.java:576) at org.mmocore.network.SelectorThread.prepareWriteBuffer(SelectorThread. java:548) at org.mmocore.network.SelectorThread.writePacket(SelectorThread.java:46 7) at org.mmocore.network.SelectorThread.run(SelectorThread.java:179) сам мультисел <item id="1"> <production id="9400" count="1"/> <ingredient id="-100" count="300"/> </item>
  11. Добрый день не подскажите ИД очей эвента Pc Cafe Points. должно 65436. но когда ставлю вези за покупку очей в окошке где должна быть валюта черный квадрат. мб ид не тот?
  12. http://l2green.ru/ (не реклама) в шаре не нашел понравился шаблон.
  13. Спасибо, буду знать что есть такая вещь =) + дал.
  14. Добрый день прощу помоши, как сделать что-бы надпись Ivory Tower была напротив кнопки Телепорт, не рядом а дальше.на другом крае Диалога. Буду блогодарен. <html><title>Gatekepeer</title><body><center> <table width=400> <tr> <td> Ivory Tower <a action="bypass -h npc_%objectId%_Buy 11">Телепорт</a><br> </tr> </td> </table> </center> </body> </html> Сам код
  15. Срочно продаю 4 домена по 150р. каждый! (СРОЧНО) fatal-world.ru pulse-world.ru la2drugs.ru la2-drugs.ru В комплекте идут psd+песня(enemy) к доменам la2drugs.ru la2-drugs.ru за 400р отдам сразу 4 домена в одни руки! skype: P1ckw1ck1207
  16. Добрый день, есть 2 проблемки прощу помощи. 1. когда гварды убивают персонажа из другой фракции они не возвращаются на место. 2. гвардов нельзя бить маг скилами. Сам код гварда 1 из фракции. L2GoodGuardInstance. package net.sf.l2j.gameserver.model.actor.instance; import net.sf.l2j.gameserver.ThreadPoolManager; import net.sf.l2j.gameserver.ai.CtrlIntention; import net.sf.l2j.gameserver.ai.L2AttackableAI; import net.sf.l2j.gameserver.model.L2CharPosition; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.L2WorldRegion; import net.sf.l2j.gameserver.model.actor.L2Attackable; import net.sf.l2j.gameserver.model.actor.L2Character; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.knownlist.GoodGuardKnownList; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.MoveToPawn; import net.sf.l2j.gameserver.network.serverpackets.MyTargetSelected; import net.sf.l2j.gameserver.network.serverpackets.StatusUpdate; import net.sf.l2j.gameserver.network.serverpackets.ValidateLocation; import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate; import net.sf.l2j.util.Rnd; public final class L2GoodGuardInstance extends L2Attackable { private static final int RETURN_INTERVAL = 60000; public class ReturnTask implements Runnable { public void run() { if (getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE) returnHome(); } } public L2GoodGuardInstance(int objectId, L2NpcTemplate template) { super(objectId, template); ThreadPoolManager.getInstance().scheduleAiAtFixedRate(new ReturnTask(),RETURN_INTERVAL,RETURN_INTERVAL+ Rnd.nextInt(60000)); } @Override public void initKnownList() { setKnownList(new GoodGuardKnownList(this)); } @Override public final GoodGuardKnownList getKnownList() { return (GoodGuardKnownList)super.getKnownList(); } @Override public boolean isAutoAttackable(L2Character attacker) { return attacker instanceof L2MonsterInstance; } /** * Notify the L2GuardInstance to return to its home location (AI_INTENTION_MOVE_TO) and clear its _aggroList.<BR><BR> */ @Override public void returnHome() { if (!isInsideRadius(getSpawn().getLocx(), getSpawn().getLocy(), L2Npc.INTERACTION_DISTANCE, false)) { clearAggroList(); getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(getSpawn().getLocx(), getSpawn().getLocy(), getSpawn().getLocz(), 0)); } } @Override public void onSpawn() { setIsNoRndWalk(true); super.onSpawn(); // check the region where this mob is, do not activate the AI if region is inactive. L2WorldRegion region = L2World.getInstance().getRegion(getX(),getY()); if (region != null && !region.isActive()) ((L2AttackableAI) getAI()).stopAITask(); } @Override public String getHtmlPath(int npcId, int val) { String pom = ""; if (val == 0) pom = "" + npcId; else pom = npcId + "-" + val; return "data/html/guard/" + pom + ".htm"; } @Override public void onAction(L2PcInstance player) { if (!player.canTarget()) return; // Check if the L2PcInstance already target the L2GuardInstance if (getObjectId() != player.getTargetId()) { // Set the target of the L2PcInstance player player.setTarget(this); // Send a Server->Client packet MyTargetSelected to the L2PcInstance player player.sendPacket(new MyTargetSelected(getObjectId(), 0)); // Send a Server->Client packet ValidateLocation to correct the L2Npc position and heading on the client player.sendPacket(new ValidateLocation(this)); } if (this != player.getTarget()) { // Set the target of the L2PcInstance player player.setTarget(this); MyTargetSelected my = new MyTargetSelected(getObjectId(), player.getLevel() - getLevel()); player.sendPacket(my); // Send a Server->Client packet StatusUpdate of the L2PetInstance to the L2PcInstance to update its HP bar StatusUpdate su = new StatusUpdate(this); su.addAttribute(StatusUpdate.CUR_HP, (int) getStatus().getCurrentHp()); su.addAttribute(StatusUpdate.MAX_HP, getMaxHp()); player.sendPacket(su); } else { // Check if the L2PcInstance is in the _aggroList of the L2GuardInstance if (containsTarget(player)) { // Set the L2PcInstance Intention to AI_INTENTION_ATTACK player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this); } else { // Calculate the distance between the L2PcInstance and the L2Npc if (!canInteract(player)) { // Set the L2PcInstance Intention to AI_INTENTION_INTERACT player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); } else { // Some guards have no HTMs on retail. Bypass the chat window if such guard is met. switch (getNpcId()) { case 31671: case 31672: case 31673: case 31674: // Send a Server->Client ActionFailed to the L2PcInstance in order to avoid that the client wait another packet player.sendPacket(ActionFailed.STATIC_PACKET); return; } // Rotate the player to face the instance player.sendPacket(new MoveToPawn(player, this, L2Npc.INTERACTION_DISTANCE)); if (hasRandomAnimation()) onRandomAnimation(Rnd.get(); } } } } }
  17. http://forummaxi.ru/user/14715-centro/ отпиши по контактам мб возьмется.
  18. P1ckw1ck

    Настройка UnitPay

    пиши в скайп разберемся.
×
×
  • Создать...