142 Commits

Author SHA1 Message Date
KimLS
cd8ab727aa Tweaks from other branch 2019-04-16 01:09:25 -07:00
Akkadius
1d88b063aa Change compression level in deflate 2019-04-15 00:12:11 -05:00
KimLS
cbfd02b9ff Remove logging from daybreak network code to make it thread safe, there is a threadsafe replacement if you care (there's only like 4 logs in the code anyway); made event loop thread local so we can have one for each thread 2019-03-15 21:34:23 -07:00
KimLS
7977949ae9 Change eqstream interface to get rid of some stuff as well as flesh out a few more options plus some rule and performance changes 2019-03-13 22:55:49 -07:00
KimLS
67b228a91c Added packet stats 2019-03-11 15:24:32 -07:00
KimLS
675a67b676 Set data rate to disabled by default 2019-03-10 03:28:44 -07:00
KimLS
777f182282 Update fmt lib with submodule 2019-03-10 00:10:47 -08:00
KimLS
ee1fcdf5fa Stats, stats everywhere (I added a #netstats command) 2019-03-09 22:25:04 -08:00
KimLS
cb9f0fbe31 Start of a network options interface command 2019-02-24 19:24:10 -08:00
KimLS
b156b078ed Revert internal send to old code 2019-02-24 15:20:01 -08:00
KimLS
e3d5200310 Redid background task interface, used it to async send client packets 2019-01-07 19:53:23 -08:00
KimLS
6c1e3ae3d6 Added some rules for network server startup, added a limit on number of resends per connection channel per cycle (default is 10) 2019-01-03 20:04:09 -08:00
KimLS
d20ea3852c Some changes to resend logic and default values 2019-01-02 20:57:40 -08:00
Uleat
df2e68ad31 Added missing return value 2018-11-29 22:55:04 -05:00
Michael Cook (mackal)
70f55179b6 Switch netcode to steady_clock 2018-06-28 22:16:25 -04:00
KimLS
254764c1e6 Fix for failed build due to lb changes 2018-06-26 23:00:20 -07:00
Michael Cook (mackal)
ee4a79616f Lets can't a reference in resends 2018-03-03 00:59:44 -05:00
KimLS
a1ff12d9ab Fix for unreliable packets not being processed or sent correctly 2017-07-22 14:18:30 -07:00
Akkadius
c8b20ecb1a Adjust switch case formatting in daybreak_connection.cpp 2017-07-12 22:01:59 -05:00
Akkadius
45b29aedf3 Bring back netcode to robust commit 34549a4 - proven and tested by PEQ and EZ as solid/stable with all of recent packet fixes 2017-07-12 21:49:30 -05:00
KimLS
7300776a85 Fix for bug where packets were not combining when sent inside cwnd, altered some settings 2017-07-06 18:03:19 -07:00
KimLS
3878bd0c76 Move to an older implementation 2017-07-06 17:25:00 -07:00
KimLS
a7c0e82c9e Tweaks and bug fixes 2017-07-05 20:24:39 -07:00
KimLS
49505a7a45 Bug fix plus tweak to reset cwnd when no longer needed 2017-07-04 21:03:49 -07:00
KimLS
10b01e62df More tweaks 2017-07-04 12:45:23 -07:00
KimLS
c6bb4a6470 Some tweaks 2017-07-03 21:31:25 -07:00
KimLS
eddc9c9baf Only increase cwnd when full, fiddled with formulas 2017-07-01 13:46:39 -07:00
KimLS
8d680b2222 Some changes 2017-06-30 22:40:05 -07:00
KimLS
6253162166 Change settings 2017-06-29 14:15:11 -07:00
KimLS
1110b284d8 Merge branch 'master' of github.com:EQEmu/Server 2017-06-29 14:14:24 -07:00
KimLS
5c6f684808 Some work on congestion avoidance now uses a sliding congestion window instead of a static one 2017-06-29 14:13:55 -07:00
Akkadius
c0f53647b8 Revert 5fac13075b7acbd685821c1c12494a1d0df321b9 until we don't creep client resend up to 4 seconds so quickly, this causes issues in higher traffic amounts and takes longer for clients to recover than needed 2017-06-25 20:37:37 -05:00
KimLS
5fac13075b Up resend delay max a few seconds 2017-06-24 18:29:18 -07:00
Akkadius
6cc774faf4 Adjust netcode variables proven to be stable for players 2017-06-24 20:10:12 -05:00
KimLS
a7c239b801 Some changes to the outbound queue and default settings 2017-06-23 21:52:28 -07:00
KimLS
1cabb091e7 Added packet buffering for dbg connections to avoid connections sending a ton of packets at once 2017-06-22 22:26:12 -07:00
KimLS
31d8336b4b Fix acceptmessages, added exp hooks to luamods 2017-06-10 15:12:31 -07:00
KimLS
28fd766278 Export many things 2017-05-15 15:46:19 -07:00
KimLS
8d391a7e3f Daybreak connection setting tweaks 2017-04-26 22:58:36 -07:00
KimLS
6d59baffaf Basic mod setup only supports combat hooks for now I'll add a few more before i push this 2017-04-26 22:56:18 -07:00
KimLS
cfd7e9f4d3 Crash fix for trying to write a 0 length packet to another packet. 2017-04-18 20:14:30 -07:00
KimLS
eec6687083 Modified default values a bit to be more agggressive 2017-04-14 16:24:29 -07:00
KimLS
6596dfeeba Tweaks to how resend is calculated to help our friends with smoke signal connections 2017-04-13 19:40:58 -07:00
KimLS
18d28ae8d3 Console initial implementation 2017-04-09 20:17:48 -07:00
KimLS
3acd845a79 Remove some logging that's not needed anymore and fix a bug when data rollover happens that can cause the connection to not internally ack packets and then disconnect. 2017-04-05 19:51:06 -07:00
KimLS
8509f05f0a Console wip, change how we send acks back to some old behavior 2017-04-04 23:21:32 -07:00
KimLS
281483efc1 Merge of a monster 2017-04-02 20:03:51 -07:00
KimLS
9750d09635 Change default settings and removal of unacked packets for now 2017-04-01 17:25:48 -07:00
KimLS
cfdbca6f12 Fix for unreliable packets (kind of a hack but it works) being flagged as corrupt 2017-03-20 00:22:50 -07:00
KimLS
1ce1073930 Change resend timeout to 1 min instead of 10 missed packets, added a close buffer for end of connection 2017-03-14 21:15:41 -07:00