Skip to content
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

Failed to remove Exalted Core from player in forge process - function removeItemCountById returning false #2994

Open
2 of 5 tasks
philippelo opened this issue Oct 18, 2024 · 2 comments
Labels
Priority: Medium This issue may be impactful and needs some attention. Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@philippelo
Copy link

philippelo commented Oct 18, 2024

Priority

Medium

Area

  • Datapack
  • Source
  • Map
  • Other

What happened?

Ao tentar realizar o processo de forja no jogo, ocorreu uma falha ao remover o item com o ID 37110 do inventário do jogador. A função removeItemCountById está retornando false, indicando que o item não pôde ser removido, mesmo que o jogador aparentemente possua o item.

if (!removeItemCountById(ITEM_FORGE_CORE, coresAmount)) {
	g_logger().error("[{}] Failed to remove item 'id: {}, count: {}' from player {}", __FUNCTION__, fmt::underlying(ITEM_FORGE_CORE), 1, getName());
	sendForgeError(RETURNVALUE_CONTACTADMINISTRATOR);
	return;
}

What OS are you seeing the problem on?

Linux

Code of Conduct

  • I agree to follow this project's Code of Conduct
@philippelo philippelo added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Oct 18, 2024
@github-actions github-actions bot added Priority: Medium This issue may be impactful and needs some attention. Status: Pending Test This PR or Issue requires more testing labels Oct 18, 2024
@philippelo
Copy link
Author

LOG
2024-10-18 15:18:58 - [2024-18-10 15:18:58.461] [error] [forgeTransferItemTier] Failed to remove item 'id: 37110, count: 1' from player Zows

@philippelo
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue may be impactful and needs some attention. Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

1 participant