Commit Graph

1132 Commits

Author SHA1 Message Date
Fabian Dill 8c2ebc362e
Merge pull request #82 from Berserker66/tweaks
server address caching changes
2020-05-01 15:40:43 +02:00
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 d6665b6b53
Merge pull request #78 from Berserker66/tweaks
Tweaks
2020-04-30 17:27:34 +02:00
caitsith2 b4ce00da57 ignore mystery_result_*.yaml 2020-04-29 23:56:51 -07:00
caitsith2 9beaff93a1 ignore _persistent_storage.yaml 2020-04-29 23:54:57 -07:00
caitsith2 d4be3387cf Fix issue when a zero byte _persistent_storage.yaml exists. 2020-04-29 22:42:26 -07:00
caitsith2 c225662c71 Keep goose/honk to just ganon/triforce 2020-04-29 22:39:22 -07:00
caitsith2 0b0c5778d1 Ganon fact about geese 2020-04-29 21:59:19 -07:00
Fabian Dill b5ed4f012d
Merge pull request #81 from compiling/owg_multi
Dungeonsfull fixes
2020-04-30 05:58:22 +02:00
Fabian Dill 24d729508d Merge branch 'pull/81' 2020-04-30 05:03:31 +02:00
Fabian Dill 92350831fc notify_all already prints to local console via logging 2020-04-30 04:44:57 +02:00
Fabian Dill a6cc75d36a optimize broadcast to serialize once 2020-04-30 04:39:38 +02:00
compiling 477c7bc596 Place an extra key in TR instead of breaking 100% locations 2020-04-30 12:10:28 +10: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 a3c1e902d4 use pytest for github unittests 2020-04-29 18:44:03 +02:00
compiling a5a035d86b Don't violate 100% locations if bigkeyshuffle is on and the big chest is available 2020-04-30 00:19:49 +10:00
compiling 444dd5b46b Modify TR key rules:
* Front to Middle requires 3 keys, or only 2 if the back is inaccessible
* Middle to Front requires 4 keys, or only 2 if the back is inaccessible and the TR Big Key is in the front
* Back to Middle requires 0 keys
* Middle to Back requires 3 keys
TR will violate 100% locations accessibility if it is only accessible via the middle section - this is required to have enough keys for the rest of the dungeon.
2020-04-30 00:19:49 +10:00
compiling 0924a2461a dungeonsfull logic fix - prevent the desert prize from being required to reach desert main (unless keysanity allows access to the keys). 2020-04-30 00:19:48 +10:00
Fabian Dill f5be6867c8 "license" is a python built-in and we should not shadow that name 2020-04-28 22:17:47 +02:00
Fabian Dill a751717773
try to find unittests to run (#80) 2020-04-28 17:54:23 +02:00
Fabian Dill 9de4e50f81
run unittests from the test folder 2020-04-28 17:45:36 +02:00
Fabian Dill 3017aa3b9f remove old debug stuff 2020-04-28 17:42:25 +02:00
Fabian Dill a81145284f
Unittest integration 2020-04-28 17:39:32 +02:00
compiling 4851a905cf
OWG fixes (#79)
* Fix Waterfall entrance being inaccessible with the flippers.
Fix Spectacle Rock and Bombos Tablet requiring moon pearl

* Inverted - make the blacksmith, purple chest, bottle merchant and master sword pedestal accessible without the moon pearl.

* Fix moon pearl checks to avoid requiring moon pearl for mirror accessible locations.

* Dark Desert Teleporter requires the mitts

* Fix OWG bunny rules

* Fix another bunny rule bug.

* Separate superbunny cave into 2 regions.
For OWG, allow superbunny in superbunny cave with no mirror when entering from the bottom
Fix boots clip logic to desert teleporter ledge and TR teleporter
Fix mirror wrap logic for pyramid fairy
For insanity shuffle, exiting Superbunny Cave bottom is now in logic.

* Always require pearl for Swamp (Superbunny cannot do anything)

* Allow clipping into the GT entrance

* Add OWG tests from vt_randomizer

* Add some extra vanilla test cases

* Allow superbunny into the Blind's Hideout entrance.

* More moon pearl / superbunny fixes
Use the Catfish region properly, so Catfish Descent works.

* Allow superbunny into tavern
Fix inverted Kings Grave logic

* Inverted OWG tests

* Update unit tests for King's Tomb clip.

* All superbunny to spiral cave item (with sword)

* Bunny revive is not possible in Sanctuary.

* More inverted tests

* Add/fix test cases

* Fix logic for Magic Bat

* Fix merge to multiworld

* Fix Floodgate superbunny rule

* Require bunny revival for all dungeons except for Swamp/TR Main/Hera/Sanctuary, which have extra requirements

* Require a weapon for Castle Tower.

* Test case fixes

* Update test case - superbunny into Kakariko Tavern is in logic
2020-04-28 17:34:30 +02:00
caitsith2 ce7b843618 Honk. 2020-04-28 00:06:50 -07:00
caitsith2 7a3511e1ef Update messages that get sent to client with aliases. 2020-04-27 23:49:46 -07:00
Fabian Dill 00da5dfd65 warn older client versions that features are missing 2020-04-28 05:59:03 +02:00
CaitSith2 495254addf
Actually check if client goal is achieved, instead of just existence of an entry. (#77) 2020-04-27 15:13:33 +02:00
Fabian Dill ad66909669 implement server side /alias, also prevent aliases with trailing whitespace 2020-04-27 03:47:12 +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
CaitSith2 f380542bab
2.1.1 hotfix (#76)
* 2.1.1 hotfix
* debug log options that have nothing defined.
* make sure there is at least one value in the dictionary before considering it important.
* only attempt to create outputpath if it is defined.

* whoops
2020-04-26 02:57:20 +02:00
Fabian Dill c5fbaeb51c re-rename all ocarinas and fix one inverted rule that way 2020-04-26 00:47:57 +02:00
Fabian Dill 00ba3c71c9 fix server not sending aliased names on connect 2020-04-25 23:16:16 +02:00
Fabian Dill 77ca61d069 introduce forfeit_mode and remaining_mode, as well as server state for client has beaten the game
more info in host.yaml
2020-04-25 15:11:58 +02:00
Fabian Dill 2fe998a664 Merge branch 'pull/75' 2020-04-25 13:51:36 +02:00
Fabian Dill 49770159fb small adjustments for game finished 2020-04-25 13:50:32 +02:00
caitsith2 49385ede3d Change win text 2020-04-24 21:42:13 -07:00
jmabry0163 2c1ac0903a
Update Dungeons.py (#72) 2020-04-25 05:51:40 +02:00
CaitSith2 8f91e86223
Put Linked options before name roll. (#74) 2020-04-25 05:49:59 +02:00
Fabian Dill 53cfc6cc0a 2.1.0 2020-04-25 05:49:34 +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 43bf11b296 A dangling " 2020-04-25 02:25:46 +02:00
Fabian Dill e98981b57e introduce linked options to mystery 2020-04-25 02:24:37 +02:00
CaitSith2 b90484acb7
Implement logging options in mystery.py (#73)
Required for using the multimystery.py from the doors branch without modifications.
2020-04-25 02:01:55 +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 83b5ac389a 2.0.3 2020-04-22 17:53:57 +02:00
Fabian Dill 9842399d8b fix payment for already found hints 2020-04-22 15:50:14 +02:00
Fabian Dill e02025c534 Merge branch 'pull/71' 2020-04-22 14:04:05 +02:00