petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 26, 2005 14:51:03 GMT -5
good point.....
Hmm. I'll think out the next idea of mine before I post.
You got any "Sources?"
I'll post any if I find them.
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 26, 2005 17:25:38 GMT -5
One thing I found, but ran outta printer paper. It's a Lua handbook i think it's called. It's 57 pages or so on Microsoft word, times new roman, at font size ten.
Nifty stuff. I'm gonna ask pops to check barns and noble for a book on Lua. Hope it's good stuff.
Oh, and elaborating on the log: I found a pretty good log that ran like a DLL off of FFXI's main core application.
So eh, One thing I noticed it did not include, was time, or Damage modification, by Equipment or food.
That would be kickass to stick into a recording log. (Oh and this log didnt take out alotta junkie symbols. I see what you mean about SE putting in trash.)
|
|
|
Post by Jubei on Oct 26, 2005 22:23:50 GMT -5
Any plans for simple CommandButton and possibly a ListBox for the primitive? Nothing fancy just something functionable. I'd like to make some scripts as idiot proof as possible without having to map procedures to keys
|
|
|
Post by TinyTerror on Oct 26, 2005 22:31:08 GMT -5
Any plans for simple CommandButton and possibly a ListBox for the primitive? Nothing fancy just something functionable. I'd like to make some scripts as idiot proof as possible without having to map procedures to keys Im not quite sure what you mean. Can you go into a bit more detail?
|
|
|
Post by Jubei on Oct 26, 2005 23:05:22 GMT -5
Really just some simple, clickable GUI buttons that will run different procedures in a script. An example could be a navigation script. Listbox could be a visible list of specific pre-saved routes inside the primitive with a command button to confirm and run the selection highlighted. Think like VB but without the form builder toolbox.
I wanted to ask also, will standard Lua support be included for mathematical scripting properties, string manipulation, expressions and statements etc?
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 26, 2005 23:14:45 GMT -5
As far as I know the language Lua has those implemented. I think it should...
Tiny, you are just building off of lua, correct? So then buying a Lua tutorial book, for the standard lua would be useful, but then I would have to commit some other things to memory... that you're implementing, correct?
|
|
|
Post by TinyTerror on Oct 26, 2005 23:46:25 GMT -5
Right now Lunar doesnt have any suport for mouse or keyboard input beyond arguments and commands via the console. Im going to be working on some raw input code for the next version that should fix this. After that, making interactive GUI stuff won't e too hard. An interesting side effect of work done on raw input is that it will allow you to hook up multiple keyboards to your computer, and to map macro commands to any key on the second KB. Thats 100+ single key macros right there. Fun stuff Yes, all of the Lua standard libraries will be included except for loadlibrary (I dont want people loading arbitrary binary code). The std libs let you do all sorts of math, string, io, os, and file related operations. Also, I plan on doing frequent builds small updates insted of fewer less frequent releases for Lunar. This will get new features to the users faster. If lunar doesnt do something that you want, let me know and I will find the code to do it. The good thing about using a widely adopted and used language for a base is that there is alot of example and extension code floating around already on the net. I made a serious effort not to modify the lua core specifically so patching it with new features would be easier. Yes, Lunar is standard lua. I bought this book: www.amazon.com/exec/obidos/tg/detail/-/8590379817/theprogrammil-20/002-5404725-6677612So far it has been very good. My only complaint is that it doesn't go into much depth with the standard libraries. Thats not too much of a problem because all of that info can be found here: lua-users.org/wiki/TutorialDirectoryYou can buy the book if you think it will help. Its only like $25 or something, so its not that bad. Even though the entire thing is available on the luawebsite word for word, it does help to have a hard copy I can flip through.
|
|
|
Post by Jubei on Oct 27, 2005 8:22:48 GMT -5
Thanks for clearing that up for me. Is there a compliler you'd recommend for coding Lua or are you just using VisualStudio.net?
|
|
|
Post by TinyTerror on Oct 27, 2005 8:38:48 GMT -5
I just use vs.net, but there are some tools out there that support lua specific stuff. You might want to check out the Lua eclipse plugin. If you have never used eclipse before, its kind of like a general purpose IDE that has plugins to support different languages. I use it at work for java dev stuff and its pretty good. Pretty much any IDE can be used for lua since you aren't really compiling anything. www.ideais.com.br/luaeclipse/Eclipse is completely free IDE that is availiable from www.eclipse.org/
|
|
|
Post by Jubei on Oct 27, 2005 8:55:21 GMT -5
Thanks for the info. So your saying basically that you could even use a scripting IDE like SCITE or even Notepad to create Lunar scripts? Just one last question. How will Lunar be packaged once your ready to release the Alpha?
|
|
|
Post by TinyTerror on Oct 27, 2005 9:07:22 GMT -5
Yeah, you can use any text editor to write lua scripts.
When I release lunar, it will be as a dll for use as a windower plugin. It will also be packaged with the latest FFXIRead.dll and an install batch file to put ffxiread in the right place and to register it.
|
|
|
Post by DarkAquaus on Oct 27, 2005 18:43:49 GMT -5
ahhhhh x.x new headache /cry.... hmm I wonder how the time func in this laug works... if it doesnt have it could you add pix(x,y) capture donno if you can make it faster than evil(autoit) I know it'd be way faster for me just to download/install .NET /sigh ... but well Im lazy hey what do you think of my color converter x.x
|
|
|
Post by TinyTerror on Oct 27, 2005 20:22:54 GMT -5
Uhh, nobody said anything about requiring .NET or any other big IDE for writing lua. You can do it in notepad just as well.
I will be adding a pixel color function, and it will still be really slow. The speed isn't something related to autoit, but more because of the nature of graphics apis.
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 27, 2005 20:23:31 GMT -5
Waitwait. So then will you be including a Library with the stuffies you released with it? I understand lunar will be released with a DLL file, but I'm not realy understanding how the scripts will be implied in FFXI.
Is it something that's so easy, I would want to cry for overlooking?
|
|
|
Post by TinyTerror on Oct 27, 2005 21:00:10 GMT -5
You load a script like this in the console:
load Lunar .Lunar load scriptpath
Thats it. Scripts are just text files. They don't even need a specific extension.
|
|