SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 22/04/2019, 01:14 PM   #211
yarik189
Little Clucker
 
Join Date: May 2018
Posts: 1
Reputation: 0
Default Re: Pawn.RakNet

it works for 0.3.dl?
yarik189 is offline   Reply With Quote
Old 22/04/2019, 01:34 PM   #212
ball
Huge Clucker
 
ball's Avatar
 
Join Date: Jul 2012
Location: Poznan, Poland
Posts: 281
Reputation: 33
Default Re: Pawn.RakNet

Because of this site I think yes, why simply don't you test it?
ball is offline   Reply With Quote
Old 22/04/2019, 04:46 PM   #213
raydx
Huge Clucker
 
raydx's Avatar
 
Join Date: Feb 2017
Posts: 201
Reputation: 71
Default Re: Pawn.RakNet

Yes it works.
raydx is offline   Reply With Quote
Old 14/05/2019, 04:58 AM   #214
Smith.
Big Clucker
 
Join Date: Apr 2012
Posts: 145
Reputation: 7
Default Re: Pawn.RakNet

Is it possible to check the client samp version by Pawn.RakNet when connecting?

GetPlayerVersion can be circumvented
Smith. is offline   Reply With Quote
Old 12/06/2019, 05:21 PM   #215
MyU
Little Clucker
 
Join Date: Apr 2013
Posts: 32
Reputation: 18
Default Re: Pawn.RakNet

Quote:
Originally Posted by Smith. View Post
Is it possible to check the client samp version by Pawn.RakNet when connecting?

GetPlayerVersion can be circumvented
No. The client could spoof anything.
Only way to do it partly is to check for version specific features which some mods didn't implement but from minor versions there are none.
__________________
Project(s): SA-MP Textures :: All GTA:SA Textures Online!
Github
MyU is offline   Reply With Quote
Old 13/06/2019, 06:36 AM   #216
raydx
Huge Clucker
 
raydx's Avatar
 
Join Date: Feb 2017
Posts: 201
Reputation: 71
Default Re: Pawn.RakNet

Quote:
Originally Posted by Smith. View Post
Is it possible to check the client samp version by Pawn.RakNet when connecting?

GetPlayerVersion can be circumvented
Yes it is. There is iVersion parameter at RPC_ClientJoin (25).
raydx is offline   Reply With Quote
Old 13/06/2019, 08:11 PM   #217
Spmn
Gangsta
 
Join Date: Jun 2015
Location: Romania
Posts: 514
Reputation: 131
Default Re: Pawn.RakNet

Quote:
Originally Posted by raydx View Post
Yes it is. There is iVersion parameter at RPC_ClientJoin (25).
iVerison is netgame version, which must be the same for every revision, otherwise new clients couldn't connect to servers. For instance, 0.3z-R1, 0.3z-R2 and so on share the same iVersion.
Spmn is offline   Reply With Quote
Old 15/06/2019, 11:18 AM   #218
DmitriyShift
Little Clucker
 
Join Date: Jun 2019
Posts: 3
Reputation: 0
Default Re: Pawn.RakNet

Is a problem on the plug-in, RPC BS_WriteValue of the vehicle does not work.


can anyone know how to fix it and maybe there are changes in the next version of the plugin?


PHP Code:
SetVehicleVelocityRPC(playeridvehicleidFloat:vxFloat:vyFloat:vz)
{
new 
BitStream:bs BS_New();
BS_WriteValue(
    
bs,
    
PR_UINT8vehicleid,
    
PR_FLOATvx,
    
PR_FLOATvy,
    
PR_FLOATvz
);
BS_RPC(bsplayerid91PR_HIGH_PRIORITYPR_RELIABLE);
BS_Delete(bs);
return 
true;

DmitriyShift is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Packets - Pawn.RakNet Jelly23 Tutorials 5 13/10/2018 08:56 PM
[Tutorial] Pacotes - Pawn.RakNet Jelly23 Lançamentos/Releases 33 23/06/2018 09:49 PM
[Tutorial] Handlers - Pawn.RakNet Jelly23 Tutorials 6 29/01/2018 11:46 PM
[Tutorial] Handlers - Pawn.RakNet Jelly23 Lançamentos/Releases 14 02/01/2018 11:04 PM
[Tutorial] RPC - Pawn.RakNet Jelly23 Tutorials 21 13/12/2017 09:51 PM


All times are GMT. The time now is 08:31 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.