Commit Graph

608 Commits

Author SHA1 Message Date
Ben
4b88edbc4d start_waddle handler 2020-03-26 22:19:17 +00:00
Ben
48dde7a0ee Give waddles a "temporary" option
Passing `temporary=true` into a waddle will cause it to destroy itself when all players have left
2020-03-26 22:18:44 +00:00
Ben
18d26a5f5a Replace double with single quotes 2020-03-26 22:17:07 +00:00
Ben
c3b724c6a9 Matchmaking handlers 2020-03-26 22:16:07 +00:00
Ben
1d7ef65d44 Move waddle handler check into houdini.handlers 2020-03-26 22:14:30 +00:00
Ben
657ee1d063 New card handler module for dealing with CJ cards & starter decks 2020-03-26 22:13:43 +00:00
Ben
18d6f7ed32 Fix add_card quantity bug 2020-03-26 22:11:59 +00:00
Ben
613510f8f7 Organise imports 2020-03-26 22:10:58 +00:00
Ben
7af9344a00 Fix StopIteration exception thrown when chat_filter_words is empty 2020-03-14 18:25:32 +00:00
Ben
c02b6e164d Fix recursion depth limit exception in DanceFloor 2020-03-14 18:24:13 +00:00
rsakeys
b20d0297bb Cache innocent & treasure items, completed rsc handler 2020-03-07 01:54:12 +00:00
rsakeys
0021ad1ad1 Add support for CARD type redemption codes. 2020-03-03 22:42:24 +00:00
rsakeys
c6a17e8e56 Add support for GOLDEN type redemption codes. 2020-03-03 21:40:36 +00:00
rsakeys
2aadfba9e8 Add support for innocent items 2020-03-03 21:02:57 +00:00
rsakeys
de605410ce Add support for innocent items 2020-03-03 17:38:32 +00:00
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