Commit Graph
30260 Commits
Author SHA1 Message Date
joschiwald 53167ea9a1 Fix build. 2013-10-14 17:04:55 +02:00
Discover- 54272e4768 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2013-10-14 16:56:32 +02:00
Discover- 82eda3244a Core/Misc: Ugh.. Fix recent commit that broke the OnHeal hook 😥 2013-10-14 16:56:09 +02:00
joschiwald 0bdeb12636 Scripts/Ahnkahet: Prince Taldaram rewritten to BossAI
Closes #10993
2013-10-14 16:46:03 +02:00
Filip ce17fb9d5e Db/Disable: Sibling Rivalry credit
By @untaught fixes #11020
2013-10-13 23:20:07 +02:00
jackpoz 6f98e4106e Scripts/TheBlackMorass: Fix first 7 rifts spawn timings
Partially revert 7e76ab97f8 to properly spawn first 7 rifts. Also allow only 1 EVENT_NEXT_PORTAL event at time.
2013-10-13 18:30:59 +02:00
Warpten 65f358f985 Core/Movement: Do not send mover information when locking client control.
Fixes movement control when a battleground ends.
2013-10-13 12:36:12 +02:00
Discover- db848f2045 Core/Misc: Fix build after 731b3670fe (again..) 2013-10-12 13:41:00 +02:00
Filip 9f50caeb50 DB/SAI: Updates for I've got a flying machine 2013-10-12 04:37:37 +02:00
Subv f0b376a475 Merge pull request #11028 from Lillecarl/blackbabies
Make damage and healing references, so that damage can be altered by scr...
2013-10-11 13:45:35 -07:00
LilleCarl 731b3670fe Make damage and healing references, so that damage can be altered by scripts!
Correct typo (thanks AwkwardDev)
2013-10-11 21:49:06 +02:00
Discover- ca02411eff Core/SAI: When the castflags are set to both SMARTCAST_AURA_NOT_PRESENT and SMARTCAST_INTERRUPT_PREVIOUS, we only interrupt the spell if there is actually a spell cast. 2013-10-11 16:57:28 +02:00
Filip 6d08d06341 Create 2013_10_11_00_world_sai.sql 2013-10-11 02:43:11 +02:00
Filip 114bafe82b DB/Update: Chat flood
By @bele fixes #11025
2013-10-10 08:58:58 +02:00
Vincent-Michael 6d562b1248 Fix typo (thx to vlad852) 2013-10-10 07:31:42 +02:00
Vincent-Michael cc9671af90 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-10-09 23:15:53 +02:00
Vincent-Michael 904fa5b47b Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2013-10-09 23:14:16 +02:00
Vincent-Michael 4588294dd8 Fix some db errors ... (Yippie-Ya-Yeah) 2013-10-09 23:13:26 +02:00
Filip 8a94744c4b DB/Update: Quest credit fix-up 2013-10-09 09:13:38 +02:00
jackpoz 6f63d430b0 Tools/MeshExtractor: Fix uninitialized values
Fix uninitialized struct padding bytes written to output files. These bytes are actually ignored when loading these files, so the main point of this fix is to shut up the Valgrind log.

