![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2006
Posts: 86
|
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. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
There is, you ban anyone who does that... they'll stop doing it
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Nov 2006
Posts: 86
|
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. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
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 |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
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}} |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Feb 2006
Posts: 453
|
eventhandler ATTACKED for sitizens, add there "cast bad magic like paralyze or silence", or teleport summon and master of summon far away
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Apr 2005
Posts: 151
|
just do a small buff after they click smth on the teleporter so the player can be protected for 10-15sec
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Nov 2006
Posts: 86
|
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.
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Apr 2006
Posts: 181
|
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 |
|
|
|
|
#11 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Nov 2006
Posts: 86
|
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.
|
|
|
|
|
#13 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
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... Code:
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);
}
}
}
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. |
|
|
|
|
|