Infinity weapons

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
disorder25
Posts: 15
Joined: Thu Jun 18, 2009 4:07 am

Infinity weapons

Post by disorder25 »

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.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Infinity weapons

Post by janiii »

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!
disorder25
Posts: 15
Joined: Thu Jun 18, 2009 4:07 am

Re: Infinity weapons

Post by disorder25 »

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.
koohni
Posts: 6
Joined: Sat Jan 12, 2008 11:25 am

Re: Infinity weapons

Post by koohni »

the condition is set in L2ItemInstance.java

Code: Select all

public boolean isHeroItem()    {        return ((_itemId >= 6611 && _itemId <= 6621) || (_itemId >= 9388 && _itemId <= 9390) || _itemId == 6842);    }
restriction seems to be made in Inventory.java

Code: Select all

if (!player.isGM() && !player.isHero() && item.isHeroItem())                return;
disorder25
Posts: 15
Joined: Thu Jun 18, 2009 4:07 am

Re: Infinity weapons

Post by disorder25 »

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
disorder25
Posts: 15
Joined: Thu Jun 18, 2009 4:07 am

Re: Infinity weapons

Post by disorder25 »

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.
User avatar
Copyleft
Posts: 253
Joined: Fri Feb 01, 2008 9:39 pm

Re: Infinity weapons

Post by Copyleft »

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
disorder25
Posts: 15
Joined: Thu Jun 18, 2009 4:07 am

Re: Infinity weapons

Post by disorder25 »

Thanks for your reply.
But how do i do that?
Post Reply