Commit Graph

10402 Commits

Author SHA1 Message Date
click
03e4ecfbfd Core: Partial revert of rcb3188281e, rc85b35f076, r97f9a0fa3e due to missing loader implementation.
(files disabled but kept in repo, and will be fully reinstated once everything is sorted out)
Note: SQL-update-data is NOT supplied for 're-converting' to old help-system - this is after all considered a workrepo untill we tag a commit as stable!

--HG--
branch : trunk
2010-11-10 05:22:27 +01:00
_manuel_
5674f81e51 Core/Spells: Deterrence should deflect Death Grip.
Fixes issue 4582.

Based on gastuslg´s patch and thanks to click.

--HG--
branch : trunk
2010-11-09 23:02:47 -03:00
Shauren
93160c369e Fixed compile
--HG--
branch : trunk
2010-11-09 22:30:30 +01:00
click
12cfc9dc36 Fix typo in previous commit...
--HG--
branch : trunk
2010-11-09 10:57:23 -05:00
Paradox
de1798e4ac Core/Scripts Part 1 of moving all commands to commandscripts
closes issue 4669
(first 5 patches rolled into 1)
Patch by Paradox

--HG--
branch : trunk
2010-11-09 10:15:35 -05:00
Shauren
2da116a417 Reverted revision d8e919eb3a7b
--HG--
branch : trunk
2010-11-09 15:39:52 +01:00
Machiavelli
b690856e91 Core/ObjMgr: Use proper mutex object for SaveGORespawnTime
Author: toshik.777
Fixes issue #4399

--HG--
branch : trunk
2010-11-09 15:10:10 +01:00
Machiavelli
dcc26dd801 Core/Spells: Fix Sword Specialization (warrior) proc on abilities
Author: Dr.Tenma
Fixes issue #4032

--HG--
branch : trunk
2010-11-09 11:26:01 +01:00
Machiavelli
36b40511ac Core/Unit: Threat values sent to the client should be multiplied by 100, as pointed out by Aokromes.
--HG--
branch : trunk
2010-11-09 11:17:33 +01:00
Machiavelli
ddc812163a Core/Spells: Fix Shield of Righteousness damage
Author: Dr.Tenma
Fixes issue #4174

--HG--
branch : trunk
2010-11-09 11:15:00 +01:00
Machiavelli
8862663df0 Core/Battleground: Fix a possible crash in Alterac Valley.
Author: HUNTERok
Fixes issue #4268

--HG--
branch : trunk
2010-11-09 11:08:33 +01:00
Machiavelli
ec125bbc67 Core/Misc: Fix a typo (affects no functionality, just for aesthetics)
Author: 2010phenix
Fixes issue #4247

--HG--
branch : trunk
2010-11-09 10:55:20 +01:00
Machiavelli
32ec6b51da Core/Scripts: Fix Harbinger Skyriss event in Arcatraz.
Author: Kuidin1@mail.ru
Fixes issue #4390

--HG--
branch : trunk
2010-11-09 10:51:34 +01:00
Machiavelli
87679c1ca4 Core/Scripts: Fix Escape from Durnholde quest credit.
Author: erocoloco
Fixes issue #4367

--HG--
branch : trunk
2010-11-09 10:49:26 +01:00
Machiavelli
cca3231b92 Core/Scripts: Fix script text typo for Vorsha the Lasher
Author: Kaelima
Fixes issue #4421

