[HELP] créer un cheat S4league.

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Status
Not open for further replies.

theololxd1

Nouveau membre
Apr 4, 2012
2
0
301
44
Bonsoir , j'ai besoin d'aide , je suis actuellement entrain de créer un cheat pour "s4League" mais j'ai un probleme avec Autoit ..

et précisément ici:
$WRITEY = _MEMORYWRITE($1hit,$CutSpeed,$FastFire,$GodMode,$InfAmmo,$InfSp,$InstantRespawn, $CHANGE, $READY, "float")
Until _MEMORYREAD ($1hit,$CutSpeed,$FastFire,$GodMode,$InfAmmo,$InfSp,$InstantRespawn,$CHANGE, "float") = $READY
_MEMORYCLOSE ($OPEN)

Ils me disent :"ERROR:_MemoryWrite() called with wrong number of args.
-ERROR: _MemoryRead() called with wrong number of args.
-WARNING : $OPEN possibly used befor declaration.
-ERROR: $OPEN : undeclared global variable.

Ps: Je ne sais pas dans quel post me rendre pour poster ça , donc désolé et merci pour votre aide :)
 

ragnarock

Membre actif
Mar 22, 2010
194
0
917
Salut,

C'est peut-être dans la section "Aide Programmation" qu'il fallait poster, tu trouves pas ?

Sinon pour ton problème, tout est dans l'erreur...
Déjà la variable $OPEN n'est pas déclarée...

Et ensuite je sais pas pourquoi t'essaye de passer 12mille arguments à la fonction _MemoryWrite.... C'est pareil pour _MemoryRead

Voilà sa déclaration : Func _MemoryWrite($iv_Address, $ah_Handle, $v_Data, $sv_Type = 'dword')

Je te copie la description de la fonction, ça te sera surement utile :
Code:
;==================================================================================
; Function:			_MemoryWrite($iv_Address, $ah_Handle, $v_Data[, $sv_Type])
; Description:		Writes data to the specified memory address.
; Parameter(s):		$iv_Address - The memory address which you want to write to.
;								  It must be in hex format (0x00000000).
;					$ah_Handle - An array containing the Dll handle and the handle
;								 of the open process as returned by _MemoryOpen().
;					$v_Data - The data to be written.
;					$sv_Type - (optional) The "Type" of value you intend to write.
;								This is set to 'dword'(32bit(4byte) signed integer)
;								by default.  See the help file for DllStructCreate
;								for all types.  An example: If you want to write a
;								word that is 15 characters in length, you would use
;								'char[16]' since a 'char' is 8 bits (1 byte) in size.
; Return Value(s):	On Success - Returns 1
;					On Failure - Returns 0
;					@Error - 0 = No error.
;							 1 = Invalid $ah_Handle.
;							 2 = $sv_Type was not a string.
;							 3 = $sv_Type is an unknown data type.
;							 4 = Failed to allocate the memory needed for the DllStructure.
;							 5 = Error allocating memory for $sv_Type.
;							 6 = $v_Data is not in the proper format to be used with the
;								 "Type" selected for $sv_Type, or it is out of range.
;							 7 = Failed to write to the specified process.
; Author(s):		Nomad
; Note(s):			Values sent must be in Decimal format, unless specified as a
;					'char' type, then they must be in ASCII format.  Also note
;					that size ('char[size]') for all 'char' types should be 1
;					greater than the actual size.
;==================================================================================
 
Last edited:
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
D Espace d'aide 0
Similar threads
actionaz help