Commit Graph

600 Commits

Author SHA1 Message Date
Ben
6fc147b62b Make sure references to penguin object are expunged by gc 2020-07-14 22:20:04 +01:00
Ben
49a172087e Switch from lru_cache to cached_property 2020-07-14 22:18:00 +01:00
Ben
463d9b1f36 Change igloo music column type from smallint to int
Sound studio music IDs are out of range
2020-07-11 22:33:51 +01:00
Ben
da69239f49 Use class variables for RoomMixin
Caused bug where igloos weren't being created. 

This is required to cohere to PEP8 guidelines.
2020-07-03 22:45:39 +01:00
Ben
e9ca348441 Support for TreasureHunt stamps 2020-07-03 22:43:45 +01:00
Ben
669ca4bbec Fix some of the TreasureHunt game logic 2020-07-03 22:43:31 +01:00
Ben
ccf3b8676a PEP-8 2020-07-01 00:14:48 +01:00
Ben
4c07c63f9b Reduce cooldown on room join to 0.5s 2020-07-01 00:14:31 +01:00
Ben
77a5e1ea23 Fix incorrect handler ordering when before keyword is used 2020-07-01 00:14:11 +01:00
Ben
bd4a6ad24a Spawn players next to each other in rooms
This is an experimental fix for a bug in the vanilla client where players would appear invisible and their actions would not be relayed to the rest of the room.
2020-07-01 00:13:33 +01:00
Ben
f4d4044a04 Implement AbortHandlerChain exception for aborting future handlers 2020-07-01 00:11:39 +01:00
Ben
bc059bacb8 Make puffle substring in playerstring always take the same spaces 2020-07-01 00:10:51 +01:00
Ben
904963e3fc Fix where clause in igloo like increment
Allowed players to obtain infinite likes per day
2020-07-01 00:10:14 +01:00
Ben
1193953316 Use fromtimestamp to perform check in handle_rainbow_puffle_task_complete 2020-07-01 00:09:34 +01:00
Ben
6fc11160f3 Update progress tracker 2020-06-26 03:30:39 +01:00
Ben
a3bf192ec0 Handle fire ninja rank up with golden code cards 2020-06-26 03:29:44 +01:00
Ben
1191e33bbc Correct waddle logic mappings for CJ Fire 2020-06-26 03:29:16 +01:00
Ben
1ac22ca1d4 Card Jitsu Fire handlers 2020-06-26 03:28:50 +01:00
Ben
a44d505bb8 Make CJ Sensei card picks appear more random 2020-06-26 03:27:53 +01:00
Ben
10d8bf4d5d Allow handle_get_ninja_ranks to query other players rankings
Fixes the incorrect amulet showing for fellow players
2020-06-26 03:26:06 +01:00
Ben
194c81d58c Fix empty waddle seats after match making completes 2020-06-26 03:24:57 +01:00
Ben
4525d23b1a
Merge pull request #50 from solero/fix-sound-studio-igloo
Fix Sound Studio igloo music playback
2020-06-21 15:58:22 +01:00
Ben
27871aae71 Fix Sound Studio igloo music playback 2020-06-21 15:57:31 +01:00
Ben
1bd6f590ac
Merge pull request #49 from solero/increase-puffle-interval
Increase Puffle killer interval to 30 minutes
2020-06-21 15:53:48 +01:00
Ben
24c9847230 Increase Puffle killer interval to 30 minutes 2020-06-21 15:52:26 +01:00
Ben
5bd4d35aee Fix bug where Puffle hats could not be removed 2020-06-21 15:49:46 +01:00
Ben
e61d5fb02c Implement missing handle epf_medal_check
Fixes bug where system defender stamps were unattainable. Handler itself is pretty useless.
2020-06-21 15:48:23 +01:00
Ben
440b63af7c
Merge pull request #47 from solero/proposal-bug-template
Update issue templates
2020-06-18 17:33:43 +01:00
Ben
2db849c1e7
Tidy formatting of bug report template 2020-06-18 17:33:28 +01:00
Ben
23b14c5318 Update issue templates
New bug report template for issues.
2020-06-18 15:56:42 +01:00
Ben
4008e1d6ad
Merge pull request #44 from load1n9/patch-3
Update README to reflect new repository name
2020-06-16 22:41:26 +01:00
loading
161e38f8d7
changed a lot of outdated code 2020-06-16 17:29:39 -04:00
Ben
e5c9a4b57a Perform regex match before trying to determine song length 2020-06-12 15:23:42 +01:00
Ben
91f287087f Check track has been found before trying to access its attributes 2020-06-12 15:23:11 +01:00
Ben
ae30ca33c0 Next track seek optimisation 2020-06-12 15:22:35 +01:00
Ben
4eb93c74a8 Keep track of penguins by track ID in case they go offline whilst live 2020-06-12 15:21:55 +01:00
Ben
112eabf2df Broadcast next track if sharing is disabled whilst track is live 2020-06-12 15:20:30 +01:00
Ben
42a3cefe80 Use create_task instead of ensure_future to create broadcast task 2020-06-12 15:19:21 +01:00
Ben
d6c73fc6d6 Check buddy has joined the world before pushing presence to them 2020-06-12 15:17:52 +01:00
Ben
d25df447cc Move background task calls to their respective handler modules 2020-06-12 15:17:12 +01:00
Ben
2ef0f457db Perform send_xt filter on single player in igloo backyard 2020-06-12 15:15:52 +01:00
Ben
d25bfe4c98 Allow pre-activation trial days to be configured 2020-06-12 15:15:29 +01:00
Ben
415ecca766 Remove unneeded check on igloo furniture attributes 2020-06-11 21:55:03 +01:00
Ben
28b1cc7937 Move peer connection status check into _client_disconnected 2020-06-11 20:36:12 +01:00
Ben
d9fd35249b Catch LimitOverrunError exception in main client loop 2020-06-11 20:15:22 +01:00
Ben
edafefd8e7 Remove active check on world auth
Causes bug where players on 7 day grace period cannot login.

Also not needed since check is performed on login auth.
2020-06-08 23:34:45 +01:00
roan
6202fdf875 Change default value to an empty string instead of 0 2020-06-06 23:35:18 +01:00
Ben
d2b8475e81 Workaround for buggy client dj3k track packet 2020-06-05 22:49:14 +01:00
Ben
11f68f1e89 Increase max-coins-per-minute default to 800 2020-06-05 22:48:21 +01:00
Ben
6e292ac1db Do not rely on username column being lowercase always 2020-06-05 22:48:01 +01:00