![]() |
[BUG]Safe Zones... - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +----- Thread: [BUG]Safe Zones... (/showthread.php?tid=2242) |
[BUG]Safe Zones... - Nean - 14-10-2008 So, I nulled out the check to see if the attacker was admin, or if the victim was admin, therefore making it possible for Admins to PK and be PK'd. However, when I went to attack my other char, it said that I couldn't attack in a safe zone. I was in the default map, and I checked the properties, and there was no map moral, selected.... Any ideas? Re: [BUG]Safe Zones... - Vahz - 14-10-2008 teh problem is this one.. Code: If Not Map(GetPlayerMap(Attacker)).Moral = MAP_MORAL_NONE Or GetPlayerPK(Victim) = NO Then this will make all non-pk player cannot be attacked replace it with this Code: If Not Map(GetPlayerMap(Attacker)).Moral = MAP_MORAL_NONE And GetPlayerPK(Victim) = NO Then Re: [BUG]Safe Zones... - GIAKEN - 21-10-2008 No that's not a bug...it's suppose to be like that. If they are in a safe zone or the player they are trying to attack isn't a PKer then it says it's a safe zone. If they aren't in a safe zone and the player they are trying to attack is a PKer then continue on with the attack. Re: [BUG]Safe Zones... - Nean - 21-10-2008 GIAKEN Wrote:No that's not a bug...it's suppose to be like that. If they are in a safe zone or the player they are trying to attack isn't a PKer then it says it's a safe zone. If they aren't in a safe zone and the player they are trying to attack is a PKer then continue on with the attack. But then theres only two morals: Safe Zone, and None. In none, you should be able to attack someone... right? Re: [BUG]Safe Zones... - GIAKEN - 21-10-2008 Yes and that's what it does... Re: [BUG]Safe Zones... - Nean - 21-10-2008 GIAKEN Wrote:Yes and that's what it does... Yes, but in a map with no moral, you still cannot attack someone. So it's impossible to attack someone at all. Re: [BUG]Safe Zones... - GIAKEN - 21-10-2008 Try this: Code: ' Check if map is attackable Delete the old If statement and replace with that. |