Commit Graph
1591 Commits
Author SHA1 Message Date
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
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
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 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
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 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
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
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
Rat f5edd6ef2a Core/AI: implemented Talk() for the 'new' textMgr
--HG--
branch : trunk
2010-11-16 19:21:48 +01:00
Spp addd762c4d Core: Fix warnings
--HG--
branch : trunk
2010-11-16 14:08:12 +01:00
click 0dc3d771e1 Core/Unit: Add missing/update old shapeshifting modelforms for Shapeshifting - Fix by Kaelima
Closes issue 4804

--HG--
branch : trunk
2010-11-16 14:04:15 +01:00
click 6ebaad1847 Core: Add validation-test for adding creatures to the world - fix by Paradox
Closes issue 4807

--HG--
branch : trunk
2010-11-16 14:00:47 +01:00
linencloth 8fae0c176d Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility

--HG--
branch : trunk
2010-11-16 01:13:04 +01:00
linencloth 57c76407b0 Core/Players: Update object visibility right after adding the player to a map
--HG--
branch : trunk
2010-11-15 23:10:48 +01:00
linencloth 8f96f37c2e Core/Players: Cleanup the visibility updater
--HG--
branch : trunk
2010-11-15 23:08:02 +01:00
Rat 8bb215d938 Core/SmartAI: removed depricated WP_LOAD, small fix to run-walk states when escorting, fix for escort invoker range check if no targets set
--HG--
branch : trunk
2010-11-16 00:13:47 +01:00
Rat 9abf7f98b3 Core/Conditions: updated CONDITION_ITEM, it should work with 0 item count
--HG--
branch : trunk
2010-11-15 23:20:20 +01:00
linencloth 171ffd49ed Core/Players: Fix visibility of out of sight range group members on the map
--HG--
branch : trunk
2010-11-15 11:23:32 +01:00
linencloth 0aad81fbbf Core/WorldObjects: Prevent most notifiers to be used to visit grids/cells using an invalid object
Closes issue 4765
Closes issue 4783

--HG--
branch : trunk
2010-11-14 23:53:14 +01:00
Shocker 48d90fab32 Misc: Some engrish fixes, thanks to ZxBiohazardZx, closes issue 4740
--HG--
branch : trunk
2010-11-14 23:46:34 +02:00
Shocker a3ade4a49a Core/Spells: Partially implement SPELL_ATTR_EX_USE_RADIUS_AS_MAX_DISTANCE. Currently used for correctly setting destination, still needs handling for shared sight removal/controlled unit despawn when max distance is reached
--HG--
branch : trunk
2010-11-14 23:31:32 +02:00
linencloth e72106c5e9 Core/Creatures: Fix visibility of spirit guides
Closes issue 4781

--HG--
branch : trunk
2010-11-14 22:24:00 +01:00
click 0e5bb0d172 Core/Spells: Fix druids "Natural Shapeshifter" DurationIndex (fix by PrinceCreed)
Closes issue 2142.

--HG--
branch : trunk
2010-11-14 18:51:14 +01:00
linencloth 1ec41c754b Core/Player: Fix sight range
Closes issue 4772

--HG--
branch : trunk
2010-11-14 17:49:10 +01:00
click 3d33cc4f12 Core/ItemHandling: Allow wrapped items to be opened when they contain another container inside it (patch by leak)
--HG--
branch : trunk
2010-11-14 16:26:09 +01:00
linencloth 6b3204e441 Core/Creatures: Do not regenerate the health of evading creatures, it should happen only while normal pathing or at home
--HG--
branch : trunk
2010-11-14 04:20:32 +01:00
click c48b74e2bb Fix typo *sigh*
--HG--
branch : trunk
2010-11-14 03:25:33 +01:00
click 61fea572ab Core/Scripts: Add missing scriptloading for tele/event commands
--HG--
branch : trunk
2010-11-14 03:05:20 +01:00
click 889c5cb779 Core/TicketMgr: Adjust headers in header (fix non-PCH build after previous commit)
--HG--
branch : trunk
2010-11-14 01:46:35 +01:00
click c0536f374a Core: Allow toggling ticketsystem on/off by config-setting (patch by leak)
Closes issue 4744.

--HG--
branch : trunk
2010-11-14 00:29:34 +01:00
Shauren 9ba52c474b Scripts/Icecrown Citadel: Fixed Festergut's Pungent Blight getting interrupted
Scripts/Icecrown Citadel: Changed handling of Deathbringer Saurfang's Blood Power aura (its now always active, starts with 0 value)
Scripts/Icecrown Citadel: Fixed Deathbringer Saurfang's achievement (I've Made a Mess)
Scripts/Icecrown Citadel: Fixed Mark of the Fallen Champion aura removal (Deathbringer Saurfang)

--HG--
branch : trunk
2010-11-14 00:21:57 +01:00