Commit Graph
100 Commits
Author SHA1 Message Date
megamage f1afff1a5b Updated OpenSSL lib. Thanks to Neo2003. Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:39:04 -06:00
megamage 59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -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
megamage 1ae90f3e9f *Fix a bug that players ater flight are still considered as in flight. By DearScorpion
--HG--
branch : trunk
2009-03-21 14:16:55 -06:00
megamage 6a7467f6ae *Remove assert before the work on summon system is finished. This fix the assert crash.
--HG--
branch : trunk
2009-03-21 14:04:11 -06:00
megamage c1a3f51f04 *Do not allow pvp in dk start zone.
*Improve petsetaction code.

--HG--
branch : trunk
2009-03-21 13:42:09 -06:00
QAston b6e8e8a21f *Merge.
--HG--
branch : trunk
2009-03-21 19:33:50 +01:00
QAston 5eda38d76a *Merge EAIchnges from SD2.
--HG--
branch : trunk
2009-03-21 19:33:10 +01:00
megamage d0501ab3a1 *A temp fix for the bug that dismiss pets cause crash.
--HG--
branch : trunk
2009-03-21 12:16:14 -06:00
XTZGZoReX 28c03b77ad * Fixed way too many \n in WorldLog output.
--HG--
branch : trunk
2009-03-21 18:35:59 +01:00
QAston 5d8ef964cb *Fix Divine Storm.
--HG--
branch : trunk
2009-03-21 18:30:06 +01:00
megamage 1cae82a153 *Fix a bug that control bar is not shown for pets.
--HG--
branch : trunk
2009-03-21 11:19:55 -06:00
megamage ab13b3ac04 *Fix a crash when toggle autocast for non-pet guardians.
*Allow control multiple guardians using one action bar (not fully implemented)

--HG--
branch : trunk
2009-03-21 11:15:55 -06:00
QAston afd3f03835 *Fix area auras cast in party.
*Fix damage amount of stacked auras.

--HG--
branch : trunk
2009-03-21 17:25:04 +01:00
megamage a54957ba41 *Allow players to control guardians/charms (not only pets).
--HG--
branch : trunk
2009-03-21 10:17:24 -06:00
megamage 6a8c9c001d *Set default movement as follow movement for charmed/pet when enterevademode.
--HG--
branch : trunk
2009-03-21 10:11:29 -06:00
megamage a84e757793 *Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--HG--
branch : trunk
2009-03-21 09:48:44 -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
QAston bab99cedba *Merge.
--HG--
branch : trunk
2009-03-21 13:16:25 +01:00
QAston 8035f4d246 *Fix dk's rune/runic power issues.
--HG--
branch : trunk
2009-03-21 13:15:56 +01:00
XTZGZoReX 3197838902 * Fixes in AHBot:
** Use GetBoolDefault for booleans instead of GetIntDefault.
** Use %u (not %d) for size logging. std::size does not return a decimal, but an unsigned integral type.

