Commit Graph

6840 Commits

Author SHA1 Message Date
Intra
06afdeffcb Adjust random movement wait time and implement variable wait times 2014-10-11 14:20:24 +02:00
Shauren
67f9d916cb Build: Fixed game & collision depending on each other for linking 2014-10-09 23:01:31 +02:00
Vincent-Michael
ba676f8c3e Core/Spells: Added new error log for spell linked 2014-10-09 18:54:46 +02:00
yesitsme
de7b503cc4 Core/SmartScripts: Fix multiple target_types
Checking the worldobjects GUID against the iterators GUID instead of pointer to worldobject against pointer to iterator, as 2 different pointers may point to the same object.
Closes #12670
2014-10-09 00:04:04 +02:00
Shauren
2e455eee86 Core/Entities: Removed the possibility to teleport non-player objects to different maps 2014-10-08 20:24:55 +02:00
Shauren
b781a4dc33 Core/Logging: Replaced direct calls to GetCounter() in logs with ToString() 2014-10-08 17:59:27 +02:00
Vincent-Michael
ec784be893 Core/SAI: Ingore text valid errors for SMART_TARGET_CREATURE_DISTANCE / SMART_TARGET_CREATURE_RANGE / SMART_TARGET_CLOSEST_CREATURE 2014-10-07 22:56:50 +02:00
jackpoz
db88bf02b5 Core/LFG: Fix Leader flag being ignored
Fix bug added in 5ca00bc14d that removed Leader flag of LFG without ever adding it back, giving leadership to players who didn't want it.
2014-10-07 22:15:01 +02:00
Vincent-Michael
def151bb18 Core/SAI: Fix text over errors 2014-10-07 21:49:50 +02:00
jackpoz
6501da3c94 Core/Instances: Add assert to track down a crash
Instance reset times are supposed to be initialized on server startup and then only updated when they expire.
Refers to #11904
2014-10-05 14:11:31 +02:00
Vincent-Michael
a3192b1ae3 Core: Fix warning 2014-10-05 03:50:45 +02:00
Vincent-Michael
adefe39bf6 DB/Brewfest: Added missing brewfest spawn in shatttath 2014-10-05 03:21:26 +02:00
Vincent-Michael
f989c7182c Core/Misc: Added support for calculate zoneId/areaId for creature / gameoject table at loading (Slow server startup ca.3-4 sec.) 2014-10-05 01:57:37 +02:00
Vincent-Michael
8a4abdaa67 Core: Remove Whitespaces 2014-10-04 22:04:36 +02:00
Vincent-Michael
ef92d31c49 Revert "Core/SAI: Added new error for is using other script as sai"
This reverts commit d08862a792.
2014-10-04 20:24:58 +02:00
Vincent-Michael
d08862a792 Core/SAI: Added new error for is using other script as sai 2014-10-04 20:18:02 +02:00
Vincent-Michael
3d0c5cbf9a Core/SAI: Fix typo 2014-10-04 19:45:33 +02:00
Vincent-Michael
a21149e1b7 Core/SAI: Added new error log is not using SmartAI / SmartGameObjectAI in db 2014-10-04 16:19:52 +02:00
Vincent-Michael
1d92315492 Core/SAI: CleanUp in 98257b9472 / 2838a62264 2014-10-03 20:06:22 +02:00
Vincent-Michael
98257b9472 Core/Sai: Added SMART_ACTION_TALK error log also for -guid creature 2014-10-03 16:20:12 +02:00
Vincent-Michael
6ef51481eb Core: Fix crash 2014-10-03 16:07:11 +02:00
Vincent-Michael
2838a62264 Core/Sai: Added new error log for action SMART_ACTION_TALK 2014-10-03 16:02:11 +02:00
Vincent-Michael
cb2862671b Core/SmartScript: Fix warnings 2014-10-02 23:03:48 +02:00
jackpoz
d828d16e9e Core/AHBot: Fix reference_loot_template being excluded from ahbot items
Fixes #13265
2014-10-02 22:29:45 +02:00
Vincent-Michael
d10dc5ac35 Core/Sai: Added better version for 4060fb1b59 2014-10-02 22:24:59 +02:00
Vincent-Michael
921457ae7b Core/Sai: Added missing changes in 4060fb1b59 2014-10-02 21:13:16 +02:00
Vincent-Michael
4060fb1b59 Core/Sai: Added ugly code for new sai error log :( 2014-10-02 21:11:50 +02:00
Vincent-Michael
6a47175523 Core/Spells: Added hack for "Bark for the Barleybrews!" quest credit (for alliance-side) (meh, blizzard :/) 2014-10-02 05:49:32 +02:00
jackpoz
fb6e635c80 Core/AH: Don't send expired auctions to clients
Fixes #12964
2014-10-01 21:35:31 +02:00
Vincent-Michael
6357560186 Core/Spells: Added hack for "There and Back Again" quest credit (for alliance-side) (meh, blizzard :/) 2014-10-01 20:53:16 +02:00
jackpoz
5150222f19 Revert "Core/AuctionHouse: Delete expired auctions at startup."
This reverts commit a92038feaf which caused items of expired auctions not being mailed back to the owner and leaving those items in item_instance table.

Please refer to the forum for steps to verify the integrity of your database and remove old unneeded rows in item_instance table.

Fixes #12699
2014-09-30 21:25:58 +02:00
jackpoz
6daba66baf Core/LootMgr: Fix GCC warning 2014-09-30 20:58:50 +02:00
jackpoz
7e2ef67936 Core/LootMgr: Fix wrong bit fields padding 2014-09-30 20:38:43 +02:00
Vincent-Michael
88ea67add0 Core/SAI: Addet new error log for SMART_ACTION_CAST kill credit invalid target 2014-09-30 18:56:12 +02:00
jackpoz
4ed3254aa8 Core/Scripts: Fix invalid memory write
Fix invalid memory write caused by calling "delete this;" in a base class constructor.
2014-09-29 20:12:03 +02:00
joschiwald
c34af1d60b Core/Scripts: fixed memory leak caused by unassigned scripts in db 2014-09-29 19:03:04 +02:00
jackpoz
c23c66f719 Core/AH: Fix Auction House items not deleted from database
Fix some cases where Auction House items were not deleted from item_instance table of character database, for example if the owner didn't exist anymore or if the owner was the AHBot.

Updates #12699
Updates #13232
2014-09-28 21:13:19 +02:00
Shauren
0781d29657 Core/GameObjects: Fixed uninitialized elevator period value 2014-09-28 21:04:18 +02:00
Malcrom
ad336996ee Core/LootMgr: Forgot to change this. Found by Vincent Micheal 2014-09-27 23:17:29 -02:30
Malcrom
55b43c6751 Core/LootMgr: Update lootMgr to normalize loot_template tables 2014-09-27 22:40:58 -02:30
Duarte Duarte
1854eafcb6 Merge pull request #13140 from Unholychick/preventfleeing
Core/Mechanics: Fix prevent fleeing + fear
2014-09-27 21:40:41 +01:00
Shauren
605d51533c Core/Spells: Always add threat for spells from spell_threat table, not only if target was hit. Unsuccessful cast results in 0 threat added instead of the full amount and creating threat list entry for caster. This fixes various exploits with taunt spells bugging out scripts due to taunt immunity/passive state (creatures would immediately evade resetting script state if no entries were present on threat list - entry with no threat is not the same as no entry)
Closes #11883
2014-09-26 22:26:51 +02:00
jackpoz
79b9ca4a58 Scripts/Misc: Make InstanceScript::Initialize() obsolete
Move all InstanceScript initialization code from Initialize() to the constructor.
InstanceScript::Initialize() is now obsolete, please don't use it anymore. The only reason it's still in the sources is for backward compatibility.
2014-09-25 22:28:20 +02:00
mik1893
c9abaf4139 Core/Achievements: Fixed wrong packet generation in AchievementMgr::SendCriteriaUpdate 2014-09-25 14:06:35 +02:00
jackpoz
e77f503336 Scripts/Examples: Remove some more code related to example scripts 2014-09-22 20:25:11 +02:00
Morgoporc
ec59c3ab03 Core/Players/DK: Implement Rune Grace Period mechanic
Closes #11736
Fixes #6122
2014-09-22 01:05:13 +01:00
jackpoz
84efd8b92b Scripts/Examples: Remove outdated example scripts
Remove outdated misleading example scripts not following anymore current TC codestyle and standards. Please refer to the wiki or forum for up to date examples and documentation.
2014-09-21 22:42:50 +02:00
jackpoz
6e27841382 Core/Misc: Refactor scripts to fix static analysis warnings
Seventh batch of fixes targeting 100 issues reported by Coverity
2014-09-21 22:15:04 +02:00
Vincent-Michael
1d8feb271c Core:/SmartScript: Added log for item has credit spell blabla 2014-09-21 17:45:57 +02:00
Warpten
e70ce42416 Merge pull request #13180 from ShinDarth/335_fix
Core/ObjectMgr: corrected error labels
2014-09-21 15:24:51 +02:00