
Ticki84
Members-
Posts
15 -
Joined
-
Last visited
Everything posted by Ticki84
-
I haven't think about this, but I test it and now it work fine, thanks to you.
-
It's not the function that no work, it just that the program thinks that i press shift (or somethings like that).
-
I think but it's not for the same thinks, it is to write an notepad automatic writer.
-
Hello everyone, So my problem is for all scripts, when i do an HotSetKey with Shift + D, and that it seem to write an phrase like "Abracadabra", it write Abraca and redo the function again. So i get AbracaAbracaAbracaAbraca... I don't know if it's a keyboard bug or somethings else but it's like if i press Shift. Is there anyways to fix this?
-
Does the same function again and again
Ticki84 replied to Ticki84's topic in AutoIt General Help and Support
It's not a bot. I'm operator on a Minecraft server and it just execute a chat command to set me (or another operator) in creative mod. It is much easier than type all characters on the chat. I send it to an administrator that say me that's ok to use it on the server if it can reassure you. -
Does the same function again and again
Ticki84 replied to Ticki84's topic in AutoIt General Help and Support
Whenever when I do the script that i have edited up, this does the same problem. I repost if you don't find: #include <Misc.au3> $delay = 100;Set delay HotKeySet("+1", "Gamemode");Set Shift + 1 Hotkey While 1 Sleep(100) WEnd Func Gamemode() Send("/");Does / to open chat with Sleep($delay);Wait the chat to open Send("gm 1");Write the command Sleep($delay);Wait for security Send("{ENTER}");Send enter to send the command EndFunc ;==>Gamemode -
Does the same function again and again
Ticki84 replied to Ticki84's topic in AutoIt General Help and Support
It's a script to help staff on a Minecraft server. #include <Misc.au3> $delai = 100 HotKeySet("+1", "Gamemode") While 1 Sleep(100) WEnd Func Gamemode() Send("/") Sleep($delai) Send("gm 1") Sleep($delai) Send("{ENTER}") EndFunc ;==>Gamemode -
Hello everyone, I've got a little problem with one of my script. I just do this: HotKeySet("+1", "Gamemode") While 1 Sleep($delai) WEnd Func Gamemode() Send("/") Sleep($delai) Send("gm 1") Sleep($delai) Send("{ENTER}") EndFunc ;==>Gamemode My script is longer than this but there's the part that gets on my nerves. So when i do Shift + 1, it just repeat again and again /gm /gm /gm /gm /gm... because of the 1 after gm, the program think i press the Shift key. How can i fix it? Thanks in advance.
-
I've done something like that and i readapt the script and now it's working fine. Really thanks for all your help guys.
-
I only need TCP, but is there anyway to not do it 1 by 1 because i have 9 servers ports to test.
-
It doesn't work, it always return -1 with default address (from the script) and with the custom adress (from servers). There's the code if you want it: #include <File.au3> #include <Misc.au3> Local $Server1 = _PingPort("servers.com", 25001) Local $Server2 = Ping("servers.com", 14050) Local $SServer1 = 0 Local $SServer2 = 0 Func _PingPort($ip, $port) ; Connect to server $nSock = TCPConnect($ip, $port) if ($nSock <= -1) Then return -1 ; Fill up 32 bytes $sBytes = "" For $i = 1 to 32 $sBytes &= " " Next $nTimer = TimerInit() ; Send the 32 bytes to the server $nSent = TCPSend($nSock, $sBytes) if (@error or $nSent <= 0) then Return -1 $nTimerDiff = TimerDiff($nTimer) TCPCloseSocket($nSock) Return $nTimerDiff EndFunc If $Server1 = -1 Then $SServer1 = "close" Else $SServer1 = "open" EndIf If $Server2 = -1 Then $SServer2 = "close" Else $SServer2 = "open" EndIf MsgBox(-1, "Servers Status", "Server 1: " & $SServer1 & @CRLF & "Server 2: " & $SServer2)
-
Hello everyone, I search how to Ping() an specific port. I use it to get a server status. This work: Ping("servers.com", 5000) But this doesn't work: Ping("servers.com:12345", 5000) If someone could help me, it's would be wonderful.
-
It only execute this: MouseClick("left", 104, 1029);Go to Mumble Sleep(100) MouseClick("left", 102, 910);Go to Mumble2 It only detect the blue color of the link if i click some times on the script icon i don't know why. ---------------- Il exécute seulement ça: MouseClick("left", 104, 1029);Go to Mumble Sleep(100) MouseClick("left", 102, 910);Go to Mumble2 Il ne détecte que la couleur bleu quand je clique plusieurs fois sur l'icone du script (dans la barre des icones en bas à droite).
-
Je suis français. En gros je lance le programme mais il m'effectue seulement les actions pour aller sur Mumble. Il ne me clique donc pas sur le lien. Il ne semble pas détecter le lien sauf que je fais plusieurs cliques gauche/droit sur l'icone du script. Trans: In short I start the script but it only goes as far as getting to Mumble. It does not click on the link. It does not seem to find the link unless I click left/right several times in the script icon.
-
Hello everyone, I try to do an script for a Music Jukebox. When someone send a youtube link on Mumble, it will click on it and the music will start, after that it send a message. If somebody send another link, it will stop the older one. But it seem no work i don't know why, can somebody help me? Local $1time = 1 Local $check While 1 $check = PixelGetColor(340, 972);Take the color If $check = 0x0000FF Then;Compare to a link color Sleep(100) If $1time = 0 Then MouseClick("left", 169, 1029);Go on firefox Sleep(100) MouseClick("left", 1640, 56);Kill applet Sleep(100) Else $1time = 0 EndIf Sleep(1000) MouseClick("left", 280, 966);Click on the link Sleep(10000) MouseClick("left", 104, 1029);Go to Mumble Sleep(100) MouseClick("left", 102, 910);Go to Mumble2 Sleep(100) MouseClick("left", 261, 992);Click to speak Sleep(100) Send("Musique reçue.");Send a msg Sleep(100) EndIf Sleep(100) WEnd Thx in advance.