CLEO Help teleport with truck and trailer

CLEO related
Status
Not open for further replies.

davidel

Well-known member
Joined
Jan 17, 2020
Messages
207
Reaction score
7
Location
Germania
Code:
{$CLEO}

thread "fak"

:ct
wait 0
if
    0AB0: 89
then   
if     
    call @is_cp_active 0
then
    call @get_cp_pos 0 1@ 2@ 3@
    if
    00DF: actor $PLAYER_ACTOR driving
    then       
        call @SendInCarDataSync 3 1@ 2@ 3@
    end   
end
end
jump @ct
    

:is_cp_active
0AA2: 0@ = loadlib "samp.dll"
0A8E: 1@ = 0@ + 0x21A10C
0A8D: 1@ = readMem 1@ sz 4 vp 0
1@ += 0x24
0A8D: 1@ = readMem 1@ sz 4 vp 0
IF 1@ == TRUE
THEN 0485:  return_true
ELSE 059A:  return_false
END
0AA3: freelib 0@
0AB2: ret 0

:get_cp_pos
0AA2: 0@ = loadlib "samp.dll"
0A8E: 1@ = 0@ + 0x21A10C
0A8D: 1@ = readMem 1@ sz 4 vp 0
1@ += 0xC
0A8D: 2@ = readMem 1@ sz 4 vp 0
1@ += 0x4
0A8D: 3@ = readMem 1@ sz 4 vp 0
1@ += 0x4
0A8D: 4@ = readMem 1@ sz 4 vp 0
0AA3: freelib 0@
0AB2: ret 3 2@ 3@ 4@

:SendInCarDataSync                 
3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
3@ = SAMP.GetPlayerStruct(3@)
3@ += 170
0AC8: 4@ = allocate_memory_size 63
0C10: memcpy destination 4@ source 3@ size 63
0C0D: struct 4@ offset 24 size 4 = 0@
0C0D: struct 4@ offset 28 size 4 = 1@
0C0D: struct 4@ offset 32 size 4 = 2@
0B3D: raknet 5@ = new_bit_stream
RakNet.Write(5@, 200, BS_TYPE_BYTE, 1)
RakNet.Write(5@, 4@, BS_TYPE_ARRAY, 63)
0B8B: raknet send bit_stream 5@                 
0B3E: raknet delete_bit_stream 5@
0AC9: 4@
0AB2: ret 0

why is kicking me?
when i get in the truck i press Y and it teleports me to the checkpoint where i choose the route, but after the trailer is attached i press Y again and it teleports me to the checkpoint where i have to deliver, i get the money and after that i get kicked. why?
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,719
Solutions
1
Reaction score
111
@Zin then you can make please a cleo that when i teleport with my truck, get the trailer also when i reach the checkpoint?

@Parazitas @monday @Opcode.eXe @_Safa
What do you mean though, you said you got the money so why do you need to teleport with a trailer? This is old stuff which is why it's detected but if you did want to teleport the trailer or "sync" it you just warp into it or sync with packets TP it and then TP the truck as it's like 2 different vehicles.
This has actually been done yet it's from 0.3z not to say that it won't work but it would only work on servers without outdated anticheat.
http://ugbase.eu/index.php?threads/teleport-with-trailer.17016/#post-100208
 

davidel

Well-known member
Joined
Jan 17, 2020
Messages
207
Reaction score
7
Location
Germania
What do you mean though, you said you got the money so why do you need to teleport with a trailer? This is old stuff which is why it's detected but if you did want to teleport the trailer or "sync" it you just warp into it or sync with packets TP it and then TP the truck as it's like 2 different vehicles.
This has actually been done yet it's from 0.3z not to say that it won't work but it would only work on servers without outdated anticheat.
http://ugbase.eu/index.php?threads/teleport-with-trailer.17016/#post-100208
yes, i got the money but after that i got kicked
can you give me a tutorial how to change the version of a cleo?
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,719
Solutions
1
Reaction score
111
yes, i got the money but after that i got kicked
can you give me a tutorial how to change the version of a cleo?
No because...
A) It's not as simple as a tutorial.
B) You need to re-read what I put as I just said it's from "0.3z" to show that it is very old (like all teleport hacks tbh) which has nothing to do with it in the end.
 
Status
Not open for further replies.
Top