Skip to content

P469: a GM's summoning sack skips the map's rule and the question - #1527

Merged
neeerp merged 1 commit into
masterfrom
v83/gm-sacks
Nov 9, 2026
Merged

neeerp merged 1 commit into
masterfrom
v83/gm-sacks

Conversation

@neeerp

@neeerp neeerp commented Nov 9, 2026

Copy link
Copy Markdown
Owner

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's use_summon_sack never 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_summon and sack_asks take the GM bit, as may_jump does.
  • tests/field_limit.cpp covers both cases for a GM.
  • agent_docs/inventory.md now 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.

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.
@neeerp
neeerp merged commit 0986e31 into master Nov 9, 2026
1 check passed
@neeerp
neeerp deleted the v83/gm-sacks branch November 9, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant