Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Problem with script

Discussion on Problem with script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Problem with script

Hey i have next problem with this script, all work fine only when i want to turn it off i cant i must do that in on tray icon. Anyone know where problem is ?

mlukac89 is offline  
Old 01/20/2014, 19:21   #2

 
elite*gold: 73
Join Date: Dec 2013
Posts: 1,352
Received Thanks: 98
I can help you. Add me in Skype.
Razor' is offline  
Old 01/20/2014, 20:02   #3
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
hotkeyset on a function that exits or but GuiGetMSg in the loop
YatoDev is offline  
Old 01/20/2014, 20:30   #4
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
i solved problem it was in here

Code:
Func _spam()
	$run = Not $run
	While $run ; this line was While True and i replaced with While $run
		If $run Then
			$text = GUICtrlRead($textInput)
			$time = 1000
			$time = $time - ($time / 50 * GUICtrlRead($Slider1))
			ControlSend($handle, "", "", $text)
			Sleep($time)
		EndIf
	WEnd
EndFunc
mlukac89 is offline  
Old 01/20/2014, 21:06   #5
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
Quote:
Originally Posted by mlukac89 View Post
i solved problem it was in here

Code:
Func _spam()
	$run = Not $run
	While $run ; this line was While True and i replaced with While $run
		If $run Then
			$text = GUICtrlRead($textInput)
			$time = 1000
			$time = $time - ($time / 50 * GUICtrlRead($Slider1))
			ControlSend($handle, "", "", $text)
			Sleep($time)
		EndIf
	WEnd
EndFunc
$run = Not $run ? isnt that stupid ? $run is not $run
I think you mean False
While $run means While True
YatoDev is offline  
Old 01/20/2014, 22:05   #6
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Now i get it
mlukac89 is offline  
Reply


Similar Threads Similar Threads
MTA Script Problem!
04/07/2013 - Grand Theft Auto - 2 Replies
Hey Leute ich versuche eine "automessage" zu scripten aber er zeigt mir die ganze Zeit den Error an: WARNING: Loading script failed: automessage/auto_message.lua:1: unexpected symbol near '?' Und hier mein Script: function news1 () outputChatBox ( "---Info---", getRootElement(), 200, 200, 0 ) outputChatBox ( "You want a own base? Then contact an Admin!, Chat: O", getRootElement(), 200, 200, 0 ) outputChatBox ( "Teamspeak³: GamingZone.nitrado.net:15650", getRootElement(), 200, 200,...
Hen Script Problem... -.-
11/04/2010 - Metin2 Private Server - 12 Replies
Joa hallo Leute, mich plagt seid dem ich das Script eine doofe Fehlermeldung die das Script zum absturz bringt <.< Man kann sich nicht mehr registieren, man kann sich einloggen aber nicht mehr in den Itemshop oder in andere Kategorien, es wird dann angezeigt man solle sich erst einloggen. Hier mal die Fehlermeldung: Warning: session_start() : Cannot send session cookie - headers already sent by (output started at C:\xampplite\htdocs\index.php:7) in C:\xampplite\htdocs\index.php on...
Problem VB 10 Patcher Script Problem
09/20/2010 - .NET Languages - 8 Replies
Hayho liebe Com. ich habe mal wieder einen ganz netten Patcher gescriptet, für einen metin2 P Server, da es nicht mein erster is, hab ich echt kp was da vorliegt, Hier der Script an sich: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEv entArgs) Handles...
Problem mit Script
08/10/2010 - AutoIt - 14 Replies
hey, ich brauche dringend hilfe!! hab mir ein script für ein spiel gebastelt aber ich schaffe es nicht, das er einmal auf eine stelle drückt. also wenn er einmal auf die stelle (524,394, 1, 0) clickt das er dann 1 sekunde nichtmehr dahinklicken kann. würde das gehen? wär nett wenn mir jemand helfen könnte :) mfg Key4To
[HOW-TO]Hp-Script+Admin-script (weekly-updatet) problem!
06/21/2010 - Metin2 Private Server - 11 Replies
hallo leute ich hab ein problem und zwar bei dem hp script von masterboss kommt der fehler : http://img541.imageshack.us/img541/8140/24955249. png und wenn ich dann die datei öffne und in die zeile gehe kommt: while($row = mysql_fetch_array($ergebnis)) kann mir jmd helfen?



All times are GMT +2. The time now is 11:40.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.