Jump to content

Recommended Posts

Posted

I believe it is not possible to get info out of a .lua so I guess I have to find a way around that. I was thinking of using .lua to write to an ini or xml and then read the data out with AutoIT3.

Does anyone know if you can use AutoIT to read out of Lua, or a way for Lua to write to .ini / .xml file types.

Thanks,

Gnoll

Posted

Not exactly what I was looking for.

What I want to acheieve is to get the variable out of the .Lua (Which will be changing every 0.05seconds while it is running. I want auto it to be refreshing the variable aswell. For example.

CODE
;lua example (not actual lua format)

$running = true

$number = 1

While $running = true

$number =+ 1

sleep(50)

WEnd

So the number will be rising constantly and I want AutoIT to be seeing that its rising also and know what its at. If that makes sense?

Posted

I would recommend a language more complex and capable of performance at 0.05 seconds.

I don't think AutoIt would be the best choice performance wise for what you wish to do.

[acronym="I pee FREELY!"][spoiler]Hello.[/spoiler][/acronym]

Posted

Well I could be pulling the values in every 5 seconds etc, the timing isn't necessary at the moment. Just wanting to be able to change the variables in the ini or whatever

Posted

Yes, I used the search() function earlier :) and found these topics. They use memory reading which is a bit advanced for me but thanks

Posted

Yes, I used the search() function earlier :) and found these topics. They use memory reading which is a bit advanced for me but thanks

Not all of them do. The WoW travel bot uses Lua to output it's coordinates.

Read in the topic or ask him some questions.

All I say is, you are basically getting everything you need on a silver plate. All you have to do is take it.

Posted

It is a very good idea to make a WoW addon outputting colours, now I need to be able to ControlPixelSearch or something hehe ill have a look around

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...