Commit Graph

16928 Commits

Author SHA1 Message Date
Shauren
daecbd67e8 Core/Waypoints: Fixed memory leaks happening when loading waypoints with invalid move_type 2014-07-31 20:28:32 +02:00
Dr-J
9253ff7cb7 Update CMakeLists.txt 2014-07-31 00:29:54 +01:00
Dr-J
bfbfc1f08c Update ScriptLoader.cpp 2014-07-31 00:28:10 +01:00
Dr-J
5418844f15 Delete zone_eversong_woods.cpp 2014-07-31 00:24:08 +01:00
Dr-J
5b311690d1 Remove Script from zone_eversong_woods.cpp
This cpp is now currently redundant
2014-07-31 00:12:33 +01:00
jackpoz
4190d84c5b Tools/MMaps: Fix static analysis issues
Fix static analysis issue spotted by Coverity "Structurally dead code found"
2014-07-30 20:22:32 +02:00
joschiwald
a97e477e31 Fixed build 2014-07-30 14:58:36 +02:00
Dr-J
3199f2ba90 Remove Script from zone_eversong_woods.cpp
Remove Apprentice Mirvedas script from eversong woods cpp scripts as is not longer required.
2014-07-30 13:45:42 +01:00
DDuarte
43f868e55c Core/PacketLog: Save session ip and port information in saved packets
This data is put into the "optional data" part of each packet of the PKT 3.1 format
It will be used with WPP to debug some networking issues
2014-07-30 03:45:03 +01:00
joschiwald
5f9e6db27c Scripts/OutdoorPvP: dropped redundand code 2014-07-30 03:15:15 +02:00
joschiwald
04bb78f6c3 Scripts/OutdoorPvP: replaced some chat texts with proper defense messages 2014-07-29 23:45:34 +02:00
Vincent-Michael
24a14979fe Scripts/BloodmystIsle: Fix StartUp Errors 2014-07-29 20:16:37 +02:00
Shauren
d46c3bf877 Core/Authserver: Fixed invalid memory access when AsByteArray returns less bytes than expected 2014-07-29 18:26:10 +02:00
Vincent-Michael
04f8a902af Core/Conditions: Added more infos for CONDITION_SPELL error log 2014-07-29 17:41:06 +02:00
Shauren
7d4514c447 Core/Chat: Restored split alliance and horde chat channels
Closes #12664
2014-07-29 17:19:20 +02:00
DDuarte
09a10f2872 Core/Channels: Do not allow creation of channels starting with digits 2014-07-29 15:03:25 +01:00
DDuarte
0e52b111f3 Core/Config: User-friendlyfy configuration parsing errors
It will now print useful error messages that pinpoint the issue
with the config file (missing file, bad syntax, etc)

