[Include] [sAwh] Anti Weapons And Ammo Hack
#17

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
...
@Dayerion:

Can you please explain how's that going to do any better than simply using the stock tag or not using any at all?
@iKarim answered you about what static keyword is and how useful is it for an include.

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
We set timers to give protection to the player in anti cheat systems for a certain amount of time so that he wouldn't get detected falsely as a cheater due to lag and high ping. Instead of giving warnings as if a player lags 3 times he'll get banned falsely, this gives a more solid detection.
That won't protect nothing and can probably make it worse. You can't set a randomly 3 sec timer to protect everyone from getting a spike lag or something like that. Ping change every second (it changes faster than every second, but I don't accurately know). If someone gets a lag which make the response between me and the server higher than 3 secs, I'll be considered as a cheater because you pretend to have a protection for avoiding false positive. What about people who are completely desynchronized? They cannot receive nor removed weapons.

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Where's that done? it's up to the scripter to not return invalid player ids otherwise he's causing problems to himself afaik.
I explained that badly, sorry. I will give you an example here about what I'm talking about.
PHP код:
stock wSetPlayerAmmo(playeridweaponammo)
{
       
weaponsInfo[playerid][Ammo][weapon] = ammo;
    if(!
weaponsInfo[playerid][wImmune]) SetTimerEx("wResetImmune"3000false"i"playerid);
    
weaponsInfo[playerid][wImmune] = true;
    return 
SetPlayerAmmo(playeridweaponammo);

That is completely senseless but it can happens by a certain way.
PHP код:
SetPlayerAmmo(INVALID_PLAYER_ID3099); 
It will obviously result in a run time error. The native function handle that player isn't connected when the hooked function doesn't.

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
He's using the array as weapon ids not weapon slots.
Which is completly false. You can't get every weapons at the same times. You can get only one weapon by slot. That was my point.


By the was Dayrion is way better than Dayerion
Reply


Messages In This Thread
[sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 25.02.2018, 12:40
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 25.02.2018, 12:46
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 25.02.2018, 12:48
Re: [sAwh] Anti Weapons And Ammo Hack - by Daynox12 - 26.02.2018, 00:58
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 26.02.2018, 02:09
Re: [sAwh] Anti Weapons And Ammo Hack - by Daynox12 - 26.02.2018, 02:35
Re: [sAwh] Anti Weapons And Ammo Hack - by Pottus - 26.02.2018, 03:56
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 26.02.2018, 07:46
Re: [sAwh] Anti Weapons And Ammo Hack - by Dayrion - 26.02.2018, 08:12
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 26.02.2018, 10:03
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 26.02.2018, 10:39
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 26.02.2018, 11:30
Re: [sAwh] Anti Weapons And Ammo Hack - by iKarim - 26.02.2018, 12:01
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 26.02.2018, 12:05
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 26.02.2018, 12:28
Re: [sAwh] Anti Weapons And Ammo Hack - by iKarim - 26.02.2018, 12:32
Re: [sAwh] Anti Weapons And Ammo Hack - by Dayrion - 26.02.2018, 15:04
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 26.02.2018, 15:12
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 26.02.2018, 15:18
Re: [sAwh] Anti Weapons And Ammo Hack - by Pottus - 28.02.2018, 01:26
Re: [sAwh] Anti Weapons And Ammo Hack - by Gammix - 28.02.2018, 01:43
Re: [sAwh] Anti Weapons And Ammo Hack - by Killa[DGZ] - 28.02.2018, 03:00
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 28.02.2018, 03:04
Re: [sAwh] Anti Weapons And Ammo Hack - by iKarim - 28.02.2018, 06:46
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 28.02.2018, 11:09
Re: [sAwh] Anti Weapons And Ammo Hack - by Gammix - 28.02.2018, 13:11
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 28.02.2018, 13:12
Re: [sAwh] Anti Weapons And Ammo Hack - by Gammix - 28.02.2018, 13:15
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 28.02.2018, 13:35
Re: [sAwh] Anti Weapons And Ammo Hack - by iKarim - 05.03.2018, 04:50
Re: [sAwh] Anti Weapons And Ammo Hack - by RogueDrifter - 05.03.2018, 04:53
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 05.03.2018, 15:01
Re: [sAwh] Anti Weapons And Ammo Hack - by dannypanda05 - 10.03.2018, 17:32
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 11.03.2018, 03:54
Re: [sAwh] Anti Weapons And Ammo Hack - by StrikerZ - 19.03.2018, 09:38

Forum Jump:


Users browsing this thread: 6 Guest(s)