twister7
-
Posts
5 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by twister7
-
-
Read my first post, that is what I did... but you can still turn the PvP ON... Thanks for help
Still cannot find the solution...
-
void Player::Update( uint32 p_time ) { if(!IsInWorld()) return; if(GetZoneId() == 3317) UpdatePvP(false, true); // undelivered mail
Still nothing... BTW I cant write "player->" cause it wasn't declared
UpdatePvP(false, true); - UpdatePvP(bool state, bool ovrride) = ovrride means you dont have to wait 15min in friendly territory so it continues to SetPvP(false);
-
Ok thanks, but where to put it?
I tried Player::UpdateZone:
if(GetZoneId() == 3317) UpdatePvP(false, true);
but its not working
-
Hi, I'm trying to make a Sanctuary zone, I've read a few posts so that is what I did:
if([color=Red]([/color]zone->IsSanctuary()[color=Red]) || GetAreaId() == 3317[/color]) // in sanctuary { SetByteFlag(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_SANCTUARY); pvpInfo.inNoPvPArea = true; CombatStopWithPets(); }
(red parts added)
Everything works fine, but the problem is, that I can turn my PvP on... Any ideas?
|PHP| Interesting Scripts for your Website
in Old3rd party projects
Posted
I've rewritten the race/class count script, now it's both code-efficient and fast, for 0.12 just replace the "$n <= 11" with "$n <= 10" in the second loop and delete the Death Knight row. Enjoy :-)