[SNIPPET] SendOnFootPosSync

call @SendOnFootPosSync 3 1@ 2@ 3@

Code:
:SendOnFootDataSync
3@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR) 
3@ = SAMP.GetPlayerStruct(3@) 
3@ += 109 
0AC8: 4@ = allocate_memory_size 68
0C10: memcpy destination 4@ source 3@ size 68 
0C0D: struct 4@ offset 6 size 4 = 0@ 
0C0D: struct 4@ offset 10 size 4 = 1@ 
0C0D: struct 4@ offset 14 size 4 = 2@ 
0B3D: raknet 5@ = new_bit_stream 
RakNet.Write(5@, 207, 0, 1) 
RakNet.Write(5@, 4@, 5, 68)
0B8B: raknet send bit_stream 5@
0B3E: raknet delete_bit_stream 5@
0AC9: free_allocated_memory 4@ 
0AB2: ret 0

Will send your desired Onfoot pos sync  :trollface:
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
9
Re: SendOnFootPosSync

Thx man, I owe u one, I needed this shieet :urtheman:
 

Crayder

Active member
Joined
Mar 6, 2014
Messages
148
Reaction score
0
Re: SendOnFootPosSync

I asked for this before and you fuckers said it was impossible...  :table_flip:

Will it stay synced there? Like if I had it on repeat in a loop, would the server be able to see me move at all? If not I'm using this to fake lag the shit outta everyone.

EDIT: Tested, it's not 100% static. The actual position is still retrieved by the server, but the fake position is too. So, I'm guessing it'll look like really rapid teleportation to the server and players.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Re: SendOnFootPosSync

Crayder link said:
I asked for this before and you fuckers said it was impossible...  :table_flip:

I never said that and I never saw you asking that either, so the joke's on you fucker  :trollface:  :lol:
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Re: SendOnFootPosSync

Crayder link said:
I asked for this before and you fuckers said it was impossible...  :table_flip:

Will it stay synced there? Like if I had it on repeat in a loop, would the server be able to see me move at all? If not I'm using this to fake lag the shit outta everyone.

EDIT: Tested, it's not 100% static. The actual position is still retrieved by the server, but the fake position is too. So, I'm guessing it'll look like really rapid teleportation to the server and players.

Cause you're sending double packets, normal packets and fake packets, so to others and server you'll look like you're teleporting very fast between these two locations.

To use this snippet correctly:
disable vehicle data(nop offset or return false in hook)
send packets
re-enable vehicle data
 

Crayder

Active member
Joined
Mar 6, 2014
Messages
148
Reaction score
0
Re: SendOnFootPosSync

springfield link said:
To use this snippet correctly:
disable vehicle data(nop offset or return false in hook)
send packets
re-enable vehicle data
This, is where I'm stuck. How can I hook or nop the onfoot/vehicle data in 0.3.7?
 

faggylie

Active member
Joined
Nov 29, 2014
Messages
38
Reaction score
0
Re: SendOnFootPosSync

Can you make this into a full (.cs) script? I am a noob but i'd love to use this!
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Re: SendOnFootPosSync

faggylie link said:
Can you make this into a full (.cs) script? I am a noob but i'd love to use this!

It's a snippet, not a cheat to be converted into a CLEO mod  :face_palm:
 
Top