Commit Graph

432 Commits

Author SHA1 Message Date
Ben
98c2062633 Only try to remove igloo from map if player has joined world 2020-02-14 22:00:05 +00:00
Ben
6c0b6a1239 handlers.player_in_room check p.room is not None 2020-02-14 21:59:43 +00:00
Ben
c6809070e7 Filter words found in chat_filter_words server crumbs 2020-02-14 21:59:24 +00:00
Ben
4027a7af08 waddle_handler decorator 2020-02-14 21:58:44 +00:00
Ben
0d8c79c18d Send error if room is full 2020-02-14 21:58:00 +00:00
Ben
08c97b24b1 Update imports in houdini.py 2020-02-14 21:57:26 +00:00
Ben
5c5b89884e All room-type objects are now consistent in method naming 2020-02-14 21:56:52 +00:00
Ben
b4b1abba1c Tidy login handler 2020-02-14 21:54:41 +00:00
Ben
191e9caf90 handle_player_transformation handler
This might need changing later -- Timed transformations handled by the server?
2020-02-14 21:54:06 +00:00
Ben
b930f49d30 handle_epf_grant_reward handler 2020-02-14 21:53:34 +00:00
Ben
7170102fee Only send system EPF invites to legacy clients 2020-02-14 21:53:21 +00:00
Ben
06d449e601 Moderators can always visit a player igloo 2020-02-14 21:52:54 +00:00
Ben
a8421258d2 Always check player has default furniture, igloo and location 2020-02-14 21:52:40 +00:00
Ben
30586157fc Always check player owns their color and the vanilla default inventory 2020-02-14 21:52:13 +00:00
Ben
a32f3df56e Refactor penguin class __slots__ 2020-02-14 21:51:35 +00:00
Ben
194327fb93 Return an error if room join cooldown is triggered
Prevents players being stuck on a loading screen
2020-02-14 21:51:08 +00:00
Ben
3f50f0589d Remove allow_once decorator from party cookie request 2020-02-14 21:50:29 +00:00
Ben
524aa2803e Moderators and characters always have full badges 2020-02-14 21:50:08 +00:00
Ben
a920be3aca Base ninja handlers 2020-02-14 21:49:48 +00:00
Ben
ef421dc957 Add member_quantity attribute to purchased ninja cards
This value is increased if the card was purchased in-game via any member-only purchase method.
2020-02-14 21:49:37 +00:00
Ben
a95b237292 Check player is not in table or waddle before handle_game_over
Fixes bug where this handler is called upon when the player has finished a multiplayer minigame.
2020-02-14 21:47:52 +00:00
Ben
84c4e1ca6b handler_game_complete minigame handler 2020-02-14 21:46:27 +00:00
Ben
223acc583b handler_get_game_again minigame handler 2020-02-14 21:46:15 +00:00
Ben
54cbb7c203 Hash player IP addresses in sha3_512 before storage 2020-02-14 21:45:21 +00:00
Ben
f2924d9a54 Blackhole room support 2020-02-14 21:44:21 +00:00
Ben
beee263e88 Move get_minutes_played_today into navigation handler module 2020-02-14 21:43:27 +00:00
Ben
5b43ac7ade Sled racing handlers 2020-02-14 21:40:40 +00:00
Ben
da566b2412 Dance contest multiplayer handlers 2020-02-14 21:40:16 +00:00
Ben
de4946771c Move server load crumbs code out of Houdini class
Make use of the new `handlers.boot` event handler to load the server crumbs in from each respective handler module.
2020-02-14 21:39:26 +00:00
Ben
9a4acade3f Add boot event listener
This event is fired when server has just started up, but before it is accepting connections.

Also implement `fire()` method in `DummyEventListenerManager` for more easily firing custom events.
2020-02-14 21:32:09 +00:00
Ben
9bd7bada62 Move all minigame logic to its own module 2020-02-14 21:27:09 +00:00
Ben
2c911aa856 Correct WorldCredentials converter indexing 2020-02-14 21:23:57 +00:00
Ben
4dde98dad1 Calculate timezone offset for daylight savings time 2020-02-14 21:23:07 +00:00
Ben
d6f9fb3e07
Merge pull request #14 from Zaseth/master
Update license year to 2020
2020-01-19 14:40:04 +00:00
Zaseth
294c070f63 Update license year to 2020 2020-01-19 14:16:14 +01:00
Ben
ac096958b8 Updates to progress page 2020-01-10 02:58:53 +00:00
Ben
13c5917b02 Updates to progress page 2020-01-10 02:46:56 +00:00
Ben
2e427af757 asyncio progress page 2020-01-10 02:25:58 +00:00
Ben
68392fbfa5 PEP8 compliancy 2020-01-02 23:49:52 +00:00
Ben
174812f78c Fix mancala move handler packet serialisation 2020-01-02 23:49:30 +00:00
Ben
201fa9826a Rainbow puffle quest handlers 2020-01-02 23:21:52 +00:00
Ben
909cb88a21 Puffle handlers 2020-01-02 23:21:37 +00:00
Ben
2f6c53c872 Remove unneeded table
Using redis for rainbow puffle quest cookies
2020-01-02 23:20:38 +00:00
Ben
5daecfd0c2 Set depends_on_packet for some of the handlers in mail module 2020-01-02 23:18:09 +00:00
Ben
f912ef7e83 Allow cost to be overridden in inventory helper functions 2020-01-02 23:17:28 +00:00
Ben
a9836f5f2b Reduce chance of receiving system EPF invite
Potential in future for this to be a config option
2020-01-02 23:16:03 +00:00
Ben
b507ae13d4 Remove return statement from handle_buy_inventory 2020-01-02 23:15:16 +00:00
Ben
a521395e80 Mascot stamp handler 2020-01-02 23:13:51 +00:00
Ben
d9d84508cd Don't send empty string inside epf com message packet
Causes client bug!
2020-01-02 23:13:02 +00:00
Ben
349f40efd4 Fix duplicate named handler 2020-01-02 23:12:22 +00:00