Commit Graph
100 Commits
Author SHA1 Message Date
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
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 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
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 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
QAston 328ecda864 *Take ComboPoints after doing spell effects.
--HG--
branch : trunk
2009-03-22 10:20:15 +01:00
megamage 0dfa86cefd *Fix a bug of spells that use combo points.
--HG--
branch : trunk
2009-03-21 23:52:30 -06:00
megamage 7d2eb958d5 *Do not set civilians as react state defensive as default.
--HG--
branch : trunk
2009-03-21 23:29:18 -06:00
megamage f3d8806ec3 [7517] Add tick targets amount limitations to 48505 and ranks. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 23:01:36 -06:00
megamage 3c5a24f4cd [7516] Add form/mounting/self control loss limitations to 48505 and ranks. Author: Sarjuuk
--HG--
branch : trunk
2009-03-21 22:48:52 -06:00
megamage b522a34247 [7513] Implement currencies tab work. Also check related item data at server startup. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 22:44:59 -06:00
megamage 40a03daf82 [7512] Implement checks of item bag mask at server startup. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 22:43:47 -06:00
megamage 0c9aeaa965 [7511] Fixed expertise update at items unequip/drop. Author: VladimirMangos
* Not attempt update at item move from slot in bag with equip-like slot number.
    * Update at item drop from bag.

--HG--
branch : trunk
2009-03-21 22:42:40 -06:00
megamage ddb7265018 *Merge. Warning: I do not know if bg fix is still good for wlk.
--HG--
branch : trunk
2009-03-21 22:40:06 -06:00
megamage 61dcae44e5 *Remove 243 sql.
--HG--
branch : trunk
2009-03-21 22:37:48 -06:00
megamage a81472ac08 *Skip 243 spell fixes.
--HG--
branch : trunk
2009-03-21 22:36:23 -06:00
megamage a0298bc58d *Merge.
--HG--
branch : trunk
2009-03-21 22:31:00 -06:00
megamage 3531d0f254 *Fix a crash bug of priestess_delrissa script.
--HG--
branch : trunk
2009-03-21 22:25:13 -06:00
megamage ee332629b6 *Do not allow toggle unautocastable spells for pet.
--HG--
branch : trunk
2009-03-21 18:05:43 -06:00
megamage f814354396 *Merge.
--HG--
branch : trunk
2009-03-21 18:00:01 -06:00
megamage b1e23bb904 *Auto enter vehicle for summon vehicle spells.
--HG--
branch : trunk
2009-03-21 17:59:05 -06:00
megamage e01e7d7934 *Fix a crash caused by possessing pet.
--HG--
branch : trunk
2009-03-21 17:57:12 -06:00
Drahy f74cd377f4 * Modified CMakeLists.
--HG--
branch : trunk
2009-03-21 23:10:09 +01:00
Drahy cda9ce626b * Added trinity sql coding style.
--HG--
branch : trunk
2009-03-21 22:57:46 +01:00
raczman ecb87676a9 Bump config version to avoid error message spam.
--HG--
branch : trunk
2009-03-21 22:07:13 +01:00
megamage 4a65f12f09 *Merge.
--HG--
branch : trunk
2009-03-21 14:56:51 -06:00
megamage 738e139882 [7510] Some cleanups and commens for special forbidden slots Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:52 -06:00
megamage 7de6113d90 [7509] Use defines instead explcit value for talent rank cound (in general and for pets) Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:55:10 -06:00
megamage 42d5b79eea [7508] Revert to "check first, proccess later" code style in WorldSession::HandleRemoveGlyph. Author: VladimirMangos
--HG--
branch : trunk
2009-03-21 14:54:21 -06:00
megamage de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
megamage 3b09489f88 Fixed possible crash caused by invalid formed CMSG_AUTH_SESSION Author: arrai
--HG--
branch : trunk
2009-03-21 14:44:36 -06:00
megamage f1afff1a5b Updated OpenSSL lib. Thanks to Neo2003. Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:39:04 -06:00
XTZGZoReX 10e62c21f2 * Fixed 2064_world.sql - pointed out by BlueSteel.
--HG--
branch : trunk
2009-03-21 21:31:34 +01: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
raczman ca7d04ca13 Not allow to receive rewards when BG finishes prematurely - thanks to Sethoso, original author.
--HG--
branch : trunk
2009-03-21 21:07:51 +01: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
raczman 6354da1eeb Added MySQL reconnect support, in case of mysql server dying while trinity's running - Thanks to Xeptor for that one.
--HG--
branch : trunk
2009-03-21 20:42:09 +01: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
raczman a52405a799 Added proc data for spell 36070. Thanks Anubiss.
--HG--
branch : trunk
2009-03-21 20:30:50 +01: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
raczman 0709a97662 Fixed spell 41071 summoning more more than one mob - thx, kudos and pie goes to Anubiss for that one.
--HG--
branch : trunk
2009-03-21 14:45:57 +01:00
raczman 14e68b00e6 Added missing file.
also, 1234 rev woohoo!

--HG--
branch : trunk
2009-03-21 14:36:36 +01:00
raczman c6860a28f6 Mutilate fix - by _krz.
--HG--
branch : trunk
2009-03-21 14:34:03 +01: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
raczman f5116e0e78 Hopefully fixed annoying bug with more than one make jobs on linux.
--HG--
branch : trunk
2009-03-20 22:55:26 +01:00