Commit Graph

167 Commits

Author SHA1 Message Date
Fabian Dill c988ec24b6 update item table offsets 2021-01-30 23:40:01 +01:00
CaitSith2 6163ddd374 Use names listed in Regions.lookup_name_to_id for location names. 2021-01-22 04:40:09 -08:00
CaitSith2 8d63e13ca7 Revert "Multidata is now able to provide items/location IDs to server."
This reverts commit f47a85d435.
2021-01-21 22:43:07 -08:00
CaitSith2 67119f8858 Revert "Get remaining things for better client/server interactions."
This reverts commit 6c1d3cb60d.
2021-01-21 22:41:19 -08:00
CaitSith2 6c1d3cb60d Get remaining things for better client/server interactions. 2021-01-21 16:57:31 -08:00
CaitSith2 f47a85d435 Multidata is now able to provide items/location IDs to server. 2021-01-21 16:23:56 -08:00
CaitSith2 8754c63d4e client/server changes
* Server now includes checked locations as a separate list.
* If client connects to a server that sends checked checks, client can now give accurate information on checked locations, and not show "New Check: seed-unknown-location (total/216)" and instead accurately show "New check: 'seed-known-location' (total_checked/seed_total)"
/missing now accurately reports what was previously checked.
* client now attempts to translate "Unknown Location ID: 'ID'" into an actual location, if server is unaware of the location, but the client is.
2021-01-21 16:21:51 -08:00
Fabian Dill 5afe44f9cb use multidata locations to get missing checks (in server) 2021-01-15 03:22:56 +01:00
Fabian Dill 10b7c83f1d Just use locations in the multidata, not static IDs, for forfeits
Should also work better for *other* games
2021-01-10 14:50:38 +01:00
Fabian Dill 233e9e6208 expand forfeit to forfeit out anything that is in multidata, so forfeits works with not yet implemented locations 2021-01-10 12:52:23 +01:00
Fabian Dill e03841794b Add Client warning when forfeit is set to automatic and client can't send required information 2021-01-04 22:41:18 +01:00
Fabian Dill e25a03173b Implement "minimum version" checks into server and clients 2020-12-29 19:23:14 +01:00
Fabian Dill 5128657349 allow setting remaining_mode from server options 2020-11-30 21:07:02 +01:00
Fabian Dill f56efbc9e3 improve handling of embedded server options:
use whitelist
attempt to set, skip otherwise
attempt to convert data type
2020-11-15 15:21:41 +01:00
CaitSith2 7e3e2134e0 Add option to client for actually forcing item sending safety off. 2020-10-27 16:27:39 -07:00
CaitSith2 66894dbd86 Add further safeties to sending of location checks.
This safety is able to be turned off, but has to be done so on EVERY connection explicitly.
2020-10-27 16:24:21 -07:00
CaitSith2 6ff4b20d81 Only save reported locations that actually exist in the multidata. 2020-10-27 02:20:56 -07:00
CaitSith2 83db79815a Make multiclient/multiserver/tracker keydropshuffle aware 2020-10-27 00:53:32 -07:00
CaitSith2 119a5a2b66 Allow client side login and remote issuing of server side commands.
Disabled by default. Requires a password to be set for it to be enabled.
2020-09-21 22:11:43 -07:00
CaitSith2 e77cd7c38a Add command to allow or forbid a specific player from using the !forfeit command despite server restrictions on the command.
Allows for allowing a player to forfeit if they are under a time restriction where they have to leave the game, without allowing the command globally.
2020-09-02 02:23:31 -07:00
Fabian Dill bca1a2d9e0 WebHost: Automatic !hint tracking 2020-07-27 19:30:31 +02:00
Fabian Dill 789d0245cc MultiServer: supposed to restart savefile on older formats too 2020-07-24 14:14:45 +02:00
Fabian Dill 88ba7b55d2 Multiserver: [0,1] == (0,1) -> False, turns out. 2020-07-24 14:00:59 +02:00
Berserker66 35e2b2d20d set_save adjustments for older DB savegames 2020-07-22 12:02:09 +02:00
Fabian Dill 78c85cce14 WebHost: List Rooms in a sortable table 2020-07-21 23:15:19 +02:00
Fabian Dill ac238d9b14 WebHost: Don't count exit saving as activity, thereby creating a hosting loop 2020-07-20 14:17:05 +02:00
Fabian Dill 1d036c0d3c add compatibility server setting 2020-07-16 16:57:38 +02:00
Fabian Dill 626b6b0521 fix loading old savegames from ponyorm DB 2020-07-16 02:29:36 +02:00
Fabian Dill 93ecf5988b implement secrets.SystemRandom() for --race 2020-07-14 07:01:51 +02:00
Fabian Dill 59a71dbb05 restore multidata backwards compatibility 2020-07-14 05:06:25 +02:00
Fabian Dill ea9e103cb0 update rom name handling 2020-07-14 04:48:56 +02:00
Fabian Dill ead9a0ef15 use modern formatting for joined message 2020-07-13 03:38:19 +02:00
Fabian Dill baba4b7c02 !hint now properly gives you prior collection info without needing enough to pay for another hint 2020-07-13 03:21:28 +02:00
caitsith2 319a315ec5 Fix !countdown and actually make !options work 2020-07-11 13:20:16 -07:00
Fabian Dill d190fe65c6 webhost update 2020-07-10 17:42:22 +02:00
Fabian Dill f998ae1a09 fix that countdown can get stuck 2020-07-05 21:46:44 +02:00
Fabian Dill 12273c396b add /countdown and !options 2020-07-05 21:45:52 +02:00
Fabian Dill 68e92ae5b4 assign option to correct instance 2020-06-27 16:54:07 +02:00
Fabian Dill de2cb1692e refine option changing 2020-06-27 14:25:46 +02:00
Fabian Dill 12120ac995 implement option changing 2020-06-27 14:16:51 +02:00
Fabian Dill 6f9f5cbe14 Add twitch hyperlinking to webhost 2020-06-27 13:52:03 +02:00
Fabian Dill 46038830c3 fix trailing could not pay notification if there was nothing left to pay for 2020-06-26 07:30:26 +02:00
Fabian Dill 45a24fab27 save client activity data to multisave 2020-06-23 14:12:27 +02:00
Fabian Dill 26eb44ef15 revenge of the player number offset 2020-06-21 17:04:25 +02:00
Fabian Dill 6421a373e1 Webhost Update
introduce a very WIP tracker
Server will try to reuse port and also try to only use one port
2020-06-21 15:32:31 +02:00
Fabian Dill 9e18c6f1cd Database-backed Webhosting 2020-06-20 20:03:06 +02:00
Fabian Dill 7e3ee8101f implement lazy multisave saving using a daemon thread 2020-06-20 15:46:33 +02:00
Fabian Dill facecdf487 implement --auto_shutdown <minutes>, shutting down a multiserver after that many minutes of inactivity
and set WebHost to a default of 6 hours
2020-06-16 11:26:54 +02:00
Fabian Dill bd1c9f896b allow ghosted slots with same ID to be replaced 2020-06-16 01:05:32 +02:00
Fabian Dill 3fbb959622 fix !missing for older clients 2020-06-15 22:15:04 +02:00