View Full Version : Peace Areas
Hi we've just implemented Peace Areas in spawn point on our servers then people started to heal from the peace zones and summoners attacking with their pets in them so i wounder if there's any solution to that? If there isn't i'd rather remove them totally.
Thanks in advance.
There is, you ban anyone who does that... they'll stop doing it :)
I'm not that harsh :) But i'll start being really strict on that from now.
And i guess if m4rk doens't know about anything like that i guess there isn't anything like that in public yet. I'll try getting something together.
Osito2Dancer
16.05.2007, 17:12
the thing is that you cant control it by commands, but rather by GM actions. If you find someone healing from peace zones, warn them and then //send_gmroom them to prison :3. They will stop doing it :3.
Atte
Oso
you can block it
just make the spawn zone also have a skill that
effect = {{p_block_buff};{p_block_spell};{p_block_skill_phy sical}}
you can block it
just make the spawn zone also have a skill that
effect = {{p_block_buff};{p_block_spell};{p_block_skill_phy sical}}
Yes, i have that made but im not really using it on my server since the main problem is summoners.. and that way cant stop summons...
humordwarf
16.05.2007, 20:17
eventhandler ATTACKED for sitizens, add there "cast bad magic like paralyze or silence", or teleport summon and master of summon far away
just do a small buff after they click smth on the teleporter so the player can be protected for 10-15sec ;)
Well it looks like i'll remove em totally since you can pretty easily to exploit it and we can't have a GM at every spawn point 24/7.
there is solution on C4 retail
cause it has function "InPeaceZone"
summon can get master, if master is in peace zone, summon can just not react to "attack" command;
and wheh attacking, frequently check if master in peace zone, if so
RemoveAllAttackDesire
Add desire to follow :)
I am think how to do it in C1, cause I am C1 developer, not C4
there is solution on C4 retail
cause it has function "InPeaceZone"
summon can get master, if master is in peace zone, summon can just not react to "attack" command;
and wheh attacking, frequently check if master in peace zone, if so
RemoveAllAttackDesire
Add desire to follow :)
I am think how to do it in C1, cause I am C1 developer, not C4
Umm, interesting, i will take a look to that
Sounds very interesting, If anyone have peace zones which will unable summoners from attacking in there and will unable healers from healing in the peace zone i'll be very glad if they could share it to me, Because i can really use one of those.
Hi we've just implemented Peace Areas in spawn point on our servers then people started to heal from the peace zones and summoners attacking with their pets in them so i wounder if there's any solution to that? If there isn't i'd rather remove them totally.
Thanks in advance.
Solution to summoners attacking from peace zone (not only GK Respawn, all peace zones)
With this fix summoners are unable to use summon inside peace zone, not matter what action you send to summon, only when you go out of the peace zone will start to react.
Compile it yourself... i spent like 1 hour to compile it, since no one is going to share a compiler, im not going to compile nothing for other people.
You dont know how to do ? Learn as I did...
class summon_fix_peace : default_npc {
handler:
EventHandler CREATED() {
myself->AddTimerEx(901,100);
}
EventHandler TIMER_FIRED_EX(timer_id) {
if (myself.master.in_peacezone == 1) {
if (timer_id == 901) {
myself->AddPetDefaultDesire_Follow(20000xx.xx0000);
myself->AddTimerEx(902,3000);
}
if (timer_id == 902) myself->AddTimerEx(902,1000);
}
}
else if (timer_id == 901) myself->AddTimerEx(901,1000);
else if (timer_id == 902) {
RemoveAllDesire();
myself->AddTimerEx(901,1000);
}
}
}
Use this class between summons class and default_npc
Handlers CREATED and TIMER_FIRED_EX that exits already in others classes will need to add super; if you wish this work with them too.
If you want the compiled code, send a PM, please, leachers and people with 1 post dont try it, i will not answer.