Commit Graph

593 Commits

Author SHA1 Message Date
rsakeys
3deba275fe Correct check for if the furniture is already in the players inventory. 2020-03-03 15:58:49 +00:00
Ben
48f303dbdd Change on delete clauses from restrict to cascade 2020-03-03 00:57:00 +00:00
Ben
646b9f0e4f card_starter_deck database model 2020-03-03 00:56:18 +00:00
Ben
922e817e8d Add default inventory boolean field to every inventory entity 2020-03-03 00:55:38 +00:00
rsakeys
e94993a71f Add support for treasure items 2020-03-02 20:41:43 +00:00
rsakeys
1dc3bf9f34 Only emit handler when disconnecting from the world servers 2020-03-02 19:20:27 +00:00
Ben
c171c75cb3 Update current-progress.rst 2020-02-14 22:04:00 +00:00
Ben
a58516800d Merge remote-tracking branch 'origin/master' 2020-02-14 22:01:30 +00:00
Ben
98800688ad Update requirements.txt 2020-02-14 22:01:24 +00:00
Ben
94a7a963a7 Always throw CooldownError even when cooldown has a callback 2020-02-14 22:01:16 +00:00
Ben
c1bd04fe3a Redemption join handlers 2020-02-14 22:00:31 +00:00
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