Commit graph

277 commits

Author SHA1 Message Date
Surion
1597b90686 [0014] Updated realmd to use account_access. This allows for different security levels per account for each realm in realmlist. 2020-02-16 02:54:13 +00:00
Salja
1623168094 typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:53:41 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
8c93370a19 [12070] Add some override correctness 2012-07-22 14:39:53 +02:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
stfx
3707b04330 [12066] Optimize some parts for ++C 2012-07-21 17:15:11 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
aeff8f9d1a [12062] Cleanup MaNGOS sources 2012-07-19 22:05:00 +02:00
Nay
c8c6418d6e [12043] When GM is invisible use a transparency visual aura
Based on TC commit by DDuarte, ideas by Kretol and Aokromes

Add config setting GM.InvisibleAura to configure the to be used aura

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-07-15 16:35:27 +02:00
Schmoozerd
f817a939e2 [11965] Tweak comment about default config values 2012-04-15 23:35:58 +02:00
sixsixnine
d3606fb4ee [11909] Implement Pathfinder class to handle the actual pathfinding
Authors of this are Faramir118 and qsa.
Also thanks to many others for testing and suggestions!
2012-02-06 23:17:50 +01:00
faramir118
1c64b0658e [11908] Add a pathfinding log-filter 2012-02-06 23:17:29 +01:00
stfx
02101dc111 [11900] Sync default range for Say and TextEmote
Sync default values in core to the values we pass by default in the config file

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-04 19:12:33 +01:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
mns
d7e8e75a1e [11855] Update forgotten comment in mangosd.conf.dist.in
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-30 21:04:05 +01:00
VladimirMangos
f07a3232d4 [11751] Implement option for set ahbot config file in mangosd command line
"-a configfilename" or "--ahbot configfilename" can be used for this

This possibility can be useful if normal mangosd.conf path also set by -c
option for example.
2011-07-24 08:38:31 +04:00
VladimirMangos
a0ff5f4536 [11736] Hide passwords from logs
* DB connection
* chat/console password changes commands.
2011-07-13 05:40:02 +04:00
VladimirMangos
4bedd22a3f [11640] Implement TradeSkill.GMIgnore.* config options
Options let set GM level that allow ignore at training level/skill/maxprofs
Mostly for allow avoid use commands when need learn prof ranks.
2011-06-18 04:06:44 +04:00
Vinolentus
b68a88573f [11603] Drop sLog.outTitle.
Used hardcoded color use for title not compatible in all cases
with selected in config console colors for normal output and
with custom background can be not readbale.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 17:47:13 +04:00
VladimirMangos
c870ef324d [11590] Cleanups for barGoLink
* Rename barGoLink -> BarGoLink as expected by mangos code style
* Add uint32/uint6 constructor versions for BarGoLink,
  and remove lot casts required before for BarGoLink use
2011-06-03 12:02:49 +04:00
Schmoozerd
4ba5aa83e3 [11523] Implement .npc aiinfo
Comamnd show information about used AI and scripts for targeted creature.
AI classes (including from script DLL) can provide additinal info about own state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-23 03:05:05 +04:00
VladimirMangos
40fb57e461 [11520] Fixed service/daemon calls order. Mixed wrongly in my prev. related fix. :/
Provide more information at windows service (un)install errors.

Note: by some reasons i have sometime problems with start windows service using '-s run' command
but it start fine by manual from services control applet. Maybe related to used by me win7 x64
2011-05-21 23:47:36 +04:00
NeatElves
87d6cf2367 [11508] Restore build with GCC (so make sources real C++ from VC++)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 20:45:04 +04:00
VladimirMangos
6ed4dfe827 [11507] Fixed problem with too later config read in recent added posix daemon support.
Restore read config _after_ option parsing in any cases.
2011-05-18 19:43:21 +04:00
VladimirMangos
9c65b04f5b [11502] Fixed windows service run after adding posix daemon support 2011-05-18 03:57:05 +04:00
finomen
d00592f692 [11500] Allow run mangos as daemon (linux/other posix)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-17 19:33:10 +04:00
VladimirMangos
249fb836ca [11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.

Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
VladimirMangos
719e298795 [11470] Final cleanup uint64 guid cases
Also drop logout player update fields cleanup that in any cases not saved.
2011-05-11 21:36:27 +04:00
Neo2003
e512fc9081 [11399] Make CMake a bit more usefull for Win/MSVC
Also make the -DPREFIX work on Win/MSVC

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2011-04-26 18:48:46 +02:00
unknown
71add7c73b As of patch 3.3.0:
Players below level 10 may not join raids.
2011-04-09 19:41:29 +04:00
zergtmn
0ceb42ff9a [11315] Fix typos in recent commit 2011-04-05 12:42:43 +06:00
VladimirMangos
b92ebd994f [11310] Make .npc add/.gobject add commands work safe.
Reserve at server startup some guods follow last used in static DB spawns guid
for creatures/gameobjects for use in .npc add/.gobject add commands.
This allow safe select guids not used in all map copies. Guids for temporary spawns
used from range frollow after reserved guids range.

This also let select new static spawns guids (added in game chat command) near to already used static guids.
So it let avoid gaps in static guids lists.

Amount reserved guids set in new GuidReserveSize.* config options.
2011-04-03 21:22:58 +04:00
DasBlub
d9374d936f [11283] Drop the no longer used Visual Leak Detector (VLD)
For leak detection you can also use tools like Valgrind.

If you really want to use VLD you can revert this commit and remove the comments in MemoryLeaks.cpp and MemoryLeaks.h.
The VLD version which has been shipped with MaNGOS is *heavily* outdated and I thus suggest you to use a newer version of it, if you really plan to use it. You can find the newest version on github in its official repository: https://github.com/dmoulding/vld
2011-03-25 19:04:39 +01:00
DasBlub
93da372dc5 [11241] Fix some renglish/denglish -> english in config files
For the "MaNGOS-Feeling" (c) I left most of the renglish and typos in there, so you will still be able to recognize it as a MaNGOS file ;)
2011-03-11 23:24:25 +01:00
Kaios
287aa642b3 [11235] Fixed typo in mangosd.conf comment
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-09 19:31:21 +03:00
Lynx3d
07734bafd4 [11199] Resolve scripting library load problem at FreeBSD with cmake
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-23 11:53:51 +03:00
SilverIce
724092d9e5 [11193] Optimize visibility update and AI notification code. Optimization decreases amount of visibility and AI notification operations in 8-10 times, and as a result, lowers CPU usage by 30-40%
You need to update your config file, new "Visibility.RelocationLowerLimit" and "Visibility.AIRelocationNotifyDelay' options added

