Commit Graph

514 Commits

Author SHA1 Message Date
rsakeys
9c83287ecb Fixed parameters in message handlers.
Originally this function took the third parameter as the message content in the parameter when really it was the penguin ID, but it should take the penguin id as the third parameter and the message as the fourth.
2019-08-30 00:43:33 +04:00
Ben
e964f838d6 Remove aiofiles from requirements.txt 2019-08-23 21:51:09 +01:00
Ben
06c95513b2 Mail handlers 2019-08-23 21:50:59 +01:00
Ben
8d017e5594 Add EPF inventory method 2019-08-23 21:50:38 +01:00
Ben
0b57942558 EPF handlers 2019-08-23 21:50:26 +01:00
Ben
c51dfc12d8 Refresh room handler 2019-08-23 21:49:47 +01:00
Ben
2f0da637d2 "dummy" handlers and connect and disconnect handlers 2019-08-23 21:49:27 +01:00
Ben
9806bcf82e Move all enums and constants into their own module 2019-08-23 21:48:26 +01:00
Ben
8a9f2e8b99 Remove all code related to "hot-reloading"
Support is being dropped for now and until further notice.
2019-08-23 21:46:31 +01:00
Ben
9098ae50a1 Cross-client buddy handlers 2019-08-19 02:29:43 +01:00
Ben
c84bf9114a Ignore handler module 2019-08-19 02:29:17 +01:00
Ben
8c8fe6320c Don't send command messages publicly 2019-08-19 02:29:05 +01:00
Ben
337c2048cd Toy book handlers
Experimental: players who open newspapers will persist after changing rooms.
2019-08-19 02:28:42 +01:00
Ben
a6e1d05a52 General improvements to _client_disconnected
This isn't staying. Potential decorator for individual (and multiple) disconnect (and connect?) handlers to be used within the handler modules.
2019-08-19 02:27:14 +01:00
Ben
2e414e0f5a AS3 player data lookup handlers 2019-08-19 02:24:47 +01:00
Ben
d79efd6680 Get player and mascot object string handlers with caching 2019-08-19 02:23:47 +01:00
Ben
f263daba57 Load buddy collections into penguin data model 2019-08-19 02:22:17 +01:00
Ben
8b33390acf Add player ID to redis set in join server handler 2019-08-19 02:21:12 +01:00
Ben
864268afff Increase server population in join server handler 2019-08-19 02:20:46 +01:00
Ben
3c4d8461f1 penguins_by_character_id dictionary 2019-08-19 02:19:51 +01:00
Ben
280e42d4ba Load character crumbs on server start 2019-08-19 02:19:13 +01:00
Ben
f989315ef3 Collection classes for buddy tables 2019-08-19 02:18:13 +01:00
Ben
4bc7fe0dca Fix syntax error in IgnoreList table model 2019-08-19 02:17:52 +01:00
Ben
2605664edc Correct typo in anonymous penguin string compiler 2019-08-19 02:17:32 +01:00
Ben
c7a2dafae9 Add best_buddy column to character_buddies table 2019-08-19 02:17:14 +01:00
Ben
abaa5234d9 Update sample config 2019-08-19 02:16:23 +01:00
Ben
9d945a8a28 Legacy client world authentication handler 2019-08-06 22:55:26 +01:00
Ben
4fa0f4dfe0 Initial support for multiple clients and cross-client play 2019-08-06 22:55:11 +01:00
Ben
fedf855f74 Authentication username now case insensitive 2019-08-06 22:54:05 +01:00
Ben
5d5fe7d2a9 Fix column name 2019-08-06 22:53:30 +01:00
Ben
093766abef Fix syntax error in penguin class __slots__ 2019-08-06 22:52:37 +01:00
Ben
0bc4bdd8fe Move room removal to penguin class 2019-08-06 22:52:20 +01:00
rsakeys
0b9b16d638 Remove penguin from room upon disconnection 2019-08-05 21:47:31 +03:00
rsakeys
25cb12df08 Message handlers implemented, await used in the send_xt method. 2019-08-05 21:44:28 +03:00
Ben
a7932dd837 Re-enable uv-loop 2019-08-05 19:22:22 +01:00
Ben
551d66bb35 Add stamp converter alias 2019-08-05 19:22:13 +01:00
Ben
192e1822a7 Query player pin and award handlers 2019-08-05 19:21:59 +01:00
Ben
e0a834ccbd Penguin add_stamp method 2019-08-05 19:21:26 +01:00
Ben
394b98d2fe Initial Stampbook handlers 2019-08-05 19:21:13 +01:00
Ben
ad122f1987 Move buddy presence generation to login module 2019-08-05 19:20:01 +01:00
Ben
ffdc515880 Move login flood control to redis storage 2019-08-05 19:17:05 +01:00
Ben
d31105ac29 Remove join on parent models for inventories 2019-08-05 19:15:12 +01:00
Ben
0b60c5716e Separate cover items and stamps into their own models 2019-08-05 18:58:02 +01:00
Ben
92ac358bb6 Add is_award check to Item model 2019-08-05 18:57:14 +01:00
Ben
842f5684ee Fix some foreign key constraints 2019-07-29 20:48:08 +01:00
Ben
f40cf8989b Add handle_buy_inventory handler 2019-06-21 23:11:12 +01:00
Ben
5f20d30ada Automatic party handlers 2019-06-21 23:11:00 +01:00
Ben
114a110d39 Log message when player joins rooms 2019-06-21 23:10:46 +01:00
Ben
2e0ad97222 Use penguin class API to join spawn room 2019-06-21 23:10:29 +01:00
Ben
ddd99cdc5c Change handler does not exist message to warn log level 2019-06-21 23:10:00 +01:00