Post Reply Home » Forums » Final Fantasy XI » FFXI General Discussions

anyone know anything about scripting? : FFXI General Discussions

Posted: April 4th, 2006
syztem
hi ive posted a thread asking for help on something in the non public part of the forums but no help at all so ill posti t here. i have a problem with my script and i ahve been changing delays but i cant seem to find the right one, it is with the windurstfamebooster script , the main problem is she doesnt start typing soon enough, and the script hits enter b4 it starts typing sometimes, which is to fast, i need to slow down the enter and speed up the typing starter
Posted: April 4th, 2006
mikan
add longer sleep before the enter key?
Posted: April 5th, 2006
syztem
i dont know which is the enter key >< they all say virtual key down virtual key up, thatsit :(
Posted: April 5th, 2006
mikan
well this is from XUFish common.vbs

Code: Select all

function doKeyboardCommand(line)
   pressKey(VirtualKey.VK_SPACE)
   SendKeys line
   Sleep 200
   pressKey(VirtualKey.VK_ENTER)
end function
maybe it's different in your script but the VK_ENTER looks pretty ovvious :lol:
Posted: April 5th, 2006
syztem
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 3000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 3000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 3000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 2000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 500

FindTarget("Tokaka") ' Retarget Tokaka

SendStr("/item "&Chr(34)&"Bastore Sardine"&Chr(34)&" <t>")

'Tokaka starts talking again
KeyDown (VirtualKey.VK_ENTER)
Sleep 6000
KeyUp (VirtualKey.VK_ENTER)
Sleep 4000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 4000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)
Sleep 4000
KeyDown (VirtualKey.VK_ENTER)
Sleep 100
KeyUp (VirtualKey.VK_ENTER)

OOOOH so that means ENTER the key! i thougth it meant like enter as in put the command in :O so i just have to count the enters in the game n thats it
Posted: April 5th, 2006
syztem
gah have no idea which it is, as u can see i thought it was the 6000 1 but that wasnt it, or the 3 1 about the 5 n 300
Want Advertisements After The Last Post Removed? Create A Free Account!
blue large dotWho is online
Users browsing this forum: No registered users and 177 guests
Post Reply