Commit Graph
30447 Commits
Author SHA1 Message Date
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
Filip f8fb6d6a58 DB/Misc: Ormus the Penitent vendor
By @Foldor fixes #10885
2013-10-04 12:35:13 +02:00
Discover- 4d654a885c Core/Misc: Fix compile after recent pull request... 2013-10-04 12:32:09 +02:00
Discover- 36e6407e24 Merge pull request #10981 from Lillecarl/hookz
Implement OnDamage and OnHeal hooks
2013-10-04 02:55:23 -07:00
Sebastian Valle 1428255e91 Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw 2013-10-03 17:48:11 -05:00
Sebastian Valle d74dcabd85 Core/MMaps: Started this new branch as my playground for mmaps.
Made some refactoring
Free memory taken by mmaps when a map is destroyed.
2013-10-03 17:47:38 -05:00
Shauren a368fae588 Core/Players: Fixed issues with incorrect targets being selected for spells 2013-10-03 17:07:25 +02:00
Elron103 2b7f29fef2 Core/Tickets: Fix crash in TicketMgr::ResetTickets() 2013-10-03 16:57:25 +02:00
Filip dd4404e6e3 Merge pull request #10985 from Baeumchen/patch-1
Update wrong Escape value
2013-10-02 12:40:28 -07:00
Baeumchen 3ffbd27cdd Update wrong Escape state
Found by w5860363 : http://www.trinitycore.org/f/topic/9112-halls-of-reflectioncpp-question%EF%BC%9F/
2013-10-02 19:08:14 +02:00
Armano 90ff57fb40 Core/Arena: Fix reading opcode with badge data at creating arena team. 2013-10-02 17:22:51 +02:00
Armano c64bcd8116 Fix deleting saved equipment. 2013-10-02 13:26:47 +02:00
Shauren 993513ce8d Core/Vehicles: Fixed a crash happening when a minion vehicle despawns with passenger on it
Ref #9738
2013-10-02 00:13:00 +02:00
Sebastian Valle 8fb1f7cc97 Tools/MeshExtractor: Implemented 7ca6f56a06 in MeshExtractor and fixed a memory leak. 2013-10-01 16:27:57 -05:00