Commit Graph

514 Commits

Author SHA1 Message Date
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
Ben
f255ad112d Full support for expiring memberships 2020-01-02 23:11:27 +00:00
Ben
82a3753d0d Call _client_disconnected method immediately when close() is called 2020-01-02 23:05:58 +00:00
Ben
85726627b1 Fix buddy request object naming collision for legacy clients 2020-01-02 23:04:55 +00:00
Ben
ac8b20fcfe Add support for moderator-only servers 2020-01-02 23:03:34 +00:00
Ben
d3bd9ac1e3 Allow packets to be sent to a backyard 2020-01-02 23:01:25 +00:00
Ben
1b09500fed Default game data index should be 0 2020-01-02 23:00:30 +00:00
r
b12af568bd
Merge pull request #13 from Zaseth/master
Add try except for Mancala movement and finished Treasure hunt handlers
2019-12-27 21:06:59 +00:00
Zaseth
f693f08956 Treasure hunt handlers 2019-12-27 19:09:10 +01:00
Zaseth
5dfae648c4 Add try except for mancala movement 2019-12-27 18:54:16 +01:00
r
438d083602
Merge pull request #11 from Zaseth/master
Minigames
2019-12-27 14:45:10 +00:00
Zaseth
25de3a6f94 Treasure hunt logic 2019-12-27 15:03:40 +01:00
Zaseth
82b15cea66 Finished Mancala 2019-12-24 18:30:45 +01:00
r
841a89c563
Merge pull request #10 from Zaseth/master
Mancala logic and handler support
2019-12-24 15:58:37 +00:00
Zaseth
9f551e4860 Added a comment, very unsure 2019-12-24 15:00:22 +01:00
Zaseth
263b3e4498 Mancala handler added 2019-12-24 14:51:09 +01:00
Zaseth
3eddd2e777 Mancala logic 2019-12-24 14:49:31 +01:00
Ben
269702343f Leave table handlers 2019-12-04 01:32:06 +00:00
Ben
27cdb1e569 Minigame save state handlers 2019-12-04 01:31:55 +00:00