-
Notifications
You must be signed in to change notification settings - Fork 59
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
Feature: Forbid summon players if they are in prison #65
Comments
this will be more of a issue or suggestion for the anticheat module git, as implementing select things fo this case will not be a core subject. currently there is some research for the jailing feature"s improvements. so far we got the bg\arena\lfg\lfr jailbreak queues fixed. but as for gm summons. the issue will is that GM"s are suppose to play the role as the disciplinary committee and therefor should be handling the punishment and the release. |
Sounds like roleplay to me, and in that case, yes, maybe it should go to a module? Or GMs need to check where people are at before summoning... |
pretty much what i suggested in my comment that this is more of a issue or suggestions for the anticheat module git. |
Issued transfered to Anticheat Module GIt, that way we dont have to bother with the whole close and reopen the issue on another git. |
@Tony931023 a quick solution for your local would be to place the code at https://github.com/azerothcore/azerothcore-wotlk/blob/03a6413080752294bd47b9e4e9ef0287dc1d4833/src/server/scripts/Commands/cs_misc.cpp#L853 Code:
That will prevent a level 0 normal player account from not being summoned if they are in the area 876 gm island. the gm jail is actually inside the tall mountain behind the gm cabin. however i am not certain if the parole command will override it which can only be done by a level 3 gm account. But try it out and let me know how it goes. I can not see how to add this is in the module as that summon gm cmd is apart of the core itself. so i am not entirely certain if they will allow such a edit or change to the core it self for the auto jailing. |
@Tony931023 i updated the above code slightly to include a message on error, obviosuly feel free to adjust it to your locale and liking. |
Describe your feature request or suggestion in detail
Testing various antihack-module jailbreaks, we found that if a GM gives .summon to a player he is jailbroken and to avoid this, he asked if something could be added to the source code in the command. summon to prohibit this bug
More information in this Issues #59
@acidmanifesto
Describe a possible solution to your feature or suggestion in detail
that prohibits giving .summon to a player if he is in arena o BG
Additional context
I don"t know if I"ve explained myself well, it"s just a suggestion to be valued, and sorry for my bad English, it"s not my main language.
AC rev. hash/commit
AzerothCore rev. 4ac565699fcb 2022-04-13 11:57:04 +0000 (master branch) (Unix, RelWithDebInfo, Static)
The text was updated successfully, but these errors were encountered: