Raised This Month: $32 Target: $400
 8% 

[L4D2] [REQ] Infected Respawn Timer (possible anticheat?)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
canadianjeff
BANNED
Join Date: Sep 2016
Old 07-27-2021 , 13:31   [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#1

the idea is simple after an infected zombie is killed start a timer until said player spawns again and print to chat how long the player was in ghost form....

possible events to hook to get this plugin made

PHP Code:
    HookEvent("infected_death"event_InfectedDeath);
    
HookEvent("player_death"event_PlayerDeath);
    
HookEvent("player_spawn"event_PlayerSpawn); 
Concept.....

PHP Code:
Action event_InfectedDeath(Handle event, const String name[], bool dontBroadcast)    {
    
//START A TIMER HERE
}

Action event_PlayerSpawn(Handle event, const String name[], bool dontBroadcast)    {
        
//CHECK IF PLAYER IS ON INFECTED TEAM
        //STOP TIMER AND RESET IT BACK TO 0
        //PRINTTOCHAT HOW LONG WAS DEAD FOR

this is kind of related but not really..... this tracks when someone skips death timer by going into spec which is not possible on an official server

https://github.com/SirPlease/L4D2-Co...eathcamskip.sp

Last edited by asherkin; 03-07-2022 at 04:02. Reason: Restore to previous version.
canadianjeff is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-27-2021 , 14:00   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#2

This logic may fail when the Tank passes to someone.
__________________
Marttt is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 07-27-2021 , 14:17   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#3

certainly better than nothing at all

I killed the same god damn charger 3 times on a valve server I wanna find out how people are skipping the death timer

Last edited by canadianjeff; 07-27-2021 at 14:27.
canadianjeff is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 07-27-2021 , 14:48   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#4

that feeling in your gut when anticheat is hard in 2021
canadianjeff is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 07-27-2021 , 16:02   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#5

Probably just a sv_cheats bypass if it is official.
JLmelenchon is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 07-27-2021 , 17:36   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#6

I would imagine that is the case but if it is a sv_cheats bypass they would need to execute a command on the server where my other plugin would detect such a thing......
canadianjeff is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-27-2021 , 17:54   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#7

but if is a "Valve" server how would your plugin detect such a thing?
__________________
Marttt is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 07-27-2021 , 17:59   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#8

so we should all just stop playing on valve servers then
canadianjeff is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 09-07-2021 , 19:51   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#9

created a issue with LIL ANTI CHEAT on github maybe they can implement this

https://github.com/J-Tanzanite/Littl...eat/issues/103
canadianjeff is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-07-2021 , 20:03   Re: [L4D2] [REQ] Infected Respawn Timer (possible anticheat?)
#10

I don't agree with the way you reported this bug.

LAC is not focused on L4D so is kinda obvious that the plugin author would ask for clarification.

If you expect help, you should explain it briefly and clearly.

Basically what you want is a trigger on player_death event (infected team) that stores the "death time".
If the infected spawns in less than "X" seconds then you may have an auto ban, etc.

Still may check if the event fires when players turns into a tank.

Anyway the logic is above.
__________________
Marttt is offline
Closed Thread


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

Forum Jump


All times are GMT -4. The time now is 07:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode