61 Commits

Author SHA1 Message Date
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
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
5fa8ffd3bc Compile error with msg callback any and no-sodium 2017-02-06 23:26:31 -08:00
KimLS
204e52c364 And another 2017-02-06 23:24:36 -08:00
KimLS
d05d388b19 Readonlypacket found 2017-02-06 23:23:23 -08:00
KimLS
40edbc3b64 WI work 2017-01-22 22:26:34 -08:00
KimLS
f7eb15bf53 This is throwing an error on gcc 2017-01-14 16:06:55 -08:00
KimLS
124728e0c7 TCP cleanup, added basis of web interface 2017-01-08 19:00:39 -08:00
KimLS
b7c5de144a Launcher support added. Still missing UCS but thinking about maybe rewriting it completely 2017-01-05 22:25:01 -08:00
KimLS
f6ca59fbc6 Working zone and world communication yay 2017-01-03 22:23:03 -08:00
KimLS
2447c38c82 Working on world <-> zone communication needs a ton of work really need to rewrite how world works with zones. 2017-01-02 22:38:47 -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
bdf6f6da99 Fix for opcode manager not being set to anything (messes up release builds doh) 2016-11-05 16:39:51 -07: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
1ada60b611 Added write baton to tcp sends so we follow spec 2016-11-05 16:18:39 -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
KimLS
f3e2af7e42 Working on login / world connection mostly there, fixed a few crashes with encryption on 0 length packets 2016-10-29 23:23:04 -07:00
KimLS
0b8b41d91f World <-> Login connection reworked 2016-10-28 19:02:03 -07:00