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

Lua with TAStudio (two host threads bug) #1119

Closed
Azreally opened this issue Feb 24, 2018 · 8 comments
Closed

Lua with TAStudio (two host threads bug) #1119

Azreally opened this issue Feb 24, 2018 · 8 comments
Labels
re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console)

Comments

@Azreally
Copy link
Contributor

Hi,

When I worked with lua script and TAStudio I get this error message (in lua console next screen):

lua_tastudio_2_host_threads_bug

In lua console I saw this error:

lua_console_error_message

Description the steps:
When you run a rom just run lua script (could be a simple script, it should be running all time). Next run TAStudio and insert 1000 frames (should be white frames). Scroll down to the end (best way) and click exactly the same as the first screen shot.

That's all.

P.S. I using this emulator version:

bizhawk_ver

Best regards,
Azzy

@vadosnaprimer
Copy link
Contributor

Switching to luainterface doesn't fix this, right?
config - customize - advanced

@Azreally
Copy link
Contributor Author

Yes, the same problem :(.

@Azreally
Copy link
Contributor Author

This script should reconstruct the problem:
lua_GBA_crash_test_script.zip

@Azreally
Copy link
Contributor Author

Azreally commented Mar 3, 2018

Something "more" known about this bug right now?. Any progress on this? This issue blocks working with lua and TAStudio.

@vadosnaprimer
Copy link
Contributor

If there was progress, we would tell you. Will hopefully fix this within a week.

@vadosnaprimer
Copy link
Contributor

vadosnaprimer commented Mar 8, 2018

@zeromus I don't understand what's wrong with this. Letting it run for a few frames and then sending emulation to any frame within the movie (with turbo seek on) causes this exception. But it indeed happens on the lua side, and the error is too cryptic.

As the script says, tastudio.setplayback( current_frame + 1 ); is the problematic command.

@vadosnaprimer vadosnaprimer added the re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console) label Mar 8, 2018
@Azreally
Copy link
Contributor Author

It possible to fix that bug anyway? Maybe I'll ask Xadro to fix this? (I hope that he'll).

@vadosnaprimer
Copy link
Contributor

It's not fixed???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
re: Lua API/scripting Relating to EmuHawk's Lua API (not the Lua Console)
Projects
None yet
Development

No branches or pull requests

2 participants