Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Dec 7, 2021

Pull Request Prelude

Changes Proposed

Now in client we can disable a few messages by its type and they will not be shown on screen anymore, only at console (except orange ones):
2021-12-07 18_37_12-Tibia

If you know any other I missed (yeah I missed a lot), feel free to tell me.

@ghost ghost requested a review from DSpeichert December 12, 2021 21:55
@DSpeichert DSpeichert merged commit 1b19b33 into otland:master Dec 14, 2021
@@ -2717,7 +2717,7 @@ bool Game::internalStartTrade(Player* player, Player* tradePartner, Item* tradeI
player->sendTradeItemRequest(player->getName(), tradeItem, true);

if (tradePartner->tradeState == TRADE_NONE) {
tradePartner->sendTextMessage(MESSAGE_EVENT_ADVANCE, fmt::format("{:s} wants to trade with you.", player->getName()));
tradePartner->sendTextMessage(MESSAGE_TRADE, fmt::format("{:s} wants to trade with you.", player->getName()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is incorrect, if I'm not wrong, MESSAGE_TRADE should be used when buying/selling items from NPC's

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.

2 participants