Commit Graph

158 Commits

Author SHA1 Message Date
Trazom62
4478ccf6c4 Add script VoA/Koralon and Toravon. Thanks WarHead.
Fixes issue #1231.

--HG--
branch : trunk
2010-03-22 15:33:44 +01:00
Tartalo
36b2b5a1bc The Nexus, The Oculus: Boss drakos support, register needed scripts
This scripts are pushed for testing purposes, so is not recommended
opening it for production enviroments. any feedback is welcome :)
Fixes issue #449.

--HG--
branch : trunk
2010-03-21 15:28:37 +01:00
Machiavelli
3ae5a4094e Implement instance script for Zul'Farrak and prevent Gahz'Rilla from being summoned multiple times.
--HG--
branch : trunk
2010-03-19 21:38:07 +01:00
Machiavelli
53bfd0934a Remove some files that were accidentaly added to last changeset.
--HG--
branch : trunk
2010-03-16 08:11:33 +01:00
Machiavelli
bbfdc117c8 Overload Item::SetState correctly in Item::SetItemRandomProperties.
Fixes issue #1126

--HG--
branch : trunk
2010-03-16 08:05:09 +01:00
n0n4m3
269728b9ae Implement ACE netcode for realm server. Original author derex.
--HG--
branch : trunk
2010-03-09 18:01:42 +03:00
Spp
8034a6c48e Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos)
Closes issue #411

--HG--
branch : trunk
2010-03-09 11:11:10 +01:00
_manuel_
22d7ceaabb Implemented script for npcs 32369,32371,32372. By Malcrom.
For a full fix apply http://trinitydatabase.org/index.php?/topic/14699-fix-transitus-shield-invisible-bunny-positions-violet-stand/

--HG--
branch : trunk
2010-03-01 21:39:07 -03:00
Tartalo
53222c5875 Forgotten files on r49ad8ed43cb640034086c71478884520c5714601
--HG--
branch : trunk
2010-02-23 21:24:27 +01:00
_manuel_
1da4996189 Razorfen downs: Implemented event from boss Tuten'kash. For a full fix see TDB Forums.
--HG--
branch : trunk
2010-02-19 15:12:46 -08:00
Tartalo
7fd7fcce93 Frozen Halls, Forge of Souls: Boss Bronjahm script
--HG--
branch : trunk
2010-02-16 21:13:40 +01:00
Tartalo
e22594dac8 Fix windows compile... again ¬¬
--HG--
branch : trunk
2010-02-15 21:23:22 +01:00
Tartalo
7b434fb1c3 Fix compile on windows
--HG--
branch : trunk
2010-02-15 19:53:44 +01:00
n0n4m3
bcd4a48328 Removed stupid/not needed file Spellid.h.
--HG--
branch : trunk
2010-02-15 18:23:39 +01:00
Tartalo
d35672b2e5 Frozen Halls, Halls of Reflection: Initial instance script
--HG--
branch : trunk
2010-02-15 18:21:25 +01:00
Tartalo
87dd7bfc28 Frozen Halls, Forge of Souls: Fix windows compile
--HG--
branch : trunk
2010-02-15 18:11:33 +01:00
Tartalo
8cb845011e Frozen Halls, Pit of Saron: Initial instance script
--HG--
branch : trunk
2010-02-15 18:10:56 +01:00
Tartalo
aff1761a50 Frozen Halls, Forge of Souls: Initial instance script
--HG--
branch : trunk
2010-02-15 18:06:32 +01:00
Xanadu
f8d1920fa5 Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
Xanadu
a5d1bc77ab A great purge of obsolete macros.
--HG--
branch : trunk
2010-02-05 00:31:28 +01:00
Anubisss
340ded3973 Fix compile in WIN.
--HG--
branch : trunk
2010-01-23 16:00:05 +01:00
Xanadu
e21081172c Removed the Debug_NoPCH config from Windows build.
--HG--
branch : trunk
2010-01-21 03:23:43 +01:00
Xanadu
9e91fc997c Fix build.
--HG--
branch : trunk
2010-01-21 01:28:18 +01:00
XTZGZoReX
48b085124e * Add basic AddonMgr.
* All this really does at the moment is save addon names + CRCs to DB for use for.. whatever, later.

--HG--
branch : trunk
2010-01-20 16:24:52 +01:00
Spp
30760e9921 Fix windows compile
--HG--
branch : trunk
2010-01-20 15:36:23 +01:00
Rat
41bff63fe7 *added placeholders for SmartAI
--HG--
branch : trunk
2010-01-19 16:41:31 +01:00
Rat
9a6e246e40 *fix debug build for 64bit
*fix release build for 32bit
*fix release build for 64bit

--HG--
branch : trunk
2010-01-19 14:07:38 +01:00
Rat
0cc053ea4d *Integrate Script system to Core
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)

NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance  renamed to ScriptedInstance

*use the new headers in scripts, thank you

NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!

