Commit Graph

60 Commits

Author SHA1 Message Date
caitsith2 cc77b48146 Changes
* Cache server address for loaded rom, as well as default fallback.
* server address is only cached upon successful connection and authentication to the server.
2020-04-30 18:02:25 -07:00
Fabian Dill 47784d2632 name client tasks
and then realize that PyCharm's ConcurrencyDiagram is currently broken and doesn't show the names
2020-04-30 04:09:19 +02:00
Fabian Dill 56e57de574 store last used adjuster settings and use them for patching
might use them as gui defaults later
2020-04-26 15:14:30 +02:00
Fabian Dill 49770159fb small adjustments for game finished 2020-04-25 13:50:32 +02:00
caitsith2 b3c7789596 Changes
* Game end detection - Detect if the player finished their game, and announce it accordingly.
* Add a client side /slow_mode option. (allows to delay receiving items when a massive amount of them come in, like from a forfeit.)
2020-04-24 20:07:28 -07:00
Fabian Dill 37b79294be remember the last server address and ask to use it. 2020-04-25 04:10:30 +02:00
Fabian Dill 5d33b4b164 introduce persistent data storage, which for now just caches rom -> server pairs 2020-04-24 05:29:02 +02:00
Fabian Dill 7582767401 aliases 2020-04-23 06:16:54 +02:00
Fabian Dill 8ea342abe5 Add result flag to commands 2020-04-21 06:26:51 +02:00
Fabian Dill 3165c440e3 and forgot one instance of version 2020-04-20 19:50:13 +02:00
Fabian Dill 5a57519c32 Add count to missing command
Add a server's missing command
Fix password wasn't able to remove a set password
2020-04-20 11:47:50 +02:00
Fabian Dill b676d4131f loudly fail on connection errors. 2020-04-19 13:44:22 +02:00
Fabian Dill 48e304a091 0 is not None 2020-04-19 13:41:01 +02:00
Fabian Dill 659bc0e177 no longer eat multiple spaces in commands 2020-04-19 03:24:27 +02:00
CaitSith2 6b47a69966
Actually close SNES connection on invalid rom. (#69)
This nicely makes it also attempt to reconnect in 5 seconds alongside the client to server.
2020-04-17 00:23:08 +02:00
Fabian Dill 11df6e5e7a Merge branch 'master' into owg_test 2020-04-15 21:27:41 +02:00
Fabian Dill 6ed317899e fix unknown Bonta Protocol text 2020-04-15 20:51:33 +02:00
Fabian Dill d9e4bd1ab0 bumb network version for new command processing 2020-04-15 08:49:30 +02:00
Fabian Dill af78914d22 mvoe client stuff to new command processor 2020-04-14 20:22:42 +02:00
Fabian Dill 1f8dc8d317 clean qusb2snes launch code a bit 2020-04-12 04:44:03 +02:00
Fabian Dill 90359b62e6 fix qusb2snes launch pathing 2020-04-12 04:38:57 +02:00
Fabian Dill 380b59ade2 the setup experience 2020-04-07 04:18:26 +02:00
CaitSith2 7b620e94f7
Add a way to show found items on client/server (#52)
* Add a way to show found items on client/server

* item show stuff:
use less ram and cpu, rename a few things

* Add UpdateTags server command.

Co-authored-by: Fabian Dill <fabian.dill@web.de>
2020-03-23 10:47:07 +01:00
Fabian Dill c36cdf5546 reset snes state when resetting rom 2020-03-22 20:07:19 +01:00
CaitSith2 d31e54e5cd
Force the rom to be reread on reconnect if rom... (#51)
... is not one of the expected player roms.  This is all that was preventing things from being 100% automatic, if an incorrect rom was already loaded in the connected snes state.
2020-03-22 18:56:38 +01:00
Fabian Dill 031d6823a1 mostly pathing improvements, mostly to benefit linux 2020-03-15 19:32:00 +01:00
Fabian Dill 2a05b9cd72 move to promp_toolkit 2020-03-13 03:53:20 +01:00
Fabian Dill a29f93045e performance improvements and small adjustments 2020-03-10 00:38:29 +01:00
Fabian Dill 611f4d3fb2 no longer try patching if it's the wrong rom.
People ignore the warning.
2020-03-08 02:18:55 +01:00
Fabian Dill b7814ca050 remove deprecated code 2020-03-07 17:08:50 +01:00
Fabian Dill 0fa896f8f6 Make Client wait for QUSB2SNES connection and devices, then auto-connect 2020-03-07 00:07:32 +01:00
Fabian Dill 128be8df89 don't set cwd on import 2020-03-06 04:52:21 +01:00
Fabian Dill c6cd4a9681 make drag&drop work for binary patching if the file is outside the base folder 2020-03-06 01:27:02 +01:00
Fabian Dill d44acfdaaf implement binary patching for multimystery (for now no gui/cli support) 2020-03-06 00:48:23 +01:00
Fabian Dill aaa650e18b mention unknown ID codes in their text 2020-02-26 11:39:49 +01:00
Fabian Dill 857c318108 bump protocol version number in case I want to disallow old (in this case aka locally cheating) clients. 2020-02-22 19:45:55 +01:00
Fabian Dill 1fb7ed30eb move cheating to server, with option to turn it off
also, don't overwrite multisave if the resulting object is borked
2020-02-22 19:42:44 +01:00
Fabian Dill 09fba10a53 some QOL 2020-02-22 18:04:35 +01:00
Fabian Dill e2ef84d6c9 add location checks to hint command 2020-02-17 08:16:17 +01:00
Fabian Dill 5c803e911c optimise the client a bit 2020-02-17 07:16:40 +01:00
Fabian Dill 18911a1490 use same version format on client and server 2020-02-16 16:20:00 +01:00
Fabian Dill b04db006e0 implement server-client handshake and move hint system to optional colorama support 2020-02-16 15:32:40 +01:00
Fabian Dill a4d8a3831e keep client window open if unexpected exceptions occur 2020-02-02 06:20:08 +01:00
Fabian Dill cc369c3631 add license command to client to have MIT compliant compiled client possible 2020-02-02 06:14:51 +01:00
Fabian Dill b58558eb75 move updater to own module 2020-01-18 15:45:52 +01:00
Fabian Dill 674cad07ea re-implement auto-updates 2020-01-18 15:04:39 +01:00
Fabian Dill 72c33a2348 Merge branch 'pull/5'
# Conflicts:
#	MultiClient.py
#	MultiServer.py
#	Mystery.py
2020-01-18 14:41:11 +01:00
Bonta-kun 7f800de8d0 MultiServer/Client: use logging instead of print and log time on the server 2020-01-18 12:21:57 +01:00
Bonta-kun f843c401c7 MultiClient: signal an event when receiving item data to improve responsiveness 2020-01-18 11:28:08 +01:00
Bonta-kun e941f738ba MultiClient: get rid of packages install hacks, use requirements.txt instead 2020-01-18 10:05:59 +01:00