Commit Graph
10 Commits
Author SHA1 Message Date
Mykhailo Redko a145c21495 Core/PacketIO: Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE 2025-06-17 17:48:49 +02:00
Mikhail Redko c0a1bc8c8d * Core/Misc: Improvement item durability repair logic
* Move item repair cost calculation logic from Player::DurabilityRepair to Item::CalculateDurabilityRepairCost
* Make item repair cost calculation more congruent with client logic (std::round)
* Do not repair items if player does not have enough money to pay for the repair of all items at once
* Withdrawing money from guild bank only once to avoid spam in the guild bank log and reduce number of transactions in the database
2022-06-15 14:24:35 +02:00
Tonghost 9d7b0eb31f Core/Auth: Use QueryCallbackProcessor insted boost::optional. Fixes build for boost 1.55.0 2017-02-01 04:01:31 +01:00
Mikhail Redko c8cd578ddf Core/Misc: Move STOP_TIME_FOR_PLAYER value to config. (#17024) 2016-05-12 09:08:19 +02:00
Incorrect cc3ae640a4 Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
Closes #16416
2016-01-31 17:09:58 +02:00
Incorrect d98037a75d Core/Misc: Remove unneeded files
These 3 BlackRock Mountain scripts can be removed from source:

- boss_anubshiah.cpp
- boss_gorosh_the_dervish.cpp
- boss_grizzle.cpp

They already removed from the creatures in DB, and are currently causing
DBErrors.
2015-11-02 02:11:52 +02:00
Incorrect a120053de7 Core/Items: Fix a trading spoof exploit. 2015-10-17 14:37:02 +03:00
Incorrect e99e69d31f Core/Misc: Fix a typo 2015-09-30 07:34:13 +03:00
Incorrect 3748dddaa4 Core/Scripts: Remove duplicate code 2015-08-30 05:24:32 +03:00
Incorrect 071b2c68e8 Core/Misc: Add a few consts to methods 2015-08-12 22:49:21 +03:00