Jump to content

Daggett

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Daggett

  1. no one is replaying cause they don't understand my question? or just don't know the anwser?
  2. For dual boxing guildwars i have the following function to make my second character follow my main character. it works good but the problem is that when it's sending the controlsend("Guild Wars Sec", "", "", "={space}") to my second guildwars window, it sometimes makes my wasd keys on my main guildwars window hang. with other scripts i've wrote with controlsend i've had the same problem. like if you alt tab out of your game to firefox sometimes your alt key hangs. increasing the sleep helps in the hang not occuring so often but it still does a bit. this hanging would also probably occur if you just open 2 notepad windows and controlsend alot of text to 1 notepad window with a loop and try to type a few long sentences in the other notepad window this is my function: i've also tried to reduce the hanging with the timer function so it doesn't send the keys as often and it helps but in my main window the keys still hang sometimes Func Followmain () $begintimer = TimerInit() while 1 sleep(50) if TimerDiff($begintimer) > 500 Then controlsend("Guild Wars Sec", "", "", "={space}") $begintimer = TimerInit() EndIf If _IsPressed("56", $dll) Then;v checkforpresses () EndIf If _IsPressed("43", $dll) Then;c dpslikemadstart () EndIf WEnd endfunc i thought maybe it was something like when you press alot of keys on your keyboard at the same time it doesn't work, but that is probably not the case here since autoit is not using the keyboard but the winapi or something. Does anyone have any solution for this problem? or anyone even ever had this problem?
  3. Woot! yea it works for me too, thanks
  4. When i run the server and then 2 clients, and then when i close the client i runned first the server shutsdown and i get the error: C:\Documents and Settings\#####\Desktop\server.au3 (226) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $party[$partyAnimal][0] = $party[$partyAnimal+1][0] $party[$partyAnimal][0] = ^ ERROR ->10:05:16 AutoIT3.exe ended.rc:1 it's in this fuction: Func SomeoneLeftTheParty($partyPooper) Local $partyAnimal TCPCloseSocket($party[$partyAnimal][0]) If Not ($partyPooper = $party[0][0]) Then For $partyAnimal = $partyPooper To $party[0][0] $party[$partyAnimal][0] = $party[$partyAnimal+1][0] $party[$partyAnimal][1] = $party[$partyAnimal+1][1] $party[$partyAnimal][2] = $party[$partyAnimal+1][2] Next EndIf Redim $party[$party[0][0]][4] $party[0][0] -= 1 EndFunc is this a bug or am i doing something wrong?
  5. Wow thanks a lot it works!
  6. ok i've been searching for a while but can't find an anwser for this problem. i want that u can drag a file into the inputbox. it all works fine until u put a background behind it. the problem is here:
  7. thanks it works! so simple and i didn't see it
  8. ok i want this script when i press "save Password" to write the password in the data.ini but for some strange reason it doesn't write the password: [Password] key= after key= it has to set the password i entered in the input. here's my script: and it does read the password that's in the input because if you use: run ("notepad.exe") send ($passworder) it does type the password that's enterd in the input.
×
×
  • Create New...