CLEO [Tutorial] Find SA:MP pointers

OP
OP
Parazitas

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
2,225
Likes
419
Points
113
Location
Lithuania
Website
ugbase.eu
20
#22
I want to find the location of the checkpoint marker using Cheat Engine and use that with something like c++.
If u mean checkpoint , not marker probably this.:
PHP:
:get_cp_pos
0AA2: [email protected] = loadlib "samp.dll"
0A8E: [email protected] = [email protected] + 0x21A10C
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
[email protected] += 0xC
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
[email protected] += 0x4
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
[email protected] += 0x4
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0AA3: freelib [email protected]
0AB2: ret 3 [email protected] [email protected] [email protected]
 

batonkal

Well-Known Member
Joined
May 6, 2017
Messages
94
Likes
13
Points
38
Location
Bosnia and Herzegovina
#23
If u mean checkpoint , not marker probably this.:
PHP:
:get_cp_pos
0AA2: [email protected] = loadlib "samp.dll"
0A8E: [email protected] = [email protected] + 0x21A10C
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
[email protected] += 0xC
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
[email protected] += 0x4
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
[email protected] += 0x4
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0AA3: freelib [email protected]
0AB2: ret 3 [email protected] [email protected] [email protected]
Yeah that red marker where you need to go into to do stuff, but can I use this code with something like autohotkey?
 

JegaTurn

Active Member
Joined
Nov 7, 2017
Messages
27
Likes
0
Points
16
#25
Snippet return health and armour
PHP:
:Health_And_Armour
{
0AB1: @Health_And_Armour 0 [email protected] [email protected]
}
0A8D: [email protected] = read_memory 0xB6F5F0 size 4 virtual_protect 0
[email protected] += 540
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
0A8D: [email protected] = read_memory 0xB6F5F0 size 4 virtual_protect 0
[email protected] += 548
0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0
0AB2: ret 2 [email protected] [email protected]
That was not quite what I wanted to say.
I wanted this table for 0.3.7 r3:

http://ugbase.eu/index.php?threads/convert-samp-patches.14935/#post-88039
 
Joined
Dec 30, 2018
Messages
5
Likes
0
Points
1
1
#35
can you make Teleport to Checkpoint, Marker, and red dot checkpoint and race checkpoint, im so appreciate if you release it for us
 
Top