jackpoz
b33695a2ef
Core/Worldserver: Fix worldserver stuck on "Halting process" on shutdown
...
Partially revert 4fe45b8c63 to fix worldserver stuck on "Halting process" on shutdown.
Fixes #13201
2014-10-03 21:21:17 +02:00
Vincent-Michael
1d92315492
Core/SAI: CleanUp in 98257b9472 / 2838a62264
2014-10-03 20:06:22 +02:00
Duarte Duarte
64e4b507fa
Merge pull request #13259 from sonic3000/master
...
Core/Scripts: Fix for issue #882
2014-10-03 16:47:53 +01: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
758b8ee164
Core/Brewfest: Fix typo in b74ef3f3ca (thx to Gooyeth)
2014-10-03 16:03:13 +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
Shauren
04b6f9111a
Fixed ==25829== Thread #1 : pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
...
==25829== at 0x4C2A1D5: pthread_cond_broadcast_WRK (hg_intercepts.c:891)
==25829== by 0x654A758: std::condition_variable::notify_all() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==25829== by 0x132305A: ProducerConsumerQueue<SQLOperation*>::Cancel() (ProducerConsumerQueue.h:100)
==25829== by 0x13229A7: DatabaseWorkerPool<WorldDatabaseConnection>::~DatabaseWorkerPool() (DatabaseWorkerPool.h:70)
==25829== by 0x6C6CB21: __run_exit_handlers (exit.c:78)
==25829== by 0x6C6CB74: exit (exit.c:100)
==25829== by 0x6C54EF3: (below main) (libc-start.c:276)
2014-10-02 20:09:08 +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
Vincent-Michael
b74ef3f3ca
Core/Brewfest: Added texts for quest "Bark for the Thunderbrews!" / "Bark for the Barleybrews!"
2014-09-30 22:30:27 +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
jackpoz
02d497165a
WorldServer/Misc: Log possible errors on shutdown
...
Log possible error on shutdown happening when trying to cancel any I/O sync operation in CliThread, refers to #13201
2014-09-28 13:49:44 +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
sonic3000
e57fbbd308
Core/Scripts: Fix for issue https://github.com/TrinityCore/TrinityCore/issues/882#issuecomment-57065326
2014-09-28 00:13:10 +02:00
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
42177d9f2c
Fixed GCC build
2014-09-27 10:56:22 +02:00
Vincent-Michael
09f682b11e
Core/Spells: Fix typo
2014-09-27 06:03:57 +02:00
Vincent-Michael
a6a23a73af
Misc/Brewfest: Fix Quest "11407 - Bark for Drohn''s Distillery!" / "11408 -Bark for T''chali''s Voodoo Brewery!"
2014-09-27 01:19:20 +02:00
jackpoz
0af6d3a16d
Core/Misc: Refactor scripts to fix static analysis warnings
...
Last issue to be fixed, fixes #12960
2014-09-26 22:58:15 +02: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
Shauren
07f47a4b91
Scripts: Fixed compiler warning
2014-09-26 20:48:10 +02:00
Shauren
71644043d2
Core/Debugging: Extended ASSERT macro to allow passing additional formatted string
2014-09-26 20:47:48 +02:00
MitchesD
7b72342658
Scripts/ManaTombs: Nexus-Prince Shaffar rewritten to BossAI/EventMap
2014-09-26 18:43:01 +02:00
Nyeriah
ace897e27b
Scripts/UtigardePinnacle: Prevent Ymiron from triggering a phase transition at death
...
...caused by the health percent multiplers used to check transitions
2014-09-26 03:10:48 -03: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
jackpoz
16a884d999
Core/Misc: Refactor scripts to fix static analysis warnings
...
Eighth batch of fixes targeting 80 issues reported by Coverity
2014-09-25 21:19:34 +02:00
Shauren
ea4dd2c8f4
Scripts/Icecrown Citadel
...
* Fixed Deathbringer Saurfang faction
* Fixed Coldflame faction
2014-09-25 21:15:20 +02:00
Malcrom
84fdc55db8
Scripting/Isle of Queldanas: Moved Converted Sentry to SAI.
...
Closes #13121
2014-09-25 12:10:19 -02:30
mik1893
c9abaf4139
Core/Achievements: Fixed wrong packet generation in AchievementMgr::SendCriteriaUpdate
2014-09-25 14:06:35 +02:00
Vincent-Michael
c3805aa512
Misc/Events:
...
- Fix Quest "There and Back Again" (only Horde-side)
- Fix Quest "Now This is Ram Racing... Almost." (only Horde-side)
- Fix more spell mechanics for racing ram
To/Do: Fix gossips and some optimize
2014-09-24 22:21:44 +02:00
Vincent-Michael
4c25454b77
Core/Spells: Added missing stuff in 44bcfb86f5
2014-09-23 21:50:45 +02:00
Vincent-Michael
44bcfb86f5
Core/Spells: Fix Ram Racing mechanic
...
To/Do: Fix Quests and your lazy ass :/
2014-09-23 21:30:47 +02:00
iDenyDeX
9c9556d75c
Core/Spell - Fix Remove Aura "The Eye of Acherus"
...
Fixed remove aura "The Eye of Acherus" http://www.wowhead.com/spell=51852 after use "Recall Eye of Acherus" http://www.wowhead.com/spell=52694 .
Earlier, after using the player remained under the aura.
2014-09-22 21:01:26 +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