alan-turing-institute / p2lab-pokemon

A Python library for running genetic algorithms to optimize Pokemon teams!
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Need to accept more battle formats than just gen7 #38

Open AoifeHughes opened 1 year ago

AoifeHughes commented 1 year ago

We aren't realllllly using anything specific from gens just yet. I haven't tested but I'm fairly certain that anything should just work if Pokemon are valid? untested

AoifeHughes commented 1 year ago

I think FFA would be the ideal format but when trying:

2023-06-21 10:47:53,103 - Player 10 - INFO - Event logged in received in send challenge
2023-06-21 10:47:53,103 - Player 10 - INFO - >>> |/utm |eevee||runaway|tackle,growl||85,85,85,85,85,85||||5|
2023-06-21 10:47:53,103 - Player 10 - INFO - >>> |/challenge player11, Free-For-All
2023-06-21 10:47:53,103 - Player 11 - DEBUG - Event logged in received in accept_challenge
2023-06-21 10:47:53,109 - Player 10 - INFO - <<< |pm| Player 10| Player 11|/challenge gen9freeforall|gen9freeforall|||
2023-06-21 10:47:53,109 - Player 10 - INFO - <<< |pm| Player 10| Player 11|/log Player 10 wants to battle!
2023-06-21 10:47:53,109 - Player 10 - INFO - Received pm: |pm| Player 10| Player 11|/log Player 10 wants to battle!
2023-06-21 10:47:53,109 - Player 11 - INFO - <<< |pm| Player 10| Player 11|/challenge gen9freeforall|gen9freeforall|||
2023-06-21 10:47:53,109 - Player 11 - INFO - <<< |pm| Player 10| Player 11|/log Player 10 wants to battle!
2023-06-21 10:47:53,110 - Player 11 - INFO - Received pm: |pm| Player 10| Player 11|/log Player 10 wants to battle!
AoifeHughes commented 1 year ago

@hsahovic, do you have any suggestion of where to start? I'd love to add more formats but unsure of what might be the issue on poke-env side.

hsahovic commented 1 year ago

@AoifeHughes is an exception raised? or does it just hang?

AoifeHughes commented 1 year ago

Hangs

hsahovic commented 1 year ago

@AoifeHughes i took a look at the format, and its 1v1v1v1 setup makes it fairly different from what is currently implement. poke-env supports singles and double battles - ffa is not very high on the current priority list.

AoifeHughes commented 1 year ago

Ah, my bad. I interpreted it incorrectly. I thought it was a reduced restrictions mode!

On 21 Jun 2023, at 22:07, Haris Sahovic @.***> wrote:



@AoifeHugheshttps://github.com/AoifeHughes i took a look at the format, and its 1v1v1v1 setup makes it fairly different from what is currently implement. poke-env supports singles and double battles - ffa is not very high on the current priority list.

— Reply to this email directly, view it on GitHubhttps://github.com/alan-turing-institute/p2lab-pokemon/issues/38#issuecomment-1601678238, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTK5L54QQRF5BIT7RW3JATXMNPABANCNFSM6AAAAAAZMZ6QFQ. You are receiving this because you were mentioned.Message ID: @.***>

hsahovic commented 1 year ago

I think what you might be looking for is anythinggoes or nationaldexag