Commit Graph
103 Commits
Author SHA1 Message Date
megamage a49c2982ba *Merge.
*mtmap is disabled by default. To use it, define MULTI_THREAD_MAP in define.h
*mtmap support is not provided for windows users. Because there is no free openmp lib for windows. If you have openmp lib and want to use openmp, you need to manually change the setting.

--HG--
branch : trunk
2009-06-18 19:27:17 -05:00
megamage 2d569883e6 *Add config option CheckDB to check if the contents in FULL folder are applied.
--HG--
branch : trunk
2009-06-17 14:09:17 -05:00
raczman 19225e8880 Added basic support for multithreaded map updates using openmp standard.
Windows users need to install Platform SDK to use this feature,
linux users have everything they need in gcc.
Number of threads used to update world is set by confiuration file,
and can be changed dynamically without restarting core.
Thanks to megamage and Jeniczek for testing and helping out with this.

--HG--
branch : trunk
2009-06-15 09:07:51 +02:00
megamage a44a68acbb [8009] Pass const string reference to functions where possible. Author: hunuza
Avoids creating an unnecessary copy of strings.

--HG--
branch : trunk
2009-06-14 10:07:34 -05:00
megamage ed7e8569cc *Add config option for wintergrasp (battle time, interval)
--HG--
branch : trunk
2009-06-03 23:23:23 -05:00
megamage 00f50798d3 *Merge.
--HG--
branch : trunk
2009-05-25 12:51:14 -05:00
megamage 4c6c9c560b *Merge.
--HG--
branch : trunk
2009-05-25 11:31:19 -05:00
raczman b0a48f60c9 Added new config option: vmap.petLOS
Enabling it makes pets do LOS check before attacking its target.

--HG--
branch : trunk
2009-05-21 23:17:52 +02:00
megamage 67c84b1f3d Mobs fleeing and getting assistance feature implementaion. Author: Neo2003
--HG--
branch : trunk
2009-05-21 10:48:00 -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
Genars & Aokromes 80a6d723f5 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
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
Aokromes a882c4538a New configuration option: GM.Visible
regulates visibility of GM at login.

--HG--
branch : trunk
2009-05-12 08:22:06 +02:00
Disassembler 92cfbad2b2 Backport from TC2 (resp. Mangos) conf options Death.Bones.* for disable bones
creating from corpse in world zones or in arena/bg.

--HG--
branch : trunk
2009-05-04 16:54:35 +02: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