--HG--
branch : trunk
2009-03-21 12:29:12 +01:00
XTZGZoReX f1b680826b * Minor fix for DB log levels.
--HG--
branch : trunk
2009-03-21 12:13:32 +01:00
XTZGZoReX 79d27da9ec * Fixed log levels.
--HG--
branch : trunk
2009-03-21 11:51:38 +01:00
Blaymoira 4413bfb548 *Redefinition of eventAI EVENT_T_OOC_LOS. Read updated docs/EventAI.txt for details. - by nofantasy
--HG--
branch : trunk
2009-03-21 07:56:52 +01:00
Blaymoira 3120990ebd *Remove not needed code
--HG--
branch : trunk
2009-03-21 06:59:40 +01:00
megamage b2f5136215 *Fix a crash for summoned creatures without summer.
--HG--
branch : trunk
2009-03-20 21:09:16 -06:00
XTZGZoReX 44aa61b100 * This should fix a Windows-specific crash (on Windows, time_t is uint64).
--HG--
branch : trunk
2009-03-20 22:17:54 +01:00
megamage f3a543bef3 *Do not delete charminfo for guardian.
--HG--
branch : trunk
2009-03-20 14:38:53 -06:00
megamage 4776c384aa *Fixed :customize characters. By GriffonHeart.
--HG--
branch : trunk
2009-03-20 14:28:45 -06:00
megamage 65738328de *Fixed crash caused by .distance command. By arrai.
--HG--
branch : trunk
2009-03-20 14:28:13 -06:00
megamage d7e05e8003 *Fix some out-of-range array indices of totem slot and charm spell slot.
--HG--
branch : trunk
2009-03-20 14:23:25 -06:00
XTZGZoReX 7f130ba971 * Merge.
--HG--
branch : trunk
2009-03-20 21:03:12 +01:00
XTZGZoReX 7f9ff5f4cb * Re-implementing timestamps in log files. (Note: Does not work on console yet.)
--HG--
branch : trunk
2009-03-20 21:02:08 +01:00
megamage 8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00
QAston 7cd9a01954 Fix weapons speed.
--HG--
branch : trunk
2009-03-20 20:54:59 +01:00
XTZGZoReX eddb72d1ea * Merge.
--HG--
branch : trunk
2009-03-20 20:46:52 +01:00
XTZGZoReX 2bfa6254cc * Duplicate config option LogColors and deprecated LogTime fixed.
--HG--
branch : trunk
2009-03-20 20:45:51 +01:00
QAston ad06f05ddb *Fix Focused Magic.
*Make Presence of Mind no longer trigger Arcane Power.
*Apply correct calculation for SPELLMOD_PROC_PER_MINUTE.
*Fix divine shield positivity.

--HG--
branch : trunk
2009-03-20 19:53:26 +01:00
XTZGZoReX 4317751930 * Re-implementing console log colors.
* Removed unused code in Log.cpp.

--HG--
branch : trunk
2009-03-20 18:16:36 +01:00
XTZGZoReX a416f0526c * Updated some text files.
* Removed unused text files.

--HG--
branch : trunk
2009-03-20 17:07:29 +01:00
XTZGZoReX cd898858a6 * Added missing WorldPacket.h to shared.vcproj.
--HG--
branch : trunk
2009-03-20 16:54:32 +01:00
XTZGZoReX 18ff835755 * Accidentally put some worldd-specific options in realmd.conf. Fixed.
--HG--
branch : trunk
2009-03-20 16:45:14 +01:00
megamage 3fb72a5b9e *Update debug command sendopcode.
--HG--
branch : trunk
2009-03-20 09:40:40 -06:00
megamage d944be8381 *Fix a crash for creatures using petAI without charminfo.
--HG--
branch : trunk
2009-03-20 09:39:25 -06:00
megamage eea631a0a3 *Fix a crash caused by unsummon creature.
--HG--
branch : trunk
2009-03-20 09:38:42 -06:00
XTZGZoReX 0838736ce7 * Missed a config update in realmd.
* Correct revision number for SQL update for DB logging.

--HG--
branch : trunk
rename : sql/updates/2020_realmd.sql => sql/updates/2031_realmd.sql
2009-03-20 16:16:16 +01:00
XTZGZoReX d1adac0d11 * Merge.
--HG--
branch : trunk
2009-03-20 15:17:58 +01:00
Drahy 4d7ee8208e * Big clean up and used trinity sql coding style
--HG--
branch : trunk
2009-03-20 00:44:18 +01: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 e121267298 [7497] Remove auras from GO owner at remove connected owned th this spell GO. Author: VladimirMangos
--HG--
branch : trunk
2009-03-19 15:18:49 -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
QAston c6f3532ada *Fix Area auras for target without a party.
*Fix Improved soul leech and correct procflags for soul leech.

--HG--
branch : trunk
2009-03-19 21:47:16 +01:00
megamage a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
XTZGZoReX 3c713189fb * Correctly implement database logging in WorldLog.
* This fixes LogDB.World config option.

--HG--
branch : trunk
2009-03-19 21:28:25 +01:00
XTZGZoReX 9fe43fa9c0 * Implementing database logging:
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.

--HG--
branch : trunk
2009-03-19 21:13:52 +01:00
BroodWyrm 74985e8490 *Merge
--HG--
branch : trunk
2009-03-19 21:11:18 +01:00
BroodWyrm c6409d0a73 *Add Placeholder Scripts for Azjol-Nerub Instances (I will fill them later)
--HG--
branch : trunk
2009-03-19 21:07:55 +01:00
XTZGZoReX fd2f768dfd * Move WheatyExceptionReport back to realmd/worldd. Apparently, it doesn't work when in the shared library.
* Fixed debug build on Windows (no more warnings).
* Spaces->tabs in some .vcproj's; these files are not meant to be composed of spaces (Visual Studio plainly doesn't like it).

