Commit Graph

111 Commits

Author SHA1 Message Date
megamage
7de6113d90 [7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:10 -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
XTZGZoReX
55695eda78 * Implement ".server set closed on/off" command to allow/deny new connections to the world.
--HG--
branch : trunk
2009-03-21 13:51:28 +01:00
megamage
65738328de *Fixed crash caused by .distance command. By arrai.
--HG--
branch : trunk
2009-03-20 14:28:13 -06:00
megamage
5b73a59f15 *Set totem slot to 4 but total summon slot to 6.
*Fix build.

--HG--
branch : trunk
2009-03-19 15:45:22 -06:00
megamage
64ce6533a9 *Update gameobject visual and command. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:16:02 -06:00
megamage
bf7cfe6964 *Rename and sort some gm commands. By Vladimir.
--HG--
branch : trunk
2009-03-19 15:06:30 -06:00
megamage
721f1d98b5 *Fix debug command setbit.
--HG--
branch : trunk
2009-03-14 19:32:02 -06:00
megamage
6e29ab4fbb [7440] Use server-side only zone info. Optimize related calles in case zone and subzone use. Author: VladimirMangos
This in some cases make some zones not explorable if it not have server side data in current maps
    but not allow cheating with zone set from client.

--HG--
branch : trunk
2009-03-11 16:17:37 -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
edcfae2c8a *Restructured/Reordered Npc Commands Author: multiplexer
--HG--
branch : trunk
2009-03-09 17:34:54 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
88c050182c *Fix build.
--HG--
branch : trunk
2009-03-08 11:31:00 -06:00
megamage
7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Blaymoira
fd2fd00c14 *Implement access_requirement table - by Iskander
- now check the requirements on teleport not only on areatrigger use
- moved some columns from instance_template and areatrigger_teleport to access_requirement table

--HG--
branch : trunk
2009-03-05 21:02:33 +01:00
megamage
f87dda2473 [7357] Fixed double applied playerlink in .levelup command. Author: balrok
--HG--
branch : trunk
2009-03-02 16:45:41 -06:00
Paradox iamparadox@netscape.net
ef8d2ac080 AHBot/AH changes
--HG--
branch : trunk
2009-02-28 17:42:29 -05: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
5fda499266 *Merge.
--HG--
branch : trunk
2009-02-24 21:14:00 -06:00
megamage
8770a90bc6 *Update of some debug command.
--HG--
branch : trunk
2009-02-24 21:06:12 -06:00
megamage
699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -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
00ba699d6f *Merge.
--HG--
branch : trunk
2009-02-16 19:04:31 -06:00
megamage
bb75ff7b79 *Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG--
branch : trunk
2009-02-15 17:33:36 -06:00
megamage
6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -06:00
megamage
42b98f7e57 [7262] Check security level of target for .die command for case when this command have lesser security level from default setting. Author: VladimirMangos
Original patch provided by NewAge.

--HG--
branch : trunk
2009-02-10 10:05:26 -06:00
megamage
d696381f32 [7250] Use bg type ids enum insted raw values and catch some bugs in result for fixing.
* Replace max bg type checks by DBC valid index check
    * Use in functions and fields BattlegroundTypeId type instead uint32
    * Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls.
      Many bg have same raw values for type id and queue id but some can be affected by this bug:
      BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions)
    * Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr.
    * Remobe redundent for header itself includes for BG headers.
    * Use Auction location enum instead raw valus.
Author: VladimirMangos

--HG--
branch : trunk
2009-02-09 22:08:06 -06:00
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
Blaymoira
eb5fee2665 *More cleanups
--HG--
branch : trunk
2009-01-23 16:38:09 +01:00
KingPin
e1f765a972 AuctionHouseBot patch added. thanx to everyone who worked on it especially Paradox. Only apply 930_characters.sql if you dont already have AHBot installed. AHBot requires an account ID and a character ID to work with, set them in trinitycore.conf and also login atleast once to this character.
--HG--
branch : trunk
2009-01-20 16:44:05 -06:00
megamage
f08e9d323b [7235] New command: .reset achievements. Author: VladimirMangos
--HG--
branch : trunk
2009-02-06 15:40:48 -06:00
megamage
d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
megamage
df7499e056 *Merge.
--HG--
branch : trunk
2009-02-04 10:53:58 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
4e13ff356f *Merge.
--HG--
branch : trunk
2009-02-02 17:34:49 -06:00
megamage
e9d6bfd3bb [7221] Add output player names as sift-links in more chat commands. Author: VladimirMangos
Did not merge the part of HandleAccountSetGmLevelCommand.

--HG--
branch : trunk
2009-02-02 15:36:52 -06:00
QAston
cccfd132dd *Handle SPELL_AURA_MOD_WEAPONTYPE_IGNORE_TARGET_RESISTANCE and new spellmods.
--HG--
branch : trunk
2009-02-02 22:31:11 +01:00
megamage
d487e6d039 [7219] Improvements ins shift-links work.
* Implement support 'Hplayer' link type. Mostly as player name highlights in command messages.
    * Support shift-links parsing withoyt '|c' color prefix
    * Many related code cleanups.

Author: VladimirMangos

--HG--
branch : trunk
2009-02-02 09:50:13 -06:00
megamage
7d855bec0a [7211] Re-calculate "gameobject for quests" data at quest_template reload. By VladimirMangos.
--HG--
branch : trunk
2009-02-01 16:29:01 -06:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
25ab1fa4ad *Update to Mangos 7200.
--HG--
branch : trunk
2009-01-29 19:33:39 -06:00
megamage
a8c836f8d9 *Update to Mangos 7194.
--HG--
branch : trunk
2009-01-27 14:47:46 -06:00
megamage
c5de7cccb8 *Update to Mangos 7190.
--HG--
branch : trunk
2009-01-26 17:13:27 -06:00
megamage
ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage
f0ebb96064 *Update to HG 957.
--HG--
branch : trunk
2009-01-23 14:23:25 -06:00