QAston
30d31ca40a
*Fix usage of EffectValueMultiplier in spell code.
...
*Remove some obsolete code from spell class.
*Rename some spellmod and dbc column names to be more accurate.
--HG--
branch : trunk
2010-08-26 19:07:55 +02:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Shocker
91ebad0016
* Add support for quest 1393 (Galen's Escape), original code by przemratajczak, port by McBitter, closes issue 3463
...
* Fix typo in AuctionHouseHandler, thanks GriffonHeart, fixes issue 3609
* Forgotten thanks
--HG--
branch : trunk
2010-08-25 21:23:28 +03:00
azazel
caa3a58213
Core:
...
* add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable
* fix some signed/unsigned warnings and some typos
--HG--
branch : trunk
2010-08-23 22:58:32 +06:00
Spp
58e94dcb9d
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-23 14:10:24 +02:00
azazel
399e35f8f5
Core:
...
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings
* fix some other warnings here and there
--HG--
branch : trunk
2010-08-22 23:46:40 +06:00
click
95f0d56077
Core/Scripts: Fix even more scriptbugs from convertion (thanks to Kierkegaard)
...
--HG--
branch : trunk
2010-08-18 20:35:29 +02:00
Machiavelli
075a4525d7
This should be the last of the malfunctioning AI scripts, thanks to click for the list
...
--HG--
branch : trunk
2010-08-14 10:28:45 +02:00
Machiavelli
3cf6af1779
Also fix npc_scarlet_miner
...
--HG--
branch : trunk
2010-08-14 05:51:29 +02:00
Machiavelli
cc351c7f1c
Fix script (and crash in) npc_scarlet_miner_cart
...
--HG--
branch : trunk
2010-08-14 05:47:51 +02:00
Machiavelli
d5270f9e0d
Globally find & replace InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap) -> InstanceScript* GetInstanceScript(InstanceMap* pMap) const, this makes sure instance scripts get initialized properly and prevents crashes in scripts.
...
NOTE: this either breaks or fixes crlf, have no time to check now.
--HG--
branch : trunk
2010-08-11 21:52:44 +02:00
silinoron
a094d3e281
Properly initialize instance scripts with the appropriate map id to avoid loadup errors.
...
--HG--
branch : trunk
2010-08-09 10:37:28 -07:00
click
72d27a34fd
Clean up some doubledefined ScriptPCH.h includes
...
--HG--
branch : trunk
2010-08-09 16:24:13 +02:00
click
abd261b1a1
Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart
...
- should fix the "linking scripts" failure (not tested)
--HG--
branch : trunk
2010-08-09 01:52:26 +02:00
azazel
e5c797cef6
* Fix remaining errors in scripts project
...
* Remove now obsolete ScriptedInstance.h file
--HG--
branch : trunk
2010-08-09 00:56:10 +06:00
XTZGZoReX
48c4d4551c
Fix.
...
--HG--
branch : trunk
2010-08-08 13:06:17 -05:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
azazel
590199d8e1
* Rename InstanceData to InstanceScript
...
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.
--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00
XTZGZoReX
02121a026e
* Convert npc_professor_phizzlethorpe.
...
--HG--
branch : trunk
extra : rebase_source : 55c18bea7f25634a86c028cff3bbf2a2c10420d3
2010-08-08 13:48:01 +02:00
John Holiver
99a054bfd2
Converting EasternKingdoms/ZulAman and EasternKingdoms/ZulGurub.
...
Need to recheck tomorrow. :)
--HG--
branch : trunk
2010-08-08 05:01:17 -03:00
John Holiver
0ce01cdb63
Missed a new file from EasternKingdoms/Uldaman
...
--HG--
branch : trunk
2010-08-08 03:41:36 -03:00
silinoron
8082363fc1
merge
...
--HG--
branch : trunk
2010-08-07 16:41:27 -07:00
John Holiver
af15ba29d1
Converting EasternKingdoms/Uldaman
...
--HG--
branch : trunk
2010-08-07 20:42:50 -03:00
Shauren
b3e6a6c5ab
Remove useless hack for Leeeeeeeeeeeeeroy! achievement
...
--HG--
branch : trunk
2010-08-07 20:28:23 +02:00
XTZGZoReX
ed4e49a4e7
* OutdoorPvP implementations now reside in the script library.
...
--HG--
branch : trunk
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.h => src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.h => src/server/scripts/OutdoorPvP/OutdoorPvPHP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.h => src/server/scripts/OutdoorPvP/OutdoorPvPNA.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.h => src/server/scripts/OutdoorPvP/OutdoorPvPSI.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.h => src/server/scripts/OutdoorPvP/OutdoorPvPTF.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.h => src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
2010-08-07 16:38:22 +02:00
XTZGZoReX
bcfc58a72d
* Script-side changes for my last commit.
...
--HG--
branch : trunk
2010-08-07 13:46:08 +02:00
silinoron
38402fa55b
A couple of forgotten changes.
...
--HG--
branch : trunk
2010-08-06 18:51:00 -07:00
silinoron
c69bb618f5
Convert Alterac Valley to new format.
...
--HG--
branch : trunk
2010-08-06 18:48:08 -07:00
azazel
f413d60908
* Move all movable spell effects from core to DB. Needs DB support.
...
* Fix some compile errors made in previous commits.
--HG--
branch : trunk
2010-08-07 01:02:09 +06:00
XTZGZoReX
731eaf72cb
* Example on AI script conversion (and minor correction in CreatureScript).
...
--HG--
branch : trunk
2010-08-06 20:42:42 +02:00
XTZGZoReX
4fca015f4c
* Fixed last commit; didn't mean to remove AddSC_instance_deadmines.
...
* Converted area trigger scripts.
--HG--
branch : trunk
2010-08-06 20:34:17 +02:00
XTZGZoReX
b51630ccb6
* Example on converting instance scripts.
...
--HG--
branch : trunk
2010-08-06 20:22:42 +02:00
QAston
6353e7dd8c
*Update movement enums - thanks to Zor for info.
...
*Add functions for position data streaming.
--HG--
branch : trunk
2010-08-04 14:39:45 +02:00
silinoron
14827321bf
Add support for CreatureAI::DamageDealt used in a Zul'Aman script. Thanks joshwhedon.
...
--HG--
branch : trunk
2010-08-02 14:18:30 -07:00
QAston
e5881d9590
*Cleanup in single target auras (thanks to JuliuSZS some useable debug info)
...
*Add ToInstanceMap() and ToMapInstanced() typecast functions and CAST_INST macro to use in scripts.
--HG--
branch : trunk
2010-07-31 01:41:32 +02:00
QAston
204834d33d
*Change typecasts to use build in functions/macros in scripts to prevent possible access violation.
...
*Remove no longer needed hack from netherspite script.
--HG--
branch : trunk
2010-07-30 21:16:15 +02:00
QAston
d666ba26c1
*Thread safe player searcher in scripts.
...
--HG--
branch : trunk
2010-07-30 15:51:07 +02:00
QAston
cce34d4950
*Fix crashes in boss_kiljaeden script.
...
--HG--
branch : trunk
2010-07-25 21:50:13 +02:00
_manuel_
997b9e6b22
Fixed issues with The Second Trial (Q9686).
...
P.S: Now my System Date is right!
--HG--
branch : trunk
2010-07-25 01:34:35 -03:00
Xanadu
79622802f3
Merge. Revision history for source files should be all back now.
...
--HG--
branch : trunk
rename : sql/CMakeLists.txt => sql/tools/CMakeLists.txt
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
2010-07-20 02:49:28 +02:00
click
ba36f1eb23
Clean up old (and partially unused) Aggro() function and use EnterCombat() instead + fix some minor enum-typos (INTURRUPT -> INTERRUPT)
...
(fix by Azazel)
--HG--
branch : trunk
2010-07-19 14:17:30 +02:00
click
673c652ba6
change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
...
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
click
6f393be15a
Update GPL-licensing information on scripts (now with the proper bling-bling headers!)
...
If any more scriptfiles are missing their respective header, let us know please...
--HG--
branch : trunk
2010-07-06 03:27:41 +02:00
click
079b945a7d
Use RemoveAurasByType() and not RemoveAuraDueToSpell() to remove iterated spellauras of a type - DueTospell() expects singular spellID
...
Thanks to Azazel for the heads up
--HG--
branch : trunk
2010-07-04 15:55:05 +02:00
click
8bdd082aa1
Adjust to use correct timeframe for script-copyrights
...
--HG--
branch : trunk
2010-07-02 16:13:40 +02:00
click
7091c37ac0
Add Trinity copyright holders for scripts
...
--HG--
branch : trunk
2010-07-02 16:02:40 +02:00
Machiavelli
0f7657b68c
Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
...
Also get rid of unused CountedReference class that used Trinity threading pattern.
--HG--
branch : trunk
2010-06-25 00:18:01 +02:00
Xanadu
c9b20170a3
Cleanup of logging - removed a few duplicit functions from olden times, fixed a typo.
...
--HG--
branch : trunk
2010-06-22 02:53:04 +02:00
click
7561bab716
Change around some more headers to adhere to new strucutre and namebase
...
--HG--
branch : trunk
2010-06-08 23:44:55 +02:00
Brian
b76b6700ed
* Linux compile with and without PCH fixed
...
* Script library compile fixed
* --todo: fix all scripts themselves :)
--HG--
branch : trunk
2010-06-08 13:05:47 -06:00