Commit Graph
100 Commits
Author SHA1 Message Date
XTZGZoReX 0952469d69 * Fix some conversion in DB logging.
--HG--
branch : trunk
2009-03-26 16:46:08 +01: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 e16c46ec95 * Revert unintentional SQL file changes.
--HG--
branch : trunk
2009-03-26 15:58:41 +01:00
XTZGZoReX aa033536c1 * Fixed two typos. Thanks Wormheart.
--HG--
branch : trunk
2009-03-26 15:56:00 +01:00
megamage b7e054f0fd *Merge.
--HG--
branch : trunk
2009-03-25 21:33:37 -06:00
megamage 1c2eab4110 *Fix a crash caused by pet.
*Make pet class derived from guardian class.

--HG--
branch : trunk
2009-03-25 21:32:34 -06:00
megamage 9f27e0be86 *Fix a crash caused by active object.
--HG--
branch : trunk
2009-03-25 18:14:18 -06:00
megamage ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
megamage 2106e9f257 [7539] Fixed log output Author: AlexDereka
--HG--
branch : trunk
2009-03-25 16:07:19 -06:00
megamage 02440eaa10 [7538] Hide some implementation details for reputation/forced faction reaction. Author: VladimirMangos
--HG--
branch : trunk
2009-03-25 16:04:08 -06:00
megamage 312b8e5b73 *Merge.
--HG--
branch : trunk
2009-03-25 16:00:38 -06:00
megamage 581ae2719d *Do not allow to add/remove obj to/from world more than once.
--HG--
branch : trunk
2009-03-25 15:54:23 -06:00
megamage 435570903a *Fix dynamic object radius. Backported from TC2.
--HG--
branch : trunk
2009-03-25 15:48:54 -06:00
XTZGZoReX 53cce67b29 * Merge.
--HG--
branch : trunk
2009-03-25 20:08:15 +01:00
XTZGZoReX 6b5d111e90 * Fixed 4 possible chat logging crashes.
--HG--
branch : trunk
2009-03-25 20:06:47 +01:00
megamage 6efcd8256d *Fix build. Sorry.
--HG--
branch : trunk
2009-03-25 11:11:19 -06:00
XTZGZoReX 6583a6f970 * Fix build.
--HG--
branch : trunk
2009-03-25 17:57:05 +01:00
megamage d2e0ed5f57 *Only set guardian's ownerguid in setpet.
--HG--
branch : trunk
2009-03-25 10:12:15 -06:00
XTZGZoReX d76578219f * Fixed some lines in 2131_world.sql.
--HG--
branch : trunk
2009-03-25 16:18:18 +01:00
XTZGZoReX 104a67d59a * AuctionHouseBot buyer/seller forced to be disabled. This is the only solution until it is fixed. It appears AHBot was causing the many crashes TC2 users had.
--HG--
branch : trunk
2009-03-25 15:59:37 +01:00
XTZGZoReX 1d981070df * Merge.
--HG--
branch : trunk
2009-03-25 15:55:55 +01:00
XTZGZoReX 6f4ba8bb0d * Implement Log::outString that takes no arguments and just prints \n - on request from megamage (makes MaNGOS merging easier).
--HG--
branch : trunk
2009-03-25 15:55:00 +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
XTZGZoReX 833eaa9ed3 * Disabled incremental linking on TriniyCore and TrinityRealm again, after mangosd/realmd -> trinity-core/trinity-realm conversion.
--HG--
branch : trunk
2009-03-25 14:15:27 +01:00
Muhaha ea0fa1040b * Merged ScriptDev2 935
--HG--
branch : trunk
2009-03-25 10:11:14 +01:00
megamage fe08615d17 *Try to fix a crash bug.
--HG--
branch : trunk
2009-03-24 22:25:22 -06:00
megamage 4154efa536 *Fix a crash caused by deleting a obj twice.
--HG--
branch : trunk
2009-03-24 17:55:05 -06:00
megamage f40773a24d [7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:44:47 -06:00
megamage e42e348d33 [7535] Fixed typo in transport boarding code. Author: maikash
--HG--
branch : trunk
2009-03-24 17:43:58 -06:00
megamage 3c10cc0635 [7534] Fixed some problems in achievement messages broadcasting. Author: VladimirMangos
* Send SMSG_CRITERIA_UPDATE to player itself only. This will fix bug when, for example near player death
      owerwrite another player death count in statistics until next death or relogin.
    * Send to near player  CHAT_MSG_ACHIEVEMENT instead CHAT_MSG_GUILD_ACHIEVEMENT
    * Not send CHAT_MSG_GUILD_ACHIEVEMENT to player itself.
    * Limit around broadcast of SMSG_ACHIEVEMENT_EARNED to CONFIG_LISTEN_RANGE_SAY (same as for CHAT_MSG_ACHIEVEMENT)

--HG--
branch : trunk
2009-03-24 17:43:16 -06:00
megamage 1c6c199f5d [7533] Redirect movement packet in proper way to controlled target. Author: VladimirMangos
* In creature case ignore fall/etc damage
    * In player case apply fall damage/etc to controlled player, apply other movement effect to it also.

--HG--
branch : trunk
2009-03-24 17:42:22 -06:00
megamage 941e5b9dbd [7532] Avoid warnings at use size_t with printf fromat strings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:38:14 -06:00
megamage cda206aacc *Merge.
--HG--
branch : trunk
2009-03-24 17:21:36 -06:00
megamage d96b0f5cb6 *Merge.
--HG--
branch : trunk
2009-03-24 17:20:45 -06:00
megamage 4cee45c09d *Set interrupt aura with remove cancel.
--HG--
branch : trunk
2009-03-24 17:16:28 -06:00
megamage 40598d6647 *Do not proc anything for aura remove type = delete.
*Use delete type for duel complete.

--HG--
branch : trunk
2009-03-24 17:05:05 -06:00
megamage 4d982bfca4 *Allow to proc when aura is cancelled.
--HG--
branch : trunk
2009-03-24 16:46:54 -06:00
Drahy df82ebcbfe * Partly revered 14f8e0828c0f 2131_world was ok and changes are in 2160 already
* Clean up the rest of sqls

--HG--
branch : trunk
2009-03-24 22:21:16 +01:00
XTZGZoReX f6b78fe39d * Re-implemented SHORT_SLEEP (-DSHORT_SLEEP=1 in Cmake).
--HG--
branch : trunk
2009-03-24 20:58:52 +01:00
megamage c5969d6d03 *Make sure the a player can only have one viewpoint.
--HG--
branch : trunk
2009-03-24 13:13:00 -06:00
megamage 6b4d5c4a35 *Fix build.
--HG--
branch : trunk
2009-03-24 10:52:09 -06:00
megamage 1d5192bccb [7530] Fixed counting exalted reputation achievements work for factions with base reputation != 0. Author: emsy
--HG--
branch : trunk
2009-03-24 09:47:19 -06:00
megamage 208398017a [7529] Hide some implementation details for fall damage calculation and breath timers. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 09:46:45 -06:00
megamage cd66e85ed1 [7528] Avoid use same iteration variable for internal loop. Author: Fog
This will fix problem with wrong item entry output in error message.

--HG--
branch : trunk
2009-03-24 09:45:03 -06:00
megamage ba1fd0db90 [7527] Remove redundent arg from Player::EnvironmentalDamage Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 09:44:08 -06:00
megamage 3888799d76 [7524] Removed commented code in Spell::EffectSendEvent() Author: Triply
--HG--
branch : trunk
2009-03-24 09:37:45 -06:00
megamage 7d9a71a6cf [7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves. Author: `win
TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
    Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
    Fixed: Do not call Battleground::Update for battleground template objects.
    Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).

--HG--
branch : trunk
2009-03-24 09:36:50 -06:00
megamage 9dfe48747f [7522] Fixed typo in spell cast check code. Author: Triply
--HG--
branch : trunk
2009-03-24 09:13:51 -06:00
megamage d1169aa48b *Fix a crash caused by summoncreature.
--HG--
branch : trunk
2009-03-24 09:06:49 -06:00
XTZGZoReX ede1f7dd07 * Some costmetic changes in Log class.
* Removed LOG_TYPE_PACKET and changed LOG_TYPE_CRASH from 10 to 9.

--HG--
branch : trunk
2009-03-24 14:34:50 +01:00
XTZGZoReX b269d94848 * And a finishing touch on the command table.
--HG--
branch : trunk
2009-03-24 14:13:04 +01: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 e4bf94fbb6 *Fix a bug that antimagic zone freeze server and client.
--HG--
branch : trunk
2009-03-23 22:36:14 -06:00
megamage f18a9c916d *Fix some crashes possibly related to vehicles.
*Fix a bug that client crashes when seer is far away from caster.

--HG--
branch : trunk
2009-03-23 20:13:37 -06:00
megamage dcb08352e7 *Do not set applyaura to be "real" when set stack amount.
--HG--
branch : trunk
2009-03-23 20:11:45 -06:00
megamage 04b27302b0 *Add new log level "crash alarm" to record very dangerous errors.
--HG--
branch : trunk
2009-03-23 20:09:55 -06:00
raczman 8413356d0e Backported part of CMake update from TC2.
--HG--
branch : trunk
2009-03-24 00:23:10 +01:00
raczman 76f466cb3d Added script for GO 184421 by Lukaasm.
--HG--
branch : trunk
2009-03-24 00:06:47 +01:00
megamage 84d0aae7fc *Use return false to replace assert false in InstanceMap::Add
--HG--
branch : trunk
2009-03-23 17:01:26 -06:00
megamage 40fc368694 *Try to fix the bug that remove pet may cause crash.
--HG--
branch : trunk
2009-03-23 16:54:43 -06:00
megamage f25879c8fa *Try to fix the bug that dynamic object has too small size.
--HG--
branch : trunk
2009-03-23 16:40:49 -06:00
megamage a8105dcff6 *Do not proc anything when aura is removed by cancel.
*Remove aura by cancel when duel complete. This fix a crash.

--HG--
branch : trunk
2009-03-23 16:34:30 -06:00
megamage e9fb303e36 *Fix a crash in CanCast.
--HG--
branch : trunk
2009-03-23 16:13:30 -06:00
megamage 2c6e5a4b23 *Try to fix the crash caused by boss_priestess_delrissa script.
--HG--
branch : trunk
2009-03-23 16:06:04 -06:00
megamage ba957ed9f4 *Allow knockback creatures.
--HG--
branch : trunk
2009-03-23 15:26:13 -06:00
megamage 71bcdec848 *Fix a typo in knockback effect.
--HG--
branch : trunk
2009-03-23 15:25:20 -06:00
megamage 41a73f284b *Fix a crash caused by eventai. Update eventai to SD2 933. Note that other contents between 928 and 933 are not updated. Author: nofantasy.
--HG--
branch : trunk
2009-03-23 15:22:24 -06:00
Drahy 060eb91ec9 * Trinity sql coding style - fixed 2131_world
--HG--
branch : trunk
2009-03-23 20:08:39 +01:00
raczman 380cffe5bf Added script for GO 183146. By McBitter.
--HG--
branch : trunk
2009-03-23 18:07:58 +01:00
megamage 2c17957627 *Fix a crash caused by RemoveSpellsCausingAuraWithDispel.
--HG--
branch : trunk
2009-03-23 09:31:54 -06:00
QAston 8af4e2dd42 *Fix a crash.
--HG--
branch : trunk
2009-03-23 15:39:40 +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
QAston ce71c0e798 *Update dispel code and fix crash related to it. Thanks to megamage.
--HG--
branch : trunk
2009-03-23 01:54:50 +01:00
megamage b5eed3626d *Fix a bug that combo points are never taken.
--HG--
branch : trunk
2009-03-22 18:45:44 -06:00
megamage b5abc43ad5 *Fix a crash during loading scripts. Thanks to nissen.
--HG--
branch : trunk
2009-03-22 18:38:42 -06:00
Muhaha d64436a5e4 * Merged ScriptDev2 928
--HG--
branch : trunk
2009-03-22 23:11:55 +01:00
QAston 36ccfd4168 *Fix kill command-by pasdVn.
*Fix tidal force.

--HG--
branch : trunk
2009-03-22 22:21:25 +01:00
XTZGZoReX 25c13e0d62 * Fixed SQL update.
--HG--
branch : trunk
2009-03-22 21:09:00 +01:00
XTZGZoReX f6081c6cf9 * Revert 2128.
--HG--
branch : trunk
2009-03-22 18:54:11 +01:00
megamage f703449242 *Backport a crash fix of petai.
--HG--
branch : trunk
2009-03-22 11:44:07 -06:00
megamage eacb861799 *Fix build and typo.
--HG--
branch : trunk
2009-03-22 11:41:30 -06:00
megamage 708449298e *Merge.
--HG--
branch : trunk
2009-03-22 11:37:59 -06:00
megamage ae7a8a0971 *Do not set another viewpoint when the old one cannot be removed.
--HG--
branch : trunk
2009-03-22 11:35:25 -06:00
megamage 763c81de3c *Remove possess aura when stop casting bindsight.
--HG--
branch : trunk
2009-03-22 11:32:29 -06:00
megamage 93db1e0219 *Fix a crash caused by boss_kelidan_the_breaker script.
--HG--
branch : trunk
2009-03-22 11:06:21 -06:00
megamage bb1563eece *Restrict the size of updatepacket to see if this can fix freeze bug.
--HG--
branch : trunk
2009-03-22 11:02:15 -06:00
XTZGZoReX bb201e6bd4 * Fixed several chat commands after merge with MaNGOS.
--HG--
branch : trunk
2009-03-22 17:27:37 +01:00
QAston 5242ff364d *Temporary hack to make Penance heal/damage at aura apply.
--HG--
branch : trunk
2009-03-22 17:21:01 +01:00
QAston 7303f9db8b *Backport blood frenzy fix from TC2.
--HG--
branch : trunk
2009-03-22 17:10:01 +01:00
QAston df553a98dd *Fix a crash in latest rev.
--HG--
branch : trunk
2009-03-22 16:53:56 +01:00
QAston a0530658ff *Fix blood frenzy remove (and possibly some other SPELL_AURA_ADD_TARGET_TRIGGER auras too).
*Fix some problems with Cut to the Chase.

--HG--
branch : trunk
2009-03-22 16:24:53 +01:00
XTZGZoReX f4d3a583bd * Implemented non-hacky, CMake-way of automagically installing *.sql files without specifying all of them in CMakeLists.
* Moved "sql/TBC-WLK converter" to "sql/TBC-WLK_converter" for compatibility.

--HG--
branch : trunk
rename : sql/TBC-WLK converter/Readme.txt => sql/TBC-WLK_converter/Readme.txt
rename : sql/TBC-WLK converter/TBC-WLK_characters.sql => sql/TBC-WLK_converter/TBC-WLK_characters.sql
rename : sql/TBC-WLK converter/TBC-WLK_world.sql => sql/TBC-WLK_converter/TBC-WLK_world.sql
rename : sql/TBC-WLK converter/TBC-WLK_world_run_only_once.sql => sql/TBC-WLK_converter/TBC-WLK_world_run_only_once.sql
2009-03-22 14:25:50 +01:00
XTZGZoReX 5197a1beb3 * Fixed loading of LogDB.* config values.
--HG--
branch : trunk
2009-03-22 13:40:18 +01:00
XTZGZoReX 69b1c1c219 * Fixed thread deadlock by disabling logging DB errors to DB... Heh.
--HG--
branch : trunk
2009-03-22 12:28:28 +01:00
raczman 075b7d38ea Add mising .sql to CMakeLists.
--HG--
branch : trunk
2009-03-22 12:02:03 +01:00
QAston b5390f84b9 *Make auras with periodic power take cancel when there is no more power avalible.
--HG--
branch : trunk
2009-03-22 11:34:34 +01:00
QAston f487cec645 *Fix aurastate bug.
--HG--
branch : trunk
2009-03-22 10:53:23 +01:00