-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OutdoorPVP SI/EP #571
OutdoorPVP SI/EP #571
Conversation
entering silithus/eastern plaguelands when outdoorpvp is not enabled will show no longer the AlwaysUpFrame* on top of the screen
Please provide proof that the worldstate panel should be invisible in the area when PVP is disabled. Also for the love of all the gods don't do things like if (someCondition)
{}
else
someStuff; |
I meant proof for how it's supposed to be on ABK servers. I believe you when you say that those are the changes you made, but the question is if those changes are legitimate in the first place. As for the code, you'll have to rearrange the condition so that you can do if (someCondition)
someStuff; |
In your PR, no world states are sent at all for the two zones when opvp is disabled. It would be better to take a more targeted approach here. There is probably a world state or opcode for showing/hiding this specific display. |
That assumes that the world state display is actually meant to be hidden. I suspect that since the World-PVP Event in those zones is never disabled on live servers and was never meant to be disabled either, that there's no dedicated functionality to actually hiding the worldstate display. |
Seems like display activation is bound to SMSG_INIT_WORLD_STATES and its zone id. The display is even activated when an empty (without any world state data) SMSG_INIT_WORLD_STATES is sent. |
entering silithus/eastern plaguelands when outdoorpvp is not enabled will show no longer the AlwaysUpFrame* on top of the screen
🍰 Pullrequest
Avoid the AlwaysUpFrame* showing up when the OutdoorPVP is set to not enable in mangosd.conf
Proof
Issues
doing the teleport to SI/EP without this update may often cause the AlwaysUpFrames show up even when outdoorpvp is not enable
How2Test
Todo / Checklist