Commit Graph

10509 Commits

Author SHA1 Message Date
click
20ffbcfa28 Fix missing change in SendNotification() (forgot to diff it)
--HG--
branch : trunk
2010-11-24 14:00:23 +01:00
click
5753be3271 Core/Configs: Use "oldstyle" configfile method - includes configfile cleanups and also restructuring it so every option is explained properly
Fix by leak. Closes issue 4913.

--HG--
branch : trunk
2010-11-24 13:48:00 +01:00
click
6fa169810b Core/Reputation: Implement a more generic solution for reputation spillover (fix by Lynx3d, port by Kaelima)
* Sorts out issues with factions 1037 and 1052
* Give a more correct client output when reputation is assigned to parent faction
* reputation_spillover_template can still be used to override spillover from dbc
Closes issue 4915.

--HG--
branch : trunk
2010-11-24 13:41:20 +01:00
click
c786f08146 Core: Fix issues with builds after rf68255d6ac
( and a minor int32->uint32 change for SendNotification() )

--HG--
branch : trunk
2010-11-24 13:20:36 +01:00
Spp
fa97598594 Core/Dungeon Finder: Move vote kick initialization from Group code to Scripts
--HG--
branch : trunk
2010-11-23 20:49:57 +01:00
Spp
d3c9478153 Core/Groups: Add kicker and kick reason to RemoveMember
--HG--
branch : trunk
2010-11-23 20:49:36 +01:00
click
f25cbacf72 Core/Commands: Forgot one GetIntConfig->GetBoolConfig -entry in previous commit
--HG--
branch : trunk
2010-11-23 19:53:42 +01:00
click
f18cbadf7f Core/Commands: Reintroduce CONFIG_SHOW_KICK_IN_WORLD-handling after a long absensce in the 'commented out code'-world
Closes issue 4042.

