Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 01:56

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

Advertisement



my problem please any one pro answer me

Discussion on my problem please any one pro answer me within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2013
Posts: 214
Received Thanks: 160
Exclamation closed

closed
REDAPRO is offline  
Old 02/18/2014, 23:25   #2
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Problem is here
Code:
If GUICtrlRead($checkbox1) = 1

Code:
If GUICtrlRead($checkbox1) == $GUI_CHECKED
 ;run code
endif
and variables u use there $OPEN = _MemoryOpen ($PID)
and in code u use $open with small letters

so finaly you need to edit this

[code]

; $OPEN = _MemoryOpen ($PID)
$open = _MemoryOpen ($PID)

and all if statements where is = 1
Code:
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite("0x00527924", $open, "2348565979 ", "long")
EndIf
replace with == $GUI_CHECKED
Code:
If GUICtrlRead($checkbox1) == $GUI_CHECKED Then
_memorywrite("0x00527924", $open, "2348565979 ", "long")
EndIf
mlukac89 is offline  
Old 02/19/2014, 21:57   #3
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
No change this too

; Opt("TraySetState(2)",0) comment this line on top it gives error

then change _memorywrite to _MemoryWrite

then should work, because lower case letters you wrote is wrong and in NomadMemory is like this _MemoryWrite


U can see in your script you have function _Hack() and if you call it in
Case $Button1
_hack() ; will not work
_Hack() ; will work


Open NomadMemory.au3 and look names of functions
mlukac89 is offline  
Old 02/19/2014, 22:09   #4
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by mlukac89 View Post
_memorywrite to _MemoryWrite
lowercase == upercase in autoit...

example:
Code:
$a = "i'm the content of $a"
MsgBox(0, "Content of $A", $A)
$A = "i'm the content of $A"
MsgBox(0, "Content of $a", $a)
A()

Func a()
	MsgBox(0, "Info", "content: a")
EndFunc
lolkop is offline  
Old 02/19/2014, 22:29   #5
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Ok here is all code copy and paste it it must work

Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#include <Sound.au3>

WinSetState("REDAPRO","", @SW_HIDE)
Opt("TrayIconHide",1)

$Form1 = GUICreate("S4l Hack By REDAPRO", 598, 573, 211, 114)
$Checkbox1 = GUICtrlCreateCheckbox(" Speed Hack (walk) ", 216, 432, 209, 17)
$Checkbox2 = GUICtrlCreateCheckbox("0 gravity", 216, 456, 225, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Inf Sp ", 216, 408, 193, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Instant Respawn" , 216, 360, 169, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Wall jump Teleport " , 216, 384, 177, 17)

$Button1 = GUICtrlCreateButton("Start Hack !", 216, 488, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Exit", 0, 536, 153, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Credits :By REDAPRO ", 344, 488, 209, 41)

$Label2 = GUICtrlCreateLabel("Fb:/Reda Gad", 160, 544, 204, 17)

$Pic1 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (2).jpg", 0, 0, 593, 289)
$Pic2 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (3).jpg", 0, 288, 209, 249)

$handle = _SoundOpen(@ScriptDir & "\Kalimba.mp3")
_SoundPlay($handle)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

MsgBox(4096, "Steps !", "1- Open hack .. 2- choose what you want ..3- click on hack ..4- open a working byppass ...5- opens s4 league ..6- Have Fun !", 0)

While 1
	
	$nMsg = GUIGetMsg()
	
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			_Hack() 
		Case $Button2
			Exit
	EndSwitch

WEnd


Func _Hack()
	
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
ToolTip("S4 League Found !Thanks to REDAPRO"); up at the corner
Sleep(500)

$open = _MemoryOpen ($PID)

	If GUICtrlRead($checkbox1) == $GUI_CHECKED Then
		_MemoryWrite("0x005FA4F4", $open, "2240611178 ", "long")
	EndIf

	If GUICtrlRead($checkbox2) == $GUI_CHECKED Then
		_MemoryWrite("0x008E926E", $open, "1166868842 ", "long")
	EndIf

	If GUICtrlRead($checkbox3) == $GUI_CHECKED Then
		_MemoryWrite("0x0048C822", $open, "2348565979 ", "long")
	EndIf

	If GUICtrlRead($checkbox4) == $GUI_CHECKED Then
		_MemoryWrite("0x005F6FE3", $open, "989874827 ", "long")
	EndIf

	If GUICtrlRead($checkbox5) == $GUI_CHECKED Then
		_MemoryWrite("0x0048CD39", $open, "3641722331 ", "long")
	EndIf

EndFunc
Quote:
Originally Posted by lolkop View Post
lowercase == upercase in autoit...

example:
Code:
$a = "i'm the content of $a"
MsgBox(0, "Content of $A", $A)
$A = "i'm the content of $A"
MsgBox(0, "Content of $a", $a)
A()

Func a()
	MsgBox(0, "Info", "content: a")
EndFunc
but still is better to do it right way because if he want to learn some other language he will have problem with that
mlukac89 is offline  
Old 02/19/2014, 22:43   #6
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Did you try it ?
mlukac89 is offline  
Old 02/19/2014, 22:57   #7
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Lol, just compile it and run and try in game i dont have game to test but i posted you code above. I see you have 4 topic started about this, did you even try to run it or what ?
mlukac89 is offline  
Old 02/19/2014, 23:55   #8
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Are u sure you have right adresses, if they are valid then this piece of code if wrong

Code:
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0)
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe") ; DONT DELETE THIS LINE
ToolTip("S4 League Found !Thanks to REDAPRO"); up at the corner
Sleep(500)
it wait untill process is started then write memory before is game loaded.

