Commit Graph

20354 Commits

Author SHA1 Message Date
Naios
a2e280c8a8 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
2015-03-28 17:12:24 +01:00
Naios
9b0b1185e4 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
2015-03-28 17:12:11 +01:00
Naios
54ee526724 Core/Database Improve commit 39bdd06446
* found a better way where no cast is needed.
* ref #14430
2015-03-28 17:12:02 +01:00
Vincent-Michael
9fb96ed3f8 Core/PacketIO: Enabled some char opcodes
Closes #14468
2015-03-28 16:42:08 +01:00
MitchesD
aa33d66f6b Merge pull request #14466 from gigatotem/6.x
Spells/Mage: Correct typo in Time Warp script
2015-03-28 16:38:47 +01:00
Gigatotem
9f3018c694 Spells/Mage: Correct typo in Time Warp script 2015-03-28 15:13:45 +00:00
Carbenium
e9b60fb092 Core/Support: Added missing sql execute
Core/PacketIO: Enabled support system related opcodes
2015-03-28 11:54:03 +01:00
click
c696f2195d Core/Script: Fix non-PCH build
(cherry picked from commit 058457dda9)

Conflicts:
	src/server/scripts/Kalimdor/zone_bloodmyst_isle.cpp
2015-03-27 23:11:13 +01:00
Carbenium
e471c75288 Merge pull request #14459 from Gigi1237/6.1.2_Opcodes
Core/PacketIO: Sync with WPP
2015-03-27 22:35:07 +01:00
Shauren
8cfb542ee4 Core/PacketIO: Updated values of all known server opcodes 2015-03-27 22:21:24 +01:00
Gigi1237
a476ccfc1f Core/PacketIO: Sync with WPP
Removed SMSGs from sync.
2015-03-27 21:02:54 +01:00
MitchesD
b05d74ba46 Merge pull request #14461 from gigatotem/6.x
[6.x] Heroism/Bloodlust/Time Warp
2015-03-27 15:34:53 +01:00
Naios
39bdd06446 Core/Database: Prepare statements at reconnect.
* Closes #14430
2015-03-27 15:34:13 +01:00
MitchesD
65275fd57d Scripts/Misc: small changes after recent commits 2015-03-27 14:47:10 +01:00
Gigatotem
bc8f4ee976 Spells/Mage:
Time Warp should also check for the Fatigued debuff given when a Hunter's Nether Ray pet casts Netherwinds.
2015-03-27 13:40:15 +00:00
Gigatotem
65b27fef91 Spells/Shaman:
Bloodlust and Heroism should also check for the Fatigued debuff from Nether Ray Hunter Pets "Netherwinds" ability.
2015-03-27 13:36:46 +00:00
Carbenium
49a61538a8 Core/PacketIO: Fixed a typo (CMSG_UPDATE_ACCOUNT_DATA should be STATUS_AUTHED) and assigned correct opcode value 2015-03-27 02:02:59 +01:00
Carbenium
75ab5b0aa6 Core/Support: Fix some static analysis issues 2015-03-26 21:00:13 +01:00
Carbenium
1262072949 Core/Misc: Update base stuff for V6.1.2 build 19802 2015-03-26 17:18:43 +01:00
Rushor
01ee7ecc69 Scripts/Bloodmyst Isle: Script Quest: Ending Their World
closes #1815

* Add missing Waypoint
* Improve Aggrobehaviour
* Add BroascasttextIDs
* Update to current GUID-Handling

Original Patch by @trickerer

(cherry picked from commit f1101b145b)
2015-03-26 16:14:38 +01:00
joschiwald
766eb599ea Scripts/Spells: implement some eject passenger spells 2015-03-25 17:43:59 +01:00
cr4st
5cee106524 Core/Creature: fixed trigger visibility of vehicles 2015-03-25 17:43:12 +01:00
Rushor
e88f276946 Scripts/Grizzlyhills: Spell: Infected Worgen Bite - Apply Spellscript and Transformation
closes #12165