--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
QAston
8e9d2cdf01 Update aura system:
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras:
  * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type
  * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras
  * Aura data is shared for all units which have AuraApplication of the Aura
   * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now)
  * Remove spell source and AreaAuraEffect classes
  * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant)
  * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation
  * AreaAura updates are done in owner _UpdateSpells cycle
  * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list
  * And you can access area aura target list
  * Add basic support for aura amount recalculation
  * Save recalculation state and base amount of auras to db
  * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db
  * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets
  * Sort aura effect handlers in SpellAuras.cpp and .h by their use
  * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal
  * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly
  * Send aura application client update only once per unit update - prevent unnecesary packet spam
 * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet
 * Fix memory leak at player creation (not deleted auras)
 * Updated some naming conventions (too many to mention)
 * Added Unit::GetAuraOfRankedSpell() function
 * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead
 * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc)
 * Implement AURA_INTERRUPT_FLAG_LANDING
 * Implement EffectPlayerNotification (thanks to Spp)
 * Remove wrong aura 304 handler
 * Add better handler for death runes
 * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura
 * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script
 * Add many assert() procection from idiots using some functions in wrong way
 * I am to lazy to write here anything more
Thanks to Visagalis for testing this patch
PS: Do not make patches like this, please

--HG--
branch : trunk
2010-01-10 01:23:15 +01:00
p0wer
695fad7bbd * Add SpellId.h to solution so we can begin to replace id's with more descriptive,
* self commenting variables. Thanks to Zor.

--HG--
branch : trunk
2009-12-25 10:45:58 -06:00
n0n4m3
250a00cc1c Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3
3fe0bc5254 Replaced time(NULL) on sGameTime.GetGameTime() this is used for better performance.
Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton.
2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs.

--HG--
branch : trunk
2009-12-23 08:04:10 +01:00
XTZGZoReX
f2557b0c4f * Drop support for VC80 (VS 2005). Time to upgrade, people... It's almost been 5 years.
* Remove useless VC100 files - they will need to be re-done in the future anyway.

--HG--
branch : trunk
2009-12-21 21:34:49 +01:00
Brian
35717d94db * Clean up a few old files
--HG--
branch : trunk
2009-12-21 17:40:21 -07:00
Brian
7899d89055 * Fix windows build
* Thanks Sundark

--HG--
branch : trunk
2009-12-21 00:05:41 -07:00
n0n4m3
5697ea9c94 Update BattleGround System for 322a
--HG--
branch : trunk
2009-12-17 10:43:12 +01:00
n0n4m3
2028f0658b Removed mtmaps OpenMP
Implement mtmaps based on ACE
For stable work MapUpdate.Threads=2 in config

--HG--
branch : trunk
2009-12-17 07:34:00 +01:00
Paradox
dc6f2cd40e Adds Debug or Release to the Full Revision string, fully tested under Windows.
--HG--
branch : trunk
2009-12-14 14:50:46 -05:00
spp
51a1a0aca9 Wintergrasp: Normalization of names to fit OutdoorPvP system
--HG--
branch : trunk
2009-12-14 03:53:38 +01:00
tartalo
d7262a6298 Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494
--HG--
branch : trunk
2009-12-01 11:43:57 +01:00
tartalo
bcfff09c74 *Implementation of 'No Fly Zone' (Dalaran and Wintergrasp), by Spp
--HG--
branch : trunk
2009-11-02 21:05:54 +01:00
maximius
eb44ad818e *Add TrinityScript to default x64 build configs (not sure why it wasn't there in the first place.. it is there for Win32..)
--HG--
branch : trunk
2009-09-14 16:13:22 -07:00
Chaz Brown
e08ddd3096 Remove the remaining obsolete Zthread code Part2
--HG--
branch : trunk
2009-09-13 06:07:40 -04:00
Chaz Brown
b8dc3f55f0 Remove the remaining obsolete Zthread code
--HG--
branch : trunk
2009-09-13 06:01:45 -04:00
Machiavelli
ff902a30d1 Add ssleay32.lib to linker dependencies for TrinityCore.vcproj VC90/VC80, so Windows users can actually make use of SSL features.
--HG--
branch : trunk
2009-09-02 17:54:08 +02:00
megamage
69c487abe5 *Handle creature rotation using movement generator. Please tell me if this breaks any script.
--HG--
branch : trunk
2009-08-29 17:14:47 -05:00
megamage
c97ae96ed0 *Move movement generator to a seperate folder.
--HG--
branch : trunk
2009-08-29 15:56:20 -05:00
megamage
08539ec0a4 *Rename some ai functions.
--HG--
branch : trunk
2009-08-23 14:20:07 -05:00
Chaz Brown
d0cd451f4f New Filters added to AHBot, moved into AI section for VS
--HG--
branch : trunk
2009-08-17 11:37:05 -04:00
QAston
6b4772207f *Cleanups, remove obsolete code and minor optimizations in spellauras.cpp and spelleffects.cpp
*Remove GetDummyAura(uint32 spellid) function - it is faster to use GetAuraEffect or GetAura if id is known than iterate threw dummy auras list
*Move Death Strike code from HandleDummyAuraProc to Spell::EffectDummy - original patch by hununza.

--HG--
branch : trunk
2009-08-08 16:18:05 +02:00