|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
I like turtles
![]() Join Date: Jan 2006
Location: Slovenia
Posts: 531
Reputation: 340
|
pawn Code:
- Written by me based on Kalcor's instructions on how to handle this issue. - Put it into onplayerupdate call, change the calls to pos_ReportPlayerToAdmins and AddEchoMessageEx to whatever your player report & irc report routines are. - When the vehicle is NOT streamed in and this happens, the player is in desynced state (you may consider forcing them to reconnect or kick them to solve that side issue) or your script used PutPlayerInVehicle call. - It shouldnt be hard for you to figure out the acstruct enum but if you need help let me know - Also don't forget to init lastantijackstate to 0 on every spawning, connecting etc.. This is VERY reliable but has its flaws (for start it doesn't handle PutPlayerInVehicle properly). but it'll be enough for you to detect when people are trying to remotely controll vehicles (it will register as one player quickly switching around large amout of cars) - example reports of this happening: Quote:
Feel free to post comments, optimizations, improvements. Last edited by JernejL; 06/06/2011 at 10:05 PM. |
|
|
|
|
|
|
#2 |
|
Banned
![]() Join Date: Aug 2010
Location: In your bed[if you are a girl]
Posts: 1,880
Reputation: 37
|
Nice xD but it would be better if you would use [ pawn ][ /pawn ] because the details like the comments would be more clear.
|
|
|
|
|
|
#3 |
|
Banned
![]() Join Date: Apr 2011
Posts: 502
Reputation: 39
|
Good work, JernejL! This'll come in handy no doubt.
|
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: Argentina
Posts: 2,087
Reputation: 29
|
Good bob JernejL, it may be useful for some people
|
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2010
Posts: 2,037
Reputation: 493
|
I've seen this in a 3rd party mod before, but good work!
|
|
|
|
|
|
#6 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2011
Posts: 444
Reputation: 47
|
I can't understand, what is remote-jacking?
|
|
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,818
Reputation: 707
|
Wrong board, this is the tutorials board. This script is not a tutorial but just a script.
And it's better readable if it's placed between [ pawn ][ /pawn ] tags. However it's nice, I might use it if I get annoying cheaters/hackers
|
|
|
|
|
|
#8 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2010
Location: Belgium
Posts: 2,409
Reputation: 707
|
Looks good but ... i don't know what remote-jacking is xD
|
|
|
|
|
|
#9 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,788
Reputation: 147
|
Good work, this might be useful for me soon.
And yeah, as SkizzoTrick said, use [ pawn ][ /pawn ]. |
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: The Netherlands
Posts: 2,818
Reputation: 707
|
@Michael: As far as I know, remote-jacking is that cheat where you can enter a car from anywhere. If someone is in it, he'll be removed out from it. Am I right? If not, I don't know what it is neither.
This forum requires that you wait 120 seconds between posts. Please try again in 32 seconds. 32 seconds later. Second try |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| remote access | zone | Server Support | 3 | 01/02/2013 08:35 AM |
| Remote car system | New_Player[USW] | Help Archive | 3 | 06/11/2010 08:01 AM |
| [FilterScript] [FS] Remote Admin | pulposlaw | Filterscripts | 15 | 05/06/2009 04:04 PM |
| Remote Console | Danut | Server Support | 3 | 09/03/2009 11:23 AM |