Raised This Month: $ Target: $400
 0% 

Jailbreak Problem in ff of "gurad"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 06-25-2014 , 18:39   Jailbreak Problem in ff of "gurad"
Reply With Quote #1

solved

Last edited by Snitch; 02-20-2015 at 15:41.
Snitch is offline
Send a message via Skype™ to Snitch
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-25-2014 , 18:44   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #2

So what is exactly the bug here? You didn't mention any problems. Is there really one, or you want something to be added?
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 06-26-2014 , 01:31   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #3

Quote:
Originally Posted by Flick3rR View Post
So what is exactly the bug here? You didn't mention any problems. Is there really one, or you want something to be added?
I said the problem is, when u choose box: on enable
Guard can kill another ct, i want to block it, if u can check tinto where is problem or add something to block

Or the problem come from box public, another code

Last edited by Snitch; 06-26-2014 at 01:32.
Snitch is offline
Send a message via Skype™ to Snitch
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 06-26-2014 , 07:44   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #4

there's no hooking of attacks so it can't be from this plugin
for box to work, jail servers require ff to be on always and block attacks when box is off with , usually, ham_attack or takedamage.

That's what you gotta look for
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 06-26-2014 , 11:42   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #5

Quote:
Originally Posted by aron9forever View Post
there's no hooking of attacks so it can't be from this plugin
for box to work, jail servers require ff to be on always and block attacks when box is off with , usually, ham_attack or takedamage.

That's what you gotta look for
i got this in Box Code

can u explain wat problem here?
why Still guards can kill another Guards with HE and weapons?
Code:
    RegisterHam( Ham_TakeDamage, "player", "FwdTakeDamage_Pre", 0 );
PHP Code:
public FwdTakeDamage_PreiAttackeriVictimiInflictorFloat:fDamageiDmgBits )
{
    if ( !
is_user_connectediAttacker ) || !is_user_connectediVictim ) )
        return 
1;
    
    new 
CsTeams:iTeams];
    
    
iTeams] = cs_get_user_teamiAttacker );
    
    
iTeams] = cs_get_user_teamiVictim );
    
    if ( 
iTeams] == CS_TEAM_CT && iTeams] == iTeams] && g_pFriendlyFire )
        return 
4;
        
    return 
1;

Snitch is offline
Send a message via Skype™ to Snitch
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-26-2014 , 14:07   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #6

This
PHP Code:
g_pFriendlyFire 
is undefined. But I guess it's the number of the cvar for the friendlyfire. The two other checks are enough, so I suggest you to remove this condition in the check:
PHP Code:
 && g_pFriendlyFire 
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 06-26-2014 , 14:32   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #7

Quote:
Originally Posted by Flick3rR View Post
This
PHP Code:
g_pFriendlyFire 
is undefined. But I guess it's the number of the cvar for the friendlyfire. The two other checks are enough, so I suggest you to remove this condition in the check:
PHP Code:
 && g_pFriendlyFire 
should i Remove
Code:
&& g_pFriendlyFire

PHP Code:
public FwdTakeDamage_PreiAttackeriVictimiInflictorFloat:fDamageiDmgBits )
{
    if ( !
is_user_connectediAttacker ) || !is_user_connectediVictim ) )
        return 
1;
    
    new 
CsTeams:iTeams];
    
    
iTeams] = cs_get_user_teamiAttacker );
    
    
iTeams] = cs_get_user_teamiVictim );
    
    if ( 
iTeams] == CS_TEAM_CT && iTeams] == iTeams] )
        return 
4;
        
    return 
1;

now ct cant kill others Ct with HE and weapons?

Last edited by Snitch; 06-26-2014 at 14:33.
Snitch is offline
Send a message via Skype™ to Snitch
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-29-2014 , 07:34   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #8

Quote:
Originally Posted by Snitch View Post
should i Remove
Code:
&& g_pFriendlyFire

PHP Code:
public FwdTakeDamage_PreiAttackeriVictimiInflictorFloat:fDamageiDmgBits )
{
    if ( !
is_user_connectediAttacker ) || !is_user_connectediVictim ) )
        return 
1;
    
    new 
CsTeams:iTeams];
    
    
iTeams] = cs_get_user_teamiAttacker );
    
    
iTeams] = cs_get_user_teamiVictim );
    
    if ( 
iTeams] == CS_TEAM_CT && iTeams] == iTeams] )
        return 
4;
        
    return 
1;

now ct cant kill others Ct with HE and weapons?
I wonder how that arrow emoticon look like in real life...
.Dare Devil. is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 06-30-2014 , 10:57   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #9

Quote:
Originally Posted by .Dare Devil. View Post
I wonder how that arrow emoticon look like in real life...
What is related to how smiley arrow looks?
If you do not know how to fix my problem to respond.
Snitch is offline
Send a message via Skype™ to Snitch
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 06-26-2014 , 15:25   Re: Jailbreak Problem in ff of "gurad"
Reply With Quote #10

Ham_TakeDamage will block only he grenades damage. To block weapons you need to use Ham_TraceAttack.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Reply


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 21:08.


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