Gnoll Posted April 5, 2008 Posted April 5, 2008 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
Gnoll Posted April 5, 2008 Author Posted April 5, 2008 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?
Squizzle Posted April 5, 2008 Posted April 5, 2008 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]
Gnoll Posted April 5, 2008 Author Posted April 5, 2008 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
jvanegmond Posted April 5, 2008 Posted April 5, 2008 (edited) I am also working with AutoIt and Lua together.Are you using lua stand-alone or as an implementation in a game?IO streams: http://www.lua.org/manual/5.1/manual.html#5.7 Edited April 5, 2008 by Manadar github.com/jvanegmond
Gnoll Posted April 5, 2008 Author Posted April 5, 2008 It's for use with WoW, So it is an implementation into WoW I guess. Thanks for the IO info
jvanegmond Posted April 5, 2008 Posted April 5, 2008 It's for use with WoW, So it is an implementation into WoW I guess. Thanks for the IO infoI can definately recommend this topic.This guy is THE EXPERT on using AutoIt, Lua and WoW. In fact, he may even be the WoW botting guru.Another one of his topics: http://www.autoitscript.com/forum/index.php?showtopic=33400 github.com/jvanegmond
Gnoll Posted April 6, 2008 Author Posted April 6, 2008 Yes, I used the search() function earlier and found these topics. They use memory reading which is a bit advanced for me but thanks
jvanegmond Posted April 6, 2008 Posted April 6, 2008 Yes, I used the search() function earlier and found these topics. They use memory reading which is a bit advanced for me but thanksNot 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. github.com/jvanegmond
Gnoll Posted April 7, 2008 Author Posted April 7, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now