Commit Graph

16978 Commits

Author SHA1 Message Date
Shauren
bd4edf6e22 Core/Threading: Fixed possible race condition with m_timeOutTime and fixed Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread in PCQ 2014-08-12 18:18:52 +02:00
Dr-J
9f7075215d Remove Manaforges CPP Script
Remove script
2014-08-12 13:36:21 +01:00
Shauren
c741d2682a Core/NetworkIO: Prevent queueing more async operations when socket is already closed 2014-08-11 20:43:07 +02:00
leak
1a27ce1267 Core/NetworkIO: Restore networking related scripting hooks
Closes #12607
2014-08-11 17:40:43 +02:00
leak
528baae5f7 Kill potentially uninitialized variable warning 2014-08-11 14:03:16 +02:00
Shauren
730ca4d9e0 Merge pull request #12818 from MrSmite/pet_spell_cooldown
Fix pet spell cooldown
2014-08-11 09:02:58 +02:00
leak
14cb6e4235 Resolve shutdown crash/leak if MySQL server is not running
Fixes #12734
2014-08-10 22:43:48 +02:00
Vincent-Michael
9aea8046ce Core: Fix non pch build 2014-08-10 21:46:04 +02:00
Shauren
f5bf13295c Core/NetworkIO: Prevent double closing the same socket 2014-08-10 21:32:57 +02:00
jackpoz
f8a7d537ec Tools/MMAPs: Fix log message if mmaps folder is not found
Fixes #12787
2014-08-10 17:25:48 +02:00
Shauren
99e36e923f Core/Misc: Removed ACE leftovers 2014-08-10 12:09:26 +02:00
Shauren
4fe45b8c63 Core/Worldserver: Replaced old hack sending key events to unblock console thread 2014-08-10 11:50:19 +02:00
Shauren
39d3480172 Core/Authserver: Fixed writing to invalid memory address 2014-08-10 11:48:43 +02:00
Shauren
df11916ad5 Core/NetworkIO: Allow receiving packets bigger than buffer size and properly handle situations where not entire packet was read in one go
Core/Authserver: Restored authenticator functionality
2014-08-10 11:00:27 +02:00
MrSmite
5dcf111150 Fix pet spell cooldown being extended without successful cast
Closes #12560
2014-08-10 04:51:46 -04:00
Vincent-Michael
0daebd9705 Core: Fix build for Intel Composer XE 2014-08-10 01:08:07 +02:00
DDuarte
df3b08d140 Core/Server: Use nullptr instead of 0 where pointers are expected 2014-08-09 21:32:26 +01:00
DDuarte
a394205eca Core/Server: Add missing overrides 2014-08-09 20:17:40 +01:00
jackpoz
272b9d3d16 Core/WorldSession: Fix socket not being closed on clean logout
Close the WorldSession socket if Player didn't even login or logged out successfully and then closed the client.
2014-08-09 19:37:57 +02:00
Vincent-Michael
893d58fa87 Scripts/Commands: Fix static analysis issues 2014-08-09 19:18:05 +02:00
Shauren
d830890305 Core/Trade: Fixed putting soulbound items to "will not be traded" slot 2014-08-09 10:08:53 +02:00
Duarte Duarte
a5d2d3ac85 Merge pull request #12810 from Carbenium/questreward
Core/Player: Fix an issue with Player::RemoveRewardedQuest not deleting ...
2014-08-09 01:14:23 +01:00
Carbenium
dbaf0557e8 Core/Player: Fix an issue with Player::RemoveRewardedQuest not deleting the queststatus_rewarded form database
Needed for SPELL_EFFECT_CLEAR_QUEST
2014-08-09 01:54:22 +02:00
jackpoz
8402570bb8 Scripts/Misc: Fix static analysis issues
Replace CAST_AI() macro with ENSURE_AI() when dynamic_cast is not supposed to return NULL.
2014-08-09 00:12:20 +02:00
jackpoz
78af80230d Core/Misc: Fix static analysis issues 2014-08-08 21:14:12 +02:00
Shauren
936db9d50d Core/NetworkIO: Handle exceptions thrown from socket constructor when retrieving remote address 2014-08-08 14:01:09 +02:00
Vincent-Michael
7c6e1b1505 Revert "Core: Fix build for vs2014"
This reverts commit e303451189.
2014-08-07 21:21:19 +02:00
Vincent-Michael
e303451189 Core: Fix build for vs2014 2014-08-07 20:41:33 +02:00
jackpoz
f25a87cda0 Core/Misc: Remove unused variable 2014-08-07 19:23:01 +02:00
jackpoz
d3100edccb Tools/MMAPs: Fix uninitialized value in mmap_generator
Fix uninitialized value in mmap_generator. This fixes mmaps_generator broken in some build configurations.
Fixes #12644
2014-08-07 18:58:21 +02:00
Duarte Duarte
ca368a781b Core/Socket: Fix typo in constructor
Using moved objects is generally a bad idea

