Commit Graph

17313 Commits

Author SHA1 Message Date
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
Aokromes
986c1e7d2a Update worldserver.conf.dist
stupid mistake....
2014-10-05 20:37:45 +02:00
Aokromes
1b2b327897 Misc: Update some conf values/texts 2014-10-05 20:18:26 +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
MitchesD
3c103f718d Scripts/Misc: fixed GameObjects chests in CoS and HoR
Fixes https://github.com/TrinityCore/TrinityCore/issues/13246
2014-10-04 16:48:15 +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
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