Commit Graph

335 Commits (main)

Author SHA1 Message Date
Joey Hines 73844c0c8f Refactored how config data is handled and added new stress tests. 2018-08-09 21:25:55 -05:00
Joey Hines 311b94a1c8 Improved error handling for MC username lookups 2018-08-05 17:51:55 -05:00
Joey Hines ccde543308 Split up the commands into cogs to organize things better 2018-08-05 17:20:37 -05:00
Joey Hines 4b51951b65 Fixed several small bugs in the discord commands 2018-08-05 09:08:20 -05:00
Joey Hines 796baaf3a6 add_tunnel now needs a location 2018-07-31 20:44:06 -05:00
Joey Hines a1aca02e27 fixed strings in delete_item 2018-07-31 20:23:35 -05:00
Joey Hines 14191e87fe added delete_item command 2018-07-31 20:16:14 -05:00
Joey Hines f8c4009f19 fixed error handling for edit commands 2018-07-31 19:31:21 -05:00
Joey Hines 5b0027668b Added edit commands for locations 2018-07-31 19:22:17 -05:00
Joey Hines 87ca99f146 Fixed formating in ?find and ?tunnel 2018-07-29 10:50:24 -05:00
Joey Hines c25b2dad33 Queries are now limited and all commands have a cooldown. 2018-07-29 09:29:27 -05:00
Joey Hines 04ccf94d1a addtunnel now can't update locations with existing tunnels. Also several other fixes 2018-07-29 08:59:11 -05:00
Joey Hines d0e6c02feb addtunnel now can't update locations with existing tunnels. Also several other fixes 2018-07-29 08:59:00 -05:00
Joey Hines b6ccaeac6e Fixed some commands allowing empty names 2018-07-27 19:02:41 -05:00
Joey Hines 91999322ec Added a new command for finding tunnels and fixed a few issues. 2018-07-23 20:12:23 -05:00
Joey Hines 5dbbcd69e0 MC Usernames are now updated every 10 minutes 2018-07-22 21:51:22 -05:00
Joey Hines 11266bf498 register now checks if a player is in the database 2018-07-22 20:37:06 -05:00
Joey Hines 847e33ed6e find command now shows tunnels 2018-07-22 20:03:24 -05:00
Joey Hines cc1324c5bb Fixed error handling for tunnels and dims 2018-07-22 19:26:21 -05:00
Joey Hines a13e1c9af2 Fixed issue in sending error messages. 2018-07-22 19:01:49 -05:00
Joey Hines 93827f5f90 Refactored to handle sessions cleaner. Command logic now is in Commands.py. This should make adding new commands easier and keep logic the same in MC. 2018-07-22 18:56:07 -05:00
Joey Hines 77814ce42d Split DatabaseModels.py file ahead of refactoring 2018-07-22 07:52:49 -05:00
Joey Hines 6e758de772 Refactored session handling to avoid disconnect issues 2018-07-21 20:44:43 -05:00
Joey Hines 76df264060 Fixed dynmap link issue 2018-07-21 17:27:20 -05:00
Joey Hines 2dd1df3b09 info now handles spaces in names 2018-07-21 17:25:18 -05:00
Joey Hines b715d9e0b9 MySQL fixed session issues 2018-07-21 17:22:28 -05:00
Joey Hines 52849d7a67 Fixed MySQL disconect issue and added dynmap link to locations 2018-07-21 17:06:13 -05:00
Joey Hines 8a24303059 Fixed engine args 2018-07-21 15:29:56 -05:00
Joey Hines e101db7d7d Added pool_recyle to eng_args 2018-07-21 15:29:35 -05:00
Joey Hines 67d5c8c548 Added support for spaces in location names 2018-07-21 15:08:26 -05:00
Joey Hines 8bd65529f2 Fixed unicode support 2018-07-21 14:47:40 -05:00
Joey Hines 866cc56a33 findaround: fixed dimension selection 2018-07-21 13:49:10 -05:00
Joey Hines 4c0d8d2384 Switched SQL backend to MySQL 2018-07-21 13:28:31 -05:00
Joey Hines c821491cd4 Added ORM relations for deleting objects 2018-07-21 09:18:01 -05:00
Joey Hines ba5da981b4 Removed y coord from all commands and fixed test cases to match new changes 2018-07-21 00:45:52 -05:00
Joey Hines fc95d3d986 Search results now show less info on shops to avoid spam 2018-07-21 00:06:00 -05:00
Joey Hines 9a20e0155e find command now searches more than just players and adjusted string formating 2018-07-20 23:44:41 -05:00
Joey Hines 2175e025e5 Fixed issue in info error handling 2018-07-20 22:12:43 -05:00
Joey Hines 48a1905017 Improved error handling. 2018-07-20 22:10:13 -05:00
Joey Hines 530409b1c5 Improved some wording in some strings and formating 2018-07-20 21:11:50 -05:00
Joey Hines 625e4dc796 Added commands and interface support for the new shops. Also changed how linked objects handle printing. 2018-07-20 20:50:24 -05:00
Joey Hines 29673bdfe8 Fixed addshop 2018-07-19 22:05:23 -05:00
Joey Hines 095149e423 Fixed addshop, params were not changed 2018-07-19 22:00:22 -05:00
Joey Hines d5d75841c8 Change addbase/addshop syntax and create a tunnel object 2018-07-19 20:18:22 -05:00
Joey Hines 42b2a2cc93 Fixed addbase command, was adding shops. 2018-07-18 21:07:19 -05:00
Joey Hines 6622b98830 Added flag support for commands that had optional params 2018-07-15 13:27:11 -05:00
Joey Hines eccfba5bec Added LocationNameNotUniqueError to handle unique constraint errors better 2018-07-15 10:56:56 -05:00
Joey Hines e7beb95903 Fixed error handling when users try to use a duplicate name. 2018-07-14 17:25:33 -05:00
Joey Hines 1ca6603f2a Added an interface layer for discord so discord uuids can be used for tracking player info. This will also alow a MC interface to be created when plugin support is added 2018-07-08 14:19:40 -05:00
Joey Hines 06f5feae4e Added features and bug fixes according to sprint 1. Added new location info to locations and made getting shop info easier. Also fixed bugs that caused db crahses. 2018-07-03 19:05:35 -05:00