--HG--
branch : trunk
2010-11-09 10:45:11 +01:00
Machiavelli
f5f80a5344 Core/Formula´s: Fix group XP modifier calculation by adding missing breaks. Thanks to Paradox for spotting.
--HG--
branch : trunk
2010-11-09 09:58:14 +01:00
Xanadu
87b77b0ca4 Core/Items: Added a forgotten break in item enchant checks.
--HG--
branch : trunk
2010-11-08 23:43:50 +01:00
Xanadu
5398ea3ac7 Core/PCH: Added WorldSocket.h include to PCH for worldserver.
--HG--
branch : trunk
2010-11-08 23:40:26 +01:00
Shauren
b6d2961e59 Core/DBSchema: Changed core_revision in version table to string field.
--HG--
branch : trunk
2010-11-08 21:16:03 +01:00
click
aad6964dd0 Core/Spells: Show some SPELL_AURA_MOD_DODGE_PERCENT auras as debufs as expected (patch by zergtmn)
--HG--
branch : trunk
2010-11-08 17:36:25 +01:00
click
b2f3b3d329 Core: Use portable ACE-methods to do millisec time-value calculation (patch by SilverIce)
(also avoids some unsafe code on non-Windows platforms)

--HG--
branch : trunk
2010-11-08 17:24:16 +01:00
click
b1bf8ebfe6 Core/ItemHandler: Fix a logic error when checking for gem equipment limits. (Socketed gems cannot be destroyed, they can only be replaced and that would be the "new gem" case) - fix by leak
Closes issue 4698. Fixes issue 2495.

