Locked Home » Forums » Legacy & Archived » Archived Content » Darkfall Online » DFO - Guides / Secrets / Tricks

G15 keyboard looter Guide For Making Macros : DFO - Guides / Secrets / Tricks

Posted: March 13th, 2009
nemo81
Well, i didnt really find anything usefull on google.

Figure id have to learn some LUA in order to make one so i didnt bother.


I tried the autolooting a couple of times, was able to see where the cursor went (bottom middle of screen) so i just placed my open bag there and the script is working like a charm.

I will try adding the script you posted here to see my own coords tho, so i can move it to the side.. :)
Posted: March 13th, 2009
User avatar
Total Posts:527 Joined:2005
just copy and replace the code i posted for get cords.. It will display them in your Lcd screen. then write them down recopy and paste the loot code with adding the cords you have now.. then you are all done..
Posted: March 16th, 2009
User avatar
Total Posts:26 Joined:2005
danzar thx for this. i've been trying to do some scritping for the g15 and learning some code, but havent delved into it too much. a couple questions i have, is it possible to have multiple scripts ready at any given time? with the 2 u've provided i tried some testing and it seems i can only have the script i have currently in the editor actually run even though they r both saved. also wondering if u can have g15 read color values and other such stuff, any help is appreciated. also if u have any other g15 scripts i would be die'ing to take a look at em
Posted: March 17th, 2009
User avatar
Total Posts:527 Joined:2005
Yea you can dozen of scripts controller at once in it. You just need to make conditions for it. Like if G3 key was pressed, If G5 key was pressed. If M1,M2,M3 are true. Its endless really. The only thing you have to reminber it that if use like the G3key in your script you have to assign your G3 key to script. simple put for every key you use in the scipt , that key has to be assign to scipt in the key assignment area.
Posted: April 13th, 2009
blackyce
Just want to say thanks, this works wonders.

And for those who can't get the script to show your mouse coords, just start changing the coords slowly in the script and see where your mouse cursor moves. By doing this, I moved it to right over where I put my bag in game.
Posted: April 15th, 2009
User avatar
Total Posts:527 Joined:2005
blackyce wrote:Just want to say thanks, this works wonders.

And for those who can't get the script to show your mouse coords, just start changing the coords slowly in the script and see where your mouse cursor moves. By doing this, I moved it to right over where I put my bag in game.
Gald i could help :)
Posted: April 15th, 2009
Total Posts:11 Joined:2009
Any chanse this will work on a G11 ?
Posted: April 15th, 2009
User avatar
Total Posts:527 Joined:2005
is that the one hand keyboard?
Posted: April 15th, 2009
Total Posts:11 Joined:2009
nop the k-board without display
Posted: April 16th, 2009
Total Posts:11 Joined:2009
lemelon wrote:Any chanse this will work on a G11 ?



Got it to work but it was a pain guessing and watching the screen for bag location without screen.
Posted: July 31st, 2009
devest
Just want to add that you can add \n to the message and the LCD message will appear on its own line.

Code: Register to unlock hidden link

if (event == "G_PRESSED" and arg == 1) then
   x, y = GetMousePosition();
   PressMouseButton(1)
   Sleep(10)
   MoveMouseTo(34156, 54602)
   Sleep(10)
   ReleaseMouseButton(1)
   Sleep(10)
   MoveMouseTo(x, y)
   OutputLCDMessage("Looted\n", 2000)
end
Also to fix up the Mouse cord display use this. It will also display the mouse location for 15 seconds. instead of the default 1

Code: Register to unlock hidden link

if (event == "G_PRESSED" and arg == 2) then
   local x, y = GetMousePosition();
   local sFmt = string.format("Mouse is at %d, %d\n", x, y);
   ClearLCD( )
   OutputLogMessage(sFmt, 15000);
end
Posted: October 11th, 2009
Total Posts:4 Joined:2009
Is this g15 looting macro safe to use? i know they were banning people for autolooting, so is this detectable? or sorta use at your own caution.
Posted: October 12th, 2009
User avatar
administrator
Total Posts:29891 Joined:2002
I think with darkfall its safe. I guess aion its not so much. At least thats the word on the street.
Posted: January 23rd, 2010
Total Posts:9 Joined:2006
This macro script works fine with the G11 keyboard as well. You can just omit the OutputLCDMessage line since the G11 has no LCD. Note: The end of the macro still needs the 'end' command 2x as in danzar's post.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 7 guests
Locked