Commit Graph

23338 Commits

Author SHA1 Message Date
Naios
c9b0c8a0ca Core/World: Remove va_list from World::RecordTimeDiff.
* also split it in ResetTimeDiffRecord() and RecordTimeDiff() to avoid passing of null values.
2015-04-02 21:07:46 +02:00
Naios
df4723af25 Core/Database: Remove va_args from DatabaseWorker::Execute methods.
* Also delegate SQLQueryHolder::SetPQuery into SetQuery.
2015-04-02 21:07:44 +02:00
Naios
589296da90 Dep/CppFormat: Update cppformat to cppformat/cppformat@aab64b55a4
* fixes argument limit, argument count is unlimited now.
2015-04-02 21:07:42 +02:00
MitchesD
8d58bb93c9 Core/SAI: fix merge conflict
it's good to use CTRL + S
2015-04-02 18:34:31 +02:00
MitchesD
1de02764c7 Core/SmartScripts: added SMART_ACTION_SET_COUNTER and SMART_EVENT_COUNTER_SET
as per request of DB developers

(cherry picked from commit 23b1c042ad)

Conflicts:
	src/server/game/AI/SmartScripts/SmartScript.h
2015-04-02 18:30:27 +02:00
click
d8ef63040a Core/Packet: Correction to packetsize for SMSG_WEATHER 2015-04-02 02:46:25 +02:00
Kittnz
5f803991b7 DB/Waypoint: Add missing paths for Silvermoon Guardians
Closes #14484
2015-04-01 18:45:23 +02:00
Aokromes
8a54cc043b DB/Quest: Thirst Unending as DK
By Killyana, closes #10389
2015-04-01 05:30:08 +02:00
Aokromes
8bbe0114dd Rename sql/updates/2015_03_30_03_world.sql to sql/updates/world/2015_03_30_03_world.sql 2015-03-31 10:54:23 +02:00
Dr-J
8fd21c402f DB/Quest: Unsealed Chest
By @Foldor

Closes #14416
2015-03-31 00:32:53 +01:00
Dr-J
540578b8d2 DB/Misc: Winter Jormungar / snow mound
by @Killyana

closes #14428
2015-03-30 23:13:52 +01:00
Dr-J
3e2c1b0c00 DB/Creature: Sinestra
By @Killyana 

Closes #14467
2015-03-30 23:10:34 +01:00
Dr-J
16179f8cf9 DB/Quest: Lord Illidan Stormrage
By @Killyana

Closes #467
2015-03-30 22:40:48 +01:00
leak
7010671931 Core/Misc: Remove unused headers 2015-03-30 17:16:50 +02:00
click
50bbfeebb9 Core/Entities: Add player name and ID to GetXPrestBonus calculation-log 2015-03-30 02:06:07 +02:00
jackpoz
de1cbf716d Core/Dungeon Finder: Allow to execute "lfg" commands from console 2015-03-29 20:50:17 +02:00
Gacko
1995dcab76 Fix non-pch build. 2015-03-29 20:11:14 +02:00
click
e040c56d45 Core/Logger: Add basic account-info to addon-scans to make them a little bit more useful (@Aokromes, you can stop asking for this now...) 2015-03-29 19:19:45 +02:00
jackpoz
be9294dc09 Core/Dungeon Finder: Restore ".lfg queue debug" logging additional information
Restore ".lfg queue" behavior to print additional debug informations when an additional argument is passed (any character/word will work).
2015-03-29 18:11:26 +02:00
Naios
c386711972 CMake: Use source_groups to represent the source tree
* It let ide's (like vs) display the source tree.
* Disabled by default.
* Soft requirement is cmake >= 2.8.12 .
* Offers 2 modes: flat & hierarchical.
* For detailed description see #14471
* Thanks @click for help and advises.
* Closes #14471
2015-03-29 16:08:28 +02:00
Naios
c61fac843b Core/Database: Return an unknown error code instead of false (0) if mysql_init failed.
* Thanks @et65 for noticing.
* ref #14139

(cherry picked from commit 83bbe00785)
2015-03-29 15:04:51 +02:00
Naios
6486827204 Core/Database: Fix a mistake in 54ee526724
* Also use proper errno instead of 0 when reconnecting.
* Thanks @et65 for reporting
* ref #14139

(cherry picked from commit 47410157b1)
2015-03-29 14:28:18 +02:00
Naios
832234c47b Core/Log: Improve creation of log prefixes.
* this also fixes non whitespace seperated timestamps in logs after 95ebe4f31c @Aokromes
* remove an unnecessary stringstream in Log::outCommand
* delete copy constructor of LogMessage to prevent unwanted copies

(cherry picked from commit a2e280c8a8)
2015-03-28 17:29:56 +01:00
Naios
71c0d4f792 Core/Log: Fix linker errors that occur on msvc 12 lower then update 4
* http://stackoverflow.com/questions/4891067/weird-undefined-symbols-of-static-constants-inside-a-struct-class
* http://www-01.ibm.com/support/knowledgecenter/SSGH3R_8.0.0/com.ibm.xlcpp8a.doc/language/ref/cplr038.htm%23cplr038
* closes #14463
* ref #14317

