Commit Graph

797 Commits

Author SHA1 Message Date
Vincent-Michael 46374bf533 Core/Gossip: Add log for GOSSIP_OPTION_TRAINER for missing conditions 2013-06-12 00:09:10 +02:00
Malcrom 047608e7de Core/SAI: Add check so npc will not send text to pet. Also updated isPet() to IsPet(). 2013-06-11 18:39:51 -02:30
Shauren 9ec22fffa0 Core/Objects: Object scale will now also affect bounding radius and combat reach fields 2013-06-11 17:28:16 +02:00
Shauren ef15fe8ed2 Core/Instances: Fixed a bug that caused switching group leader inside active instance to cause players not being saved when a boss was killed.
Closes #5109
2013-06-11 15:50:08 +02:00
Vincent-Michael cd24f8521c Core/Gossip: Revert unlearn and dual spec gossip stuff in c238cae7d0 2013-06-08 20:51:39 +02:00
Shauren 5254e5ead1 Core/PacketIO: Send item create object blocks only to their owner 2013-06-07 17:50:39 +02:00
Shauren cbd69f12bd Core/Movement: Refactored removing transport part of movement info structure into a separate method. Also corrects seat set after exiting vehicle 2013-06-04 14:52:38 +02:00
Malcrom c238cae7d0 Core: Remove some no longer needed gossip code. 2013-06-03 22:33:26 -02:30
Shauren 99680242e8 Core/Players: Send only values update when turning gm mode on or accepting quests instead of recreating the object clientside 2013-05-28 15:19:37 +02:00
Shauren b8d75db4f1 Scripts/Halls of Reflection: Fixed gauntlet event 2013-05-24 20:06:58 +02:00
Machiavelli 94a13f6b50 Core/Player: Fix honor after duel exploit
Closes #9852
2013-05-24 13:55:04 +03:00
Shauren 7da33b6bce Core/Misc: Another batch of fixes for issues found by static analysis 2013-05-19 11:15:54 +02:00
Subv 25acef2572 * Batch of fixes for issues found by static analysis. 2013-05-17 21:11:18 -05:00
Shauren 7d46703413 Core/Misc: Another batch of fixes for issues found by static analysis 2013-05-17 21:30:02 +02:00
Spp d1677b2db0 Core/Logging: Performance-related tweaks to logging system
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
    Memleak fix
2013-05-13 15:07:36 +02:00
Shauren 77d4acc776 Core/Players: Fixed deleting characters unlinked from accounts
Closes #9764
2013-05-07 19:55:16 +02:00
Shauren 45bae8d4b7 Core/Players: Fixed tabard championing in normal modes of WotLK level 80 dungeons
Closes #9227
2013-05-04 20:50:14 +02:00
Shauren 2e1b1b8ceb Core/Players: Fixed deleting characters, remove CharacterNameData only after the character is deleted, not before 2013-04-29 15:29:51 +02:00
Aokromes c94d50236a Merge pull request #9733 from xjose93/ImproveLog10
Core/Logs: Add player guid into some logs
2013-04-29 01:22:17 -07:00
xjose93 fc02b7f8a0 Core/Logs: Add player guid into some logs. 2013-04-29 10:15:35 +02:00
xjose93 c0b7755384 Core/Logs: Add mapname at logging some info about loading bound instances 2013-04-29 09:20:26 +02:00
Ascathor 1c2d617c18 Core/Player: CharDelete.Heroic.MinLevel as seperated unlink requirement for Heroic classes
Also added documentation for GetCharacterNameData
2013-04-28 00:04:55 +02:00
xjose93 24fb735a0d Core/Player: Add playername at log when a player not found in characters database. 2013-04-26 14:38:27 +02:00
Gacko 34c73a5121 Core/Player: showQuests check in PrepareGossipMenu for GameObjects 2013-03-31 15:46:32 +02:00
Spp d03da1320a typo fix after 1a6a23e 2013-03-25 14:36:04 +01:00
Spp 1a6a23ec96 Core/Misc: Minor optimizations (+code changes to reduce differences with 4.3.4 branch)
Core/Logging: Create new logger type "Cheat". Will be used to log all cheat attempts
2013-03-25 13:26:48 +01:00
Shauren d05aac03ae Core/Players: Cleanup code in SendPreparedQuest (checks doing nothing...) 2013-03-21 21:01:52 +01:00
Spp 69e81d46b1 Core/Misc: Define multiple functions const (+ code cleanup here and there) 2013-03-20 14:20:17 +01:00
Shauren 2c169bcca5 Core/Vehicles
* Fixed crash happening when passenger died on vehicle he was controlling
* Fixed crash happening if vehicle control aura was removed before passenger is fully added to vehicle