--HG--
branch : trunk
2010-11-08 17:11:05 +01:00
click
551d0cea4e Core/Maps: Fix exploit with players changing raid-difficulty and getting no cooldown on respective instance - Patch by selector
--HG--
branch : trunk
2010-11-07 23:53:26 +01:00
click
44850aab07 Core: Disallow moving currency tokens out of their hidden bag - fix by leak
--HG--
branch : trunk
2010-11-07 22:28:03 +01:00
click
c58e227ffa Core/Spells: Fix hunter pet namechanging when using Certificate of Ownership (spellID 53987, used by itemID 43850)
(There's also, as far as I know, no window on hunter pet renames, one selects the pet and clicks 'rename').
Closes issue 2967.

--HG--
branch : trunk
2010-11-07 22:23:12 +01:00
Rat
2ee0fda94e Core/SmartAI:
added ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST
added ACTION_CALL_RANDOM_TIMED_ACTIONLIST
you can now call in random timed action lists (script type 9 aka Script9)

--HG--
branch : trunk
2010-11-07 22:10:11 +01:00
click
d180e485e9 Added tag UP35 for changeset 35eb4004f6f8
--HG--
branch : trunk
2010-11-07 20:31:53 +01:00
click
d1323767b0 Core/SQL: Move some SQL-files around (you all know what this means...)
--HG--
branch : trunk
rename : sql/updates/09859_characters_group_member.sql => sql/updates/3.3.5a_old/09859_characters_group_member.sql
rename : sql/updates/09900_world_spell_proc_event.sql => sql/updates/3.3.5a_old/09900_world_spell_proc_event.sql
rename : sql/updates/09911_characters_guild_bank_eventlog.sql => sql/updates/3.3.5a_old/09911_characters_guild_bank_eventlog.sql
rename : sql/updates/09912_world_spell_bonus_data.sql => sql/updates/3.3.5a_old/09912_world_spell_bonus_data.sql
rename : sql/updates/09920_characters_pool_quest_save.sql => sql/updates/3.3.5a_old/09920_characters_pool_quest_save.sql
rename : sql/updates/09920_world_pool_quest.sql => sql/updates/3.3.5a_old/09920_world_pool_quest.sql
rename : sql/updates/09948_world_script_name.sql => sql/updates/3.3.5a_old/09948_world_script_name.sql
rename : sql/updates/09948_world_script_texts.sql => sql/updates/3.3.5a_old/09948_world_script_texts.sql
rename : sql/updates/09948_world_spell_script_names.sql => sql/updates/3.3.5a_old/09948_world_spell_script_names.sql
rename : sql/updates/09958_world_quest_poi_points.sql => sql/updates/3.3.5a_old/09958_world_quest_poi_points.sql
rename : sql/updates/09963_world_spell_script_names.sql => sql/updates/3.3.5a_old/09963_world_spell_script_names.sql
rename : sql/updates/09977_world_spell_script_names.sql => sql/updates/3.3.5a_old/09977_world_spell_script_names.sql
rename : sql/updates/09988_world_spell_script_names.sql => sql/updates/3.3.5a_old/09988_world_spell_script_names.sql
rename : sql/updates/10000_characters_character_banned.sql => sql/updates/3.3.5a_old/10000_characters_character_banned.sql
rename : sql/updates/10000_world_command.sql => sql/updates/3.3.5a_old/10000_world_command.sql
rename : sql/updates/10000_world_trinity_string.sql => sql/updates/3.3.5a_old/10000_world_trinity_string.sql
rename : sql/updates/10023_world_command.sql => sql/updates/3.3.5a_old/10023_world_command.sql
rename : sql/updates/10029_world_spell_script_names.sql => sql/updates/3.3.5a_old/10029_world_spell_script_names.sql
rename : sql/updates/10030_characters_item_soulbound_trade_data.sql => sql/updates/3.3.5a_old/10030_characters_item_soulbound_trade_data.sql
rename : sql/updates/10060_world_creature_text.sql => sql/updates/3.3.5a_old/10060_world_creature_text.sql
rename : sql/updates/10076_world_command.sql => sql/updates/3.3.5a_old/10076_world_command.sql
rename : sql/updates/10078_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10078_world_spell_proc_event.sql
rename : sql/updates/10083_world_trinity_string.sql => sql/updates/3.3.5a_old/10083_world_trinity_string.sql
rename : sql/updates/10084_characters_character_queststatus.sql => sql/updates/3.3.5a_old/10084_characters_character_queststatus.sql
rename : sql/updates/10091_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10091_world_spell_proc_event.sql
rename : sql/updates/10099_world_spell_script_names.sql => sql/updates/3.3.5a_old/10099_world_spell_script_names.sql
rename : sql/updates/10105_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10105_world_spell_proc_event.sql
rename : sql/updates/10105_world_spell_script_names.sql => sql/updates/3.3.5a_old/10105_world_spell_script_names.sql
rename : sql/updates/10113_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10113_world_spell_proc_event.sql
rename : sql/updates/10132_world_command.sql => sql/updates/3.3.5a_old/10132_world_command.sql
rename : sql/updates/10132_world_trinity_string.sql => sql/updates/3.3.5a_old/10132_world_trinity_string.sql
rename : sql/updates/10171_world_script_texts.sql => sql/updates/3.3.5a_old/10171_world_script_texts.sql
rename : sql/updates/10181_world_script_name.sql => sql/updates/3.3.5a_old/10181_world_script_name.sql
rename : sql/updates/10182_world_script_texts.sql => sql/updates/3.3.5a_old/10182_world_script_texts.sql
rename : sql/updates/10183_world_spell_script_names.sql => sql/updates/3.3.5a_old/10183_world_spell_script_names.sql
rename : sql/updates/10189_world_script_texts.sql => sql/updates/3.3.5a_old/10189_world_script_texts.sql
rename : sql/updates/10189_world_scriptname.sql => sql/updates/3.3.5a_old/10189_world_scriptname.sql
rename : sql/updates/10189_world_spell_linked_spell.sql => sql/updates/3.3.5a_old/10189_world_spell_linked_spell.sql
rename : sql/updates/10189_world_spell_script_names.sql => sql/updates/3.3.5a_old/10189_world_spell_script_names.sql
rename : sql/updates/10192_world_creature.sql => sql/updates/3.3.5a_old/10192_world_creature.sql
rename : sql/updates/10195_world_script_texts.sql => sql/updates/3.3.5a_old/10195_world_script_texts.sql
rename : sql/updates/10206_world_creature_classlevelstats.sql => sql/updates/3.3.5a_old/10206_world_creature_classlevelstats.sql
rename : sql/updates/10208_world_script_name.sql => sql/updates/3.3.5a_old/10208_world_script_name.sql
rename : sql/updates/10208_world_script_texts.sql => sql/updates/3.3.5a_old/10208_world_script_texts.sql
rename : sql/updates/10213_world_script_texts.sql => sql/updates/3.3.5a_old/10213_world_script_texts.sql
rename : sql/updates/10215_world_spell_script_names.sql => sql/updates/3.3.5a_old/10215_world_spell_script_names.sql
rename : sql/updates/10219_world_spelldifficulty_dbc.sql => sql/updates/3.3.5a_old/10219_world_spelldifficulty_dbc.sql
rename : sql/updates/10223_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10223_world_spell_proc_event.sql
rename : sql/updates/10228_world_trinity_string.sql => sql/updates/3.3.5a_old/10228_world_trinity_string.sql
rename : sql/updates/10230_world_script_texts.sql => sql/updates/3.3.5a_old/10230_world_script_texts.sql
rename : sql/updates/10230_world_scriptname.sql => sql/updates/3.3.5a_old/10230_world_scriptname.sql
rename : sql/updates/10230_world_spell_proc_event.sql => sql/updates/3.3.5a_old/10230_world_spell_proc_event.sql
rename : sql/updates/10230_world_spell_script_names.sql => sql/updates/3.3.5a_old/10230_world_spell_script_names.sql
rename : sql/updates/10241_characters_guilds.sql => sql/updates/3.3.5a_old/10241_characters_guilds.sql
rename : sql/updates/10246_world_spell_linked_spell.sql => sql/updates/3.3.5a_old/10246_world_spell_linked_spell.sql
rename : sql/updates/10246_world_spell_script_names.sql => sql/updates/3.3.5a_old/10246_world_spell_script_names.sql
rename : sql/updates/10269_world_scriptname.sql => sql/updates/3.3.5a_old/10269_world_scriptname.sql
rename : sql/updates/10281_world_gameobject_template.sql => sql/updates/3.3.5a_old/10281_world_gameobject_template.sql
rename : sql/updates/10282_world_script_texts.sql => sql/updates/3.3.5a_old/10282_world_script_texts.sql
rename : sql/updates/10284_world_script_texts.sql => sql/updates/3.3.5a_old/10284_world_script_texts.sql
rename : sql/updates/10284_world_scriptname.sql => sql/updates/3.3.5a_old/10284_world_scriptname.sql
rename : sql/updates/10284_world_spell_script_names.sql => sql/updates/3.3.5a_old/10284_world_spell_script_names.sql
rename : sql/updates/10300_world_spell_script_names.sql => sql/updates/3.3.5a_old/10300_world_spell_script_names.sql
rename : sql/updates/10307_world_spell_bonus_data.sql => sql/updates/3.3.5a_old/10307_world_spell_bonus_data.sql
rename : sql/updates/10320_world_smart_scripts.sql => sql/updates/3.3.5a_old/10320_world_smart_scripts.sql
rename : sql/updates/10320_world_waypoints.sql => sql/updates/3.3.5a_old/10320_world_waypoints.sql
rename : sql/updates/10325_world_scriptname.sql => sql/updates/3.3.5a_old/10325_world_scriptname.sql
rename : sql/updates/10327_world_spell_bonus_data.sql => sql/updates/3.3.5a_old/10327_world_spell_bonus_data.sql
rename : sql/updates/10349_world_script_texts.sql => sql/updates/3.3.5a_old/10349_world_script_texts.sql
2010-11-07 20:30:59 +01:00
click
7853a06912 Fix "typo" in previous commit (codingstyle)
--HG--
branch : trunk
2010-11-07 20:12:36 +01:00
click
5d4f009a87 Core/Entities: Fix exploit/crash in inventory-handling (CMSG_OPEN_ITEM) -thanks to leak
(Adds a scrutiny-based check to baghandling: don't allow placing items in bags that are not "usable" as regular bags)

--HG--
branch : trunk
2010-11-07 20:08:52 +01:00
Rat
044c003bdd Core/SmartAI: added ACTION_CROSS_CAST
CasterTargets will cast spellID on all Targets
NOTE: use with caution if targeting multiple * multiple units!

--HG--
branch : trunk
2010-11-07 18:34:04 +01:00
Rat
205736ea84 Core/SmartAI: added TARGET_OWNER_OR_SUMMONER, useful if you have a creature summoned by a spell, you can use Summoner as target
--HG--
branch : trunk
2010-11-07 18:02:33 +01:00
Rat
13559bde9f Core/SmartAI/Typo
--HG--
branch : trunk
2010-11-07 17:13:48 +01:00
Rat
9781bba535 Core/SmartAI: added SMART_ACTION_INVOKER_CAST, spellID, castFlags,
-if avaliable, last used invoker will cast spellId with castFlags on targets

--HG--
branch : trunk
2010-11-06 23:18:04 +01:00
Rat
3809892987 Core/SmartAI: modified ACTION_EQUIP to use a bitmask to send slot updates (for more blzzlike packet handling)
--HG--
branch : trunk
2010-11-06 23:08:33 +01:00
Machiavelli
26d8e04351 Core/Unit: Clear threat list on units when they die (fix players having aggro on corpses)
Original suggestion by glorandwarf@yahoo.com

Fixes issue #4667

--HG--
branch : trunk
2010-11-06 10:35:46 +01:00
Shauren
1b8007767a Scripts/Quests: Fixed quest "They're Alive! Maybe...", patch by erocoloco@hotmail.com
Closes issue #4645.

--HG--
branch : trunk
2010-11-05 23:41:31 +01:00
Rat
d79ee2e824 Core/Conditions/Typo
--HG--
branch : trunk
2010-11-05 23:33:31 +01:00
Rat
b45e12fdf9 Core/Conditions: updated CONDITION_AURA, if Param3 is set true target is tested for condition, else caster is tested
--HG--
branch : trunk
2010-11-05 22:54:51 +01:00
Rat
9b3ce64f6e Core/SmartAI: added option to reset orientation (use ACTION_SET_ORIENTATION with TARGET_SELF to reset to spawn orientation)
--HG--
branch : trunk
2010-11-05 21:34:26 +01:00
Rat
be25e38144 Core/SmartAI: added SMART_ACTION_SIMPLE_TALK, param1: textID, uses the 'Targets' to say the text,
NOTE: textID is relative to the current target's entry OR if target is a player, text is used with source creature's entry

--HG--
branch : trunk
2010-11-05 19:38:43 +01:00
click
7956bc8c44 Core/Chat: Move some protected members of chathandler to public scope so they can be used by commandscripts (Patch by Paradox)
Closes issue 4653

--HG--
branch : trunk
2010-11-05 07:54:24 +01:00
Shocker
7f4039269c Core/Groups: Fix issue with raid-leader being removed from group on relog/server restart. Updates issue 3142
--HG--
branch : trunk
2010-11-05 00:54:17 +02:00
Rat
57661c6d54 Core/SmartAI: swap menuid/actionid params in GOSSIP_SELECT event
- use proper sql ORDER to order script lines

--HG--
branch : trunk
2010-11-04 22:08:15 +01:00
Shauren
f658176df8 Core/Spells: Enchanting items using a vellum is no longer possible in trade
Closes issue #2990.

--HG--
branch : trunk
2010-11-04 21:59:27 +01:00
Rat
54b11cce01 Core/SmartAI: store event invoker when available, and use it for Invoker target
note: dont forget to call script_reset when script is over!

--HG--
branch : trunk
2010-11-04 19:56:39 +01:00
click
cf475e75ca dep/ace: fix the config-test macro
--HG--
branch : trunk
2010-11-04 06:08:24 +01:00
click
9b16ee203f Dep/ACE: Upgrade ACE -library to 5.8.3
--HG--
branch : trunk
2010-11-04 05:30:29 +01:00
Rat
2604250c3c Core/SmartAI: fixed Gossip Select event
--HG--
branch : trunk
2010-11-03 19:39:53 +01:00
Rat
c9cf2f059f Core/AI: delay all AI()->Respawn() hooks by 1 server tick, this way when creatures are just got created they will successfully find other objects in scripts at spawn time
--HG--
branch : trunk
2010-11-03 18:33:47 +01:00