--HG--
branch : trunk
2009-03-19 19:53:14 +01:00
XTZGZoReX 6c32bd5441 * Fixed ByteBuffer::read<std::string> specialization. This one is correct.
--HG--
branch : trunk
2009-03-19 17:13:56 +01:00
megamage 4877009098 *Set seer back when it is removed to prevent crash.
--HG--
branch : trunk
2009-03-19 08:59:15 -06:00
XTZGZoReX 2f9688bb07 * Small speedups in mempool/dotconfpp.
--HG--
branch : trunk
2009-03-19 15:42:53 +01:00
XTZGZoReX a075d37fdd * Removed unused/unneeded classes: Base, Mthread
* Fixed a merge issue that broke VC71 files.
* Moved WheatyExceptionReport to shared, where it should be.

--HG--
branch : trunk
2009-03-19 15:32:16 +01:00
QAston 3ff11b64ba *Move Overkill and Master of Subtlety to procflag and fix some issues with them.
*Proc Shattered Barrier only on aura destroy.
*Fix some possible issues with aura stackamount display.

--HG--
branch : trunk
2009-03-19 10:40:02 +01:00
megamage 9f84e9cb22 *Also exit vehicle in uncharm function.
--HG--
branch : trunk
2009-03-18 21:51:52 -06:00
megamage 281d20be0d *Allow spells to summon vehicles.
--HG--
branch : trunk
2009-03-18 21:39:09 -06:00
megamage 886b2a51e9 *Fix build.
--HG--
branch : trunk
2009-03-18 21:20:35 -06:00
megamage 069552aeaa *Summon creatures based on general summon types.
--HG--
branch : trunk
2009-03-18 21:16:24 -06:00
megamage 73d13c4992 *Read dbc summon properties for future use.
--HG--
branch : trunk
2009-03-18 20:54:39 -06:00
megamage 9b08473d28 [7490] Implement expected multiply summon case support with proper duration for EffectSummonDemon Author: VladimirMangos
--HG--
branch : trunk
2009-03-18 20:47:26 -06:00
megamage 249d0d53c0 [7489] Update gameobject rotation fields if need. Author: VladimirMangos
* Fixed update absent in ".gobject turn" command
    * Propetly set rotation fields for summoned objects
    * Check rotation/coordinates fields values at server loading

--HG--
branch : trunk
2009-03-18 20:46:21 -06:00
megamage ef47783882 [7487] Avoid attempt use InstanceSave data for non-dungeons. Author: VladimirMangos
Also check map existance and correctness at instance data loading.
    Removed unused and totally bugged InstanceMap::GetResetTime.

--HG--
branch : trunk
2009-03-18 20:41:49 -06:00
megamage 1c87752584 [7485] Added support for PostgreSQL connection using Unix sockets. Author: ApoC
For using socket connection specify host name as . and port as
    path to Unix socket directory or . for default path specified
    in PostgreSQL compile time.

--HG--
branch : trunk
2009-03-18 20:39:21 -06:00
megamage 74a8d5a1ac [7484] Cast proper triggred spell at spell 27808 tick. Author: VladimirMangos
--HG--
branch : trunk
2009-03-18 20:38:42 -06:00
megamage 31e0cf6850 [7483] the spell 'Protectorate Demolitionist' is a debuff. Author: DasBlub
--HG--
branch : trunk
2009-03-18 20:37:56 -06:00
megamage 8acc671f59 *Placeholder for special target selection for spell 57669. Patch writed by kozelo, rechapa79 with active support from Lightguard.
*Not really implemented. Need to find a good way.

