• Новые темы в этом разделе публикуются автоматически при добавлении файла в менеджер ресурсов.
    Ручное создание новых тем невозможно.
Иконка ресурса

[Ивент] Собиратель Карт 2023-06-04

Нет прав для скачивания

MrKirill1232

Великий мудрец
Проверенный
Магистр реакций
Знаток письма высшего ранга
Куратор Данных
Победитель в номинации 2023
Мастер реакций
Неукротимое пламя
Медаль Благодарности
Победитель в номинации 2022
Старожил I степени
Сообщения
2 254
Розыгрыши
0
Решения
47
Репутация
1 243
Реакции
2 019
Баллы
2 058
MrKirill1232 добавил(а) новый ресурс:

[Ивент] Собиратель Карт - Реализация внутри-игрового ивента Собиратель Карт

Привет!
Скрипт и приколы для ядра можете скачать через кнопочку выше, никакого хайда.

Краткое описание на ру офе (ессенс) -
Краткое описание на классике -
Спасибо Гайкотсу за некторую инфу - [Todo]Event TheLegendaryCards

[SPOILER=" Вот кстати итемы из...

Узнать больше об этом ресурсе...
 

Код:
Buildfile: C:\L2J_Mobius_Essence_7.0_Assassin\build.xml
checkRequirements:
init:
   [delete] Deleting directory C:\build\bin
    [mkdir] Created dir: C:\build\bin
compile:
    [javac] Compiling 2671 source files to C:\build\bin
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:5: error: cannot find symbol
    [javac] import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
    [javac]                                                     ^
    [javac]   symbol:   class PlayerInstance
    [javac]   location: package org.l2jmobius.gameserver.model.actor.instance
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:8: error: package org.l2jmobius.gameserver.model.holders.drop does not exist
    [javac] import org.l2jmobius.gameserver.model.holders.drop.CategoryDropHolder;
    [javac]                                                   ^
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:9: error: package org.l2jmobius.gameserver.model.holders.drop does not exist
    [javac] import org.l2jmobius.gameserver.model.holders.drop.DropHolder;
    [javac]                                                   ^
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:10: error: package org.l2jmobius.gameserver.model.items.instance does not exist
    [javac] import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
    [javac]                                                     ^
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:71: error: cannot find symbol
    [javac]     public void sendCardCollectUi(PlayerInstance player)
    [javac]                                   ^
    [javac]   symbol:   class PlayerInstance
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:98: error: cannot find symbol
    [javac]     public void handleExchangeOfCards(PlayerInstance player, int deckId)
    [javac]                                       ^
    [javac]   symbol:   class PlayerInstance
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:3: error: cannot find symbol
    [javac] import org.l2jmobius.commons.network.PacketReader;
    [javac]                                     ^
    [javac]   symbol:   class PacketReader
    [javac]   location: package org.l2jmobius.commons.network
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:5: error: cannot find symbol
    [javac] import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
    [javac]                                                     ^
    [javac]   symbol:   class PlayerInstance
    [javac]   location: package org.l2jmobius.gameserver.model.actor.instance
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:7: error: cannot find symbol
    [javac] import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket;
    [javac]                                                      ^
    [javac]   symbol:   class IClientIncomingPacket
    [javac]   location: package org.l2jmobius.gameserver.network.clientpackets
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:12: error: cannot find symbol
    [javac] public class RequestCardReward implements IClientIncomingPacket
    [javac]                                           ^
    [javac]   symbol: class IClientIncomingPacket
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:17: error: cannot find symbol
    [javac]     public boolean read(GameClient client, PacketReader packet)
    [javac]                                            ^
    [javac]   symbol:   class PacketReader
    [javac]   location: class RequestCardReward
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\serverpackets\cardgame\ExShowCardRewardList.java:3: error: cannot find symbol
    [javac] import org.l2jmobius.commons.network.PacketWriter;
    [javac]                                     ^
    [javac]   symbol:   class PacketWriter
    [javac]   location: package org.l2jmobius.commons.network
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\serverpackets\cardgame\ExShowCardRewardList.java:7: error: cannot find symbol
    [javac] import org.l2jmobius.gameserver.network.OutgoingPackets;
    [javac]                                        ^
    [javac]   symbol:   class OutgoingPackets
    [javac]   location: package org.l2jmobius.gameserver.network
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\serverpackets\cardgame\ExShowCardRewardList.java:8: error: cannot find symbol
    [javac] import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
    [javac]                                                      ^
    [javac]   symbol:   class IClientOutgoingPacket
    [javac]   location: package org.l2jmobius.gameserver.network.serverpackets
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\serverpackets\cardgame\ExShowCardRewardList.java:15: error: cannot find symbol
    [javac] public class ExShowCardRewardList implements IClientOutgoingPacket
    [javac]                                              ^
    [javac]   symbol: class IClientOutgoingPacket
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\serverpackets\cardgame\ExShowCardRewardList.java:30: error: cannot find symbol
    [javac]     public boolean write(PacketWriter packet)
    [javac]                          ^
    [javac]   symbol:   class PacketWriter
    [javac]   location: class ExShowCardRewardList
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:135: error: cannot find symbol
    [javac]             final ItemInstance deckItem = player.getInventory().getItemByItemId(item.getId());
    [javac]                   ^
    [javac]   symbol:   class ItemInstance
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:147: error: cannot find symbol
    [javac]         for (CategoryDropHolder reward : deck.getRewards())
    [javac]                                              ^
    [javac]   symbol:   method getRewards()
    [javac]   location: variable deck of type CardDeckData
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:147: error: cannot find symbol
    [javac]         for (CategoryDropHolder reward : deck.getRewards())
    [javac]              ^
    [javac]   symbol:   class CategoryDropHolder
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:153: error: cannot find symbol
    [javac]                 final List<DropHolder> drop = new ArrayList<>(reward.getDropItems());
    [javac]                            ^
    [javac]   symbol:   class DropHolder
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:155: error: cannot find symbol
    [javac]                 for (DropHolder item : drop)
    [javac]                      ^
    [javac]   symbol:   class DropHolder
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:168: error: cannot find symbol
    [javac]             final ItemInstance createdItem = player.getInventory().addItem(getClass().getSimpleName(), item.getId(), item.getCount(), player, null);
    [javac]                   ^
    [javac]   symbol:   class ItemInstance
    [javac]   location: class CardCollectGameManager
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\instancemanager\events\CardCollectGameManager.java:169: error: cannot find symbol
    [javac]             createdItem.setEnchantLevel(item.getEnchantLevel());
    [javac]                                             ^
    [javac]   symbol:   method getEnchantLevel()
    [javac]   location: variable item of type ItemHolder
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:16: error: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:23: error: method does not override or implement a method from a supertype
    [javac]     @Override
    [javac]     ^
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\clientpackets\cardgame\RequestCardReward.java:26: error: cannot find symbol
    [javac]         final PlayerInstance player = client.getPlayer();
    [javac]               ^
    [javac]   symbol:   class PlayerInstance
    [javac]   location: class RequestCardReward
    [javac] C:\L2J_Mobius_Essence_7.0_Assassin\java\org\l2jmobius\gameserver\network\serverpackets\cardgame\ExShowCardRewardList.java:32: error: package OutgoingPackets does not exist
    [javac]         OutgoingPackets.EX_SHOW_CARD_REWARD_LIST.writeId(packet);
    [javac]                        ^
    [javac] 27 errors


BUILD FAILED
C:\L2J_Mobius_Essence_7.0_Assassin\build.xml:65: Compile failed; see the compiler error output for details.


Total time: 16 seconds
 
Адаптировать под себя :)
PlayerInstance -> Player
и тд.
CategoryDropHolder - от такого нету :)
1685948399758.png
 
Назад
Сверху Снизу