61 Commits

Author SHA1 Message Date
10458baea0 shrink some structures, remove async from functions that didn't need it 2020-11-09 16:25:15 -07:00
a3413083b6 add auth for interserver connections 2020-11-01 18:06:00 -07:00
bacf309978 on_connect/on_disconnect return results 2020-10-30 21:25:29 -06:00
05596cec4f change serverstate on_connect and on_disconnect to async 2020-10-30 21:25:29 -06:00
b3e0674ca5 fix more tests + fix warnings 2020-10-30 21:25:27 -06:00
578e4c7cf8 properly handle disconnections in interserver connections 2020-10-30 21:24:02 -06:00
ca38d60ff0 remove debug output 2020-10-22 08:57:07 -06:00
cd1c30c8eb handle error 2020-10-07 19:24:46 -06:00
317acad564 cleanup 2020-08-20 09:37:18 -06:00
c8059edb42 move interserver handler from login -> character and handle new ship messages 2020-08-19 23:18:04 -06:00
2926938201 add InterserverActor trait for cross-server communication 2020-08-19 21:21:09 -06:00
0bb9fb1ad0 no need to set this to a var 2020-08-13 18:24:17 -06:00
c00f851f7e refactor mainloops 2020-08-13 18:21:08 -06:00
27179f924b leveltable::get_level_from_exp 2020-06-05 22:06:42 -06:00
8d49c50cc5 async EntityGateway 2020-06-02 18:51:18 -06:00
d421b30a88 remove commented things 2020-05-02 22:17:12 -03:00
e255b43c10 hella warnings cleanup pt 1. remove unused imports, allow deadcode and unused results 2020-05-02 22:08:37 -03:00
a74941441b use proper data structs that convert to what pso wants 2020-01-25 13:01:34 -08:00
81043891a1 actually run disconnect handlers when a client disconnects 2020-01-25 12:46:33 -08:00
1add8b500a improve network error handling 2020-01-23 23:03:28 -08:00
62bc447f71 ??? 2020-01-23 22:35:11 -08:00
93426dc52a async! 2020-01-23 18:00:34 -08:00
f8af4ab3a1 fix case where unknown packets caused the next packet to not be handled properly 2020-01-15 07:02:31 -08:00
e451eb88b5 remove player from area when they leave 2020-01-11 01:08:05 -08:00
a7cb592471 disconnect plumbing 2020-01-10 21:28:26 -08:00
272be2db74 ServerState on_disconnect 2020-01-10 19:42:05 -08:00
6d384f77da add proper logging 2019-12-18 19:31:25 -08:00
25488e9453 remove prints in test 2019-12-03 22:15:11 -08:00
7c62ce7600 character level stat table 2019-12-03 21:42:46 -08:00
91338617ff remove for real 2019-11-04 20:36:26 -08:00
28619a95c3 move util to libpso 2019-11-04 20:33:22 -08:00
7664771cf5 remove some debug statements 2019-11-04 20:22:23 -08:00
c1b40f63e1 remove printlns 2019-09-23 22:26:06 -07:00
732f619b9d formatting 2019-09-23 22:25:45 -07:00
7d5b458970 remove extraneous debug statements 2019-09-15 16:29:47 -07:00
4c4a839827 more warnings 2019-09-15 15:37:35 -07:00
ba226cc28a remove pktvec 2019-09-15 15:06:15 -07:00
d86f5caca1 serverstate::handle now returns a result (patch/login converted) 2019-09-15 13:17:49 -07:00
929f0e7f85 add client_id arg to on_connect 2019-09-15 13:16:49 -07:00
709d0bae81 make clientid a stronger type 2019-09-14 11:43:02 -07:00
dc35c5b82c whitespace 2019-09-13 19:21:01 -07:00
ddf7701118 stop looping when client disconnects 2019-09-13 19:19:38 -07:00
186c3612aa print out packets 2019-09-13 19:18:42 -07:00
Jake Probst
3690e05265 that one huge refactor 2019-09-04 09:17:48 -07:00
Jake Probst
7aa0f907d5 utf8_to_utf16_array 2019-08-30 00:57:25 -07:00
Jake Probst
667b9b231b more debug info 2019-08-28 21:40:08 -07:00
Jake Probst
5c4bae8f26 show error for unknown packets 2019-08-25 04:50:45 -07:00
Jake Probst
ac5919e44d utf8_to_array macro 2019-08-24 14:45:33 -07:00
Jake Probst
606bd191b8 split packet to sendpacket and recvpacket in serverstate 2019-08-24 14:18:07 -07:00
Jake Probst
2fb97cc2b6 data access interface 2019-08-23 23:01:36 -07:00