View Single Post
Visual77
Veteran Member
Join Date: Jan 2009
Old 10-09-2011 , 06:47   Re: SMAC with L4D2....
Reply With Quote #13

Quote:
Originally Posted by Mr. Zero View Post
It shouldn't really be bugged. The core is very basic. Get origin, compare to map size, teleport if too close to the edge.
Through if you used it on servers with more than 8 players you would probably experience lag. A lot of it.
Was bugged when I tried it. It would somehow always teleport the charger and the victim back if the charge was from a high bulding, such as the ones in the no mercy campaign.

Quote:
Originally Posted by Mr. Zero View Post
No, they still haven't fixed that.

For example, easy mode to test it:
Code:
+attack;wait 1;+attack2;wait 2;-attack;-attack2
That will do the rock punch exploit when playing as tank.
Had no idea it was a script based exploit. And now you made it official
Not sure if this works but I extracted the code from zack if it is of any use.

PHP Code:
#include <sourcemod>
#include <sdktools>

public Action:OnPlayerRunCmd(client, &buttons, &impulseFloat:vel[3], Float:angles[3], &weapon)
{
    if (!
IsClientInGame(client)) return Plugin_Continue;
    if (
IsFakeClient(client)) return Plugin_Continue;
    if (
GetClientTeam(client)!=3) return Plugin_Continue;
    if (!
IsPlayerAlive(client)) return Plugin_Continue;
    if (
GetEntProp(clientProp_Send"m_zombieClass") != 8) return Plugin_Continue;

    if (
buttons IN_ATTACK && buttons IN_ATTACK2
    {
        
//LogMessage("Blocked double attack input from tank");
        
buttons ^= IN_ATTACK2// Block attack 2
    
}
    return 
Plugin_Continue;


Last edited by Visual77; 10-09-2011 at 12:49.
Visual77 is offline