Commit Graph

176 Commits

Author SHA1 Message Date
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
Ben
1429e9e9be Catch CooldownError, AuthorityError and ChecklistError 2019-06-21 23:09:45 +01:00
Ben
a4052b66d5 Cache get_player_info_by_id result 2019-06-21 23:09:09 +01:00
Ben
dcd51968b9 Cache quest settings and quest status data 2019-06-21 23:08:51 +01:00
Ben
e40a769e98 Enable use of aiocache decorators 2019-06-21 23:08:26 +01:00
Ben
3300132ef6 Remove unneeded imports 2019-06-21 01:55:41 +01:00
Ben
70b91689a1 New player quest handlers 2019-06-21 01:55:18 +01:00
Ben
f5f041b9f2 New player quest database models 2019-06-21 01:54:37 +01:00
Ben
006d55934b Override client_connected method from within penguin class 2019-06-21 01:52:28 +01:00
Ben
19464703b6 Fix ip_address column name on login model 2019-06-21 01:51:46 +01:00
Ben
f17ff8a7da Add furniture inventory to penguin data model 2019-06-21 01:51:29 +01:00
Ben
86dd5d7d56 Tidy up navigation.py 2019-06-21 01:51:06 +01:00
Ben
cdc5683f88 Add player to penguins_by_username on world join 2019-06-21 01:50:08 +01:00
Ben
fb18ffe6d3 Fix bug that prevented multiple handler checks 2019-06-21 01:49:46 +01:00
Ben
5abc62ed1d Support for handlers to depend on specific packets 2019-06-21 01:49:04 +01:00
Ben
4c673ea089 Set penguin puffle item default quantity to 1 2019-06-21 01:48:31 +01:00
Ben
01dc037afb Get playerstring nickname from penguin data 2019-06-21 01:48:00 +01:00
Ben
19810d5efc Add status field penguin data attribute 2019-06-21 01:44:31 +01:00
Ben
596bde74fb Temporarily enable membership for development 2019-06-21 01:43:08 +01:00
Ben
7619f55b70 Change spawn_rooms into a property instead of a method 2019-06-21 01:42:44 +01:00
Ben
59a26f6028 Add more converter aliases for better syntax and IDE support 2019-06-21 01:42:25 +01:00
Ben
1a5cf4868c Add support for ordering handlers by referencing before and after 2019-06-21 01:41:14 +01:00
Ben
9bb32d94d2 Room object now uses await p.string syntax 2019-06-21 01:40:12 +01:00
Ben
67476e7c10 Change handler allow_once syntax to work without parentheses 2019-06-21 01:39:25 +01:00
Ben
8b0ff4e944 Add configuration for future multi-client support 2019-06-21 01:37:03 +01:00
Ben
cd34c3dbb7 Tidy up player settings handlers 2019-06-21 01:36:05 +01:00
Ben
0f574b8efd Add puffle item method in penguin class 2019-06-21 01:35:31 +01:00
Ben
961359b3a9 Catch all unhandled exceptions on packet handling 2019-06-21 01:34:58 +01:00
ro
71fe6eff9d
Allow 0 as an item ID 2019-06-09 21:20:13 +02:00
ro
450f0f1811
Take item instance instead of an ID in parameters for updating an item 2019-06-09 21:10:13 +02:00
ro
bb94b1729a
Update player item method created in the Penguin class
- To be used in e.g. the plugin system
2019-06-09 20:25:33 +02:00
ro
651896c20e
Item type check methods created within Item class 2019-06-09 02:56:22 +02:00
ro
eaf8f4ccbc
Update player handlers created 2019-06-09 02:55:01 +02:00
ro
3c6b412425
Create config.sample.py 2019-06-09 02:52:35 +02:00
rsakeys
fdeb0feed4 Merge branch 'master' of /home/ro/Desktop/Houdini-asyncio with conflicts. 2019-06-09 02:29:05 +02:00
Ben
8dfc636172 Add missing player string entries 2019-06-08 21:34:46 +01:00
Ben
93a78ed360 Set default logger level to INFO 2019-06-08 21:15:00 +01:00
Ben
84e43e1cd4 Player module handlers 2019-06-08 21:14:41 +01:00
Ben
b7da63f376 Load player packet is now more complete (but has placeholders) 2019-06-08 21:14:23 +01:00