Thanks @Daejiv

Closes #12800
2014-08-07 14:25:43 +01:00
Vincent-Michael
fad2bd4f92 Core: Kill AGAIN whitespace :( 2014-08-07 07:19:06 +02:00
Vincent-Michael
8c73b2dbae Core: Fix non pch build 2014-08-07 07:00:17 +02:00
leak
48b94c3beb Prevent reading address information from potentially closed socket 2014-08-06 23:16:40 +02:00
jackpoz
0f07dcfea6 Core/Scripts: Fix possible crash
Fix possible NULL dereference crash spotted by Coverity.
2014-08-06 20:55:43 +02:00
Shauren
7d97b4b841 Core/Misc: Fixed textlike/hexlike methods of ByteBuffer to print properly 2014-08-06 10:00:23 +02:00
Vincent-Michael
c8956ca6f2 Core: Fix build for shit OS
Closes #12597
2014-08-05 17:16:53 +02:00
DDuarte
7e64222029 Auth/Main: Fix crashes on shutdown
"mutex destroyed while busy"
2014-08-05 15:23:42 +01:00
DDuarte
66a8d41f59 Auth/Networking: Use non-throw resolves in realmlist updates
Fixes #12737
2014-08-05 15:14:52 +01:00
Vincent-Michael
52b7fd40ef Core: Fix typo 2014-08-04 19:43:17 +02:00
Vincent-Michael
551fdb61c9 Core/World: Small cleanup on headers in World.cpp 2014-08-04 19:40:57 +02:00
Shauren
e4d6d34f6e Core/Spells: Fixed LoS checks for spells like shadowfury 2014-08-04 18:56:17 +02:00
jackpoz
15b1d41740 Core/NetworkIO: Adjust more packet throttling values
Adjust more packet throttling values by increasing some limits, this might fix some random kicks.
2014-08-04 18:43:15 +02:00
Duarte Duarte
02a3b3d949 Core/Spell: Correct the hit and miss counters in WriteSpellGoTargets
Fixes a client crash when spells hit (or miss) more than 255 targets (it was capped at 256 in 80b61fa584)
Thanks to @joschiwald for finding the mistake

Closes #12733
2014-08-03 17:55:13 +01:00
DDuarte
42decaa360 Core/Server: Add mutex lock to PacketLog 2014-08-02 23:38:25 +01:00
DDuarte
cb453fa093 Core/Shared: Fix world and auth crash on shutdown (PCQ & DbWorker)
Fixes #12704
2014-08-02 19:30:55 +01:00
Vincent-Michael
479afc0ed0 Core/Spells: Fix Bloodworms summon count 2014-08-02 05:17:42 +02:00
Vincent-Michael
a05497bc61 Core/Trade: Fix warnings 2014-08-02 01:36:40 +02:00
Shauren
58ecb73674 Core/Trade: Replaced SendNotification hacks with proper trade packets 2014-08-01 22:06:33 +02:00
Shauren
45e9ef3d93 Core/Loot: Fixed pickpocket refill timer and use send proper loot error packets to master looter 2014-07-31 21:41:41 +02:00