Grouflon / 3rd_training_lua

Training mode for Street Fighter III 3rd Strike (Japan 990512), on Fightcade
163 stars 30 forks source link

Error: Failed to save training settings to training settings.json #19

Closed supersosko closed 3 years ago

supersosko commented 3 years ago

I'm using the most recent version of FBNeo packaged in fightcade 2. The trainer is working idk why that error is appearing

Grouflon commented 3 years ago

It seems that the permissions given to the lua scripts have changed compared to FBA-rr's implementation and that the script can no longer create files. I'll be investigating that, but meanwhile you can just create the file training_settings.json yourself inside the saved directory and it should work

Grouflon commented 3 years ago

Well, I ran more tests and the behavior is super inconsistent. At first no write operations were working, even if I created the file, but at some point, after letting the script run for some time, it started to work again. I believe there is a bug in the lua implementation, I'm currently in contact with fightcade's FBNeo fork developers to see if they can address it.

Grouflon commented 3 years ago

I contacted one of Fightcade's developers, and this bug should be fixed with the next version of Fightcade

supersosko commented 3 years ago

Dude awesome!

On Tue, Nov 10, 2020, 12:28 PM Rémi Bismuth notifications@github.com wrote:

I contacted one of Fightcade's developers, and this bug should be fixed with the next version of Fightcade

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Grouflon/3rd_training_lua/issues/19#issuecomment-724850561, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUTTSBPQ6YCQ6SNKEGD2STSPFZ2NANCNFSM4TDLCHTA .

Grouflon commented 3 years ago

The last version is out, it should be fixed with the last version of fightcade. Can you test on your side and confirm me that it's gone ?