Special thanks to Ambal for code hints and advices
Thanks to Undergarun and kero99 for making tests
2011-02-22 02:37:08 +02:00
SilverIce
d597ffe10e [11183] Use map type dependent visibility distance for gameobject, dynamicobject and corpse visibility checks
Also drop no more needed Visibility.Distance.Object config option
2011-02-18 02:09:47 +02:00
Schmoozerd
bbdd04d1ab [11172] Implement ACHIEVEMENT_CRITERIA_TYPE_ON_LOGIN (type 74)
Also implement new criteria requirements:
  - ACHIEVEMENT_CRITERIA_REQUIRE_NTH_BIRTHDAY
  - ACHIEVEMENT_CRITERIA_REQUIRE_KNOWN_TITLE

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-16 02:17:57 +03:00
cipherCOM
a81cf28610 [11167] Added CMake support
(based on cipherCOM's commit 0039476)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-14 12:56:50 +03:00
cipherCOM
c9942fb0cc [11166] Removed old autoconf files
(based on cipherCOM's repo commit 7b5a932)
2011-02-14 12:56:11 +03:00
VladimirMangos
9f733f80eb [11110] Drop unused local vars 2011-02-07 00:32:44 +03:00
Ambal
d67219e327 [11059] Fix crash in [11054]. As it turned out - we use not only async transactions but async queries too during server startup =/
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-21 22:11:35 +02:00
Ambal
07c9f0cbb8 [11054] Do not allow async transaction execution while server is loading. Call Database::InitDelayThread() function explicitly to create async DB worker thread after server initialization is complete.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-20 23:46:51 +02:00
Ambal
631ce36680 [11045] Rewrite internals of DB layer. Simplify code and use less locking. Spawn and use separate connections for sync and async DB requests. Implement database connection pool for SELECT queries. Up to maximum 16 connections supported. Disable 'autocommit' mode for MySQL.
UPDATE YOUR CONFIGS!

Defaults:
LoginDatabaseConnections = 1
WorldDatabaseConnections = 1
CharacterDatabaseConnections = 1

If you are not using <mtmaps> patch do not change the default settings - this is useless. You can try following option in your MySQL config to squeeze even more performance from your DB:

[mysqld]
transaction-isolation = READ-COMMITTED

Great thanks to Undergarun, kero99 and selector for making tests and providing very useful feedback and DB statistics! Have fun :)

Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-19 22:05:20 +02:00
VladimirMangos
648849e25b [10994] Fixed typo in name SkillFail.Loot.Fishing at default value set. 2011-01-10 02:47:04 +03:00
VladimirMangos
39e7b19267 [10989] Implement post-3.1 and later fishing changes.
* Fishing now prowide junk loot at fail skill check.
  This can be disabled for old way work using SkillFail.Loot.Fishing option.
  Junk loot expected to be listed in fishing_loot_template entry 0.

* Fishing can gain skill grow at skill fail check case.
  Controlled by SkillFail.Gain.Fishing option.

* Fishing from fishing pool gameobject can't be fail.
  Controlled by SkillFail.Possible.FishingPool
2011-01-09 14:37:56 +03:00
VladimirMangos
ea930108da [10983] Config option for disable progress bar show at server startup.
Make happy nervouse ppl by some secs startup speedup.
2011-01-08 03:15:03 +03:00
Pat S
7ca769f031 [10980] Lost config fiel part of prev. commit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 07:57:23 +03:00
Pat S
46fdc3af97 [10979] Add extra ghost speed rate for BGs: Death.Ghost.RunSpeed.Battleground
Also recently added option renamed to Death.Ghost.RunSpeed.World

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 07:46:41 +03:00