55 Commits

Author SHA1 Message Date
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
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
Michael Cook (mackal)
70f55179b6 Switch netcode to steady_clock 2018-06-28 22:16:25 -04: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
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
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
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
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
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
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
KimLS
310d27c0bd Some changes to tic rates and default values 2017-03-12 18:38:33 -07:00
KimLS
742806158c Some changes to sync sending, dont even bother sending them now just wait to reply 2017-03-11 14:50:10 -08:00
KimLS
56fdc6aaac Change default settings 2017-03-10 23:31:51 -08:00
KimLS
d494048ff6 Tweaks to make server more lag tolerant and also send less packets. 2017-03-07 18:13:17 -08:00
KimLS
da81b7a76d No longer buffer ack packets to resolve an issue where the client was hanging slightly on connection termination 2017-03-05 19:09:27 -08:00
KimLS
0b4484b36b Some reverts and changes to default values and a bug fix 2017-03-01 13:00:48 -08:00
KimLS
66c1fd9369 Revert some changes that were causing more harm than good 2017-02-28 23:17:30 -08:00
KimLS
6033f48b47 Update libuv 2017-02-25 14:30:35 -08:00
KimLS
af097caa52 Remove reuse addr from udp bind, it was hiding a configuration bug 2017-02-21 21:16:12 -08:00
KimLS
d1447107d3 Crash fix 2017-02-16 00:12:37 -08:00
KimLS
d774de3a1b Add crazy logging to daybreak class 2017-02-16 00:02:17 -08:00
KimLS
c77e65c07d More HC work, almost fully logs in 2016-11-19 15:50:22 -08:00
KimLS
c86d4be1ae Headless client work 2016-11-15 21:30:43 -08:00
KimLS
84367e1f77 Added headless connection stuff, fixing connecting with daybreakconnections 2016-11-13 23:28:25 -08:00
KimLS
f07b5d9032 Legacy connection wip 2016-11-07 21:03:06 -08:00
KimLS
d83e8b7d8f Added back in eq stream ident timeout, also fixed bug with opcode manager 2016-11-05 16:38:57 -07:00
KimLS
53beefd19b Fix for how uv writes work on linux (they don't copy the buffer automatically) which should enable actually logging in on linux now 2016-11-02 18:45:05 -07:00
Ubuntu
7f7a4b0f2d Compile fixes for linux cpp++11 2016-10-30 19:42:28 +00:00