Shauren
b781a4dc33
Core/Logging: Replaced direct calls to GetCounter() in logs with ToString()
2014-10-08 17:59:27 +02:00
Vincent-Michael
f989c7182c
Core/Misc: Added support for calculate zoneId/areaId for creature / gameoject table at loading (Slow server startup ca.3-4 sec.)
2014-10-05 01:57:37 +02:00
Shauren
04b6f9111a
Fixed ==25829== Thread #1 : pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
...
==25829== at 0x4C2A1D5: pthread_cond_broadcast_WRK (hg_intercepts.c:891)
==25829== by 0x654A758: std::condition_variable::notify_all() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==25829== by 0x132305A: ProducerConsumerQueue<SQLOperation*>::Cancel() (ProducerConsumerQueue.h:100)
==25829== by 0x13229A7: DatabaseWorkerPool<WorldDatabaseConnection>::~DatabaseWorkerPool() (DatabaseWorkerPool.h:70)
==25829== by 0x6C6CB21: __run_exit_handlers (exit.c:78)
==25829== by 0x6C6CB74: exit (exit.c:100)
==25829== by 0x6C54EF3: (below main) (libc-start.c:276)
2014-10-02 20:09:08 +02:00
jackpoz
5150222f19
Revert "Core/AuctionHouse: Delete expired auctions at startup."
...
This reverts commit a92038feaf which caused items of expired auctions not being mailed back to the owner and leaving those items in item_instance table.
Please refer to the forum for steps to verify the integrity of your database and remove old unneeded rows in item_instance table.
Fixes #12699
2014-09-30 21:25:58 +02:00
Shauren
42177d9f2c
Fixed GCC build
2014-09-27 10:56:22 +02:00
Shauren
71644043d2
Core/Debugging: Extended ASSERT macro to allow passing additional formatted string
2014-09-26 20:47:48 +02:00
jackpoz
a209fc30ff
Core/Misc: Avoid Helgrind reporting libstdc++ false positive race conditions
2014-09-20 22:35:13 +02:00
Vincent-Michael
3b87ab4536
Revert "Core: Fix build for msvc14"
...
This reverts commit bd522a3853 .
Meh -.-
2014-09-20 05:51:37 +02:00
Vincent-Michael
bd522a3853
Core: Fix build for msvc14
2014-09-20 05:39:26 +02:00
xjose93
0d50833d20
Core/Commands: Fix displaying in .baninfo character command.
2014-09-19 18:58:12 +02:00
DDuarte
256ad379dd
Oops.
2014-09-19 03:39:57 +01:00
DDuarte
cefcde9ba9
Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code)
2014-09-19 03:30:02 +01:00
joschiwald
e567ab9597
Core/Texts: added TextRange parameter to creature_text
...
Ranges:
0 - Normal (Default)
1 - Area
2 - Zone
3 - Map
4 - World
Ref #13116
2014-09-18 23:33:59 +02:00
jackpoz
08069dfba7
Shared/Logging: Use standard format specifier for size_t
...
Use standard format specified PRIuPTR for printing/logging size_t type that can be either uint32_t or uint64_t depending on platform/build configuration
2014-09-18 21:24:40 +02:00
joschiwald
b08dcb1d99
Core/Scripts: implemented a guid map in InstanceScript, this way you can easier store guids and access its objects
2014-09-18 00:25:05 +02:00
joschiwald
053beae172
Core/Spells: consider spell speed in SPELL_EFFECT_CHARGE
...
Misc: removed some duplicate guid words in logs
2014-09-17 23:24:31 +02:00
Shauren
e57a63939e
Core/NetworkIO: Fixed queued packets not being properly sent causing players to be stuck during loading
...
Closes #13120
2014-09-17 23:06:34 +02:00
Shauren
7d1d55124c
Merge branch 'ObjectGuid' of https://github.com/TrinityCore/TrinityCore
...
Conflicts:
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Player/Player.h
src/server/game/Scripting/MapScripts.cpp
src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp
src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
2014-09-16 21:50:01 +02:00
Vincent-Michael
b0270d547f
Core: Remove whitespace
2014-09-14 21:42:39 +02:00
jackpoz
16f0f05d44
Core/Misc: Fix issues reported by static analysis
2014-09-14 16:34:15 +02:00
Vincent-Michael
11bb300c69
Script/CoS: Fix quest credit for mal ganis (but @Aokromes like more HACKS)
2014-09-13 19:14:32 +02:00
Shauren
ce67a097bf
Core/Entities: Use new PackedGuid class
2014-09-13 01:12:16 +02:00
Shauren
8f5ae1fb90
Core/Misc: Added const modifier to MessageBuffer::Write parameter
2014-09-12 20:20:35 +02:00
Vincent-Michael
53ee1eff0b
Core: Fix warning
2014-09-12 19:51:29 +02:00
Shauren
6dff6b7425
Core/NetworkIO: Set non blocking mode on sockets properly
2014-09-12 19:34:26 +02:00
w1sht0l1v3
c4ce889344
Core/Misc: Kill few more warnings.
2014-09-12 00:16:04 +03:00
w1sht0l1v3
0392bf9bdf
Core/Misc: Get rid of some warnings.
2014-09-11 23:08:02 +03:00
jackpoz
8bb4f33852
Core/DB: Fix crash on shutdown
...
Fix race condition crash on shutdown, closing MySQL connections with queries still being executed
2014-09-10 22:39:03 +02:00
Duarte Duarte
2697b18cf2
Core/Net: Fix GCC build
2014-09-09 22:32:27 +01:00
Shauren
0c40ca8574
Build fix
2014-09-09 21:32:21 +02:00
Shauren
e0ce4528c5
Core/NetworkIO: Use reactor style sending on linux to reduce locking overhead
2014-09-09 19:19:25 +02:00
Odyssey
54e201b8b9
Scripts/Commands: Allow to set a custom duration to the Freeze command applied Aura
...
- Allow to set a default duration for the Freeze Aura in worldserver.conf
- Handle the .freeze and .unfreeze command custom effects through the Freeze AuraScript
- Make players able to eventually unfreeze by themselves since the aura will expire without someone having to use .unfreeze
- Make .freeze command usable with the following syntax:
* .freeze (with a targeted player)
* .freeze duration_in_seconds (with a targeted player)
* .freeze playername duration (if duration is an invalid value it will be defaulted to the config one)
* .freeze playername (in this case, duration will be defaulted to the config value)
- Make .listfreeze command able to show the remaining freeze duration on all affected players
Closes #12972
2014-09-08 15:56:32 +01:00
Leonid Logvinov
1e34aa9dcf
Removed redundant cast to c_str() in ConfigMgr::Reload function.
...
cppcheck performance warning:
[src/server/shared/Configuration/Config.cpp:62]: (performance) Passing the
result of c_str() to a function that takes std::string as argument no. 1 is
slow and redundant.
2014-09-07 21:35:37 +02:00
Shauren
9ab74b3910
Core/DBLayer: Fixed GetUInt32,GetInt64 and GetUInt64 on windows when value stored in db was greater than 2147483647
2014-09-06 22:58:29 +02:00
ShinDarth
b65172910c
Core/BattleGrounds: store data about BGs victories
...
Enable in worldserver.conf
Closes #12944
Signed-off-by: DDuarte <dnpd.dd@gmail.com >
2014-08-28 15:32:38 +01:00
jackpoz
7fe7f30521
Core/Misc: Fix some -Wconversion warnings
2014-08-23 19:56:41 +02:00
Shauren
abfd29ab61
Core/WorldSession: Added research notes about CMSG_AUTH_SESSION values and reordered checks during login to always initialize encryption first to make sure the client can read failure packet
2014-08-21 18:18:13 +02:00
Shauren
7cb72c2aac
Core/DBLayer: Fixed an incredibly rare memory leak happening when player started loading from database and never finished
2014-08-16 01:43:42 +02:00
Shauren
aab4ab166d
Core/Socket: Added helpers to retrieve the size of currently ready data
2014-08-15 18:43:17 +02:00
joschiwald
ccfa82e7d5
Core/Creature: update creature_template and some other small things
...
http://www.trinitycore.org/f/topic/9572-creature-damage/
2014-08-14 16:09:14 +02:00
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
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
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
Shauren
99e36e923f
Core/Misc: Removed ACE leftovers
2014-08-10 12:09:26 +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
Vincent-Michael
0daebd9705
Core: Fix build for Intel Composer XE
2014-08-10 01:08:07 +02:00