AutoHotKey SAMP Trainer that injects ASM Code

Danil_Valov

Member
Joined
Jun 3, 2015
Messages
11
Reaction score
0
See names through walls
See hp through walls
See names to streaming range
See hp to streaming range

This don't working for me :(
I press "F11" and i see:
[00:58:57] {00FF00}Injected custom ASM code of 'name': {FFA500}You can see names through walls
[00:58:57] {00FF00}Injected custom ASM code of 'hp': {FFA500}You can see hp through walls
[00:58:57] {00FF00}Injected custom ASM code of 'namer': {FFA500}You can see names to streaming range
[00:58:57] {00FF00}Injected custom ASM code of 'hpr': {FFA500}You can see hp to streaming range
but screen does not change anything... :(

P.S. I have clean gta:sa (without mods) + samp 0.3.7.
 

Nasif

Member
Joined
Mar 16, 2013
Messages
13
Reaction score
0
Can you please make just a "Toggle FPSLimiter" autohotkey?
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
It's not that hard:

Code:
gtaHandle := OpenHandleByName("GTA:SA:MP")
fpslimiter := Memory_ReadByte(gtaHandle, 0xBA6794)
Memory_WriteByte(gtaHandle, 0xBA6794, !fpslimiter)
CloseHandle(gtaHandle)
 

Suicide Bomb

Active member
Joined
Jun 22, 2014
Messages
100
Reaction score
1
Code:
ASMCodeObject[1] := Object("name", "name", "address", sampDLL + 0x70F1A , "newInstruction", "9090909090", "origInstruction", "E8B1AD0300", "description", "You can see names through walls") ;0.3.7 tested
ASMCodeObject[2] := Object("name", "hp", "address", sampDLL + 0x6FE0A , "newInstruction", "9090909090", "origInstruction", "E8C1BE0300", "description", "You can see hp through walls") ;0.3.7 tested
ASMCodeObject[3] := Object("name", "namer", "address", sampDLL + 0x70E24 , "newInstruction", "909090909090", "origInstruction", "0F8A71010000", "description", "You can see names to streaming range") ;0.3.7 tested
ASMCodeObject[4] := Object("name", "hpr", "address", sampDLL + 0x6FD14 , "newInstruction", "909090909090", "origInstruction", "0F8A50010000", "description", "You can see hp to streaming range") ;0.3.7 tested
these addresses are not working for me, can you fix them?
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
Does it crash? Does the others work? Does it nothing?

Just tested them again, they work. It might be a problem with your code?!
 

Suicide Bomb

Active member
Joined
Jun 22, 2014
Messages
100
Reaction score
1
They do nothing. May I add you on Skype or something? You sure you've tested it on 0.3.7?
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
*push* If someone has problems with this, feel free to contact me. I think many people don't know yet how poweful this actually can be.
 

Bugman

Active member
Joined
Aug 14, 2014
Messages
68
Reaction score
0
Any way to read/call the function like getmovespeed/setmovespeed?
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
Bugman link said:
Any way to read/call the function like getmovespeed/setmovespeed?

I always used this to accelerate / stop my car:
Press ALT + UP to speed up
Press ALT + DOWN to stop your car immediately

Code:
!Up::
	gtaHandle := OpenHandleByName(windowNameOfSAMP)
	speedPointer := Memory_Read(gtaHandle, 0xBA18FC)
	speedX := Memory_ReadFloat(gtaHandle, speedPointer + 0x44)
	speedY := Memory_ReadFloat(gtaHandle, speedPointer + 0x48)
	speedZ := Memory_ReadFloat(gtaHandle, speedPointer + 0x4C)
	speedX := speedX * 1.1
	speedY := speedY * 1.1
	speedZ := speedZ * 1.1
	Memory_WriteFloat(gtaHandle, speedPointer + 0x44, speedX)
	Memory_WriteFloat(gtaHandle, speedPointer + 0x48, speedY)
	Memory_WriteFloat(gtaHandle, speedPointer + 0x4C, speedZ)
return
!Down::
	gtaHandle := OpenHandleByName(windowNameOfSAMP)
	speedPointer := Memory_Read(gtaHandle, 0xBA18FC)
	Memory_WriteFloat(gtaHandle, speedPointer + 0x44, 0)
	Memory_WriteFloat(gtaHandle, speedPointer + 0x48, 0)
	Memory_WriteFloat(gtaHandle, speedPointer + 0x4C, 0)
	AddChatMessage("Stopped Spped")
return
 

Bugman

Active member
Joined
Aug 14, 2014
Messages
68
Reaction score
0
Its Not this
I mean gta func adress for Player setmovespeed s0beit
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
Do you mean the walking styles? like CJ walk?
 

Bugman

Active member
Joined
Aug 14, 2014
Messages
68
Reaction score
0
Ich meine den walkspeed wie schnell man läuft
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
I don't know that S0beit-function, just the cj walk byte to run faster: SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x0 = byteCJWalk
You may send me a link that shows the function.
 

Bugman

Active member
Joined
Aug 14, 2014
Messages
68
Reaction score
0
Hast nen TS
https://github.com/BlastHackNet/mod_s0beit_sa/blob/master/src/GTAfuncs.cpp
https://github.com/TheHoda/m0d_sa/blob/master/GTAfuncs.h
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
write 1 or 0 to SAMP_INFO_PTR + SAMP_SETTINGS_PTR + 0x0
 

Patchwerk2

New member
Joined
Aug 31, 2014
Messages
1
Reaction score
0
Is here 0.3.7 R2 update? Because disable anim doesn't work, wallhack and norecoil too.

EDIT: no recoil works... only wallhack and disable anim doesn't work

BTW What do draw enable draw object

Cheers
 
Top