Commit Graph

19 Commits

Author SHA1 Message Date
ratkosrb 841b31e262 Fix disconnect when socket send buffer is full on windows.
The value of errno is 0 on windows in this case, yet WSAGetLastError returns WSAEWOULDBLOCK.
2023-05-03 03:48:42 +03:00
namreeb dfb90c5880 Logging rewrite (#1519) 2022-10-06 16:34:56 +03:00
WobLight 03a2e108ba Replace use of ACE threads (#25) 2021-02-21 14:25:25 +02:00
ratkosrb dd8926f33e Handle running out of file descriptors on linux. (#1062)
Credits to trinity https://github.com/TrinityCore/TrinityCore/commit/d65e1d9a3fc7d597425d6b1fed76d07b22d6008c
2021-02-19 01:56:47 +02:00
ratkosrb f8f01f9291 Attempt to fix hanging on shutdown issue.
Thanks to Gamemechanic.
2020-11-07 03:14:41 +02:00
ratkosrb 618ecbd1d3 Remove obsolete defines. 2020-04-30 19:35:39 +03:00
ratkosrb 4a4f5692cc Remove MANGOS_DLL_DECL and its use.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/61837298b7ba4bd81fdfbda3d7456d10f296e7cd
2020-02-10 22:17:36 +02:00
ratkosrb e806acc769 Apply clang tidy fixes. (#330) 2019-12-24 06:23:40 +02:00
ratkosrb 25b64c7c25 Add support for MinGW and ARM (#322)
* Add support for mingw compiler and arm platform.

* Change else to elseif in cmake file.

* Add libseh for mingw.

* Fix extractors build.

* Remove static link flags.

* Undo some changes that were not needed.

* Remove debug flag from extractors.

* Add missing readme for libseh.

* Remove not needed acquire on guard.
2019-12-01 15:31:38 +02:00
ratkosrb df76eff1d3 Fix a ton of warnings found using clang. (#308) 2019-11-20 20:27:36 +02:00
ratkosrb 4afe949345 Replace usage of NULL with nullptr. 2019-11-12 19:53:42 +02:00
ratkosrb 3d8e606b3d Add lambda support to EventProcessor.
Credit to TrinityCore https://github.com/TrinityCore/TrinityCore/commit/813f693768ee94864b0d24423b9265bde2c9903d#diff-2d04f7b8f0f9465cedb1ad8e91c0a125
2019-04-08 22:05:43 +03:00
ratkosrb b7b970e886 Code style improvements.
based on https://github.com/cmangos/mangos-classic/commit/ce2527c0b2fdcc8b72d745371ab2f68c81728cc6
2018-12-04 15:30:47 +02:00
ratkosrb 5ae67a525f Remove obsolete header. 2018-09-15 20:36:48 +03:00
ratkosrb 19e3a65426 Fix extractors build (#64)
Credits to Giperion and Crito.
2018-04-25 14:59:16 +03:00
Gemt f2cdc48912 EventProcessor::GetEvents should return const reference instead of value (#61) 2017-03-19 18:20:12 +00:00
Zerix 287fdec16d [Core/Scripts]: Implement Event Based Timers (#43)
* Event based timers. Allows us to use scheduled events rather than the
time diff checking.

* Easier to write, and easier to read for newbies.

* Simplifies code flow and looks far more professional to the trained
eye.

* Comes from TrinityCore so we can cross reference scripting techniques
and start coding in the 21st century on this core..

* As a proof of concept, I have rewritten Lucifron (first boss in MC) to
show an example of how this might look in the future with the other
scripts.
2017-03-16 15:05:04 +00:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00