Jump to content
  • 0

Question

Posted

Hello boys,

 

I'm using aCis free source, rev 401, and i have a little problem..

As Gm and hero ( hero player either ), i dont understand why i can't equip hero weapons..

 

"You do not meet the require ... bla bla bla"

 

Thank you for any good will to help me.

13 answers to this question

Recommended Posts

  • 0
Posted

The problem is that you are not a hero. Hero items can be equipped by hero players. In your case you have hero status but you are not a hero player. Olympiad manager and hero manager, can't recognize you

  • 0
Posted (edited)

for some weird reason //sethero is not enough to equip hero weapons, you have to be a hero from olympiad, i have managed to fix that weird problem in the past but i cant remember the solution of it 

Edited by Amn3sia
  • 0
Posted

Ah, i understood. Well in this case what should i do to make this to work with /sethero ?

 

Thank you all for the answers.

  • 0
Posted (edited)
17 minutes ago, ThelwHelpRePaidia said:

yeah but what acis revision u use ? 😄 aaaa u use RUSacis not acis ...

copy line from weapongrp.dat and make new id for it

or some java dev must off check for hero status

Edited by KejbL
  • 0
Posted

Inventory.java

 

find:

// Can't equip item if you are in shop mod or hero item and you're not hero.
if (((Player) getOwner()).isInStoreMode() || (item.isHeroItem() && !HeroManager.getInstance().isActiveHero(getOwnerId())))
return;
			

 

replace with:

// Can't equip item if you are in shop mod or hero item and you're not hero.
if (((Player) getOwner()).isInStoreMode() || (!((Player) getOwner()).isHero() && item.isHeroItem()))
return;

 

 

 

Also find:

// If the item is an hero item and inventory's owner is a player who isn't an hero, then set it to inventory.
if (getOwner() instanceof Player && item.isHeroItem() && !HeroManager.getInstance().isActiveHero(getOwnerId()))
item.setLocation(ItemLocation.INVENTORY);

 

replace with:

// If the item is an hero item and inventory's owner is a player who isn't an hero, then set it to inventory.
if (getOwner() instanceof Player && !((Player) getOwner()).isHero() && item.isHeroItem())
item.setLocation(ItemLocation.INVENTORY);

 

  • 0
Posted (edited)
11 hours ago, @IcathiaLord said:

Inventory.java

 

find:

// Can't equip item if you are in shop mod or hero item and you're not hero.
if (((Player) getOwner()).isInStoreMode() || (item.isHeroItem() && !HeroManager.getInstance().isActiveHero(getOwnerId())))
return;
			

 

replace with:

// Can't equip item if you are in shop mod or hero item and you're not hero.
if (((Player) getOwner()).isInStoreMode() || (!((Player) getOwner()).isHero() && item.isHeroItem()))
return;

 

 

 

Also find:

// If the item is an hero item and inventory's owner is a player who isn't an hero, then set it to inventory.
if (getOwner() instanceof Player && item.isHeroItem() && !HeroManager.getInstance().isActiveHero(getOwnerId()))
item.setLocation(ItemLocation.INVENTORY);

 

replace with:

// If the item is an hero item and inventory's owner is a player who isn't an hero, then set it to inventory.
if (getOwner() instanceof Player && !((Player) getOwner()).isHero() && item.isHeroItem())
item.setLocation(ItemLocation.INVENTORY);

 

In rev 401 1st line doesen't exist, take a look Check!

 

I replaced only the 2nd one, but still can't equip hero weapons. This situation broke my brain..

 

 

EDIT: I foud 1st line in PCInventory.java. Actually it works. Thx @IcathiaLord

Edited by eScz
  • 0
Posted (edited)
As said Melron, HeroManager.getInstance().isActiveHero is a sublayer of isHero and verify if the hero is actually a real one.

The "valid hero" state unlocks when you reach the NPC and pick the title.

