57 Commits

Author SHA1 Message Date
fdce44cdd8 refactor the rest of the fucking code 2022-10-18 04:46:21 -06:00
3ceff90f98 missed fixing these 2022-07-19 14:12:47 -06:00
c7d46d9ff8 make all entitygateway functions take &mut self, move postgres functions to separate function for future use 2022-07-19 14:09:40 -06:00
c015acb653 Merge branch 'master' into shop_sell
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-12-29 00:11:29 -07:00
1b506e014f clean up last of normal warnings 2021-06-18 20:38:29 -06:00
5d6b109cc5 lint src/login/* 2021-06-18 17:46:22 -06:00
60f04597d1 if any of these sends fail the program should panic so unwrap is fine 2021-06-18 02:11:19 -06:00
73c24a5d20 cleanup 2020-11-01 18:06:00 -07:00
8717024694 move errors to anyhow to get backtraces 2020-11-01 18:06:00 -07:00
b517fb561c fix some things 2020-10-30 21:25:29 -06:00
164a8a1ad8 disable duplicate account checking since its super bugged 2020-10-30 21:25:29 -06:00
bacf309978 on_connect/on_disconnect return results 2020-10-30 21:25:29 -06:00
c802bceb3c prevent double logins 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
a14aee4e29 handle unactivated accounts in the correct spot 2020-10-30 21:25:29 -06:00
b3e0674ca5 fix more tests + fix warnings 2020-10-30 21:25:27 -06:00
1ac85b9a5c tell loginserv the ip of charserv 2020-10-30 21:24:02 -06:00
2351b31125 entitygateway uses results for its functions now 2020-10-30 21:23:59 -06:00
0f7cbbf096 fix tests again 2020-10-07 19:24:46 -06:00
17a8b288c1 change banned from bool to timestamp 2020-10-07 19:24:46 -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
7ae60fafc5 asyncify tests 2020-06-02 19:02:06 -06:00
8d49c50cc5 async EntityGateway 2020-06-02 18:51:18 -06:00
e255b43c10 hella warnings cleanup pt 1. remove unused imports, allow deadcode and unused results 2020-05-02 22:08:37 -03:00
d9f88d55a2 use New variants of entities for creation 2020-03-30 19:28:49 -07:00
b39ee6c0f3 use Option for entity primary keys 2020-03-29 22:00:07 -07:00
6b1ef41bd0 UserAccount/UserSettings/GuildCardData -> *Entities 2020-03-29 16:11:14 -07:00
177b694870 initial guildcard send/recv 2020-03-22 22:40:40 -03:00
93426dc52a async! 2020-01-23 18:00:34 -08:00
272be2db74 ServerState on_disconnect 2020-01-10 19:42:05 -08:00
704d6386f7 dyn trait -> impl trait 2020-01-10 06:58:28 -08:00
02947adc98 removed let banned and extra comments 2019-11-30 18:43:14 -08:00
c33f7ca830 initial test for banned user 2019-11-30 18:43:14 -08:00
88ce7d922b show data in wrongpacketforservertype 2019-11-09 22:58:13 -08:00
28619a95c3 move util to libpso 2019-11-04 20:33:22 -08:00
8b8e4af0f3 security_data -> session 2019-11-04 20:28:50 -08:00
fc7338356b packets no longer need flag explicitly defined 2019-11-04 20:27:47 -08:00
5c1a366af9 WrongPacketForServerType now wants the packet command 2019-11-04 20:23:41 -08:00
f294781934 move patch/login main.rs files up a level 2019-10-09 22:45:14 -07:00
187fc18119 dataaccess -> entity gateway, move stuff around 2019-10-05 17:37:49 -07:00
88efeb0c28 add flag to useraccount 2019-09-23 22:24:51 -07:00
9ce95637cf const LOGIN_PACKET in tests 2019-09-15 16:14:12 -07:00
8901f29cc3 add login tests 2019-09-15 16:00:30 -07:00
5c520949b6 fix compiler warnings 2019-09-15 15:14:19 -07:00
ba226cc28a remove pktvec 2019-09-15 15:06:15 -07:00
a23a300a26 fix login test 2019-09-15 14:45:57 -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