Commit Graph

77 Commits

Author SHA1 Message Date
megamage
ac33cb94f3 [7855] Add description command to pool_* tables for simplify DB development. Author: Seizerkiller
Note: this fields not used and not loaded by mangos.

--HG--
branch : trunk
2009-05-19 15:43:17 -05:00
megamage
ca4c3eb847 [7851] Fixed typo to allow work '.tele name' command.
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
Provide and use universal way for get locale and locale index for chat/console command use.
Author: VladimirMangos

--HG--
branch : trunk
2009-05-19 15:34:07 -05:00
megamage
3569f949d7 [7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
    * New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
      or if not provided by current seelction with error cases processing.
    * Property apply mute/unmute in case use different character name from loggined currently for account.
    * .reset commands can be used from console now
    * .repairitems comamnd can be used from console now but only to online player.

Author: VladimirMangos

--HG--
branch : trunk
2009-05-17 10:57:55 -05:00
megamage
a442a9b914 [7831] Prevent have hunter pet with level greater player levels at level changes. Propertly set hunter pet xp values at level update. Author: VladimirMangos
--HG--
branch : trunk
2009-05-15 13:44:49 -05:00
megamage
1390440f14 [7823] Fix ScalingStatValue field size in item_template table. Author: DiSlord
--HG--
branch : trunk
2009-05-14 15:37:28 -05:00
megamage
7c373f24d8 [7817] Add missing sql-updates to mangos.sql (7776, 7777, 7782) Author: Brueggus
--HG--
branch : trunk
2009-05-13 18:30:32 -05:00
megamage
e85e4c386b [7796] Implement .lookup taxinode and .go taxinode commands. Author: VladimirMangos
--HG--
branch : trunk
2009-05-08 18:47:27 -05:00
megamage
27d3ebbb92 [7777] Fixed talent 30299 and ranks procing also from holy dmg. Author: Corfen
--HG--
branch : trunk
2009-05-06 16:38:05 -05:00
megamage
e69d2cbed9 [7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
    npc_spellclick_spells, otherwise you won't be able to use them

--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage
d4c75dddea [7720] Fixed crash at .character level use from console. Include GM name in message for command target if report need. Author: VladimirMangos
--HG--
branch : trunk
2009-04-27 18:46:44 -05:00
megamage
f9c4047441 [7714] Implement new command .character level for set level provided level. Author: VladimirMangos
--HG--
branch : trunk
2009-04-27 18:15:30 -05:00
megamage
f4e2dccacb [7705] Rename some account/character related commands.
* .lockaccount -> .account lock
    * .password    -> .account password
    * .chardelete  -> .character delete
    * .customize   -> .character customize
    * .rename      -> .character rename
    [7706] Rename command .plimit -> .server plimit

Author: VladimirMangos

--HG--
branch : trunk
2009-04-24 11:45:25 -05:00
megamage
3a2e58f81a [7662] Spell power coefficients for talent 48505 and ranks. Author: nos4r2zod
--HG--
branch : trunk
2009-04-13 17:28:44 -05:00
megamage
6d0b82676c [7643] Allow set, store and output creture EventAI data version in addition to world DB and script library versions. Author: VladimirMangos
*This patch is disabled in TC2.

--HG--
branch : trunk
2009-04-09 17:57:57 -05:00
megamage
371a584047 [7633] Implement support multiply basic requirements for crireria in achievement_criteria_data. Author: VladimirMangos
Also implement additional basic requirements for proper implementing checks for ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE
    Req. DB support.

--HG--
branch : trunk
2009-04-08 16:34:38 -05:00
megamage
7b2ae4d964 [7627] Replace built-in in code table by new DB table achievement_criteria_data for store additional data for achievement criteria. Author: VladimirMangos
--HG--
branch : trunk
2009-04-08 16:24:34 -05:00
megamage
f59c4debf6 [7622] Added creatureAI with related database tables. Author: AlexDereka
*Note: three tables are renamed.

--HG--
branch : trunk
2009-04-07 19:38:09 -05:00
megamage
24e24d3c02 [7616] Implement .debug play cinematic and .debig play movie. Rename .debug playsound to .debug play sound. Author: VladimirMangos
*Note: some conflicts of string.

--HG--
branch : trunk
2009-04-05 16:58:20 -05:00
megamage
cb3b6e7c77 [7615] Continue sorting chat command function declarations. Move send commands in new .send * subcommand list. Author: VladimirMangos
--HG--
branch : trunk
2009-04-05 16:54:55 -05:00
megamage
3d1200f4ac [7609] Trailing whitespace cleaning Author: freghar
--HG--
branch : trunk
2009-04-03 16:39:21 -06:00
megamage
12bb5538b5 [7568] Spell proc event data from forums Author: DiSlord
--HG--
branch : trunk
2009-03-28 17:36:49 -06:00
megamage
2ab52aa2a1 [7565] Move all hardcoded strings used in .account onlinelist to DB. Author: VladimirMangos
Also update format as originally suggested by Cha0S2.

--HG--
branch : trunk
2009-03-28 17:31:27 -06:00
megamage
6dff0bfd5e [7560] Implement IconName for gameobject Author: NoFantasy
--HG--
branch : trunk
2009-03-28 16:28:36 -06:00
megamage
ce8462ccf9 [7558] Implement command: .learn all_mypettalents Author: VladimirMangos
Also output more correct messages at use .reset talents to pet

--HG--
branch : trunk
2009-03-28 16:25:42 -06:00
megamage
1ac13728a7 [7545] Fixed exploration achievements for certian areas Author: DonTomika
[7546] move uptime table to Realm database, use realmid column. Author: Triply

--HG--
branch : trunk
2009-03-26 14:02:11 -06:00
megamage
f40773a24d [7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:44:47 -06:00
megamage
3fd85fa5cd [7503] Implement proper (not 2 level limited) help.security set for chat commands and subcommands. Update some commands data. Author: VladimirMangos
* Now `command` table loading set data for any use subcommand levels
    * Errors output for not existed in code commands at related data loading from table.
    * Detail log level report outout about overwrited security level for loaded chat command data.

    Using this functionality found and fixed/update data for `command` in mangos.sql

    NOTE: some command security levels changed.

    Thank you to benemorius for pointing to this security problem.

--HG--
branch : trunk
2009-03-21 14:21:19 -06:00
megamage
64ce6533a9 *Update gameobject visual and command. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:16:02 -06:00
megamage
986334e641 [7472] Fixed messages in Eye of Storm Battleground. Author: Triply
--HG--
branch : trunk
2009-03-16 15:51:45 -06:00
megamage
090829bdf8 [7453] Fixed some example data in mangos.sql Author: VladimirMangos
--HG--
branch : trunk
2009-03-13 18:30:58 -06:00
megamage
dc4a456416 [7439] Fix wrong liquid level in some places. Need reectract maps. Author: DiSlord
Remove some log on extract maps.
    Add liquid status log to .gps command

--HG--
branch : trunk
2009-03-10 15:33:54 -06:00
megamage
f9aaf5bffb [7422] Allow localization base at guildmaster locale default guild rank names at guild creating. Author: VladimirMangos
--HG--
branch : trunk
2009-03-09 17:48:18 -06:00
megamage
520ce96257 [7399] Rewrited BattleGround starting code - moved it to battleground class. Author: Triply
Fixed message color for premature finish warnings.
    Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
    Added battleground announcer message removed in [7384].

[7401] Fixed bgqueue invitation to already started battlegrounds - not tested. Author: Triply

--HG--
branch : trunk
2009-03-07 12:05:30 -06:00
megamage
417c7c8319 [7393] Implement access to client side holiday ids. Author: VladimirMangos
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
    * `game_event` now have new `holiday` field for store client side holiday id associated with game event
    * Added new enum HolidayIds with existed at this moment holiday ids.
    * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.

--HG--
branch : trunk
2009-03-06 19:36:47 -06:00
megamage
13fc3dcd7e [7388] Fixed battleground premature warning message. SQL files are attached, you must execute them! Author: Triply
Fix for message's color will be soon.

--HG--
branch : trunk
2009-03-06 15:25:20 -06:00
megamage
6f595b3038 [7387] Check maxcount >= min count for item (not reference) record in loot templates DB tables.. Author: VladimirMangos
--HG--
branch : trunk
2009-03-06 15:23:25 -06:00
megamage
b7363a72fe [7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client Author: NoFantasy
--HG--
branch : trunk
2009-03-05 18:58:58 -06:00
megamage
1cdae46468 [7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement. Author: VladimirMangos
Also
    * Allow have in aura_spell spells with SPELL_AURA_PHASE in first effect.
    * Allow negative aura_spell chaining in spell_area table.
    * Better check at loading duplicate data (by requiremnt set) in spell_area table.

--HG--
branch : trunk
2009-03-03 18:41:11 -06:00
megamage
d9d77939ba [7369] Remove ReqSourceRef in quest_template. Author: NoFantasy
--HG--
branch : trunk
2009-03-02 17:06:41 -06:00
megamage
adb19df474 [7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area. Author: VladimirMangos
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
      aura present at character, character race/gender.
    * Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
      zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
    * Old hardcoded lines for similar check removed from sources and required DB support for work now.

--HG--
branch : trunk
2009-02-27 12:53:27 -06:00
megamage
0f9238ecb1 [7332] Allow provided target for .distance command using player name or shift-link with guid. Author: VladimirMangos
--HG--
branch : trunk
2009-02-25 16:47:22 -06:00
megamage
c50aab0033 [7331] Normalization and corrections in mangos_commands. Author: FrenchW
--HG--
branch : trunk
2009-02-24 11:17:48 -06:00
megamage
3fb55c922f [7312] Use localized DB-based achievement message instead hardcoded string. Author: VladimirMangos
--HG--
branch : trunk
2009-02-21 17:02:56 -06:00
megamage
0eb7ad0536 [7303] Fixed sql changes part of pool patch. Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:51:29 -06:00
megamage
a24928be67 [7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later..
    Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
    will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.

Author: GriffonHeart

--HG--
branch : trunk
2009-02-17 17:40:03 -06:00
megamage
d73b38f0fa [7290] Command .npc setdeathstate on/off. Author: GriffonHeart
--HG--
branch : trunk
2009-02-17 14:51:25 -06:00
megamage
fe85f52142 [7252] Move all world global broadcast string (all arena/bg related) to mangos_string.
PLEASE, NOT USE string world broadcasts in real code. This function _only_ for debug purposes.

    Really allow with .debug bg start bg with 1 player.
    Added helps for some existed .debug commands.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-10 00:59:10 -06:00
megamage
7f39dbd848 *add .debug bg to allow starting a battleground with just one player it's implemented like .debug arena - so you toggle debug bg on or off By balrok
--HG--
branch : trunk
2009-02-10 00:39:03 -06:00
megamage
99c8226216 [7249] Remove outdated data from spell_proc_event. Author: jorooo
--HG--
branch : trunk
2009-02-09 20:10:42 -06:00
megamage
91356d97d5 [7246] Add data from 7242_01_mangos_spell_bonus_data.sql to mangos.sql as expected.
Also fix outdated comment
Author: VladimirMangos

--HG--
branch : trunk
2009-02-09 20:00:06 -06:00