585 Commits

Author SHA1 Message Date
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
99cc651fd9 add enumiter to item types 2020-10-30 21:25:29 -06:00
66d25ed155 fix name shadowing 2020-10-30 21:25:29 -06:00
cae89cd2ac get_items_by_character takes character id not character entity 2020-10-30 21:25:29 -06:00
01fe0931b1 make itementity serializable 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
a02cb57825 remove ship from shiplist when it disconnects 2020-10-30 21:25:29 -06:00
b249a3fed5 fix inventory slot and stacked items 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
174445c175 properly load techs 2020-10-30 21:24:02 -06:00
3543cc5b5a logging in login and ship 2020-10-30 21:24:02 -06:00
578e4c7cf8 properly handle disconnections in interserver connections 2020-10-30 21:24:02 -06:00
e3e5bff300 fix tests 2020-10-30 21:24:02 -06:00
1ac85b9a5c tell loginserv the ip of charserv 2020-10-30 21:24:02 -06:00
19e30f34e6 remote postgres dep and fix save_user function 2020-10-30 21:24:02 -06:00
0db9a73849 check if an account is activated before allowing a login 2020-10-30 21:24:02 -06:00
2351b31125 entitygateway uses results for its functions now 2020-10-30 21:23:59 -06:00
69374ea424 use sqlx for migrations 2020-10-30 21:23:33 -06:00
466195193d load patch config from env vars 2020-10-30 21:23:33 -06:00
29422eac51 I am dubm 2020-10-30 21:23:33 -06:00
7a831c35c4 add separate binaries for the server types 2020-10-30 21:23:33 -06:00
a50f1d58a4 Merge pull request 'equip_changes' (#241) from equip_changes into master
Reviewed-by: jake <jake@sharnoth.com>
2020-10-28 20:36:42 -04:00
a95bcf35c8 andypls 2020-10-28 20:15:00 -03:00
67e96d33db why did i shuffle this 2020-10-28 20:12:42 -03:00
f3608d99ad add armor_slot to postgres model for unit 2020-10-26 23:39:03 -03:00
f3e7599975 some comments and tests 2020-10-26 23:15:04 -03:00
e256423dfa remove comments and don't be canadian 2020-10-26 23:15:04 -03:00
790668f6f7 add unit armour slots. equip the unit into the right slot and save correctly 2020-10-26 23:15:03 -03:00
555171d11d server unequips units now. formatting and cleanup unuseds. fix merge conflict 2020-10-26 23:14:06 -03:00
be29c83bb9 check priest mind against dolphin drop 2020-10-26 23:05:26 -03:00
6c33c7ec9b dont delete items when unequipping 2020-10-26 23:05:25 -03:00
48abf4533f player can (un)equip things now 2020-10-26 23:05:25 -03:00
a796c4f07b Merge pull request 'postgres' (#229) from postgres into master 2020-10-22 11:58:47 -04:00
40a1fdb236 fix tests 2020-10-22 09:43:45 -06:00
ca38d60ff0 remove debug output 2020-10-22 08:57:07 -06:00
89c91e9397 add more fields to useraccount table 2020-10-22 08:56:37 -06:00
6d82751ed3 notes 2020-10-07 19:37:41 -06:00
a2e4f348d9 add character options flags to postgres 2020-10-07 19:36:45 -06:00
00478912ee remove unused code 2020-10-07 19:24:46 -06:00
358f9f4c7f stray spaces 2020-10-07 19:24:46 -06:00
4caaee880a keep track of item slots without having 74894794793 inventory locations 2020-10-07 19:24:46 -06:00
bfa3a93bd6 don't store fedtomag twice 2020-10-07 19:24:46 -06:00
64092eeddd delete old query 2020-10-07 19:24:46 -06:00
a148d96adc slots need to be updated when an item leaves inventory 2020-10-07 19:24:46 -06:00
6de4b677ef fix setting item location 2020-10-07 19:24:46 -06:00
c067ab444a properly select character items based on the latest location 2020-10-07 19:24:46 -06:00