Closes #7160
2013-03-13 11:34:58 +01:00
Shauren b3b66a8d02 Core/Vehicles: Fixed a possible crash if vehicle is deleted before its passenger runs Abort on pending join event
Closes #9392
2013-03-09 23:42:54 +01:00
SgT-Fatality 8e8617cfe6 Scripts/Commands: Fix .mod rep faction not updating client side reputation
Closes #7939
Closes #9354
2013-03-09 15:58:25 +00:00
Nefarion 49fd11ab5a First step of comment style refactoring to doxygen-style. 2013-03-08 21:55:37 +01:00
Spp 377cfdb560 Core/RBAC: Fix multiple permissions and remove multiple config options that are currently implementes by RBAC
- Remove config options: CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT, CONFIG_ALLOW_TWO_SIDE_INTERACTION_MAIL, CONFIG_GM_LOG_TRADE, CONFIG_ALLOW_TWO_SIDE_ACCOUNTS, CONFIG_ALLOW_TWO_SIDE_WHO_LIST, CONFIG_ALLOW_GM_FRIEND, CONFIG_ALLOW_TWO_SIDE_ADD_FRIEND, CONFIG_SILENTLY_GM_JOIN_TO_CHANNEL
- Fix RBAC_PERM_SKIP_CHECK_CHAT_SPAM (Was checking spam for those that had the permission)
- Only check RBAC_PERM_TWO_SIDE_INTERACTION_CHAT for sender of whispers (Restores GM being able to whisper players)
- Only check RBAC_PERM_TWO_SIDE_INTERACTION_MAIL for sender
- Fix .ticket assign <Player>, with last RBAC change it was changed by mistake from Player to Account
2013-03-08 13:15:25 +01:00
Shauren 856551c981 Core/Players: Corrected online flag set in database when logging out, spotted by e000
Closes #9310
2013-03-05 22:36:58 +01:00
Vincent_Michael 5d4e657e91 Core: Whitespace cleanup 2013-03-04 19:14:58 +01:00
QAston 344eb8e31c Merge remote-tracking branch 'origin/refactoring' 2013-03-04 15:58:33 +01:00
QAston 4eec72c986 Core/Entities: Move complex function implementations from Player.h to Player.cpp 2013-03-04 15:56:00 +01:00
Shauren f698753a57 Added missed change to previous commit 2013-03-04 14:28:57 +01:00
Shauren 4a6f5d2b54 Core/Spells: Defined & implemented SPELL_ATTR6_IGNORE_CATEGORY_COOLDOWN_MODS 2013-02-28 20:46:50 +01:00
Shauren af4ac778d7 Core/Quests: Implemented quest flag forcing the player to be flagged for PvP as long as the quest is in his log. 2013-02-26 17:14:13 +01:00
Shauren e3e5d14d52 Core/Quests: Updated quest flags and implemented QUEST_FLAGS_NO_MONEY_FROM_XP - experience reward from quests using this flag is not converted into money at max level. 2013-02-26 16:57:11 +01:00
Spp 019770dddb Core/RBAC: Create new permissions related to character creation
- 'Skips character creation team mask check'
- 'Skips character creation class mask check'
- 'Skips character creation race mask check'
- 'Skips character creation reserved name check'
- 'Skips character creation heroic min level check'
- 'Creation of two side faction characters in same account' (Affected by global config option)
2013-02-25 15:48:19 +01:00
Spp 18562a43ba Core/RBAC: Create new permissions 'Skips needed requirements to use channel check', 'Filter whispers', 'Allow say chat between factions'. Last one needs config option to be enabled and both sender and receiver to have the permission 2013-02-25 15:48:18 +01:00
Spp 9bd697066b Core/RBAC: Add new permissions 'Skip disable map check', 'Skip reset talents when used more than allowed check', 'Skip spam chat check', 'Restore saved gm setting states', 'Use Config option START_GM_LEVEL to assign new character level' 2013-02-25 15:48:18 +01:00
Roc13x 0267b53813 Core/Items: Fix logic in Player::AddItem
Should send client the amount it gave you, not the amount it couldn't
give you
2013-02-15 12:29:34 +00:00
Shauren d232977ec4 Core/Maps: Prevent creating maps without a valid Map.dbc entry
Closes #9181
2013-02-14 16:54:31 +01:00
Shauren 97e876209e Core/Players: Fixed crash when mute expired while player was ingame 2013-02-08 18:18:26 +01:00
Nay 0b3170c228 Core/Player: Fix a query that was wrongly deleting items
CHAR_DEL_ITEM_INSTANCE deletes by item guid but in Player::DeleteFromDB the guid being used was player's guid.
That means that if player with guid 100 was deleted, the item with guid 100 would also be deleted. This item could or could not belong to the player.

Closes #8883
Closes #9136

Thanks to @vlad852 for finding the issue
2013-02-06 13:17:21 +00:00
Spp dd0658e675 Warning fix 2013-02-05 11:12:00 +01:00
Spp 61979f8591 Scripts/Player: Add OnMapChanged to PlayerScripts (after map changed)
Core/Dungeon Finder: Use OnMapChanged script to cast/remove Luck of the draw
- Also move code to force party update to LfgPlayerScript
- Remove some obsolete Lfg code after recent commits
2013-02-04 16:52:43 +01:00