So delete that, first run game, then run script, choose options and press start then it will inject this in game
mlukac89 is offline  
Old 02/20/2014, 00:11   #9
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Here is script last time from me, look my code and make your same or copy paste

Run game first, run script as admin, choose options, press Start hack !

Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#include <Sound.au3>

WinSetState("REDAPRO","", @SW_HIDE)
Opt("TrayIconHide",1)

$Form1 = GUICreate("S4l Hack By REDAPRO", 598, 573, 211, 114)
$Checkbox1 = GUICtrlCreateCheckbox(" Speed Hack (walk) ", 216, 432, 209, 17)
$Checkbox2 = GUICtrlCreateCheckbox("0 gravity", 216, 456, 225, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Inf Sp ", 216, 408, 193, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Instant Respawn" , 216, 360, 169, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Wall jump Teleport " , 216, 384, 177, 17)

$Button1 = GUICtrlCreateButton("Start Hack !", 216, 488, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Exit", 0, 536, 153, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Credits :By REDAPRO ", 344, 488, 209, 41)

$Label2 = GUICtrlCreateLabel("Fb:/Reda Gad", 160, 544, 204, 17)

$Pic1 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (2).jpg", 0, 0, 593, 289)
$Pic2 = GUICtrlCreatePic("E:\s4 league\Autoit\My s4 League Hack\S4 league hack By REDAPRO\Dont Delete (3).jpg", 0, 288, 209, 249)

$handle = _SoundOpen(@ScriptDir & "\Kalimba.mp3")
_SoundPlay($handle)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

MsgBox(4096, "Steps !", "1- Open hack .. 2- choose what you want ..3- click on hack ..4- open a working byppass ...5- opens s4 league ..6- Have Fun !", 0)

While 1

	$nMsg = GUIGetMsg()

	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			If ProcessExists("S4Client.exe") Then
				_Hack()
			Else
				MsgBox(0, "Error", "Game is not running !")
			EndIf
		Case $Button2
			Exit
	EndSwitch

WEnd


Func _Hack()

;~ GUISetState(@SW_HIDE);
;~ ToolTip("Start S4 League!",0,0)
;~ $WAIT = ProcessWait("S4Client.exe")
;~ ToolTip("S4 League Found !Thanks to REDAPRO"); up at the corner
;~ Sleep(500)

$PID = ProcessExists("S4Client.exe")

$open = _MemoryOpen ($PID)

	If GUICtrlRead($checkbox1) == $GUI_CHECKED Then
		_MemoryWrite("0x005FA4F4", $open, "2240611178 ", "long")
	EndIf

	If GUICtrlRead($checkbox2) == $GUI_CHECKED Then
		_MemoryWrite("0x008E926E", $open, "1166868842 ", "long")
	EndIf

	If GUICtrlRead($checkbox3) == $GUI_CHECKED Then
		_MemoryWrite("0x0048C822", $open, "2348565979 ", "long")
	EndIf

	If GUICtrlRead($checkbox4) == $GUI_CHECKED Then
		_MemoryWrite("0x005F6FE3", $open, "989874827 ", "long")
	EndIf

	If GUICtrlRead($checkbox5) == $GUI_CHECKED Then
		_MemoryWrite("0x0048CD39", $open, "3641722331 ", "long")
	EndIf

EndFunc
mlukac89 is offline  
Old 02/20/2014, 00:25   #10
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Exclamation

First learn english, the learn to explain problem and use code tags and dont start 5 topics with same problem

I told you copy my code and it will work -> problem solved



Im out of this topic
mlukac89 is offline  
Old 02/20/2014, 00:38   #11
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
in order to find the problem, u'll have to use some errorhandling code. cut of the **** for testing purposes and start with a single lined script...

Code:
WriteProcessMemory(OpenProcess(ProcessExists("S4Client.exe")), 0x528679, 1593591259, "long")

Func OpenProcess($pid)
	Local $x = DllCall('kernel32.dll', 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid)
	Local $e = GetLastError()
	If $e<>0 Then MsgBox(16, "Error", "OpenProcess("&$pid&")"&@CRLF&"Error: "&$e)
	Return $x[0]
EndFunc
Func WriteProcessMemory($process_hwnd, $adress, $data, $type = 'dword')
	Local $struct= DllStructCreate($type)
	DllStructSetData($struct, 1, $data)
	DllCall('kernel32.dll', 'int', 'WriteProcessMemory', 'int', $process_hwnd, 'int', $adress, 'int', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', 0)
	Local $e = GetLastError()
	If $e<>0 Then MsgBox(16, "Error", "WriteProcessMemory("&$process_hwnd&', 0x'&Hex($adress)&', '&$data&', '&$type&")"&@CRLF&"Error: "&$e)
EndFunc
Func GetLastError()
	Local $x = DllCall('kernel32.dll', 'int', 'GetLastError')
	Return $x[0]
EndFunc
if there ain't no errors poping up, you've used the wrong adress to patch...
lolkop is offline  
Reply


Similar Threads Similar Threads
A Problem need fast answer please !
07/21/2013 - SRO Private Server - 0 Replies
When i open SMC and try to start the service of SR_ShardManager a message down says (Operate Success : 705:SR_ShardManager) and sometimes i press on start service but nothing happens But when the message appears the shard manager which is up with the three figures lights red .. and my server is Check and cannot login please need any answer
my problem ( ismoke ) please answer
12/05/2011 - Rappelz Private Server - 6 Replies
hi everybody i have problem in some of my private server items 1 . My Altered pieces dont give me any effect why ? 2 . Summon Scrolls dont summon any tame pets how i can solve this two problems ?
[Security Answer] Problem
06/22/2011 - CrossFire - 3 Replies
Hey Leute, als ich damals meinen Account erstellt habe, hab ich bei E-Mail irgendeine Yahoo Email eingegeben, die es garnicht gibt. So nach dem Motto "Wenn ich meine SA mal vergesse, erstell ich mir einfach die E-Mail" So meim Problem: in der E-Mail, die ich angegeben habe kommt ein "-" vor, dass gibt es aber garnicht bei Yahoo-Emails. Also kann ich mir keine mit "-" erstellen. Sagen die mir trotzdem meine SA, auch wenn ich denen ne Fake Email (die ich bei der Registrierung angegeben...
Hey. Big problem need answer ! :D please.
03/27/2010 - Silkroad Online Trading - 8 Replies
For isro chars.. what is more safe? Hotmail verified / gmail verified / yahoo verified i knopw that the safest way it s NON verified chars... but in case of verified.. what would be the safest one ? i wait for your answers. Regards :mofo::mofo:
Hi, i got lil' problem with vac; pls answer
10/13/2009 - Dekaron - 0 Replies
Hi guys: can someone post a script of vac which doesnt imply a boss mass spawn? if i activate my vac i reach crespo boss then game goo seriously slow for mass spawning of laiden.. or maybe post a simple non aggro working..thx anyway



All times are GMT +1. The time now is 01:56.


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.