Commit Graph

145 Commits

Author SHA1 Message Date
Spp
ff89bad0fe Allow Battlegrounds and arenas to be disabled by DB.
wtlk arenas disabled by default.

- Player will continue to see all bgs using UI, but won't be able to join disabled bg's
- Gossip menu not shown for disabled Bgs/arenas
- Id 6 disabled = all arenas disabled.
- Only id 6 arena enabled = Gossip shown but unable to join any arena

--HG--
branch : trunk
2010-03-13 00:47:24 +01:00
Spp
673ab0019c Some Ticket text formating changes to help addons to parse data
Linked issue 466

--HG--
branch : trunk
2010-03-12 19:20:11 +01:00
Spp
2cac9671ca Add map and zone to account onlinelist command.
Closes issue 466

--HG--
branch : trunk
2010-03-12 18:55:41 +01:00
Spp
d2a3f9670f Move vehicle accesories to DB.
Credit to Malcrom and Manuel for the idea and original patch

--HG--
branch : trunk
2010-03-12 18:19:50 +01:00
Spp
25b0be95aa Typo in server shutdown command.
Original author VladimirMangos
Closes issue #57

--HG--
branch : trunk
2010-03-09 13:13:20 +01:00
Spp
cef249ff2c Add level restrictions to some commands:
say, yell, emote, whisper, channel use, trade, auction, mail, tickets
By azazel. Closes issue #598

--HG--
branch : trunk
2010-03-09 12:58:48 +01:00
Brian
29666451f3 * Add support for sending quest completion text
* Original patch by NoFantasy - thank you
* Ported to Trinity by seirgy - thank you
* Closes issue #873

--HG--
branch : trunk
2010-03-02 09:59:59 -07:00
teacher
70e77a796d Fixed import errors on recent sql update files...
Added forgotten updates to world.sql...
Added missing lines at the end of some sql files...
Better format by adding DELETE FROM before any INSERT INTO update...

--HG--
branch : trunk
2010-03-02 15:42:46 +01:00
p0wer
81f6779102 Add command similar to pinfo but for gameobjects.
Displays Entry, Type, DisplayId, and Name.
Created in response to issue #768.

--HG--
branch : trunk
2010-03-01 19:28:21 -06:00
Tartalo
c76cb0ce7c Add new flagged column to access_requirement to set instances opened/closed.
This way is possible to open a raid on 10man mode while the rest of modes are closed (for example).
Ingame commands to open/close instances coming soon ;)

--HG--
branch : trunk
2010-02-25 16:26:03 +01:00
p0wer
ba51f553fc Add command for administrators to change channel publicity ingame rather than having to manually manipulate the database.
--HG--
branch : trunk
2010-02-24 21:30:00 -06:00
p0wer
ee40f67b6f Missed changes from last commit. Sorry bout that.
--HG--
branch : trunk
2010-02-23 21:18:09 -06:00
QAston
abd9ce7ad1 *Battle shout and Commanding Shout can stack with each other when cast by different casters.
--HG--
branch : trunk
2010-02-23 00:13:15 +01:00
teacher
a2381b9863 Added recent sql updates to world.sql and full files...
--HG--
branch : trunk
2010-02-22 20:03:30 +01:00
QAston
4cd4c4170f *Backout some WTF fixes. Do things correctly, or do not touch them at all...
*Really fix windows build.

--HG--
branch : trunk
2010-02-15 20:59:05 +01:00
n0n4m3
130dc0ed07 Add missing changes in world.sql rev 39b34751a7
--HG--
branch : trunk
2010-02-15 19:13:22 +01:00
Brian
486c00891b * Core switch to client 3.3.2 (11403)
* Credits (in no particular order) to:
* n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo,
* thenecromancer, Xanadu, Trazom, Zor, kiper
* Additional credits to:
* TOM_RUS and NoFantasy from MaNGOS
* Thanks for testing Aokromes and XTElite1
* SoTA still needs some work, but is very playable (huge thanks to raczman and
* kiper)
* To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the
* last rev you are on
* and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world
* DBs
* Known problem with guild banks.

--HG--
branch : trunk
2010-02-14 19:13:14 -07:00
teacher
5cb0a6177c Removed script_waypoints data form world.sql. They should not be there.
Removed obsolete readme file for fulls. Fulls are now just for testing purposes.

--HG--
branch : trunk
2010-02-06 14:47:49 +01:00
Xanadu
6e1176e7fc Modify world.sql, too...thx to _manuel_for reminding me. Also thx to Aokromes for testing revs 7299 & 7300.
--HG--
branch : trunk
2010-02-06 01:08:17 +01:00
Xanadu
ad63efde8d Fixed Ritual of Souls, implemented soulwell giving healthstones according to warlock's Improved Healthstone talent points.
--HG--
branch : trunk
2010-02-04 14:43:07 +01:00
QAston
10695f9131 *Drop spell_stack_masks table
*Add spell_group_stack_rules table (for more info see wiki)
*The table is maintained by core team
*Move some spell specific out of core to the new table