--HG--
branch : trunk
2009-03-18 20:36:25 -06:00
megamage b59d758ccf *Fix a typo in 1984.
--HG--
branch : trunk
2009-03-18 20:32:17 -06:00
megamage f8bb0cd167 *Commend a function because it break build.
--HG--
branch : trunk
2009-03-18 20:22:42 -06:00
megamage 82777554a0 *Merge with 243.
--HG--
branch : trunk
2009-03-18 15:31:44 -06:00
megamage dbd69bda61 *Fix chain heal. Heal target even when it has full health.
--HG--
branch : trunk
2009-03-18 15:29:25 -06:00
megamage f11d41b9ce *Do not always add target to aoe map with target number limit.
--HG--
branch : trunk
2009-03-18 15:28:19 -06:00
megamage e440f13402 *Fixed possible crash and wrong data in instance state save (or not save). Author: zhenya
--HG--
branch : trunk
2009-03-18 15:26:32 -06:00
XTZGZoReX 838ad6d847 * Merge.
--HG--
branch : trunk
2009-03-18 21:57:49 +01:00
XTZGZoReX d84cec89c0 * Added specialized ByteBuffer::read for std::string. This will aid in packet processing later.
--HG--
branch : trunk
2009-03-18 21:34:59 +01:00
XTZGZoReX 103125cfbd * Do not output "Table game_graveyard_zone incomplete" for maps of type MAP_ARENA. These are not meant to have graveyards anyway.
--HG--
branch : trunk
2009-03-18 21:18:45 +01:00
XTZGZoReX ae65d36bb4 * Implemented new ObjectAccessor functions: GetCreatures, GetUnits, GetGameObjects, and GetWorldObjects. These can be used for loopong over objects in the world.
* Note: GetWorldObjects is (probably) heavy and should be used very sparingly. Always use the function corresponding to the type of object you're looping over.

--HG--
branch : trunk
2009-03-18 21:04:47 +01:00
QAston 21374e2590 *Fix milling.
*Fix Divine Shield.

--HG--
branch : trunk
2009-03-18 21:04:46 +01:00
XTZGZoReX ced575a3f3 * Added DO_WARN (-DDO_WARN=1) option to CMake. This can help find/remove warnings.
--HG--
branch : trunk
2009-03-18 20:51:13 +01:00
XTZGZoReX 5184783bd1 * Fixed/improved the config library: Removed useless methods and fixed the existing.
* Few related changes to make the rest of the core reflect the changes.

--HG--
branch : trunk
2009-03-18 20:46:39 +01:00
XTZGZoReX 5f2e9f1ed1 * Fixed extractor on systems with 2GB fopen() limit. Author: arrai
--HG--
branch : trunk
2009-03-18 20:10:37 +01:00
QAston 14f475d2ce *Fix Furious Attacks proc. By Darwin.
--HG--
branch : trunk
2009-03-18 20:02:04 +01:00
QAston d50316a731 *Merge.
--HG--
branch : trunk
2009-03-18 19:56:48 +01:00
QAston 00c27bcc05 Backed out changeset eb07c8f645e8
--HG--
branch : trunk
2009-03-18 19:55:31 +01:00
QAston 55f2f1db17 * Apply aura SPELL_AURA_ABILITY_IGNORE_AURASTATE for damage bonuses.
--HG--
branch : trunk
2009-03-18 19:53:36 +01:00
megamage 61645326a7 *Fix a crash. By VladimirMangos
--HG--
branch : trunk
2009-03-17 18:10:54 -06:00
megamage 385b4c09ce *Fix build.
--HG--
branch : trunk
2009-03-17 17:20:27 -06:00
megamage 8a21e4199b *Fix build.
--HG--
branch : trunk
2009-03-17 15:55:27 -06:00
megamage 9c7f2a0c01 [7480] Clear flight flag early for safe. Author: VladimirMangos
--HG--
branch : trunk
2009-03-17 14:58:13 -06:00
megamage 6d81b4e903 [7479] Implement per client localization for text emote target name. Author: VladimirMangos
--HG--
branch : trunk
2009-03-17 14:55:53 -06:00
megamage 6a6f4de757 [7478] Avoid rescan data at some achievments triggering for speed. Author: VladimirMangos
Only if chnage can affect result
    * ACHIEVEMENT_CRITERIA_TYPE_LEARN_SPELL
    * ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILLLINE_SPELLS
    * ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION
    * ACHIEVEMENT_CRITERIA_TYPE_GAIN_EXALTED_REPUTATION if

--HG--
branch : trunk
2009-03-17 14:55:16 -06:00