Commit Graph

279 Commits

Author SHA1 Message Date
click
d607693123 Add proper use of precompiled headers on linux - this removes an approx 50% reduction of total compiletime
--HG--
branch : trunk
2010-05-18 00:17:14 +02:00
_manuel_
d3f0bddd3f Makes cage doors open at Drakos death.
--HG--
branch : trunk
2010-05-16 16:37:19 -03:00
_manuel_
80a5ddcac3 Improvements in boss_draoksAI and npc_unstable_sphereAI, removed hack for spell 51336.
--HG--
branch : trunk
2010-05-16 11:03:18 -03:00
_manuel_
28bbc233d1 Added missing newscript = new Script; , my fault. Thanks to Anubisss.
--HG--
branch : trunk
2010-05-13 11:36:18 -03:00
_manuel_
899736d89c Changes in scripts for quest chain The Amphitheater of Anguish:
- Added blizzlike content, like texts.
- Corrected some spells and timers.
- As i saw in offi can be more than 1 player doing different parts of the chain at the same time.
- Added code to prevent the npc gets out of the ring.
- Added support for The Amphitheater of Anguish: From Beyond.

--HG--
branch : trunk
2010-05-13 11:09:10 -03:00
Anubisss
852254d258 Fix a duplicated script: go_gilded_brazier.
Remove it from one file and also merge the 2 scripts in one file.

The error message:
ScriptName: 'go_gilded_brazier' already assigned with the same ScriptName, so the script can't work.

--HG--
branch : trunk
2010-05-13 14:29:06 +02:00
Anubisss
e7faef7e76 Fix a memleak in AddSC_borean_tundra().
Log:

==31592== 312 bytes in 1 blocks are definitely lost in loss record 423 of 1,232
==31592==    at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==31592==    by 0xFC12AF: AddSC_borean_tundra() (borean_tundra.cpp:2408)
==31592==    by 0xDC0BF0: AddScripts() (ScriptLoader.cpp:917)
==31592==    by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70)
==31592==    by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608)
==31592==    by 0x90F34E: Master::Run() (Master.cpp:234)
==31592==    by 0x90E87E: main (Main.cpp:146)

--HG--
branch : trunk
2010-05-13 00:52:04 +02:00
Spp
a3a8e6da2c Some warning fix
Tab to spaces
Remove trailing spaces

--HG--
branch : trunk
2010-05-13 00:15:21 +02:00
Rat
eae6f5c094 started implementing battleground experience system
-players gain xp by killing enemy players (event bonuses not added for now)
-player can switch xp gain on/off by talking to npc Slahtz or Behsten for a fee of 10golds
NOTE: turning off xp gain will turn off ALL xp gains from quests,monsters,pvp,etc

--HG--
branch : trunk
2010-05-11 21:42:39 +02:00
click
5626c294e4 Remove double-included headers from script + remove whitespace. Closes issue 2091.
--HG--
branch : trunk
2010-05-10 16:48:39 +02:00
Trazom62
c7c6a11ed6 Fix Script AzjolNerub/Anubarak. Patch by Snakeice.
Fixes issue #2022.

- Closes the ring, dives, summon mobs, visual before spikes and finally spikes.

--HG--
branch : trunk
2010-05-06 21:01:43 +02:00
Trazom62
03159c599a Fix Script Ahnkahet/Volazj.
- fix typo for insanity spell 3.
- reset phase mask of players when combat ends.
- remove heroic spell definition now in spelldifficulty_dbc.

