Commit Graph

20334 Commits

Author SHA1 Message Date
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
Rushor
2c6500a231 Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'
by @untaught closes #3977

(cherry picked from commit 588b92ee05)
2015-03-20 13:16:39 +01:00
Nyeriah
a30eb73e46 Scripts/ToC: The Lich King event should only be started by the announcer
(cherry picked from commit ea78bce592)
2015-03-19 19:12:17 -03:00
Luzifix
da0680db06 Core/PacketIO: OpenItem for 6.1
You can test it with http://www.wowhead.com/item=41426/
2015-03-19 22:22:23 +01:00
Duarte Duarte
f024287521 Merge pull request #14403 from Luzifix/opcode-banksystem
Core/PacketIO: Banksystem
2015-03-19 21:14:55 +00:00
ariel-
b3a279b6ab Split up LANG_MAP_POSITION to fix a crash when issuing .gps command
Conflicts:
	src/server/game/Miscellaneous/Language.h

(cherry picked from commit 461daadcaf)
2015-03-19 11:14:02 +01:00
Carbenium
2abcd4ef46 Core/Support: Fix some static analysis issues 2015-03-19 00:52:03 +01:00
Luzifix
478e86c074 Core/PacketIO: Create BankHandler & Bank opcode Structure
Thx @gigi1237 for search Opcodes
Thx @Nayd to help with InvUpdate & InvItem Structure
2015-03-19 00:10:26 +01:00
Naios
433bc289c2 Core/Misc: Fix some issues detected by static analysis
* Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
  -> This argument is passed by value, it makes no sence so set it to null here.

* Member variable 'instance_violet_hold_InstanceMapScript::bWiped' is not initialized in the constructor.

* Mismatching allocation and deallocation: Data
2015-03-18 20:20:04 +01:00
Naios
a610dea85c Core/RemoteAccess: Remove an unused define in RASession
* probably fixes gcc compile after adding cppformat
2015-03-18 16:32:19 +01:00
Naios
d64e6ffade Core/Log: Readd include of <stdarg.h> to fix compile issues under gcc 2015-03-18 15:29:56 +01:00
Nayd
a4b5b41a9b Core/LFGMgr: Fix compiler error 2015-03-18 00:53:39 +00:00
Duarte Duarte
ec640e3840 Merge pull request #14370 from Kittnz/realm_achievement
Core/Condition: Realm Achievement condition
(cherry picked from commit 769acfbd02)
2015-03-18 00:36:17 +00:00
click
cc3387d984 Merge pull request #14371 from Kittnz/movecirclepath_003
Core: Move FillCirclePath function to MotionMaster
Closes #14371
(cherry picked from commit cf14e9051d)
2015-03-18 00:35:39 +00:00
click
3a1c778d54 Core/AHBot: Remove a lingering warning that annoyed me for all too long
(cherry picked from commit 7c8f7f6f8f)
2015-03-18 00:35:24 +00:00
jackpoz
61e0ff3208 Revert "*Do not allow players to use vehicles to go further than 1st boss in Ulduar."
This reverts commit a009e53049.
Remove hackfix for Ulduar vehicles, it should be handled in Ulduar script

(cherry picked from commit f1ae2c7b73)
2015-03-18 00:35:05 +00:00
jackpoz
38c23495b3 Core/Dungeon Finder: Fix Vote Kick breaking LFG queue
Fix Vote Kick started with party in queue breaking the whole LFG queue. The status of Vote Kick is now storing in a bool variable in LfgGroupData, separated from LfgState of the group/members.
If a Vote Kick started with party in queue, the members were not removed from queue correctly and would cause LFG matching system to match these "broken" players but not allowing to start a dungeon.

Closes #10191

(cherry picked from commit 22403121fe)
2015-03-18 00:34:51 +00:00
click
812e117b30 Core/Script: INFO->DEBUG notification changes in ToC
(cherry picked from commit 0c7c25d6ed)
2015-03-18 00:34:00 +00:00
click
5a1c4fca7c Core/Scripts: INFO-DEBUG changes in scripts (gawd)
(cherry picked from commit a8a5fae4f9)
2015-03-18 00:33:50 +00:00
click
b0ee48370d Core: INFO->DEBUG level changes - forgot one in Map.cpp
(cherry picked from commit ad7b33a47f)
2015-03-18 00:33:40 +00:00
click
49f4ffc2c8 Core: More INFO -> DEBUG changes
(cherry picked from commit 781edbe46a)
2015-03-18 00:33:31 +00:00