Shocker
63aa6e44fb
Core/Scripts: Small, insignificant cleanups
...
--HG--
branch : trunk
2010-09-21 04:57:08 +03:00
silinoron
48b29e6019
Scripts/Eastern Kingdoms/Scarlet Enclave: Fix some display issues.
...
Patch by Ramor.
Fixes issue #2503
--HG--
branch : trunk
2010-09-18 19:23:13 -07:00
Shocker
61c11f8f9b
Scripts/Deadmines: Fix OnUse hook usage, thanks zaphod, closes issue 3942.
...
Note: If you spot similar errors (forgotten changes for hooks) in other scripts, please report them
--HG--
branch : trunk
2010-09-13 01:59:09 +03:00
Shauren
e0ffae436c
Core/Quests: Fixed remaining issues with quest crediting (note: previous commits did not introduce issues, only revealed them)
...
Core/DBLayer: Fixed more compile warnings
Core/Spells: Corrected code style from revision 634af79146
Closes issue #3956 .
--HG--
branch : trunk
2010-09-12 19:17:58 +02:00
click
bf664b7a44
Cleanup/Core: Remove whitespace and tabs
...
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Shocker
3999444157
Core/Scripts: Use same standard for all GetInstanceScript's, closes issue 3890
...
--HG--
branch : trunk
2010-09-08 11:42:11 +03:00
Shocker
665bc1ffb9
Typo fixes, closes issue 3885, thanks zaphod & Paradox
...
--HG--
branch : trunk
2010-09-08 09:35:54 +03:00
click
8823a91cdc
BuildSystem/ALL: Remove unused custom code (most are duplicated as in examples)
...
+ remove fileglobbing for scripts (less error-prone)
+ Create proper lists per "scriptsection"
NOTE! This change requires new files (cpp/h) to be MANUALLY ADDED to <type>/CmakeLists.txt
--HG--
branch : trunk
2010-09-05 17:19:41 +02:00
azazel
f500ef201b
Scripts/Texts:
...
* fix script texts in various locations (thanks TerrorBringer for the heads up). Closes issue #2055 . Closes issue #3087 .
* cleanup world_script_texts.sql file (remove spaces, order entries)
Scripts/Misc:
* remove obsolete random seed initialization from scripts
* fix some warnings in scripts
* some cleanup in chat_log.cpp
--HG--
branch : trunk
2010-09-05 02:16:58 +06:00
azazel
b2a49ad79a
Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the same name (thanks niksad8). Closes issue #3086 . Closes issue #2989 .
...
--HG--
branch : trunk
2010-09-01 10:40:44 +06:00
Shauren
58ce3c77af
Core/Scripts: Revert revision 619ba8b76250 and fix it properly
...
--HG--
branch : trunk
2010-08-31 15:37:29 +02:00
Spp
b5beb1c706
Better way to fix some warnings from rev 621c100eeb.
...
--HG--
branch : trunk
2010-08-31 13:31:38 +02:00
Spp
b9e19572c4
Core: Fix more warnings (very few left under linux 32)
...
--HG--
branch : trunk
2010-08-31 11:39:51 +02:00
Spp
e252b8abe7
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 23:07:14 +02:00
Spp
405f312918
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 15:25:15 +02:00
Liberate
f67441b863
Fixes gossip scripts or points of interests of npc's with a Scriptname assigned to them.
...
This fixes guards in Major cities.
Thanks to Aokromes for testing.
Thanks to click for converting all the scripts to work with this change.
--HG--
branch : trunk
2010-08-29 00:57:51 +02:00
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