--HG--
branch : trunk
2010-05-06 20:58:26 +02:00
Anubisss
a5fc22895e Correctly allocate memory for script npc_crusade_recruit. Bug found by hunteee.
--HG--
branch : trunk
2010-05-06 14:58:45 +02:00
Spp
6ead23e353 Add support for quest 4921 (The scent of Lar'Korwi)
Patch by D_Skywalk
Fixes issue 1671

--HG--
branch : trunk
2010-05-05 19:13:17 +02:00
Spp
52893aeae2 Violet Hold: make boss ichoron attackable
patch by maketheking
closes issue 2012

--HG--
branch : trunk
2010-05-05 01:51:51 +02:00
Machiavelli
b54a361d60 Fix crash in script for quest 10512 + code style cleanup.
--HG--
branch : trunk
2010-05-05 01:38:47 +02:00
Trazom62
efcceb750e Fix Script Sunwell/Felmyst. Thanks Ille000.
Fixes issue #318.

+ Fixes code layout.
+ Uses standard EventMap instead of homemade Timer.

--HG--
branch : trunk
2010-05-04 19:29:14 +02:00
click
49b40ac6c8 Fix quest 9868 (The Totem of Kar'dash) - thanks to Erocoloco
Closes issue 1086.

--HG--
branch : trunk
2010-05-04 08:41:02 +02:00
click
0fd39511ac Add support for quest 6641 (Vorsha The Lasher)
--HG--
branch : trunk
2010-05-04 08:30:11 +02:00
click
5b88cd584a Add support for quest 1126 (Hive in the Tower) - patch by supabad
Closes issue #68

--HG--
branch : trunk
2010-05-04 08:09:55 +02:00
Rat
2c31b77129 *more script texts fixed, thanks to terrorbringer
--HG--
branch : trunk
2010-05-03 15:33:30 +02:00
Rat
f9ebcce8f6 *fixed quest support for hunter pet trainers
--HG--
branch : trunk
2010-05-03 09:31:25 +02:00
click
b82a1f7fe2 Add support for GO Bash'ir Crystalforge (Blades Edge/Outlands)
--HG--
branch : trunk
2010-05-02 23:36:12 +02:00
Trazom62
5ebee9fbd0 Fix crash in Gluth Script.
Fixes issue #1896.

--HG--
branch : trunk
2010-05-02 15:17:30 +02:00
Trazom62
f2b01ccdad Fix Script FoS/Bronjahm. Thanks Johnholiver.
- remove hardcode distance in distance check of corrupted soul fragment

--HG--
branch : trunk
2010-05-02 10:12:58 +02:00
click
e2d6abb681 Add support for quest 12916 (Our Only Hope) - Patch by supabad
Closes issue #940

--HG--
branch : trunk
2010-05-02 03:00:45 +02:00
Spp
e107730ffb Fix more warnings.
--HG--
branch : trunk
2010-05-01 22:25:14 +02:00
click
18782ec1f7 Add support for quest 10512 (Getting the Bladespire Tanked)
Patch by supabad - closes issue #1217

--HG--
branch : trunk
2010-05-01 22:39:02 +02:00
click
3683de3f80 Add support for quest 12688 (Engineering a Disaster) - patch by supabad
Closes issue #982

--HG--
branch : trunk
2010-05-01 22:17:48 +02:00
click
593d962665 Add support for quest 1440 (Return to Vahlarriel) - patch by Supabad
Closes issue #323

--HG--
branch : trunk
2010-05-01 09:12:52 +02:00
click
bcbb52f507 Fix recipe-learning in Raozrofen Down (cooking/alchemy) - patch by PrinceCreed
Closes issue #1009

--HG--
branch : trunk
2010-05-01 08:36:38 +02:00
click
8df6879e94 Add support for quest 11626 (The Emissary) - patch by antihrists (thanks)
Closes issue #1061

--HG--
branch : trunk
2010-05-01 08:30:46 +02:00
click
320cbdb2af Correction in scripts (m_creature -> me) - fixes #1954
(Also corrects some old scripts that seems to have been done the same way)

--HG--
branch : trunk
2010-05-01 02:59:48 +02:00
click
3eccb81ee3 Add support for quest 9446 (Tomb of the Lightbringer) - closes #197
Patch by Supabad

--HG--
branch : trunk
2010-05-01 00:19:04 +02:00
click
11ef556320 Add support for quest 12832 (Bitter Departure) - closes issue #804
Patch by supabad

--HG--
branch : trunk
2010-04-30 23:53:37 +02:00
click
51881810b7 Add support for daily quest "Overwhelmed!" (quest 12288)
Patch by Supabad (thank you)

--HG--
branch : trunk
2010-04-30 23:30:08 +02:00
Spp
e782acfca3 Fix compile.
(Not a good idea to test something and push another file)

--HG--
branch : trunk
2010-04-30 18:06:26 +02:00
XTZGZoReX
9aa4405a5a * Fix CRLF.
--HG--
branch : trunk
2010-04-30 15:19:50 +02:00
Spp
377fa8e713 DragonBlight: Script for Quest 12321 (A Righteous Sermon)
Patch by Supabad
Closes issue 314

--HG--
branch : trunk
2010-04-30 15:01:37 +02:00
Spp
ce1f99cbe0 Implementation of Tabard vendor
Patch by etznab
Closes issue 908

--HG--
branch : trunk
2010-04-30 13:32:14 +02:00
Spp
213a5e5062 Silithus: Fix event for quest 8519
Patch by "kb_z"
Closes issue 177

--HG--
branch : trunk
2010-04-30 11:31:59 +02:00
Spp
cb0cb96283 Warning Fixes
Code Style cleanup
Fix linux compile

--HG--
branch : trunk
2010-04-29 23:12:16 +02:00
Trazom62
946ded4619 Fix FoS/Bronjham script.
Fixes issue #1895.

- summon corrupted soul fragment when Corrupt Soul completes.
- update corrupted soul fragment script.
- remove Heroic spell definition. They are defined in SpellDifficulty.dbc.

--HG--
branch : trunk
2010-04-29 19:04:19 +02:00
Trazom62
e719bd32a3 Fix timed achievement checks for boss killed in instance.
Requires DB update.

--HG--
branch : trunk
2010-04-27 22:26:30 +02:00
Tartalo
cf7170f69d Drak'Tharon Keep, Tharon'Ja: Demorph players when boss dies
Thanks & congratz to all developers, contributors & users,
we reach revision 8000 ;)

--HG--
branch : trunk
2010-04-25 16:10:37 +02:00
Trazom62
eccf5bf547 Refactor Creature::SelectNearestTarget(float dist)
This function is used in many scripts to find the nearest enemy within the given distance.
However, it had an implicit limit to the ATTACK_DISTANCE. so in many case the "dist" was in fact just ignored.
In other case, the ATTACK_DISTANCE is required. So 2 functions are necessary to avoid ambiguities.

The refactoring is the split of the function in 2: SelectNearestTarget and SelectNearestTargetInAttackDistance.

--HG--
branch : trunk
2010-04-25 12:59:27 +02:00
Trazom62
b466819333 Fix Taxi flight Stormwind Harbor. Thanks scarymovie87.
Fixes issue #425.

--HG--
branch : trunk
2010-04-25 12:47:15 +02:00
Spp
a12c0aef85 Fix compile ¬¬
+ Code Style (for, if, while)

--HG--
branch : trunk
2010-04-24 17:48:52 +02:00
_manuel_
c972765e0a Implemented script for areatriggers 5332,5338,5334 and 5340, related with quest Last Rites.
--HG--
branch : trunk
2010-04-23 16:11:57 -03:00
_manuel_
c1d3c2a31d Implemented npc_locksmith script for npcs 29665,29725,29728. Code from ScriptDev2.
--HG--
branch : trunk
2010-04-20 22:25:26 -03:00