Jump to content
Sign in to follow this  
Gnoll

Lua with AutoIT3

Recommended Posts

Gnoll

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

Share this post


Link to post
Share on other sites
Gnoll

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?

Share this post


Link to post
Share on other sites
Squizzle

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]

Share this post


Link to post
Share on other sites
Gnoll

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

Share this post


Link to post
Share on other sites
Gnoll

It's for use with WoW, So it is an implementation into WoW I guess. Thanks for the IO info

Share this post


Link to post
Share on other sites
Gnoll

Bump, thanks

Share this post


Link to post
Share on other sites
Gnoll

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

Share this post


Link to post
Share on other sites
jvanegmond

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.

Share this post


Link to post
Share on other sites
Gnoll

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×