(cherry picked from commit 6080234e98)
2015-03-25 16:37:21 +01:00
Naios
b2b8de5786 Core/DBUpdater: Use correct formatter for size_t
* thanks @DDuarte pointing this out.
2015-03-24 22:00:19 +01:00
Naios
3ad7776d50 Core/DBUpdater: Fix some warnings introduced in 966282fbed 2015-03-24 12:55:45 +01:00
Naios
966282fbed 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
2015-03-24 12:31:52 +01:00
Rat
930b74d0ca Core/Spells: Spell radius calculation update 2015-03-23 07:42:50 +01:00
Duarte Duarte
358b063d17 Merge pull request #14426 from tkrokli/SetQuestSlotState
[Core/Quest] Update quest Objective status Client side
(cherry picked from commit 965ed68470)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
2015-03-22 22:15:47 +00:00
Carbenium
ee6fd67552 Core/PacketIO: Sync with WPP 2015-03-22 18:55:22 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
Shauren
695970df3b Core/PacketIO: Updated IsInstanceOnlyOpcode 2015-03-22 13:13:18 +01:00
Shauren
87afdc7101 Core/PacketIO: Restored missing code in Player::SendEquipError 2015-03-22 12:40:02 +01:00
Naios
8e48ef7863 Core/DBUpdater: Use correct uint64 to store timestamps.
* Thanks @Shauren for pointing out.
* Also removes an invalid argument thanks @jackpoz for noticing.
2015-03-22 01:28:50 +01:00
jackpoz
3799d454b3 Scripts/Ulduar: Fix some Flame Leviathan issues
Fix some Flame Leviathan issues:
- Fix boss evading all the time due to bad Doors check
- Opened "Lightning Door" to other bosses only after boss dies
- Eject players from the vehicles when boss dies, make them untargetable and despawn them after 5 minutes (adjust the time to the blizzlike time of choice)

(cherry picked from commit d888e4c7ad)
2015-03-21 23:44:12 +00:00
Shauren
495af75b7e Core/DBUpdater: Fixed compile errors with boost 1.55 and VS 2013 2015-03-22 00:14:54 +01:00
Duarte Duarte
6a2e073d9f Merge pull request #14410 from Luzifix/opcode-openitem2
Core/PacketIO: OpenItem for 6.1
2015-03-21 22:49:07 +00:00
Shauren
b4ec8ef339 Core/GameObjects: Updated GameObjectTemplate::Data fields 2015-03-21 23:41:46 +01:00
Rat
3fef9dcd66 Core/Spells: updated spelleffect array to 6.1 2015-03-21 22:00:46 +01:00
Rat
ee3a111756 Core/Spells: updated spelleffect, auraeffect, spelltarget enums to 6.1, should fix most of the spell crashes 2015-03-21 21:54:56 +01:00
Naios
cff3910ec8 Core/Database: Fix some warnings on gcc
* warning: when initialized here [-Wreorder]
* thanks to @Vincent-Michael
2015-03-21 21:07:20 +01:00
Naios
72bb8ffd96 Core/Worldserver: Set updates enabled default value to "none" -> disabled
* in addition to 1f7f9feafc
* if no config entry is presented this value is used
2015-03-21 21:06:03 +01:00
Nayd
5be0cf7120 TDB 6.0.1 - 2015/03/21
Closes #13816
Closes #13792

Ref #14139
2015-03-21 17:09:25 +00:00
Nayd
1f7f9feafc Core/Config: Disable automatic DB Updates by default 2015-03-21 15:41:17 +00:00
Naios
352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 14:09:38 +00:00
Vincent-Michael
127d8a2bcc Core/PacketIO: Sync with wpp and enable some opcodes 2015-03-21 11:27:15 +01:00
Vincent-Michael
844eaae029 Core/PacketIO: Update SMSG_MAIL_QUERY_NEXT_TIME_RESULT for 6.1.0 2015-03-20 21:12:10 +01:00
Duarte Duarte
b2746dd19c Merge pull request #14415 from Zedron/6.x
Core/PacketIO: Fixed teleporting between maps
2015-03-20 19:14:57 +00:00
MitchesD
f6428df949 Scripts/Misc: sync with 3cc305138c
adfd8a6 - Scripts/Mulgore: The Plains Vision - Move Corescrript to SAI
c21a600 - Delete zone_mulgore.cpp
87f40a5 - Scripts/Kalimdor: Remove Mulgorescripts
8904a94 - Scripts/The Barrens: Add missing Text for 'The Escape'
cfc5fb2 - DB/Misc: Fix a few startup errors from recent Updates (Script part)
2015-03-20 20:07:25 +01:00
Zedron
791cf47d0b Core/PacketIO: Fixed teleporting between maps
CMSG_MOVE_WORLDPORT_ACK should have STATUS_TRANSFER, as the player isn't in the world (yet)
2015-03-20 13:51:50 -05:00
MitchesD
a5b662e0d9 Core/PacketIO: CMSG_SET_ACTIVE_MOVER, SMSG_MOVE_SET_ACTIVE_MOVER updated and enabled 2015-03-20 15:41:13 +01:00