Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: locday123 on March 26, 2011, 12:35:43 PM

Title: Anti-Speed hack
Post by: locday123 on March 26, 2011, 12:35:43 PM
people can write me a code for anti-speed hack and randomly select a character as Zombie.
Thanks everyone
Title: Re: Anti-Speed hack
Post by: [AoD]NC on March 26, 2011, 03:11:17 PM
It is not worth to make a server-side anti-speed-hack IMO.

Note that there is no zombie actor in VC.
Title: Re: Anti-Speed hack
Post by: yazeen on March 26, 2011, 03:33:50 PM
Quote from: [AoD]NC on March 26, 2011, 03:11:17 PM
It is not worth to make a server-side anti-speed-hack IMO.

Note that there is no zombie actor in VC.

yes there is a zombie actor its not realy zombie but fells like one they are

Begger injured man and women
Phil with one hand

Thats all
Title: Re: Anti-Speed hack
Post by: Robd on March 27, 2011, 07:25:18 AM
I think they're right about the lack of need... if you really want it then look at the format of some speedometers and just make it where if speed goes past a certain amount to kick/ban/whatever u want
Title: Re: Anti-Speed hack
Post by: BIG[H] on March 27, 2011, 09:45:20 AM
Script How to Fail a Hacker O_o

Quote
Public SetSpeed()
{
SetGameSpeed(100);
}

and put this on gamemodeinit
Quote
Public OnGameModeInit
{
SetTimer("SetSpeed",200,1);
}
Title: Re: Anti-Speed hack
Post by: tato on March 27, 2011, 09:54:07 AM
Quote from: BIG[H] on March 27, 2011, 09:45:20 AM
Script How to Fail a Hacker O_o

Quote
Public SetSpeed()
{
SetGameSpeed(100);
}