Valgrind log:
 Syscall param write(buf) points to uninitialised byte(s)
  at : ??? (syscall-template.S:81)
  by : _IO_file_write@@GLIBC_2.2.5 (fileops.c:1270)
  by : new_do_write (fileops.c:546)
  by : _IO_do_write@@GLIBC_2.2.5 (fileops.c:519)
  by : _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1341)
  by : fwrite (iofwrite.c:43)
  by  BuilderThread::svc() (ContinentBuilder.cpp:56)
  by : ACE_Task_Base::svc_run(void*) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Thread_Adapter::invoke_i() (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Thread_Adapter::invoke() (in /usr/lib/libACE-6.0.3.so)
  by : start_thread (pthread_create.c:311)
  by : clone (clone.S:113)
 Address 0x4039011 is not stack'd, malloc'd or (recently) free'd
 Uninitialised value was created by a stack allocation
  at: BuilderThread::svc() (ContinentBuilder.cpp:30)
2013-10-08 20:38:42 +02:00
joschiwald 95cad03fa4 Scripts/HoR: fixed infinite spawn, added some missing spell target conditions and fixed codestyle
Closes #10754
2013-10-08 04:22:26 +02:00
jackpoz 6cef507b89 Scripts/HallsOfReflection: Revert 3ffbd27cdd
Revert 3ffbd27cdd and PR #10985 , this change doesn't fix any issue and instead breaks the logic of the instance event.
2013-10-07 20:50:08 +02:00
Shauren fca4a5448a Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2013-10-07 14:30:37 +02:00
Filip c8f525c76e DB/SAI: The Great Hunter's Challenge
By @Polkic fixes #11003
2013-10-07 10:17:44 +02:00
Filip 24136b00c6 DB/Quest: Once More Unto The Breach, Hero progression
By @dr-j fixes #10940
2013-10-07 10:05:04 +02:00
Sebastian Valle b1ed66b52d Tools/MeshExtractor: Added some locks because concurrency.
Race conditions were detected with a race condition detection tool.
2013-10-06 21:22:38 -05:00
Sebastian Valle f6d8b235e2 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-10-06 16:32:59 -05:00
Sebastian Valle e7f035fdd3 Tools/MeshExtractor: Fixed a logic mistake. 2013-10-06 15:30:56 -05:00
jackpoz 7d6a47c128 Tools/MeshExtractor: Fix memory cleanup
Free memory created with new[] with delete[] .
2013-10-06 21:59:52 +02:00
jackpoz e7b93044fb Tools/MeshExtractor: Code cleanup and fix threading issue
Remove GenericCache:Insert() as no longer needed.
Mark BuilderThread as not free anymore as soon as they are assigned to a Tile.
Fix signed/unsigned comparison mismatch.
2013-10-06 21:30:20 +02:00
Sebastian Valle 58912635a7 Tools/MeshExtractor: Fixed a few errors under GCC and changed a bit how the GenericCache class works. 2013-10-06 13:47:22 -05:00
Filip f2ba8ed34b DB/SAI: The Final Code
By @dr-j fixes #3640
2013-10-06 18:16:00 +02:00
Shauren 1d3e3fac89 Build fix 2013-10-06 12:09:05 +02:00
Shauren 9d19e4d0ac Core/Commands: Restored old functionality of getSelectedPlayer in chat commands
Also fixed build
2013-10-06 11:28:25 +02:00
Shauren 21a64d8fb4 Merge pull request #10976 from avengerweb/master
Core/Spells: Spells with SPELL_ATTR3_IGNORE_HIT_RESULT can never miss!
2013-10-06 02:19:19 -07:00
Sebastian Valle 79ad827895 Tools/MeshExtractor: Rewrote the MeshExtractor to use a custom Stream class instead of FILE pointers, this way we avoid the errors that were caused by reaching the maximum limit of the tmpfile function, and the maximum number of open file streams at any given time.
P.S: This was no easy task, damnit.
2013-10-05 22:18:38 -05:00
Sebastian Valle 64ab895f1e Tools/MeshExtractor: Create the mmaps output directory automatically. 2013-10-05 18:56:09 -05:00
Sebastian Valle 6e994f1189 Core/MMaps: Bump mmaps version to 5 2013-10-05 18:52:46 -05:00
Sebastian Valle d47e43dc10 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-10-05 18:12:02 -05:00
Sebastian Valle e07d76836d Core/MMaps: Separate the path from the walls to prevent falling off the edges client-side and improve the behavior.
Thanks to Game2Mesh user in ownedcore.
2013-10-05 18:11:39 -05:00
Shauren b658c17703 Core/Spells: Fixed summoning players after recent changes 2013-10-05 23:59:52 +02:00
Filip 7f42a68c14 DB/SAI: Blighted last rites
By @dr-j fixes #9172
2013-10-05 22:35:51 +02:00
Sebastian Valle 6b149d18cd Core/MMaps: Use an enum for the poly flags 2013-10-05 14:28:53 -05:00
Shauren 1b56bd1b6a Merge pull request #10982 from armano2/4.3.4
Core/Misc: Fix deleting saved equipment.
2013-10-05 04:44:02 -07:00
jackpoz ba1a4cd0ce Merge branch 'authserver_fix_dos' of github.com:jackpoz/TrinityCore 2013-10-05 13:12:02 +02:00
jackpoz 03657525ad Core/Auth: Mitigate DoS attacks to authserver
Mitigate DoS attacks to authserver like "Wow Auth Flooder.exe" by allowing a finite number of AUTH_LOGON_CHALLEGE packets in a row from same socket, 3 sounds like a reasonable limit.
2013-10-05 13:10:06 +02:00
Sebastian Valle a84ed0af67 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-10-04 22:31:53 -05:00
Sebastian Valle a27237dedd Core/MMaps: MMaps are now correctly loaded into TC
P.S: They do behave better in some places, but are still a bit weird in some others, will have to look into that.
P.P.S: I'll have to re-implement all the previous PathGenerator code
2013-10-04 22:23:17 -05:00
jackpoz d897b55e9b Core/Build: Handle USE_SCRIPTPCH cmake flag when SCRIPTS flag is set to FALSE
Don't ignore USE_SCRIPTPCH cmake flag if SCRIPTS is set to FALSE; in this case "script" project has only source files related to scripted spells and command scripts and it must be built with precompiled headers if USE_SCRIPTPCH flag is set. This partially reverts 780ed1b01c .
2013-10-04 21:18:18 +02:00
Sebastian Valle e62f64b591 Tools/MeshExtractor: Fixed loading of locale patch MPQs (This fixes DBC extraction) 2013-10-04 10:25:44 -05:00