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

    • Just another ChatGPT programmer. It had to be a Brazilian, hahaha.
    • Dear MaxCheaters Community,   It is disappointing to see the project being dismissed before there is a clear understanding of the work, planning, and vision behind it.   Other communities, such as the Russian and Brazilian Lineage II communities, often support their projects and help them grow. I believe the European community would benefit from adopting the same constructive and supportive approach.   We are not asking anyone to believe in promises alone. We will let our work, progress, and results speak for themselves. Actions speak louder than words. Thanks in advance. -MightyProject Founder
    • 🎙️ Mod de Voz Dev — A.L.N ModVozALN • Sistema de Voz por Proximidade para Lineage II Instalador Gráfico para Launchers L2J • v1.9.44 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🚀 O que é O ModVozALN.exe instala automaticamente o sistema completo de voz por proximidade em sua pack L2J, sem necessidade de alterar o código-fonte da revisão. ✅ Recursos ✔️ Não altera arquivos .java (Bridge via Java Agent) ✔️ Não modifica a Engine.dll (cliente utiliza L2VoiceInject.exe) ✔️ Funciona mesmo sem acesso ao source da revisão ✔️ Instalação automatizada em poucos cliques 🎮 Atalhos INSERT → Abre o painel de voz Segure H → Conversa por proximidade ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🖥️ Launchers 🎤 L2VoiceServer.exe Servidor de voz com interface gráfica e monitor de logs. ⚙️ L2GameServer.exe Inicializa o GameServer com o Java Agent automaticamente. ⏳ O GameServer aguarda automaticamente o Voice Server na porta TCP 17667 antes da inicialização. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✨ Principais Recursos 📁 Estrutura organizada 📂 Game 📂 Libs 📂 Voice 📂 System 🔍 Detecção automática de revisões aCis L2jMega L2jMobius L2jFrozen L2Off BrProject Custom ⚙️ Geração automática 📄 gs-voz-launch.cfg 📄 Arquivo .bat ☕ Main Class correta 📦 Bibliotecas adicionadas l2voice-bridge.jar Jedis 🔎 Localização automática do Java Busca o JDK em todos os discos e instalações conhecidas. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ☕ Compatibilidade Java (JDK) Utilize sempre o mesmo JDK exigido pela sua revisão. Revisão JDK BrProject / ext.mods 25 L2jMega / L2JALN 17–21 aCis / RusaCis 11–17 L2jMobius 17–21 L2jFrozen 8–11 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔎 Busca Automática do Java (v1.9.44+) O instalador procura automaticamente o java.exe em: 💿 Todos os discos (C:, D:, E:...) 📁 Program Files / Java Eclipse Adoptium Microsoft JDK Amazon Corretto JAVA_HOME Pastas da própria pack (Game, Libs e raiz) O caminho encontrado é salvo em: Game\gs-voz-launch.cfg ✅ Não é necessário editar o set-java.bat. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚠️ UnsupportedClassVersionError Exemplo 69.0 vs 55.0 ✔️ Solução Instale o JDK compatível com sua revisão. Reinstale utilizando o ModVozALN v1.9.44 ou superior. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎥 Vídeo de Demonstração 📺 https://www.youtube.com/watch?v=8aJMy08o8so&t=7s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📥 Download 💻 Projeto https://github.com/ALN2025/ModVozALN 📦 Executável https://github.com/ALN2025/ModVozALN.exe 📄 Consulte também o arquivo VERSION.txt Versão Atual: v1.9.44 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📋 Instalação 1️⃣ Extraia o ModVozALN.zip 2️⃣ Execute ModVozALN.exe 3️⃣ Informe as pastas: 📂 Game 📂 Libs 📂 Voice 📂 System 4️⃣ Clique em Instalar ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ▶️ Ordem de Inicialização Redis ↓ Login Server ↓ L2VoiceServer.exe ↓ L2GameServer.exe ↓ L2VoiceInject.exe ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔥 Firewall (VPS) 🌐 UDP: 17666 🌐 TCP: 17667 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 👨‍💻 Desenvolvido por Dev ⩿ A.L.N/⪀ 🌍 scriptclean.com.br
  • 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..