Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
linencloth
b150172521
Core/QuestStatus:
...
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
- Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations
WARNING: Backup your database!
--HG--
branch : trunk
2010-12-26 04:16:18 +01:00
Machiavelli
385b81662a
Fix build
...
--HG--
branch : trunk
2010-12-24 20:17:38 +01:00
Machiavelli
18cc4c4aba
Scripts/Orgrimmar: Remove a not finished quest script. Proper quest support will be included in a future TDB release.
...
Author: Nay
--HG--
branch : trunk
2010-12-24 19:54:52 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
834285c86d
Oops, fixed compile
...
--HG--
branch : trunk
2010-12-20 12:06:12 +01:00
Shauren
3fefb13bd4
Scripts/Silithus: Fixed some int -> float casts, should fix invalid coord error
...
--HG--
branch : trunk
2010-12-20 12:03:23 +01:00
Shauren
e3e77aceab
Scripts/Temple of Anh'Qiraj: Fixed possible crash in mob_anubisath_sentinel
...
--HG--
branch : trunk
2010-12-20 11:39:12 +01:00
Shauren
8d76329eff
Scripts/Temple of Ahn'Qiraj: Its generally not a good idea to delete stuff before using it; fixed crash
...
Closes issue #4357 .
--HG--
branch : trunk
extra : rebase_source : b829284f60e2b55f8e79db72751252cc6619e59a
2010-12-19 00:27:38 +01:00
Shauren
82f45966fc
Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
...
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)
--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
click
a7f3548259
Core: Prevent using uninitialized memory in Lazy Peon script - patch by ge0rg
...
--HG--
branch : trunk
2010-12-17 05:03:25 +01:00
Anubisss
6d9029c12e
Make some cleanup.
...
My thank goes to Az@zel for the code analysis.
--HG--
branch : trunk
2010-12-16 18:08:23 +01:00
Shauren
9a806e63c1
Fixed compile
...
--HG--
branch : trunk
2010-12-14 16:31:01 +01:00
Shauren
314376e32c
Scripts: Fixed uninitialized variables, unreferenced parameters and virtual overrides
...
--HG--
branch : trunk
2010-12-14 16:24:59 +01:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
leak
6fe19b5a86
Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two virtual functions each.
...
Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal.
Closes issue 5011.
--HG--
branch : trunk
2010-12-05 18:04:10 +01:00
Spp
25ac835507
Core/Groups: Move all function definition from .h to .cpp
...
Core/Groups: Remove Group.h dependency from any .h file
--HG--
branch : trunk
2010-11-29 07:50:31 +01:00
Spp
addd762c4d
Core: Fix warnings
...
--HG--
branch : trunk
2010-11-16 14:08:12 +01:00
linencloth
8fae0c176d
Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
...
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility
--HG--
branch : trunk
2010-11-16 01:13:04 +01:00
Supabad
343478b0e6
Scripts/dustwallow marsh:
...
- Traitors Among Us
- Discrediting the Deserters
by lopin
--HG--
branch : trunk
2010-11-14 14:40:03 +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
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
click
34eed2de3f
Core/Scripts: Fix menu clearing in onGossipSelect()-sections for some scripts (including examples) - patch/fix by Paradox
...
Closes issue 4524
--HG--
branch : trunk
2010-10-21 20:12:33 +02:00
Shocker
63aa6e44fb
Core/Scripts: Small, insignificant cleanups
...
--HG--
branch : trunk
2010-09-21 04:57:08 +03:00
linencloth
d8a854d6e0
Core: Cleanup locale handling.
...
It also fixes the recent problem of strange strings.
--HG--
branch : trunk
2010-09-17 07:04:29 +02: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
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
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
Supabad
9366110515
Core/scripts: core support for escort Stinkys Escape!
...
Thanks to Kiper
--HG--
branch : trunk
2010-08-26 13:06:13 +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
4da71ac657
* Fix a crash in Culling of Stratholme
...
* Typo fix from previous rev
--HG--
branch : trunk
2010-08-25 03:53:43 +03: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
John Holiver
ccd1e66e56
Core/Scripts: Onyxia movement before phase 2
...
--HG--
branch : trunk
2010-08-19 17:50:38 -03: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
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
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