(cherry picked from commit 9b0b1185e4)

Conflicts:
	src/server/game/Server/WorldSocketMgr.cpp
2015-03-28 17:29:43 +01:00
Naios
11e1f4af60 Core/Database Improve commit 39bdd06446
* found a better way where no cast is needed.
* ref #14430

(cherry picked from commit 54ee526724)
2015-03-28 17:25:16 +01:00
Aokromes
90b1e7d621 DB/Creature: Fixing a minor error on Elrodan and Aurosalia event
By Killyana, closes #14465
2015-03-28 12:41:44 +01:00
Aokromes
46f0d4c5a5 DB/Misc: Fix startup errors
By Killyana, updates #13707
2015-03-28 09:19:23 +01:00
click
058457dda9 Core/Script: Fix non-PCH build 2015-03-27 21:38:23 +01:00
Naios
62a5ee8e2c Core/Database: Prepare statements at reconnect.
* Closes #14430

(cherry picked from commit 39bdd06446)
2015-03-27 15:38:58 +01:00
Dr-J
aa255a6cb1 DB/Misc: Slight update to commit
This does not make any difference but fixes a error with a bad delete statement when trying to re-apply.
2015-03-26 21:58:21 +00:00
Dr-J
95f3717151 DB/Misc: Quest end scripts
Script quest complete scripts for: -

* Kael'thas and the Verdant Sphere
* The Fall of Magtheridon (Horde and Alliance)
2015-03-26 20:55:51 +00:00
MitchesD
25b25b5da4 Rename 2015_02_15_14149.sql to 2015_03_26_01_world.sql 2015-03-26 15:09:54 +01:00
MitchesD
eced90d4f8 Merge pull request #14149 from Rushor/Ending
Scripts/Bloodmyst Isle: Script Quest: Ending Their World
2015-03-26 15:08:23 +01:00
Aokromes
7a17907450 DB/Instance: Waypoints and corrections in Uldaman
By Kittnz, closes #14447
2015-03-26 02:17:25 +01:00
Rushor
f38cad4957 DB/Creature: Spawn some 'Shakers' (3.3.5)
* by @Aokromes
2015-03-26 00:35:29 +01:00
Dr-J
ca73634e44 DB/Quest: The Secret Compromised
Script turn in event
2015-03-25 20:00:09 +00:00
joschiwald
6777addbee Scripts/Spells: implement some eject passenger spells
(cherry picked from commit 766eb599ea)
2015-03-25 17:52:48 +01:00
cr4st
81dcfa4077 Core/Creature: fixed trigger visibility of vehicles
(cherry picked from commit 5cee106524)
2015-03-25 17:52:10 +01:00
MitchesD
bfaaee1843 Rename 2015_02_06_14_world.sql to 2015_03_25_01_world.sql 2015-03-25 16:29:38 +01:00
MitchesD
0659f5d823 Merge pull request #14048 from Rushor/Worgen
Scripts/Grizzlyhills: Spell: Infected Worgen Bite - Apply Spellscript and Transformation
2015-03-25 16:27:04 +01:00
Aokromes
5d21f486ab Update 2015_03_25_00_world.sql 2015-03-25 10:58:39 +01:00
Aokromes
9a2e9ecccc DB/Misc: Fix startup errors 2015-03-25 09:57:50 +01:00
Aokromes
0e828909d1 DB/Creature: Make Clockwork Mechanic ride Arachnopod
By Malcrom.
2015-03-25 00:01:30 +01:00
Naios
0778cc3332 Core/DBUpdater: Use correct formatter for size_t
* thanks @DDuarte pointing this out.

(cherry picked from commit b2b8de5786)
2015-03-24 22:02:08 +01:00
Aokromes
d37f52c93e DB/Misc: Fix startup errors
Updates #13707
Code is welcome to fix the remaining core errors.
2015-03-24 19:26:48 +01:00
Aokromes
41fe24e9ad DB/Misc: Fix startup errors
By Kilyana, updates #13707
2015-03-24 18:57:32 +01:00
Dr-J
5594dad4d8 DB/Misc: More error fixes 2015-03-24 12:47:14 +00:00
Naios
4201ca021b Core/DBUpdater: Add the possibility to limit the remove of orphaned entries.
* This will save you from loosing your update history if you use a repository in bad state (revision or branch) by mistake.
* Also turned 1 error message into a warning

(cherry picked from commit 966282fbed)
(cherry picked from commit 3ad7776d50)
2015-03-24 13:03:55 +01:00
Dr-J
1944b3bce5 DB/Misc: Another error
As Aokromes suggested when I originally committed fix for Teleport This! I must have accidentally searched for creature guid instead of go guid.
2015-03-24 11:39:28 +00:00
Dr-J
151dbb3084 DB/Misc: Fix error 2015-03-24 11:02:28 +00:00