Repository navigation
P469: a GM's summoning sack skips the map's rule and the question - #1527
Merged
Merged
Conversation
v83 FUN_00a0977b skips both the fieldLimit 0x4/allowedItem refusal and the Yes/No for a GM (FUN_00473cde() & 1). HeavenClient checked neither for the GM bit, so a GM was refused in the Free Market and asked every time. field_limit::may_summon and sack_asks now take the GM bit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v83 FUN_00a0977b skips both the fieldLimit 0x4 / allowedItem refusal ("You can't use it here in this map.") and the "Too much interest..." Yes/No when the player is a GM (
FUN_00473cde() & 1). HeavenClient'suse_summon_sacknever read the GM bit, so a GM was refused in the Free Market and asked every time. The server already exempts GMs.field_limit::may_summonandsack_askstake the GM bit, asmay_jumpdoes.tests/field_limit.cppcovers both cases for a GM.agent_docs/inventory.mdnow describes the question and who skips it.Checked by hand: as a non-GM in 910000000 the client refuses and the count stays the same. In 104040000 it asks; No keeps the sack and Yes opens it. With gm_level 3 in 910000000 Monster Sack 2 opened at once (2→1) and the mobs came out. field_limit_tests passes.