--HG--
branch : trunk
2010-11-23 19:49:48 +01:00
Spp
825dcbec53 Fix typo in previous commit
--HG--
branch : trunk
2010-11-23 15:57:43 +01:00
Spp
4dcdb396ad Core/Dungeon Finder: Fix role check algorithm (Some valid combinations were being marked as invalid)
--HG--
branch : trunk
2010-11-23 15:01:15 +01:00
Spp
9ec77e0b63 Core/Dungeon Finder: Add missing change from 653b579755 that prevented to join random dungeons
--HG--
branch : trunk
2010-11-22 18:36:08 +01:00
Spp
f9d38be8c1 Core/Dungeon Finder: Fix a crash when trying to join raid browser as a group
--HG--
branch : trunk
2010-11-22 17:00:31 +01:00
click
d1ade6f6b8 Revert r5dcfc475b8 (we're still investigating why it does what it does though)
--HG--
branch : trunk
2010-11-22 16:07:32 +01:00
Spp
abb4f8f551 Core/Dungeon Finder: Fix visual bug that showed wrong needed roles after joined queue
--HG--
branch : trunk
2010-11-22 14:20:48 +01:00
Spp
a5833f2307 Core/Dungeon Finder: Check lock status of dungeons when joining non-random dungeons (Fixes not checking if raid was closed for the selected difficulty)
Core/Dungeon Finder: Fix some memory leaks when Joining
Core/Dungeon Finder: Do not allow to join dungeon raid browser (Not supported yet)

--HG--
branch : trunk
2010-11-22 13:16:09 +01:00
Spp
a7d262ce03 Core/Dungeon Finder: Do not allow to join if selected dungeons and raids
--HG--
branch : trunk
2010-11-22 12:28:06 +01:00
Spp
a2ef7e18a1 Core/Dungeon Finder: Give rewards only to players that joined selecting random dungeon
--HG--
branch : trunk
2010-11-22 10:19:54 +01:00
Spp
6b5ff1ca25 Core: Fix some warnings
--HG--
branch : trunk
2010-11-22 10:10:46 +01:00
click
ea9e88a48c Core/Scripts: Add support for questID 25444 (Da Perfect Spies)
--HG--
branch : trunk
2010-11-21 23:43:44 +01:00
click
634ddae566 Core/Commands: Fix issues with crashes related to .gobject near command usage (thanks to Josh for finding the bug and culprit)
--HG--
branch : trunk
2010-11-21 23:00:03 +01:00
click
b62f587c30 Core/UnitAI: Fix some warnings
--HG--
branch : trunk
2010-11-21 22:40:22 +01:00
silinoron
fc832122cc Core/Vehicle: Some code-style cleanup.
--HG--
branch : trunk
2010-11-21 10:07:51 -08:00
Machiavelli
733b72d29c Core/DBLayer: Add method DirectExecute for synchronous execution of prepared statements (without resultset)
Author: [M]axx

--HG--
branch : trunk
2010-11-21 18:50:11 +01:00
Machiavelli
92a7d02184 Core/Player: Invoke global cooldown when equipping relic slot items during combat.
Please report any issues you find regarding this changeset.

--HG--
branch : trunk
2010-11-21 16:48:08 +01:00
Shauren
632a976b05 Scripts/Icecrown Citadel: More code style cleanup
--HG--
branch : trunk
2010-11-20 23:50:09 +01:00
Shauren
2a039e726a Scripts/Icecrown Citadel: Added basic threat support for Blood Prince council in no-damage mode
--HG--
branch : trunk
2010-11-20 23:10:32 +01:00
Shauren
6d244e8f13 Scripts/Forge of Souls: Cleaned up code style
Scripts/Forge of Souls: Fixed a possible crash

Closes issue #4660.

--HG--
branch : trunk
2010-11-20 21:27:10 +01:00
Shauren
417b29af24 Scripts/Forge of Souls: Fixed typo in instance script, thx Ramus for spotting it
--HG--
branch : trunk
2010-11-20 21:06:00 +01:00
Rat
5bde001407 Core/AI: hooked AI()->GossipHello to HandleGameobjectReportUse
--HG--
branch : trunk
2010-11-20 13:54:45 +01:00
Rat
e1eae802e3 Core/SmartAI: ACTION_RANDOM_MOVE with distance = 0 should reset motion back to IDLE
--HG--
branch : trunk
2010-11-20 13:28:10 +01:00
Rat
e3c6723a8d Core/SmartAI: added ACTION_RANDOM_MOVE
--HG--
branch : trunk
2010-11-20 13:23:29 +01:00
Rat
c1ec8c80de Core/SmartAI: added TARGET_THREAT_LIST, uses all units from creature's threat list as targets
- modified ACTION_CALL_CASTEDCREATUREORGO to use simple targeting

--HG--
branch : trunk
2010-11-20 12:42:10 +01:00
Rat
67fa59fb68 Core/SmartAI: added ACTION_ACTIVATE_TAXI
--HG--
branch : trunk
2010-11-19 20:23:08 +01:00
click
5cd3904059 Core/DBLayer: Move tables reserved_name, gameobject_respawn and creature_respawn from WORLD database to CHARACTER database as it's content is realm-specific and should be preserved (thanks to leak for the cleanup)
*** TO PRESERVE (COPY) THE DATA CONTAINED IN THE OLD TABLES, YOU MUST FOLLOW THE FOLLOWING SQL-RECIPE (REPLACE DATABASENAMES WHERE NEEDED!) ***

-- Move creature_respawn from world to characters db
INSERT INTO `characters`.`creature_respawn` (`guid`, `respawntime`, `instance`)
SELECT `guid, `respawntime` `instance` * FROM `world`.`creature_respawn`;
-- Remove creature_respawn table from world db
DROP TABLE `world`.`creature_respawn`;

-- Move gameobject_respawn from world to characters db
INSERT INTO `characters`.`gameobject_respawn` (`guid`, `respawntime`, `instance`)
SELECT `guid`, `respawntime`, `instance` FROM `world`.`gameobject_respawn`;
-- Remove creature_respawn table from world db
DROP TABLE `world`.`gameobject_respawn`;

-- Move reserved names from world to characters db
INSERT INTO `characters`.`reserved_name` (`name`)
SELECT `name` FROM `world`.`reserved_name`;
-- Remove reserved_names table from world db
DROP TABLE `world`.`reserved_name`;

*** THE ABOVE MUST BE DONE, OR EXISTING INSTANCES WILL BE FULLY RESPAWNED - YOU HAVE BEEN WARNED ***
Closes issue 4842. Closes issue 4849.

--HG--
branch : trunk
2010-11-19 15:53:14 +01:00
click
3e27be7501 Core/Scripts: Tidy up commandscripts to adhere to scripting-standards and fix some minor typos (fix by Paradox)
Closes issue #4859.

--HG--
branch : trunk
2010-11-19 14:04:21 +01:00
Shauren
0fb06f63e5 Fixed line endings
--HG--
branch : trunk
2010-11-19 13:56:49 +01:00
click
30908638cb Core/Buildsystem: Set up mutliprocess compiles for all buildmodes (non-PCH/PCH with and without debugmodes)
--HG--
branch : trunk
2010-11-19 13:43:13 +01:00
click
3a18e4afcc Core/Buildsystem: Remove now deprecated WITH_SQLDEBUG option from CMake options (it's handled by the command added in r8ecf6a8816)
--HG--
branch : trunk
2010-11-19 13:19:03 +01:00
click
67fade84d3 Core/Commands: Enable SQL query logging by config and command )patch by leak)
Closes issue 4853.

--HG--
branch : trunk
2010-11-19 13:13:07 +01:00
click
67cd8d18e1 Core/Utilities: Fix ACE gettimeofday(); issue whe compiling without PCH on Windows platforms (thanks to leak)
--HG--
branch : trunk
2010-11-18 23:37:49 +01:00
Shauren
418cf49a72 Scripts/Icecrown Citadel: Changed spell timers for Lord Marrowgar, taken from sniffs
Scripts/Icecrown Citadel: Converted texts to new TextMgr
Scripts/Icecrown Citadel: General cleanup & coding style consistency
Scripts/Icecrown Citadel: Added missing spell script names

--HG--
branch : trunk
2010-11-18 15:57:23 +01:00
azazel
87d723405e Core/Scripts: return const modifier to Player methods back (should restore compilation for those with custom scripts).
NOTE: The main idea of original change is to allow scripts change content of message so that calling method sends modified message to client.
For example, moderating script which cuts illegal words from message.

--HG--
branch : trunk
2010-11-18 10:26:34 +06:00
Rat
3de2f6af01 Core/AI: added sOnDummyEffect() for all AIs
Core/SmartAI: added EVENT_DUMMY_EFFECT (66)

--HG--
branch : trunk
2010-11-17 23:24:21 +01:00
click
2e68705e22 Core/Spells: Use ShapeshiftForm model IDs from DBC instead of as hardcoded values - fix by Kaelima
(Some shapeshifts need overrides due to missing DBC data, and needs hardcoding - already handled)
Closes issue 4832.

--HG--
branch : trunk
2010-11-17 18:15:49 +01:00
azazel
4fb572015a Core/Scripts: pass message parameter by reference in OnChat methods to make it possible to be modified inside the script.
--HG--
branch : trunk
2010-11-17 18:14:35 +06:00
Shauren
169c2ef87a Buildsystem/Windows: Added MySQL 5.5 registry paths to FindMySQL macro
--HG--
branch : trunk
2010-11-17 10:26:12 +01:00
click
8806a3efdb Core/Script: Add spellscript for Earthbind totem spell (patch by Socolin)
--HG--
branch : trunk
2010-11-17 00:05:20 +01:00
Rat
c1614bc0f3 Core/SmartAI: use last invoker for all Talk actions, should fix $vars in texts
--HG--
branch : trunk
2010-11-16 23:03:04 +01:00
click
95e956a0b5 Core/Scripts: Convert more commands over to CommandScripts (moves gobject, honor, quest, reload, titles and wp commands to scripts) - Patch by Paradox
(Also fixes a minor visual error on GM-listings (gm ingame/gm list) when the respective user had an R in his/her name).
Closes issue 4792.

--HG--
branch : trunk
2010-11-16 21:27:25 +01:00
linencloth
e87223b453 Core/WorldObjects: Destroy for nearby players before removing from world
Closes issue 4806

--HG--
branch : trunk
2010-11-16 21:17:49 +01:00