Thread Rating:
  • 17 Vote(s) - 2.82 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Simple Pause Function
#5
(11-11-2013, 12:07 AM)f3re Wrote:  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.
Yeah, but pressing Ctrl-S in a middle of a boss fight or in a middle of doing something important is not great at all :P

I feel stupid now, as I haven't thought about all the stuff you said, even tho I should have :P But yeah a 3 min hack is not something you'd put into the main bot. But i tested it for bout 10 mins and it continues doing what i was(i'm gathering tho nothing complex) :) People can use it at their own risk. And what Ctrl-S does is you have to press it then press again. What i've done is your press it and release it :P
 


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