Also, requesting my help while using "rusacis" is a "foutage de gueule", at best (in french, I let you translate) and also a outright lie from yourself (they - and you - don't base on free rev 401). Edited by Tryskell
  • 0
Posted
4 hours ago, Tryskell said:

As said Melron, HeroManager.getInstance().isActiveHero is a sublayer of isHero and verify if the hero is actually a real one.

The "valid hero" state unlocks when you reach the NPC and pick the title.

Also, requesting my help while using "rusacis" is a "foutage de gueule", at best (in french, I let you translate) and also a outright lie from yourself (they - and you - don't base on free rev 401).

 

I’m not using “rusacis”. I have free version of 401.

Thank you for the answer.

Thanks @IcathiaLord for the solution.

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • ⚡ PRIVATE L2 SOURCE CODE & CONTRACT BUILDS Essence / Classic / High Five / Main GOD Private enterprise-level Lineage 2 development for serious projects ENGLISH For many years our studio was known mostly for public Lineage 2 builds and public development services. However, for many years now our main focus has been private development for serious projects and investors. Over time we moved away from mass-market development and focused on quality, stability, deep detailing and long-term project support. This approach allowed us to create products of a completely different level designed for large live-projects and long-term operation. Today, in addition to our old public builds, we also offer private enterprise-level solutions developed by a full professional team with many years of Lineage 2 experience. We work only with serious teams, investors and projects that understand the value of quality private development. ◆ L2 Essence — Private Builds & Source Code Latest protocols: 557–559+ Available only on a long-term contract basis. Includes: • 100% official content implementation • Custom interface systems • Active protocol updates while the contract is active • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 10,000 USD Monthly contract: 3,000 USD / month Older Essence source code available for direct purchase: • Protocols 507–520 — 10,000 USD • Protocols 474–502 — 7,000 USD • Protocols 447–464 Seven Signs — 5,000 USD • Protocol 388 Crusade — 2,500 USD Full details: https://mmore.dev/en/essense2.html ◆ L2 Classic — Private Builds & Source Code Latest protocols: 557–559+ Available only on a long-term contract basis. Includes: • 100% official content implementation • Custom interface systems • Active protocol updates while the contract is active • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 10,000 USD Monthly contract: 3,000 USD / month Classic source code available for direct purchase: • Classic 542 protocol — 15,000 USD • Classic 520 protocol — 12,000 USD • Classic 507 protocol — 10,000 USD • Classic 286 protocol — 8,000 USD Negotiable. Contract support is available. Full details: https://mmore.dev/en/classic2.html ◆ High Five — Private Build Private High Five build with years of live-server experience. Includes: • 100% official content • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 3,000 USD Monthly contract: 3,000 USD / month Full details: https://mmore.dev/en/hf2.html ◆ Main / GOD — In Development Development of the Main / GOD branch, protocol 559+, has started. Pre-orders and sponsorship discussions are open. We accept only a limited number of projects from different regions with maximum regional exclusivity for each partner. IMPORTANT The latest Essence and Classic protocols are available only through long-term private contracts. Direct source code sales are available only for older protocols. If you need the newest protocols, active development, updates and support — contract work is the correct option. РУССКИЙ Ранее наша студия в основном занималась публичными сборками Lineage 2 и массовыми услугами разработки. Однако уже много лет основное направление нашей работы — приватная разработка для серьёзных проектов и инвесторов. Со временем мы ушли от работы на массовость и сосредоточились на качестве, стабильности, глубокой детализации и долгосрочном развитии проектов. Именно такой подход позволил нам создать продукты совершенно другого уровня, рассчитанные на крупные live-проекты и долгосрочную эксплуатацию. Сегодня помимо наших старых публичных сборок мы также предлагаем приватные enterprise-level решения, над которыми работает полноценная команда профессиональных разработчиков с многолетним опытом работы в сфере Lineage 2. Мы работаем только с серьёзными командами, инвесторами и проектами, которые понимают ценность качественной приватной разработки. ◆ L2 Essence — приватные сборки и исходники Актуальные протоколы: 557–559+ Доступны только на контрактной основе. Входит: • 100% реализация официального контента • Кастомные интерфейсные системы • Обновления протоколов на время действия контракта • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 10,000 USD Ежемесячно: 3,000 USD / месяц Старые протоколы Essence для прямой покупки исходников: • Протоколы 507–520 — 10,000 USD • Протоколы 474–502 — 7,000 USD • Протоколы 447–464 Seven Signs — 5,000 USD • Протокол 388 Crusade — 2,500 USD Подробнее: https://mmore.dev/essense2.html ◆ L2 Classic — приватные сборки и исходники Актуальные протоколы: 557–559+ Доступны только на контрактной основе. Входит: • 100% реализация официального контента • Кастомные интерфейсные системы • Обновления протоколов на время действия контракта • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 10,000 USD Ежемесячно: 3,000 USD / месяц Исходники Classic для прямой покупки: • Classic 542 protocol — 15,000 USD • Classic 520 protocol — 12,000 USD • Classic 507 protocol — 10,000 USD • Classic 286 protocol — 8,000 USD Торг возможен. Контрактная поддержка доступна. Подробнее: https://mmore.dev/classic2.html ◆ High Five — приватная сборка Приватная High Five сборка с многолетним опытом работы на живых проектах. Входит: • 100% официальный контент • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 3,000 USD Ежемесячно: 3,000 USD / месяц Подробнее: https://mmore.dev/hf2.html ◆ Main / GOD — в разработке Мы начали разработку ветки Main / GOD, протокол 559+. Открыты предварительные обсуждения, предзаказы и спонсорские контракты. Принимается ограниченное количество проектов из разных регионов мира с максимальной региональной эксклюзивностью для каждого партнёра. ВАЖНО Самые актуальные протоколы Essence и Classic доступны только на долгосрочном контракте. Прямая продажа исходного кода доступна только для более старых протоколов. Если вам нужны самые свежие версии, развитие, обновления и поддержка — выбирайте контрактную работу с нашей командой. CONTACTS / КОНТАКТЫ Telegram:  @L2scripts Microsoft Teams:   l2-scripts.com@outlook.com      Old Skype account: Urchika E-mail:    L2scripts.com@gmail.com IMPORTANT All discussions, project details, examples, testing access, source code demonstrations, technical discussions and cooperation terms are discussed strictly in Telegram only. We do not discuss private development publicly on the forum. Telegram is the main and preferred communication platform for all serious inquiries. ВАЖНО Все обсуждения, детали проектов, примеры, предоставление тестирования, демонстрации исходников, технические вопросы и условия сотрудничества обсуждаются строго только в Telegram. Публично на форуме приватная разработка не обсуждается. Telegram — основная и приоритетная платформа для связи по всем серьёзным вопросам. All questions are discussable. We work for the best Lineage 2 projects in the world.
    • cRazy??? If i just say good job its not even fair....
    • τι εκανες εκει παλι ρε τρελάρα; 🤣   welcome back mate, happy seeing you online again, well thats beyond l2 needs for sure and It’s rare to see anyone pushing Interlude this far technically anymore without trying to monetize it. definitely interested in seeing the source whenever you're ready to share it! keep it up!
    • your only choice brother cmon https://www.l2jsunrise.com/
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..