and put this on gamemodeinit
Quote
Public OnGameModeInit
{
SetTimer("SetSpeed",200,1);
}
XD that's true!!!
Title: Re: Anti-Speed hack
Post by: yazeen on March 27, 2011, 02:17:29 PM
i wish i could help but im Not Good at timerx function :(
Title: Re: Anti-Speed hack
Post by: tato on March 27, 2011, 06:14:01 PM
it's kind of hard
Title: Re: Anti-Speed hack
Post by: [AoD]NC on March 28, 2011, 01:02:57 AM
Looping SetSpeed omg :D.

SetSpeed is a protected by VCMP value, so a SetSpeed timer doesn't help again hackers much.

By "Anti-speed hack" I have thought about high speeds with cars...
Title: Re: Anti-Speed hack
Post by: Robd on March 28, 2011, 04:03:53 AM
like i said just copy it straight from a speedometer, if speed exceeds  certain amount then recognise a hacker
Title: Re: Anti-Speed hack
Post by: tato on March 28, 2011, 04:39:19 AM
:D
Title: Re: Anti-Speed hack
Post by: [AoD]NC on March 28, 2011, 03:43:30 PM
Quote from: Robd on March 28, 2011, 04:03:53 AM
like i said just copy it straight from a speedometer, if speed exceeds  certain amount then recognise a hacker

But it will ban also players with high ping, because they packets are sent not so often as by not lagging players (that's why car sync is mostly "warpy").
Title: Re: Anti-Speed hack
Post by: tato on March 29, 2011, 03:08:59 AM
Quote from: [AoD]NC on March 28, 2011, 03:43:30 PM
Quote from: Robd on March 28, 2011, 04:03:53 AM
like i said just copy it straight from a speedometer, if speed exceeds  certain amount then recognise a hacker

But it will ban also players with high ping, because they packets are sent not so often as by not lagging players (that's why car sync is mostly "warpy").
XD i don't know about that so .....
Title: Re: Anti-Speed hack
Post by: Robd on March 29, 2011, 03:37:59 AM
Quote from: [AoD]NC on March 28, 2011, 03:43:30 PM
Quote from: Robd on March 28, 2011, 04:03:53 AM
like i said just copy it straight from a speedometer, if speed exceeds  certain amount then recognise a hacker

But it will ban also players with high ping, because they packets are sent not so often as by not lagging players (that's why car sync is mostly "warpy").
Thats true if you set it to slightly above normal, but if you set it at a riduculous speed (like half accross the map in seconds) then there's no way they lag that bad, if they do then getting kicked from your server is the least of their worries.
Title: Re: Anti-Speed hack
Post by: BIG[H] on March 29, 2011, 04:46:37 AM
just mine it will fail anyone!

Quote from: tato on March 27, 2011, 09:54:07 AM
Quote from: BIG[H] on March 27, 2011, 09:45:20 AM
Script How to Fail a Hacker O_o

Quote
Public SetSpeed()
{
SetGameSpeed(100);
}

and put this on gamemodeinit
Quote
Public OnGameModeInit
{
SetTimer("SetSpeed",200,1);
}
XD that's true!!!
Title: Re: Anti-Speed hack
Post by: yazeen on March 29, 2011, 06:05:06 AM
Anyone Have Anti-Crasher Tool or smthin caz Someone Crashes my Server When i play on it he sends High Attacks  >:(
Title: Re: Anti-Speed hack
Post by: [AoD]NC on March 29, 2011, 04:52:39 PM
Quote from: BIG[H] on March 29, 2011, 04:46:37 AM
just mine it will fail anyone!

Quote from: tato on March 27, 2011, 09:54:07 AM
Quote from: BIG[H] on March 27, 2011, 09:45:20 AM
Script How to Fail a Hacker O_o

Quote
Public SetSpeed()
{
SetGameSpeed(100);
}

and put this on gamemodeinit
Quote
Public OnGameModeInit
{
SetTimer("SetSpeed",200,1);
}
XD that's true!!!

Quote from: [AoD]NC on March 28, 2011, 01:02:57 AM
Looping SetSpeed omg :D.

SetSpeed is a protected by VCMP value, so a SetSpeed timer doesn't help again hackers much.

(...)
Title: Re: Anti-Speed hack
Post by: BIG[H] on March 29, 2011, 09:12:14 PM
Man Try it looping time can change like for 5 10 seconds loop but try it .it works xD!
Title: Re: Anti-Speed hack
Post by: Robd on March 29, 2011, 10:27:44 PM
The only thing you can really do for anti crash is try to kick players with names that will crash scripts.
Title: Re: Anti-Speed hack
Post by: tato on March 30, 2011, 04:38:59 AM
Quote from: BIG[H] on March 29, 2011, 04:46:37 AM
just mine it will fail anyone!

Quote from: tato on March 27, 2011, 09:54:07 AM
Quote from: BIG[H] on March 27, 2011, 09:45:20 AM
Script How to Fail a Hacker O_o

Quote
Public SetSpeed()
{
SetGameSpeed(100);
}
:D

and put this on gamemodeinit
Quote
Public OnGameModeInit
{
SetTimer("SetSpeed",200,1);
}
XD that's true!!!
Title: Re: Anti-Speed hack
Post by: Robd on March 31, 2011, 12:16:34 AM
The SetGameSpeed doesn't affect hackers because it only sets the default speed for the game. Hacks just make the player able to warp to positions quickly. Therefore the setspeed doesnt affect them.
Title: Re: Anti-Speed hack
Post by: tato on March 31, 2011, 03:42:10 AM
Quote from: Robd on March 31, 2011, 12:16:34 AM
The SetGameSpeed doesn't affect hackers because it only sets the default speed for the game. Hacks just make the player able to warp to positions quickly. Therefore the setspeed doesnt affect them.
but there is a way to make that???
Title: Re: Anti-Speed hack
Post by: Madara on March 31, 2011, 09:47:43 AM
Quote from: tato on March 31, 2011, 03:42:10 AM
Quote from: Robd on March 31, 2011, 12:16:34 AM
The SetGameSpeed doesn't affect hackers because it only sets the default speed for the game. Hacks just make the player able to warp to positions quickly. Therefore the setspeed doesnt affect them.
but there is a way to make that???

Make a check speed to every player, but use value speed 0 when spawn.
Title: Re: Anti-Speed hack
Post by: tato on April 01, 2011, 01:11:32 AM
Quote from: Madara on March 31, 2011, 09:47:43 AM
Quote from: tato on March 31, 2011, 03:42:10 AM
Quote from: Robd on March 31, 2011, 12:16:34 AM
The SetGameSpeed doesn't affect hackers because it only sets the default speed for the game. Hacks just make the player able to warp to positions quickly. Therefore the setspeed doesnt affect them.
but there is a way to make that???

Make a check speed to every player, but use value speed 0 when spawn.
i will try that
Title: Re: Anti-Speed hack
Post by: Robd on April 04, 2011, 05:15:12 PM
Just be sure that whenever you use SetPlayerPos, that it will read the player as having very high speed, therefor you may need to add something to set it where, during teles and spawn the player will be excluded from the check.