Thread Rating:
  • 17 Vote(s) - 2.82 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Simple Pause Function
#4
Turning off the bot only stops the Gameloop.Update handler in ffxiv_task_lua. There's absolutely no requirement that all lua code uses the same update handler function therefore by only stopping one of them you open up the possibility of having severe sync issues and possibly even crashes if one module expects certain data to be available/updated that is no longer valid due to having stopped the update handler that maintains that data.

We're not dummies, we know how this stuff works. If we say something is tricky its because we've considered it long ago and haven't decided on a good, safe implementation of it yet. An easy three minute hack is not the kind of code that we put into the main bot lua without considering all the implications (or at least that should be the ideal we strive for, if sometimes unfortunately fall short of). The reason I suggested the possibility of a solution from the C++ side is that we can simply stop the update loop pulse from being passed to the lua modules completely, which removes the possibility of one module getting updated while another does not. That's the only safe solution that won't lead to addon errors and maintainability problems down the road.

Edit: If that wasn't enough reason not to use this solution, the bot also resets all its data when its toggled on and off. Therefore you're not actually "pausing" it, you're "resetting" it, and there's a good possibility that the bot will not continue the action you were in the middle of when you start again.

Edit Again: Also, you can already do this. It's called "Ctrl-S" and works by default.
 


Messages In This Thread
[Request] Simple Pause Function - by OogieBoogie - 11-10-2013, 04:26 PM
RE: [Request] Simple Pause Function - by ferenz - 11-10-2013, 05:02 PM
RE: [Request] Simple Pause Function - by ymko - 11-10-2013, 11:37 PM
RE: [Request] Simple Pause Function - by aakk47 - 11-12-2013, 09:59 AM
RE: [Request] Simple Pause Function - by ymko - 11-12-2013, 02:59 PM
RE: [Request] Simple Pause Function - by ferenz - 11-11-2013, 12:07 AM
RE: [Request] Simple Pause Function - by ymko - 11-11-2013, 12:22 AM
RE: [Request] Simple Pause Function - by ferenz - 11-11-2013, 12:32 AM
RE: [Request] Simple Pause Function - by ymko - 11-11-2013, 12:38 AM
RE: [Request] Simple Pause Function - by ferenz - 11-11-2013, 06:02 AM
RE: [Request] Simple Pause Function - by ymko - 11-11-2013, 11:40 AM
RE: [Request] Simple Pause Function - by ymko - 11-17-2013, 03:39 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products