Commit Graph

131 Commits

Author SHA1 Message Date
megamage
905833f84e *Merge.
--HG--
branch : trunk
2009-04-15 17:06:38 -05:00
Machiavelli
ecbaf6483d * Ticket system update;
- Add map, x, y, z coordinate data to ticket upon creation
- Add command .go ticket to teleport to the coordinates where the ticket was created
- Move InitTicketID() to the class constructor instead of at every LoadGMTickets call
- Minor code cleanup

--HG--
branch : trunk
2009-04-14 17:48:58 +02:00
Machiavelli
348339770e * Ticket system update;
- Add map, x, y, z coordinate data to ticket upon creation
- Add command .go ticket to teleport to the coordinates where the ticket was created
- Move InitTicketID() to the class constructor instead of at every LoadGMTickets call
- Minor code cleanup

--HG--
branch : trunk
2009-04-14 17:29:54 +02:00
raczman
a712170758 Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.
--HG--
branch : trunk
2009-04-14 14:33:48 +02:00
megamage
7e275145e2 *Add new console command "server set logfilelevel".
--HG--
branch : trunk
2009-04-09 13:48:01 -05:00
megamage
f3cc13d28c *Enable some disabled gm command.
--HG--
branch : trunk
2009-04-08 16:43:59 -05:00
megamage
e88aa95846 Removed some outdated comments Author: tomrus88
--HG--
branch : trunk
2009-04-08 16:37:35 -05:00
megamage
a6bc2a0173 [7628] Implement .reload for static achievement tables. Author: VladimirMangos
--HG--
branch : trunk
2009-04-08 16:27:00 -05:00
XTZGZoReX
2fe9fed7c7 * Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG--
branch : trunk
2009-04-07 10:51:45 +02:00
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
megamage
508a57313c *Merge.
--HG--
branch : trunk
2009-04-05 17:10:59 -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
274759b04a [7614] Sort/rename debug commands, Move packet send commands to new ".debug send " subcommands list. Author: VladimirMangos
Also drop not implemented .debug inarc
    Add to .debug send spellfail support for up to 2 additional args for spell fail packet.

--HG--
branch : trunk
2009-04-05 16:43:17 -05:00
megamage
022e2df612 [7613] Sort and rename functions for GM commands in code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-05 16:31:56 -05:00
mknjc
813a832b11 Added reload command for spell_linked_spell DB table
--HG--
branch : trunk
2009-04-05 12:46:52 +02:00
megamage
f744c09075 *Merge.
--HG--
branch : trunk
2009-04-04 15:12:36 -06:00
raczman
eede65e115 Not displaying "Command not found" error for player security level. Thx Machiavelli <3
--HG--
branch : trunk
2009-04-04 23:02:24 +02:00
Chaz Brown
115f9dc498 fix ahbotoptions back to the way it was originally
--HG--
branch : trunk
2009-04-01 22:00:19 -04: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
XTZGZoReX
94d5f206d9 * Fixed wp command.
* Fixed 2131_world.sql - if you have already applied the older version of this, don't worry. 2160_world.sql contains the fixed lines too.

--HG--
branch : trunk
2009-03-24 13:22:07 +01:00
megamage
a47d2e1c22 *Note some script id are changed. DB change may be needed.
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos

    * Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
      Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
      and for not depednet (PlayDirectSound)
    * Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
      Note: function called for _source_ of sound in different from old function.
    * chat command .debug ps removed and .debug playsound can used for bother packects test:
      if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.

--HG--
branch : trunk
2009-03-22 19:20:03 -06:00
XTZGZoReX
bb201e6bd4 * Fixed several chat commands after merge with MaNGOS.
--HG--
branch : trunk
2009-03-22 17:27:37 +01:00
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
de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -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
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
1b33b14f3e *Add a missing debug command.
--HG--
branch : trunk
2009-03-14 15:14:28 -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
8cb6894c3d *Merge.
--HG--
branch : trunk
2009-03-08 11:23:50 -06:00
megamage
7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
Paradox
7b47d509e3 New AHBot plus AuctionHouse changes
--HG--
branch : trunk
2009-03-06 17:47:11 -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
a0197ae0ff Call proper function for .reload spell_area Author: VladimirMangos
--HG--
branch : trunk
2009-03-02 16:43:26 -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
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
d73b38f0fa [7290] Command .npc setdeathstate on/off. Author: GriffonHeart
--HG--
branch : trunk
2009-02-17 14:51:25 -06:00
megamage
ff63eece3c Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change. Author: GriffonHeart
--HG--
branch : trunk
2009-02-15 12:13:34 -06:00
megamage
6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -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
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
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