[Question] Non Pvp Server??

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
idered
Posts: 3
Joined: Fri Jul 30, 2010 5:47 am

[Question] Non Pvp Server??

Post by idered »

Hello, i'm using the L2jserver version 4405 and i just wanna know if it's there a way to make a Non-PVP Server with this Server Version??? thx for your help
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: [Question] Non Pvp Server??

Post by LasTravel »

What you mean? :S
idered
Posts: 3
Joined: Fri Jul 30, 2010 5:47 am

Re: [Question] Non Pvp Server??

Post by idered »

LasTravel wrote:What you mean? :S
i mean if is there a config to make a Non Pvp server, a server where the ppl cant figh vs other players, or something to make the Whole Lineage II World Peaciful zone
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: [Question] Non Pvp Server??

Post by LasTravel »

Not exist any configf for do this.... But you can make.
idered
Posts: 3
Joined: Fri Jul 30, 2010 5:47 am

Re: [Question] Non Pvp Server??

Post by idered »

LasTravel wrote:Not exist any configf for do this.... But you can make.
do u know how?? please help me :)
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: [Question] Non Pvp Server??

Post by LasTravel »

You can do it on L2PcInstance, you want help or some one for do it for you?
vulstar
Posts: 5
Joined: Sat Jun 07, 2008 4:19 pm

Re: [Question] Non Pvp Server??

Post by vulstar »

the easiest way, would be to make a gigantic peace zone over the whole world, although it doesnt sound right to do it that way somehow.
And raids/mobs could be acting wierd aswel.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [Question] Non Pvp Server??

Post by jurchiks »

No, the easiest way would be to change the default allowed actions in all zones that are not pvp zones... Smth like

Code: Select all

public static void onActionAttack(blabla)
{
if (player.getTarget() instanceof L2PcInstance)
{
player.sendPacket(ActionFailed.STATIC_PACKET);
return;
}
}
and that's it.
Of course, i would add a config for it, like:
if (Config.PEACE_EVERYWHERE && player.getTarget() instanceof L2PcInstance)
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply