Pvp in whole channel

Status
Not open for further replies.
Junior Spellweaver
Joined
Jun 26, 2008
Messages
136
Reaction score
0
Since so many people is requesting for it, let me release it:

Go to net.sf.odinms.net.channel.handler.abstractdealdamagehandler.java

Look for:
Code:
private int PVP_MAP = themapidyouwantforpvp;
Remove it.

Then look for:
Code:
if (attack.skill != 2301002 && attack.skill != 4201004 && attack.skill != 1111008 && player.getMapId() == PVP_MAP) {//checks

Replace it with
Code:
if (attack.skill != 2301002 && attack.skill != 4201004 && attack.skill != 1111008 && player.getClient().getChannel() == [COLOR="Red"]REPLACETHISWITHTHECHANNELYOUWANT[/COLOR]) {//Makes pvp into thechannelyouwant

There you go...Credits to whoever who programed maplecharacter.java....
 
Last edited:
Re: [Mini-release]Pvp in whole channel

thx for the release ..
i got some idea..
can u use that as for the zakum to summon in certain channel too?
is that possible?
 
Re: [Mini-release]Pvp in whole channel

just what i was lookin for ^^ ty btw pm me i want to tell u something
 
Re: [Mini-release]Pvp in whole channel

I already released this.
 
Re: [Release]Pvp in whole channel

REPLACETHISWITHTHECHANNELYOUWANT.

so do i put like Channel 4 or Scania-4 or just 4?O_O

nice find : )
and i cant find it on airflow's post : /
~dXm
 
Re: [Release]Pvp in whole channel

Go to net.sf.odinms.net.channel.handler.abstractdamageha ndler.java
uh i forget to mention something the file name is "Abstractdealdamagehandler.java"
 
Re: [Release]Pvp in whole channel

holy crap so your working then you got some stars thrown at you lol
 
Re: [Release]Pvp in whole channel

You should add something to not include a map, meaning i want the free market not to have PVP but i want every other map to.
 
Re: [Release]Pvp in whole channel

is there a way to make a map pvp for all the other channels but have one of those channels entirely pvp too?
 
Status
Not open for further replies.
Back