View Single Post
Old 09-19-2019, 12:30 PM   #20
Human being with feelings
mespotine's Avatar
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,911

Build: 40630

Eventmanager mostly complete now

  • EventManager: EventManager_PauseEvent - pauses a registered event in the EventManager
  • EventManager: EventManager_ResumeEvent - resumes a paused and registered event in the EventManager
  • EventManager: EventManager_Start - starts the EventManager
  • EventManager: EventManager_Stop - stops the EventManager, if all scripts who have registered events have used this function
  • Helper Functions: Main_OnCommand_LuaCode - had inner variables exposed -> fixed
  • EventManager: Eventmanager_RemoveEvent - didn't return false in case of an error, though docs stated otherwise -> fixed
  • Eventmanager: EventManagerScript - functions who got passed to the eventmanager are now run in protected mode.
    They print out an error-message in case of an error and the accompanying event will be paused from that moment on.
    This should make that more stable overall, as the other eventcheckings are not stopped due one faulty function of one eventcheck.
    Replacing the function and restarting the eventchecking should be possible, so debugging it on runtime should work.
    In other news: EventChecking now works as often as it was requested(used to be done in every defer-cycle of the eventmanager, which wasted computing-resources)

You can download this prerelease from:
Pronounce me with she/her, when referencing me, please. Thanks :)
Ultraschall-API - 1111 ReaScript functions for Reaper
Reaper Internals - Developerdocs4Reaper

Last edited by mespotine; 10-11-2019 at 09:36 AM.
mespotine is offline   Reply With Quote