|
Post by hermit on Dec 26, 2005 20:24:39 GMT -5
My script crashes when it hits the following line:
Pixel = PixelGetColor(42,42)
The error I get is
"attempt to call global 'PixelGetColor' (a nil value)"
Do you have to load in the graphics libary into lunar scripts? Or initiate it in some way or form. I seem to get stuck at every turn today I'm sorry.
|
|
|
Post by X-Drop on Dec 26, 2005 20:48:02 GMT -5
PixelGetColor is not a Lunar command. Think thats something to do with FFAct (I know nothing of those tools). Look over this, Lunar CommandsAs for an editor, this shoulda been stickied a long time ago. Jubei took the liberty to color code a very nice editor for Lunar. Check it out here, Script Editor for Lunar
|
|
|
Post by TinyTerror on Dec 26, 2005 21:13:35 GMT -5
Pixel commands are for autoterror. With all the stuff Lunar does, Pixel commands arent really needed.
|
|
|
Post by hermit on Dec 26, 2005 21:55:15 GMT -5
I am trying to make a bot that will synth. The only way I found to do this is to use pixels to recognize which item is which. For example using fire crystals on mythril ingots to turn them into mythril sheets. Due to the delay with synthesis and the insane repetition of it all this is a very frustrating proccess. If you start with an empty inventory and only 1 crystal type and mythril ingots and start crafting. You can select the very top most crystal than synth the very bottom most ingredient. This process only works for one cycle tho.
As your inventory after sorting becomes something like this.
Crystals --- Ingots --- Sheets
Without pixel recognition their is nothing in the log to let you know which ingredient is currently selected for synthesis.
Unless their is a more clever way to do this please instruct me further as to what I must do in order to acomplish this and is Lunar not capable of it?
|
|
|
Post by TinyTerror on Dec 26, 2005 21:56:26 GMT -5
Item info is comming in the next version ^_^
|
|
|
Post by hermit on Dec 26, 2005 21:56:47 GMT -5
Oh yes, Drop-X the editor I use is actually the very same one with the edited .lua properties. It's very handy. But lacks good debugging features.
|
|
|
Post by hermit on Dec 26, 2005 21:57:04 GMT -5
/cheer TinyTerror
|
|
|
Post by TinyTerror on Dec 26, 2005 21:58:02 GMT -5
Thank starhawk. Hes the one getting all the memlocs to play nice.
|
|
|
Post by X-Drop on Dec 26, 2005 22:31:36 GMT -5
oh, wow... had a couple beers and started answering questions to the wrong threads.... The Script Editor link was suppose to be directed to someone else. *sigh* ....yeah I've stopped drinking by now.
|
|
|
Post by TinyTerror on Dec 26, 2005 22:35:30 GMT -5
Party hard.
|
|