Commit Graph

17329 Commits

Author SHA1 Message Date
MitchesD
a96ff6043d Merge pull request #13321 from Kittnz/unit_state
Core/Misc: Fix current player state when logging out
2014-10-12 21:36:46 +02:00
jackpoz
bb046ce4ed Core/Maps: Apply const-correctness to GridMap::loadData() 2014-10-12 20:01:27 +02:00
Kittnz
68293aa9b2 Core/Misc: Fix current player state when logging out
Sit should only be apply'd when player is standing.
For example when sitting on a chair when logging out, player should stay on the chair until fully logged out and not sit on the floor.
2014-10-12 19:23:40 +02:00
DDuarte
103fd9cb63 Scripts/GO: Remove go_field_repair_bot_74A
Replaced by SAI in c05a4189e2
2014-10-11 20:40:48 +01:00
Duarte Duarte
611f7749a2 Merge pull request #13307 from beach-creature/master
Adjust random movement wait time and implement variable wait times
2014-10-11 18:58:17 +01:00
Vincent-Michael
1e181d7021 Core:/SAI: Added better error log output in 0a897616da 2014-10-11 18:56:58 +02:00
joschiwald
90a2acfbdf Core/SAI: changed multiple validation checks 2014-10-11 18:52:01 +02:00
Intra
06afdeffcb Adjust random movement wait time and implement variable wait times 2014-10-11 14:20:24 +02:00
Vincent-Michael
0a897616da Core/SAI: Added new error for wrong target orientation value 2014-10-11 05:33:34 +02:00
Vincent-Michael
889e82ebe4 Core: Fix non pch build 2014-10-10 19:31:17 +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
MitchesD
9e7a9ff6e1 Scripts/Dalaran: remove unneeded script 2014-10-09 16:42:08 +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
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