Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
0いいね No views回再生

Self Learning MarI/O by SethBling code Part 4 - Quick Simplification to New Gen

Did a quick fix just so the code would continue running. I thought initializing the counter to 1 would work, but I think the code knows that the list is full, therefore the code still breaks if I don't actually create a new list of genomes and species.

The quick fix/simplification is just to initialize pool again, which sets gen 0 as a new empty pool. Therefore, we can make sure the NewGen() function creates new lists similar to what InitializePool() does, and it should work.

Unfortunately, I broke the console later trying to find the debug feature on Bizhawk, and now the code doesn't even run. I'll try to fix it and keep working on it later.

Hope you enjoy it! :)

コメント