|
You last visited: Today at 19:58
Advertisement
Help MY Script is it wrong ?
Discussion on Help MY Script is it wrong ? within the AutoIt forum part of the Coders Den category.
05/18/2012, 13:42
|
#1
|
elite*gold: 0
Join Date: Mar 2012
Posts: 83
Received Thanks: 213
|
Help MY Script is it wrong ?
hey guys i am making script and all fine
and i compiled it but I cant use the icons
they dont do their func
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=
$Hack = GUICreate("Electric Frozen By ZubZero", 534, 342, 616, 359)
GUISetBkColor(0x646464)
GUISetOnEvent($GUI_EVENT_CLOSE, "HackClose")
GUISetOnEvent($GUI_EVENT_MINIMIZE, "HackMinimize")
GUISetOnEvent($GUI_EVENT_MAXIMIZE, "HackMaximize")
GUISetOnEvent($GUI_EVENT_RESTORE, "HackRestore")
$Pic1 = GUICtrlCreatePic("C:\Users\kakado\Desktop\logo Zubzero.jpg", 280, 0, 252, 300)
GUICtrlSetOnEvent(-1, "Pic1Click")
$Checkbox1 = GUICtrlCreateCheckbox("Gode Mode", 16, 16, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox1Click")
$Checkbox2 = GUICtrlCreateCheckbox("Inf SP", 16, 64, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox2Click")
$Checkbox3 = GUICtrlCreateCheckbox("1 Hit KIll", 16, 112, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox3Click")
$Checkbox4 = GUICtrlCreateCheckbox("Fast Fire", 16, 160, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox4Click")
$Checkbox5 = GUICtrlCreateCheckbox("Multi Hit", 16, 208, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox5Click")
$Checkbox6 = GUICtrlCreateCheckbox("No Rules", 184, 16, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox6Click")
$Checkbox7 = GUICtrlCreateCheckbox("Dodge Range", 184, 64, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox7Click")
$Checkbox8 = GUICtrlCreateCheckbox("Drug Efffect", 184, 112, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox8Click")
$Checkbox9 = GUICtrlCreateCheckbox("Female To Male", 184, 160, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox9Click")
$Checkbox10 = GUICtrlCreateCheckbox("Hit 3 Times", 184, 208, 97, 17)
GUICtrlSetOnEvent(-1, "Checkbox10Click")
$Button1 = GUICtrlCreateButton("Start", 0, 304, 91, 33)
GUICtrlSetOnEvent(-1, "Button1Click")
$Button2 = GUICtrlCreateButton("Exit", 104, 304, 91, 33)
GUICtrlSetOnEvent(-1, "Button2Click")
$Button3 = GUICtrlCreateButton("Credits", 208, 304, 91, 33)
GUICtrlSetOnEvent(-1, "Button3Click")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nmsg = GUIGetMsg()
Switch $nmsg
Case - 3
Exit
Case $button1
_start()
Case $button2
Exit
Case $button3
MsgBox(0,"Credits", "By ZUbZero And Special Thanks for Zero0o")
EndSwitch
WEnd
Func _start()
ToolTip("Waiting S4 League !", 0, 0)
$pid = ProcessWait("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite(0x004E0703, $open, "1301094506", "Long")
EndIf
If GUICtrlRead($checkbox2) = 1 Then
_memorywrite(0x004E0703, $open, "9999999", "dword")
EndIf
If GUICtrlRead($checkbox3) = 1 Then
_memorywrite(8020651, $open, "1300957546", "Long")
EndIf
If GUICtrlRead($checkbox4) = 1 Then
_memorywrite(5478105, $open, "990399115", "long")
EndIf
If GUICtrlRead($checkbox5) = 1 Then
_memorywrite(386339968, $open, "99999999", "Float")
EndIf
If GUICtrlRead($checkbox6) = 1 Then
_memorywrite(17117191, $open, "0", "char[8]")
_memorywrite(17119200, $open, "0", "char[8]")
_memorywrite(17126906, $open, "0", "char[8]")
_memorywrite(17784575, $open, "0", "char[8]")
_memorywrite(17784667, $open, "0", "char[8]")
_memorywrite(17784845, $open, "0", "char[8]")
_memorywrite(17785061, $open, "0", "char[8]")
EndIf
If GUICtrlRead($checkbox7) = 1 Then
_memorywrite(5948513, $open, "3024981254", "long")
EndIf
If GUICtrlRead($checkbox8) = 1 Then
_memorywrite(17108044, $open, "1500", "Float")
EndIf
If GUICtrlRead($checkbox9) = 1 Then
_memorywrite(17132474, $open, "male_bip.scn", "char[14]")
EndIf
If GUICtrlRead($checkbox10) = 1 Then
_memorywrite(5948237, $open, "3427634576", "long")
EndIf
Exit 0
EndFunc
|
|
|
05/18/2012, 13:55
|
#2
|
elite*gold: 574
Join Date: Nov 2010
Posts: 2,498
Received Thanks: 726
|
Which icons?
|
|
|
05/18/2012, 14:14
|
#3
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Code:
x.au3(10,44) : ERROR: HackClose(): undefined function.
GUISetOnEvent($GUI_EVENT_CLOSE, "HackClose")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(11,50) : ERROR: HackMinimize(): undefined function.
GUISetOnEvent($GUI_EVENT_MINIMIZE, "HackMinimize")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(12,50) : ERROR: HackMaximize(): undefined function.
GUISetOnEvent($GUI_EVENT_MAXIMIZE, "HackMaximize")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(13,48) : ERROR: HackRestore(): undefined function.
GUISetOnEvent($GUI_EVENT_RESTORE, "HackRestore")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(15,34) : ERROR: Pic1Click(): undefined function.
GUICtrlSetOnEvent(-1, "Pic1Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(17,39) : ERROR: Checkbox1Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox1Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(19,39) : ERROR: Checkbox2Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox2Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(21,39) : ERROR: Checkbox3Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox3Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(23,39) : ERROR: Checkbox4Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox4Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(25,39) : ERROR: Checkbox5Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox5Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(27,39) : ERROR: Checkbox6Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox6Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(29,39) : ERROR: Checkbox7Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox7Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(31,39) : ERROR: Checkbox8Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox8Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(33,39) : ERROR: Checkbox9Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox9Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(35,40) : ERROR: Checkbox10Click(): undefined function.
GUICtrlSetOnEvent(-1, "Checkbox10Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(37,37) : ERROR: Button1Click(): undefined function.
GUICtrlSetOnEvent(-1, "Button1Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(39,37) : ERROR: Button2Click(): undefined function.
GUICtrlSetOnEvent(-1, "Button2Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3(41,37) : ERROR: Button3Click(): undefined function.
GUICtrlSetOnEvent(-1, "Button3Click")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
x.au3 - 18 error(s), 0 warning(s)
!>14:13:10 AU3Check ended.rc:2
>Exit code: 0 Time: 1.042
SciTe shows you all errors
MfG / Regards
EDIT  you use GuiOnEventMode but you use a while loop to get the Gui-Msg.
Fail.
You don't need that.
|
|
|
05/19/2012, 00:36
|
#4
|
elite*gold: 0
Join Date: Jun 2009
Posts: 121
Received Thanks: 13
|
I can't find #include <NomadMemory.au3> oder #include <Pointer.au3> in your script. You need it for the memory functions.
|
|
|
 |
Similar Threads
|
script logic wrong
10/18/2011 - AutoIt - 5 Replies
Hi guys! I hope you can help me correct this script I have done. The problem is that I have memory address for enemy and when it is 0 bot should press TAB to switch to a new enemy. But it does so before HP is 0
Code might look a bit strange but I have tried many different possibilities but same result
HotKeySet ("{ESC}", "_exit")
HotKeySet ("{F12}", "_pause")
#include "NoMadMemory.AU3"
$ID=_MemoryOpen(0x00001484)
$Address= 0x02EE20DC ;Player HP
|
Whats wrong with this script?
12/19/2009 - CO2 Private Server - 3 Replies
public class Halo
{
private Character C;
public ulong Donation;
public int ListHalo;
private Ranks HaloID;
public Halo(Character c)
{
C = c;
}
|
What is wrong with this script please?
12/12/2009 - CO2 Private Server - 10 Replies
#region Alex
case 3600:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("So you feel like getting 2nd reborn? Well then you came to the right place. In order to get 2nd reborn you need to be level 120 and have a Exemption Token"));
GC.AddSend(Packets.NPCLink("I want 2nd reborn",...
|
What the heck is wrong with this script, everything looks right :S
02/08/2009 - Silkroad Online - 2 Replies
He runs to the first set of coordinates i give him.. right near storage.... He stops.. He stores storage....and then he just sits there and does nothing..
"cmd","",""
"cmd","",""
"cmd","",""
"cmd","",""
"cmd","",""
"-5143","2816","0"
"cmd","",""
"store open","0104000000","Storage-Ke eper Saesa"
|
What is wrong in this script?
10/18/2008 - Silkroad Online - 5 Replies
"//","..............^^............. ................^^..............","//&qu ot;
"//",".......................... AgDev ..........................","//"
"//","........ The agbot-Scripts Constructor ........","//"
"//","........... Coded by: Hussert & KillaH ..........","//"
"//",".......................Versi on 3.2 ....................","//"
"//","............................ ....................................."," //"
"//","Town: Hotan","//"
"//","Monster: (Roc) ----- Wing Tribe Attacker 4 by...
|
All times are GMT +1. The time now is 19:59.
|
|