Posts for alchemistake


alchemistake
He/Him
Experienced Forum User
Joined: 1/12/2017
Posts: 4
Thank you all for your help.
alchemistake
He/Him
Experienced Forum User
Joined: 1/12/2017
Posts: 4
I didn't finished the script yet, but the idea is that there will be nested loops and I want to store the indices of the loops when I stop the script to do something else with my computer. But basically code is this:
for i=0,60, 1
do
  typeChar(i)
  savestate.saveslot(1)
  for j=0,60, 1
  do
    savestate.loadslot(1)
    typeChar(i)
    savestate.saveslot(2)
    for k=0,60, 1
    do
      savestate.loadslot(2)
      typeChar(i)
      submitTheCode()
    end
  end
end
I want to get i,j,k if something happens to the script (for example unexpected shutdown).
Post subject: Need help on lua scripting "pausing the script"
alchemistake
He/Him
Experienced Forum User
Joined: 1/12/2017
Posts: 4
First of all I am total noob on lua and bizhawk right now but I am a good CS student, I know some stuff. I am brute forcing for a save password on a game. As you know brute forcing takes very long time. I want to be able to "pause the script" save the state of the script on a text file, without creating any extra weight to script. Polling for input on each frame was bogging me down from ~240FPS to ~100FPS. Side question, how can I force BizHawk to go over x4 speed?
alchemistake
He/Him
Experienced Forum User
Joined: 1/12/2017
Posts: 4
Aloha, Seems like 1.11.9.1 build has an exception: Unhandled Exception: System.MissingMethodException: Method 'Array.Empty' not found. at MonoMac.AppKit.NSApplication.Init () <0x15f780> in <filename>:0 at MonoMacWrapper.Program.Main (System.String[] args) <0x15df70> in <filename>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method 'Array.Empty' not found. at MonoMac.AppKit.NSApplication.Init () <0x15f780> in <filename>:0 at MonoMacWrapper.Program.Main (System.String[] args) <0x15df70> in <filename>:0 [Process completed] Tried to run older version and gives a message that says: objc[2618]: Class VCWeakObjectHolder is implemented in both /System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/Versions/A/ViceroyTrace (0xa4bc8090) and /System/Library/PrivateFrameworks/AVConference.framework/Versions/A/AVConference (0xa4bdee98). One of the two will be used. Which one is undefined. I tracked the message on the web but it seems obscure error message. But weirdly it runned after 5 minutes of wait time. If I repeated something that someone else said sorry I am just trying to help.