In memory of MitchesD that lost 18 hours finding a problem with
his config because of a duplicated line.
2014-07-29 01:47:00 +01:00
Shauren
833195062c Update Socket.h
Added missing typename keyword
2014-07-29 02:00:23 +02:00
Shauren
6418789489 Core/Socket: Fixed expected template evaluated type for AsyncWrite if PacketType is a pointer (Bla* const& is not what we want) 2014-07-29 01:52:28 +02:00
Dr-J
6a6351d98c Update razorfen_downs.cpp 2014-07-28 23:41:17 +01:00
Shauren
86f3ee9949 Core/Instances: Explicitly unload InstanceSaveMgr before MapManager, fixes invalid memory access at shutdown
Closes #12635
2014-07-28 23:32:53 +02:00
Shauren
7a888d03bd Core/Network: Fixed packets being properly received only by the first player when broadcasted to everyone
Closes #12675
2014-07-28 16:37:42 +02:00
DDuarte
440fff54b8 Core/Startup: Change an error about "broken zone-data" on guild loading to debug
This "error" happens when player is on zone 0 or transport.
2014-07-28 13:26:03 +01:00
DDuarte
100fd82b2b Core/Networking: Attempt to fix some exceptions
Call the non-throwing versions of socket.remote_endpoint in GetRemoteIpAddress
and GetRemotePort. Sh*t will still be broken tho
2014-07-28 02:58:03 +01:00
leak
e502e01f5d Fixed a rare crash case when authserver socket was forcefully closed during read
Closes #12634
2014-07-27 18:36:03 +02:00
DDuarte
eabf0f44dd Tools/mmaps: Change the PCQ queue to uint32 again
6f272ea5b7 re-added support for non-pointer types
2014-07-27 17:33:42 +01:00
Shauren
6f272ea5b7 Core/Network: Optimized packet sending by removing unneccessary memory copying 2014-07-27 17:46:46 +02:00
DDuarte
8a05231994 Conf/World: Disable player limit by default 2014-07-27 15:46:34 +01:00
Shauren
e77c0b6ed4 Core/Network: Allow storing any packet types in Socket write queue to reduce the amount of copying going on 2014-07-27 14:59:46 +02:00
Shauren
26715795b4 Fixed gcc build 2014-07-27 01:26:03 +02:00
Shauren
c1b1ba44ba Core/Network: Refactored socket code, moved common operations to base Socket class 2014-07-26 23:26:01 +02:00
Shauren
e1c400250c Added comments to 6961f957c9 to make sure noone decides that storing the result in a variable is unneccessary 2014-07-26 16:14:18 +02:00
Shauren
6961f957c9 Core/DBLayer: Fixed possible crashes with async queries retrieving result
Closes #12655
2014-07-26 16:10:05 +02:00
Subv
a03c879565 Core/PreparedStatements: Fixed a change I missed in the World prepared statements for waypoints. 2014-07-25 20:18:43 -05:00
Subv
b5d025938e Core/Waypoints: Allow the table waypoint_data to use Takeoff and Land waypoints. 2014-07-25 19:05:25 -05:00
Shauren
a98737d5d9 Core/Threading: Fixed lock type used in HashMapHolder::Insert - a write lock is needed there, not a read lock 2014-07-26 01:36:54 +02:00
Vincent-Michael
e516265703 Core: Fix non pch build 2014-07-25 21:52:41 +02:00
DDuarte
dcfa3bfa90 Core/Network: Fix build 2014-07-25 19:49:43 +01:00
Shauren
db6be5927f Core/Realmlist: Force resolving realm addresses to ipv4
Closes #12640
2014-07-25 20:13:13 +02:00
DDuarte
4f1d247dfb Core/Network: Fix some possible exceptions on socket.close()
Ref #12634
2014-07-25 18:06:43 +01:00
DDuarte
63e1cc6276 Tools/mmaps: Fix build when building only tools
Closes #12631
2014-07-25 15:23:40 +01:00
DDuarte
0b75e38755 Core/Shared: Change rand32 to return uin32 instead of int32
Fixes a crash that happened when rand32 returned negative values.
Also updated some related comments that were outdated since we changed to SFMT.

Closes #12638
2014-07-25 15:00:40 +01:00
DDuarte
baf9922350 Tools/mmaps: Fix a possible mem leak and a compile warning 2014-07-25 14:04:39 +01:00
DDuarte
8e385ca6d9 Core/Spells: Fix an issue with previous commit (a309ca9727) 2014-07-25 14:04:12 +01:00
Warpten
a309ca9727 Core/Spells: Fixed issues with Death and Decay and similar spells not ticking if players stepping in the AoE are not in LoS with the caster.
Not exactly sure if that behavior should *exactly* be as such, but until more informations ...
2014-07-25 14:47:07 +02:00
leak
90bc6f1e39 Restore mmaps gen build
Closes #12631
2014-07-24 21:55:37 +02:00
Shauren
b5f0b85b48 Core/Misc: Fixed a possible crash in ProducerConsumerQueue::Cancel 2014-07-24 18:05:54 +02:00
DDuarte
3de1714350 Scripts&DB/Feralas Convert npc_screecher_spirit to SAI
SAI by @Rushor and gossip by @malcrom

Closes #12630
2014-07-24 16:38:18 +01:00
Shauren
f1a41eabae Core/NetworkIO: Fixed boost::asio::async_write usage - packets will now be sent properly 2014-07-24 17:09:45 +02:00
untaught
3009bb4808 Scripts/Darkshore: Fix an issue with the quest Gyromast's Revenge
TODO: Rewrite the script in SAI

Closes #11987

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2014-07-24 15:18:04 +01:00