aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-14Merge pull request #14368 from DJScias/opcodesDuarte Duarte
Core/Packets: updated and enabled CMSG_QUESTGIVER_ACCEPT_QUEST
2015-03-14Merge pull request #14352 from Luzifix/opcode-2Duarte Duarte
Core/PacketIO: updated and enabled CMSG_SET_TITLE
2015-03-14Core/Packets: updated and enabled CMSG_QUESTGIVER_ACCEPT_QUESTDJScias
2015-03-14Core/Player: Updated sending completed quests data to clientShauren
2015-03-14Core/PacketIO: updated and enabled CMSG_SET_TITLELuzifix
Thx @DJScias for help
2015-03-14Core/PacketIO: Enable some opcodesVincent-Michael
2015-03-15Core/PacketIO: Sync with wppVincent-Michael
2015-03-13Core/Emote: Fix an issue with EMOTE_STATE_READ, which persisted after ↵Carbenium
closing the map
2015-03-13Core/SupportMgr: Fix static analysis issueVincent-Michael
2015-03-13Core/PacketIO: updated and enabled CMSG_CANCEL_CASTMitchesD
2015-03-12Core/Loot: Update and enable SMSG_LOOT_RESPONSEEpicurus4
Also correct SMSG_NOTIFICATION initializaiton.
2015-03-13Merge pull request #14344 from DJScias/opcodes2Carbenium
Core/Packets: Update & enable more opcodes (names inside)
2015-03-13Core/Packets: updated and enabled SMSG_CANCEL_AUTO_REPEAT, ↵DJScias
SMSG_CANCEL_ORPHAN_SPELL_VISUAL, SMSG_CANCEL_SPELL_VISUAL, SMSG_COIN_REMOVED Documentation used: - Updated and enabled the before-mentioned opcodes. - "SMSG_CANCEL_AUTO_REPEAT" also switched from PackedGuid to ObjectGuid as per @DDuarte's suggestion. - Changed initial size of "SMSG_SELL_RESPONSE" packet and default initialized SellResult Reason. Thanks @Lordron. Cleaning up latest commit.
2015-03-12Merge pull request #14342 from DJScias/opcodes_emotesDuarte Duarte
Core/Packets: update & enable CMSG_RANDOM_ROLL, SMSG_RANDOM_ROLL, CMSG_E...
2015-03-12Merge pull request #14333 from Naios/static1Duarte Duarte
Core/Log: Fix some issues detected by static analysis.
2015-03-12Revert "Core/SupportMgr: Fix static analysis issue"jackpoz
This reverts commit 04020e717c1303bb9b175bad63d4ce155c810e88. Initializing a std::string with nullptr is not allowed by C++11 standard and trigger runtime exceptions.
2015-03-12Core/Packets: update & enable CMSG_RANDOM_ROLL, SMSG_RANDOM_ROLL, ↵DJScias
CMSG_EMOTE, CMSG_TEXT_EMOTE and SMSG_TEXT_EMOTE Documentation used: - Enabled CMSG_TEXT_EMOTE and SMSG_TEXT_EMOTE to 6.1 - Changed CMSG_EMOTE from "0x0B2B" to "0x0B2C". It sends an empty packet but it's meant to stop the current emote as per @Zedron's sniffs. - Updated structure and enabled CMSG_RANDOM_ROLL and SMSG_RANDOM_ROLL. Thanks @rocverde for providing sniffs. Cleaning up last commit
2015-03-12Core/Formatting: White space clean-up.Epicurus4
2015-03-12Core/Loot: Enable setting AcquireReason, correct LootMethod definition, fix ↵Epicurus4
structure to match sniffs of retail and correct threashold and reason definitions.
2015-03-11Merge pull request #14343 from DJScias/opcodes1Carbenium
Core/Packets: updated and enabled SMSG_SELL_RESPONSE
2015-03-11Revert "Core/Server: Catch exceptions in int main()"jackpoz
This reverts commit e68ca82d4d039a401d03de145111b0a738bb9dd7. Closes #14329
2015-03-11Core/Packets: updated and enabled SMSG_SELL_RESPONSEDJScias
A typo that slipped in, damnit
2015-03-11Merge pull request #14334 from Naios/static2Carbenium
Core/Game: & Core/Scripts: Fix some issues detected by static analysis.
2015-03-11Core/PacketIO: updated and enabled SMSG_PLAY_MUSICMitchesD
2015-03-12Core: Fix buildVincent-Michael
2015-03-11Core/PacketIO: updated SMSG_ENVIRONMENTALDAMAGELOG and enabled some opcodesMitchesD
2015-03-11Scripts/Spells: Fix some issues detected by static analysis.Naios
* Prefer prefix ++/-- operators for non-primitive types. * Variable 'ownerBonus' is reassigned a value before the old one has been used. * Fix a wrong type of ownerBonus, sometimes it is float sometimes uint32
2015-03-11Core/Game: Fix some issues detected by static analysis.Naios
* Possible inefficient checking for 'list' emptiness. * Variable '_scheduledScripts' is assigned in constructor body. Consider performing initialization in initialization list. * Variable 'Text' is assigned in constructor body. Consider performing initialization in initialization list. * Possible inefficient checking for 'm_loadedScripts' emptiness.
2015-03-11Core/Packets: Fix packet structure for RideTicketCarbenium
2015-03-11Core/Log: Fix some issues detected by static analysis.Naios
* Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos. * C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast.
2015-03-10Core/PacketIO: Update a few opcode enums to better match TrinityCore naming ↵Epicurus4
conventions.
2015-03-10Merge pull request #14169 from Carbenium/ticket-1Carbenium
Core/Support: Update the support/ticket system to 6.x
2015-03-10Core/Support: Update the support/ticket system to 6.xCarbenium
Core/Mail: fix a logic error introduced in 829e11b6623f967672143d79cd8d31772f54866d
2015-03-10Core/Players: Set holy power decay timer to 20 seconds after leaving combat ↵Shauren
(also added OnCombatExit hook for stuff like this)
2015-03-10Merge pull request #14327 from DJScias/opcode_emoteclientMitchesD
Core/Packets: update & enabled CMSG_EMOTE
2015-03-10Core/Packets: update & enabled CMSG_EMOTEDJScias
Documentation Used: - Thank you @MitchesD for providing some extra information, much appreciated. Core/Packets: Fix CMSG_EMOTE opcode handler Documentation used: - Thanks thumsoul from TC IRC for providing extra information.
2015-03-10Core/PacketIO: updated SMSG_CLEAR_TARGET and enabled some opcodesMitchesD
2015-03-10Core/Enum: Fix typoEpicurus4
2015-03-10Merge pull request #14323 from Carbenium/opcodes-1Carbenium
Core/PacketIO: Sync with WPP
2015-03-10Core/PacketIO: Sync with WPPCarbenium
2015-03-09Merge pull request #14320 from DJScias/opcodesDuarte Duarte
Core/PacketIO: enable CMSG_DESTROY_ITEM, CMSG_INSPECT, SMSG_INSPECT_RESU...
2015-03-10Core/PacketIO: enable CMSG_DESTROY_ITEM, CMSG_INSPECT, SMSG_INSPECT_RESULTDJScias
Documentation used: - Thanks @rocverde for providing sniffs through TC IRC. - Each opcode checked and works positively, feel free to apply and check yourself.
2015-03-09Merge pull request #14319 from DJScias/opcodes2Duarte Duarte
Core/Packets: update & enabled CMSG_SHOWING_CLOAK, CMSG_SHOWING_HELM
2015-03-09Core/Packets: update & enabled CMSG_SHOWING_CLOAK, CMSG_SHOWING_HELMDJScias
Documentation Used: - Thanks @rocverde for providing sniffs through TC IRC. - Thank you very much @MitchesD, @DDuarte, @Carbenium and @Vincent-Michael (+ Trinity as a whole) for the help with my very first opcode structure update.
2015-03-09Core/PacketIO: sync with WPPMitchesD
2015-03-09Fix non pch buildGacko
2015-03-09CMake: Remove unused source referenceleak
2015-03-09Core/Logging: Fixed ObjectGuid::ToString to output full guidShauren
2015-03-09Core/Spells: Fixed level value scaling for spells with scaling class < -1Shauren
Closes #14133
2015-03-08Core/Misc: Cleaned up data truncation warningsShauren