--HG--
branch : trunk
2010-02-02 22:35:01 +01:00
QAston
a1256d88ee *drop spell_elixir table
*add spell_group table for storage of groups of spell (kinda obvious, isn't it?) and populate the table with converted spell_elixir table data
*the table is going to be maintained by core team
*fix percentage display at spell_ranks table loading
*add TARGET_UNIT_CASTER to allowed learn spell targets in npc_trainer table, thanks to Aokromes for noticing the issue.

--HG--
branch : trunk
2010-02-01 19:22:32 +01:00
teacher
65705a16c1 Updated world.sql and characters.sql.
Removed commented code form realm.sql and set account.expansion field default value to 2 (wotlk) (thx Aokromes).
Properly set default values for some world DB fields.
Properly set some world DB fields to allow Database import in strict mode (by Brian).
Updated world_script_full with recent committed npc script.
Renamed a couple of files with proper revision number.
Note: no DB data will changed nor harmed by this commit.

--HG--
branch : trunk
2010-02-01 18:52:42 +01:00
Brian
ba9197236c * Backed out changeset af19f9ff6dd8
* Spell ranks are handled by the (imagine this) spell_ranks table
* Data already in spell_ranks for these spells
* Thanks QAston

--HG--
branch : trunk
2010-01-31 13:19:43 -07:00
Brian
a4759e9ce8 * Add spell required data for Totem of Wrath ranks 2-4
* Thanks Wladass

--HG--
branch : trunk
2010-01-31 13:04:57 -07:00
QAston
9de5acc4e1 *Drop no longer needed sql table.
--HG--
branch : trunk
2010-01-31 17:49:55 +01:00
QAston
a331b67244 *Add error checks at spell_required table loading
*Allow spell_required table to store more than 1 spell learn requirement for a spell
*spell_required table data is removed from world.sql and since this commit the data for it should be maintained by db project you're using.

--HG--
branch : trunk
2010-01-30 19:25:04 +01:00
Brian
50f0279bdb * Set auto increment values for creature and gameobject GUIDs outside of TDB
ranges.
* All custom content should have GUIDs > 250000 for `creature` and GUIDs >
200000 for `gameobject`

--HG--
branch : trunk
2010-01-30 07:14:34 -07:00
Brian
d140d67699 * Changed the default security levels for some commands
* Deleted no longer used loadscripts command
* Updated security levels in the command table to match defaults in the core

--HG--
branch : trunk
2010-01-29 14:19:43 -07:00
QAston
7776faa6ac *Typofix - Journeyman - rank 2 Apprentice - rank1
--HG--
branch : trunk
rename : sql/updates/7232_world_spell_ranks.sql => sql/updates/7233_world_spell_ranks.sql
2010-01-29 18:16:46 +01:00
QAston
9e31e08358 *Move spell rank extractor out of core, use sql table instead for easier maintaining of dependant database data.
--HG--
branch : trunk
2010-01-29 17:54:29 +01:00
Xanadu
2c81241bef Fixed hunter trap procs - Entrapment and Lock and Load shall be henceforth proced only by the correct traps.
Closes issue #110.

--HG--
branch : trunk
2010-01-27 00:02:21 +01:00
Brian
341b8e04d5 * Added a stupidity check into world.sql so it can not be imported
* accidentally

--HG--
branch : trunk
2010-01-26 06:10:57 -07:00
nihal
08e4346ab2 Some good old fashioned proper Trinity Standard sql renaming and formatting.
Also added missing data to world.sql.

--HG--
branch : trunk
2010-01-24 15:59:10 +01:00
win32
19ac6f6a3c Implement new commands for add/remove/lookup titles.
Autor Vladimir.

--HG--
branch : trunk
2010-01-21 11:19:34 +02:00
Brian
c82599ebb9 * Wintergrasp removal -- part 4: "How deep does the cancer run?"
--HG--
branch : trunk
2010-01-20 14:23:47 -07:00
Brian
6e5d342fe4 * Wintergrasp removal part 2
--HG--
branch : trunk
2010-01-20 07:54:43 -07:00
teacher
4e2b98e871 Update gossip_menu_option data by Maximius.
--HG--
branch : trunk
2010-01-16 15:17:12 +01:00
teacher
768bfcfa19 Add Trigger teleport to acherus (for quest 12757) by denyde.
Added missing data to world.sql.

--HG--
branch : trunk
2010-01-16 15:06:40 +01:00
teacher
482604b103 Fixed typo in previous commit. I misunderstood the fix.
Thank you Aokromes for being there!

--HG--
branch : trunk
2010-01-13 21:43:36 +01:00
teacher
42d904a8bf Added long forgotten sql update for Rev6693 (Add support for RewSpellCast=-1. If -1 remove all auras applied to player at quest start).
Thank you Warhead.

--HG--
branch : trunk
2010-01-13 21:28:35 +01:00
_manuel_
943b3195da Fix stats table to update 2 missing health values by Malcrom.
--HG--
branch : trunk
2010-01-12 15:03:31 -03:00
teacher
2168df1500 Missing updated file added for last commit.
How about me saving the damn file before committing first...

--HG--
branch : trunk
2010-01-13 09:49:51 +01:00
teacher
f39e058d9a Second part of sql files renaming not following Trinity standard.
Update world.sql too. Final part later today to complete the work.

--HG--
branch : trunk
2010-01-13 08:34:51 +01:00
teacher
3ddea83ffa First part of renaming sql update files which did not respect Trinity standard.
Moved old sql update files to sql\updates\3.2.2a_old folder.

--HG--
branch : trunk
2010-01-12 21:06:54 +01:00
Astellar
2564f5470a Fixes Issue #153. Earth Shield should not proc from positive spells. So flag PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL is removed.
--HG--
branch : trunk
2010-01-11 18:58:23 +03:00
Brian
378388d0a6 * Add support for .gobj target to output phaseMask
* Thanks to Aokromes for the original idea of adding it to .npc info output.

--HG--
branch : trunk
2010-01-10 19:03:47 -07:00
Brian
1e7087c75c * add armor output in .npc info
--HG--
branch : trunk
2010-01-10 16:11:24 -07:00
QAston
feb7acf8aa *spell_linked_spell entry for Deterrance. Resolves #237.
--HG--
branch : trunk
2010-01-10 14:51:34 +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