Register for your free account! | Forgot your password?

You last visited: Today at 16:22

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

Advertisement



test my code

Discussion on test my code within the Silkroad Online forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2007
Posts: 7
Received Thanks: 4
test my code

i made this too lfor my self..but there is a mistake init..that make it doesn`t send keys..made with auto it..debug it and tell me whats wrong init plz


#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
global $start = 0
#Region ### START Koda GUI section ###
$Luv_Is_Pain = GUICreate("Luv_Is_Pain", 633, 447, 201, 190)
$PressStart = GUICtrlCreateLabel("Start", 88, 312, 144, 42, BitOR($SS_CENTER,$WS_BORDER,$WS_CLIPSIBLINGS), BitOR($WS_EX_STATICEDGE,$GUI_WS_EX_PARENTDRAG))
GUICtrlSetFont(-1, 14, 800, 2, "Comic Sans MS")
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetCursor (-1, 0)
$PressStop = GUICtrlCreateLabel("Stop", 392, 312, 146, 41, BitOR($SS_CENTER,$WS_BORDER,$WS_CLIPSIBLINGS), BitOR($WS_EX_STATICEDGE,$GUI_WS_EX_PARENTDRAG))
GUICtrlSetFont(-1, 14, 800, 2, "Comic Sans MS")
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetCursor (-1, 0)
$Input1 = GUICtrlCreateInput("181000", 232, 192, 153, 21)
$Sleep = GUICtrlCreateLabel("Sleep Time", 144, 192, 74, 23)
GUICtrlSetFont(-1, 10, 800, 2, "Comic Sans MS")
$Label1 = GUICtrlCreateLabel("Clicks Delay", 144, 216, 80, 23)
GUICtrlSetFont(-1, 10, 800, 2, "Comic Sans MS")
$Input2 = GUICtrlCreateInput("1500", 232, 216, 153, 21)
$Label2 = GUICtrlCreateLabel("Key Presser Tool For A MinimiZed Client", 122, 8, 397, 31)
GUICtrlSetFont(-1, 14, 800, 2, "Comic Sans MS")
GUICtrlSetColor(-1, 0x0000FF)
$This = GUICtrlCreateEdit("", 160, 76, 321, 89)
GUICtrlSetData(-1, StringFormat("This Tool Will Press 223445111 in the F4 bar on Sro_Client\r\nSo Put ur Main Wpn in Slot No.1,Buff Wpn SlotNo.2,Skill1(Holy Spell),\r\nSkill2(Recovery Devision),Skill3(Bless Spell)\r\n\r\nAll Key Timing(Sleep+Delay) are in Secs\r\n\r\nMade By Luv......Thx To PipeLine From Stealthex.org\r\n\r\nAlways Remeber That Luv is Pain"))
$Status = GUICtrlCreateLabel("Tool Is Stopped", 216, 256, 172, 33, BitOR($SS_CENTER,$WS_BORDER,$WS_CLIPSIBLINGS))
GUICtrlSetFont(-1, 10, 800, 6, "Comic Sans MS")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

AutoItSetOption("sendkeydelay",$Input2)





While 1
if $start = 1 Then
$SleepTime = GuiCTRLread($Input1); reads what has been put into the box, and stores it under $SleepTime
If $Input1 < 5000 Then Msgbox(0,"ERROR", "U need Higher Value dude"); just so it wont be spamming if people set it too low
msgbox(1, "tool", "The tool is now running")
Sleep($Input1)
While 1
$var = WinList("[CLASS:CLIENT]")
For $i = 1 to $var[0][0]
Next
$handle = WinGetHandle($var[1][1])
Sleep(181000)
ControlSend($handle, "", "", "{F4}")
ControlSend($handle, "", "", "224111")
WEnd

EndIf


$msg = Guigetmsg(); is to read which control will be pressed.
Select; selects a case
case $msg = $PressStart ; when button 1 is pressed then
GUICtrlSetData($Status, "Tool is Started"); when the button is clicked ( start button) it sets label 1 to what i said.
$start= 1; sets start to 1, so when the if reads start = 1 i will perform that action until start it changed


Case $msg = $PressStop; if the 2nd button is pressed then
GuiCTRLsetdata($Status, "Tool is Stopped"); when the button is clicked ( stop button) the label will show what I said.
$start = 0; if you press


Case $msg = $GUI_EVENT_CLOSE
EXIT
EndSelect
WEnd
egypt_luv is offline  
Reply


Similar Threads Similar Threads
[Test] coemu pserver test
10/26/2009 - CO2 Private Server - 5 Replies
#request close
Test...Test.. I'm New Member , I've Introduce my self
03/04/2009 - Say Hello - 0 Replies
Hmm,,,, Oh yeah, i am a Aissati , i live in South-East Asian.. So, You are can saw me .... hahhahaha..
iConquer Is In Test Stage! Come Fast And Test!
07/31/2008 - Conquer Online 2 - 69 Replies
OK FINE EVERYONE WANTS THAT THE SERVER WILL FAIL OK THEN FINE IT WILL FAIL! WE DONT WANT TO LET IT FAIL BUT EVERYONE WANTS IT SO I HOPE U GUYS ARE HAPPY NOW!



All times are GMT +1. The time now is 16:23.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.