Commit Graph
91 Commits
Author SHA1 Message Date
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
Genars & Aokromes 854e791c2f New server options to block adding GMs to friends by players and to block inviting GMs to parties
--HG--
branch : trunk
2009-05-14 23:07:17 +02:00
megamage 5457286416 [7815] Apply mangos code style: Replace tabs by spaces in recent added code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-13 18:28:21 -05:00
megamage 25e5c99dec [7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.

--HG--
branch : trunk
2009-05-13 18:22:21 -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 508a57313c *Merge.
--HG--
branch : trunk
2009-04-05 17:10:59 -05:00
megamage f692364e8e *Fix a crash caused by scriptprocess
--HG--
branch : trunk
2009-04-04 20:31:43 -06:00
raczman 38d634a163 Fixed BG mark rewarding in case of prematurely finished BG:
-team with most points will get 3 marks, the other one 1 mark
-in case of a draw, each team gets 1 mark (not sure if blizzlike)
TODO:
-remove per BG score variables and substitute them further with general m_score[] array to avoid data duplication.
Please report any bugs, and TC2 devs - dont pull this change into TC2, its not 309-like.

--HG--
branch : trunk
2009-04-04 00:29:43 +02:00
megamage 6581497411 [7572] Use enum type instead int for World::SendServerMessage arg Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 17:56:15 -06:00
XTZGZoReX 0da5f826b8 * Implement logging of battleground chats.
* New config option: ChatLogs.BattleGround.

--HG--
branch : trunk
2009-03-26 16:12:17 +01:00
XTZGZoReX aad61f777c * Fix typo in last commit.
--HG--
branch : trunk
2009-03-25 15:47:58 +01:00
XTZGZoReX 942e93fbcb * Implemented WUPDATE_CLEANDB timer to clean logs table of old entries.
* New config option: LogDB.Opt.ClearInterval - time in minutes between each call to cleanup.
* New config option: LogDB.Opt.ClearTime - maximum time in seconds to keep old log entries.

--HG--
branch : trunk
2009-03-25 15:21:32 +01:00
XTZGZoReX 82e966e5f2 * Added support for logging chats: Guild, raid, party, public, officer chat, addon messages, whispers, system/custom channels.
* Added config options to enable/disable them (ChatLogs.*), LogDB.Chat (enables/disables DB logging of chats), and ChatLogFile to specify the log file to use.

--HG--
branch : trunk
2009-03-25 14:25:15 +01:00
megamage 470d961dfa Let set in conf custom rates for low level kill/quest reputation gain. Author: VladimirMangos
--HG--
branch : trunk
2009-03-22 19:29:09 -06: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 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 635faad2bc *Merge.
--HG--
branch : trunk
2009-03-05 15:24:09 -06:00
Blaymoira c5175e5e47 *Implement SCRIPT_COMMAND_KILL for database scripting
--HG--
branch : trunk
2009-03-05 17:25:29 +01:00
megamage 8998eba728 [7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case). Author: Lightguard
Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
    and at talent reset itself (can be enabled).

--HG--
branch : trunk
2009-03-02 17:04:46 -06:00
megamage 472f897b0a [7336] Implemented new BattleGroundQueue invitation system. Now it supports premade group versus premade group matches.
Added 2 new config options - InvitationType and PremadeGroupWaitForMatch - you can find more info in default config file.
    This patch can cause crashes.

Author: Triply

[7338] Little cleanup in battleground queues code. Author: ApoC

--HG--
branch : trunk
2009-02-27 12:13:59 -06:00
megamage 107218fe44 *Merge.
--HG--
branch : trunk
2009-02-22 17:35:14 -06:00
Blaymoira c5204ca3a0 *Configurable option time for reconnect without queue - by Iskander
--HG--
branch : trunk
2009-02-21 18:31:26 +01:00
megamage ec52b48c46 [7305] Allow use datalong2 not only for set target for DB script cast but also caster (1 bit set target (target/source), 2 bit set caster (source/target)) Author: VladimirMangos
--HG--
branch : trunk
2009-02-19 18:56:50 -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 6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -06:00
Paradox d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
KingPin 8dd98a1a12 Non working code backed out
--HG--
branch : trunk
2009-01-26 19:43:00 -05: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 94f0a02f66 *Merge.
--HG--
branch : trunk
2009-01-27 14:54:54 -06:00
megamage ef88b04451 *Update to Mangos 7183.
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage 4230318f96 *Update to Mangos 7136.
--HG--
branch : trunk
2009-01-21 16:18:57 -06:00
megamage c85c89dc0b *Merge.
--HG--
branch : trunk
2009-01-18 17:58:13 -06:00
Blaymoira 85f171307f *Implemented configurable flying mount use on maps - by Zor
--HG--
branch : trunk
2009-01-18 18:29:55 +01:00
megamage 80263de422 Update to Trinity 863.
--HG--
branch : trunk
2009-01-16 14:32:47 -06:00
megamage 40a1154c5b *Update to Mangos 7092.
--HG--
branch : trunk
2009-01-16 14:17:24 -06:00
KingPin 56a80b4dd3 typo
--HG--
branch : trunk
2009-01-15 22:36:19 -05:00
KingPin b5debc9a67 Lets try this again... missing part from faction fix.
--HG--
branch : trunk
2009-01-15 22:25:19 -05:00
megamage 1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00
megamage b57516e170 *Add config option MinRecordUpdateTimeDiff to prevent timediff spams.
--HG--
branch : trunk
2009-01-08 14:57:46 -06:00
megamage 9a71deb785 *Fix diff time record.
--HG--
branch : trunk
2009-01-07 10:49:13 -06:00
megamage bacbd4a782 *Update difftime record.
--HG--
branch : trunk
2009-01-06 15:48:42 -06:00
megamage 5b2c61e95e *Mangos [7039] Implement mangosd.conf options Death.Bones. By VladimirMangos.
*for disable bones creating from corpse in world zones or in arena/bg.
*Note: in case apply insignia bones still created as required for looting.

--HG--
branch : trunk
2009-01-06 13:50:42 -06:00
megamage 2b21f0e730 *Merge with Trinity 793.
--HG--
branch : trunk
2009-01-06 12:15:18 -06:00
megamage 290a187592 *Record difftime as ms rather than s.
--HG--
branch : trunk
2009-01-06 11:22:38 -06:00
megamage 2df010e231 *Record more detailed difftime info.
--HG--
branch : trunk
2009-01-05 16:39:03 -06:00
megamage e5575eeaf4 *Mangos [7026] Current arena season id and state send and setting in mangosd.conf. By GriffonHeart.
--HG--
branch : trunk
2009-01-04 23:25:27 -06:00
megamage 9dfcd5ba5e *Merge with Trinity 768.
--HG--
branch : trunk
2009-01-03 11:18:19 -06:00