Commit Graph

10475 Commits

Author SHA1 Message Date
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
Rat
f5edd6ef2a Core/AI: implemented Talk() for the 'new' textMgr
--HG--
branch : trunk
2010-11-16 19:21:48 +01:00
Spp
ee6f03eead Add missing change in 10453
--HG--
branch : trunk
2010-11-16 14:47:12 +01:00
click
b6e50110ac Core/Authserver: Clean up authserver base code a bit + follow codingstyle
--HG--
branch : trunk
2010-11-16 14:29:01 +01:00
Spp
addd762c4d Core: Fix warnings
--HG--
branch : trunk
2010-11-16 14:08:12 +01:00
Spp
7abcf9812e Fix typo in sql file
--HG--
branch : trunk
2010-11-16 11:54:40 +01:00
Spp
3e2c1a4169 Scripts: Fix quests "...Or Maybe We Don't" and "Smoke 'Em Out"
Author: Lopin
Closes issue 4741

--HG--
branch : trunk
2010-11-16 11:52:31 +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
Shocker
43588a272d Core/Commands: Fix npc add commands and add check for npc add item to ensure a creature is selected. Patch by Paradox (thanks to rothmans92 for reporting the problem)
--HG--
branch : trunk
2010-11-15 02:45:48 +02: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
Supabad
343478b0e6 Scripts/dustwallow marsh:
- Traitors Among Us
- Discrediting the Deserters
by lopin

--HG--
branch : trunk
2010-11-14 14:40:03 +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
click
61f07610fd Core/Scripts: Fix some includes in debugcommands-script (now works properly on non-PCH compiles)
--HG--
branch : trunk
2010-11-14 00:13:51 +01:00
linencloth
7811c89a93 Core/MovementGenerators: Don't remove evade state when clearing unit states.
Core/Spells: Don't start combat when the target is evading.
Closes issue 1861

--HG--
branch : trunk
2010-11-13 23:51:23 +01:00
linencloth
7beb14b177 Core/Player: Delay the visibility update when setting the group to prevent crashing when a player enters the world in a group/raid.
Closes issue 4762

--HG--
branch : trunk
2010-11-13 23:27:54 +01:00
click
c374f3245a Scripts/Commands: Add tele and event commands to commandscripts system and streamlining the command selection process to ensure the correct command is run when using abbreviations
Patch by Paradox (some cleanups was needed)

--HG--
branch : trunk
2010-11-13 22:29:46 +01:00
Shauren
72eff3dd0d Fixed recently added compile warnings
--HG--
branch : trunk
2010-11-13 21:21:43 +01:00