If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:3155
L2JDP Revision Number:6245
Hi i need to find out how to allow all the player to equip the infinity weapons, the way the server is, only heros can use Infinity weapons. I tried adding the "StrictHeroSystem = False" to config but it did not work.
Can anybody help me fix that problem.
Thanks.
Infinity weapons
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Infinity weapons
search in data/stats/weapon/ and the xml files there for the infinity weapons. there should be a cond tag with a condition that only hero may equip it.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:07 am
Re: Infinity weapons
I did that already but i didn't see any condition of that kind. It was only one condition: <player olympiad="false"/>
I changed it to true but nothing happened, i think it has something to do with equip it during Oly.
I changed it to true but nothing happened, i think it has something to do with equip it during Oly.
-
- Posts: 6
- Joined: Sat Jan 12, 2008 11:25 am
Re: Infinity weapons
the condition is set in L2ItemInstance.java
restriction seems to be made in Inventory.java
Code: Select all
public boolean isHeroItem() { return ((_itemId >= 6611 && _itemId <= 6621) || (_itemId >= 9388 && _itemId <= 9390) || _itemId == 6842); }
Code: Select all
if (!player.isGM() && !player.isHero() && item.isHeroItem()) return;
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:07 am
Re: Infinity weapons
and how do I edit this files. I don't even now where they are. can you tell me where i can find then. Thank you
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:07 am
Re: Infinity weapons
I guess nobody is able to help me change the condiions on the infinity weapons so all players can equip then, not only heros.
Please HELP ME.
Please HELP ME.
- Copyleft
- Posts: 253
- Joined: Fri Feb 01, 2008 9:39 pm
Re: Infinity weapons
disorder25 wrote:I guess nobody is able to help me change the condiions on the infinity weapons so all players can equip then, not only heros.
Please HELP ME.
you need to modify some lines in core, this means you will have to compile the server once edited
http://www.l2jserver.com/trac/wiki/Eclipse
-
- Posts: 15
- Joined: Thu Jun 18, 2009 4:07 am
Re: Infinity weapons
Thanks for your reply.
But how do i do that?
But how do i do that?