Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't generate seed with particular settings on 6.0.85 R-1 #54

Open
xlogisticsx opened this issue Sep 6, 2021 · 2 comments
Open

Can't generate seed with particular settings on 6.0.85 R-1 #54

xlogisticsx opened this issue Sep 6, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@xlogisticsx
Copy link

xlogisticsx commented Sep 6, 2021

AJJWKCDVKAB8PMAA243MR8TSAWCHGSKSTAUS6B7TDD8VGZPKASAJADABNAENBQ2EJTLAD9UC3JHLUVNFBSNCAASGSEFAB

Using the string above with no seed set, I get error the error below.

Entrance placement attempt count exceeded for world 0
Traceback (most recent call last):
File "F:\OOTR\OoT-Randomizer-Dev-R\OoTRandomizer.py", line 62, in start
main(settings)
File "F:\OOTR\OoT-Randomizer-Dev-R\Main.py", line 56, in main
spoiler = generate(settings, window=window)
File "F:\OOTR\OoT-Randomizer-Dev-R\Main.py", line 121, in generate
worlds = build_world_graphs(settings, window=window)
File "F:\OOTR\OoT-Randomizer-Dev-R\Main.py", line 168, in build_world_graphs
set_entrances(worlds)
File "F:\OOTR\OoT-Randomizer-Dev-R\EntranceShuffle.py", line 362, in set_entrances
shuffle_random_entrances(worlds)
File "F:\OOTR\OoT-Randomizer-Dev-R\EntranceShuffle.py", line 517, in shuffle_random_entrances
shuffle_entrance_pool(world, worlds, entrance_pool, target_entrance_pools[pool_type], locations_to_ensure_reachable)
File "F:\OOTR\OoT-Randomizer-Dev-R\EntranceShuffle.py", line 604, in shuffle_entrance_pool
raise EntranceShuffleError('Entrance placement attempt count exceeded for world %d' % entrance_pool[0].world.id)
EntranceShuffle.EntranceShuffleError: Entrance placement attempt count exceeded for world 0

However, I turned off cow shuffle, settings string AJJWKCDVKAB8PMAA2L3MR8TSAWCHGSKSTAUS6B7TDD8VGZPKASAJADABNAENBQ2EJTLAD9UC3JHLUVNFBSNCAASGSEFAB, and it worked just fine.

@xlogisticsx
Copy link
Author

Did a little more testing, and it seems that you just can't have all entrances for mixed pools plus cows. It works fine with only indoor entrances for mixed pools.

@Roman971
Copy link
Owner

Thanks for the report. It looks like this is still an issue in the latest version, tho it seems possible to generate seeds with these settings, it's just very unlikely and might take a lot of attemps. Nonetheless, It's not intended and I'll try to investigate it when I have time.

@Roman971 Roman971 added the bug Something isn't working label Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants