Raised This Month: $ Target: $400
 0% 

[INC] Fakemeta Utilities [last update: 2007/01/08]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SAMURAI16
BANNED
Join Date: Sep 2006
Old 02-15-2008 , 14:15   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #1

@Mini_Midget: Here is get_user_hitzones and set_user_hitzones ported to Fakemeta
Now are fm_get_user_hitzones and fm_set_user_hitzones
Attached Files
File Type: sma Get Plugin or Get Source (fm_user_hitzones.sma - 947 views - 2.3 KB)
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-29-2008 , 01:22   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #2

Quote:
Originally Posted by SAMURAI16 View Post
@Mini_Midget: Here is get_user_hitzones and set_user_hitzones ported to Fakemeta
Now are fm_get_user_hitzones and fm_set_user_hitzones
I get this error with your hitzone code:

Line 1062 = if( pev(hit,pev_flags) & (FL_CLIENT | FL_FAKECLIENT) && shooter

Code:
L 10/28/2008 - 23:44:38: [FAKEMETA] Invalid entity
L 10/28/2008 - 23:44:38: [AMXX] Displaying debug trace (plugin "aimbotdetect.amxx")
L 10/28/2008 - 23:44:38: [AMXX] Run time error 10: native error (native "pev")
L 10/28/2008 - 23:44:38: [AMXX]    [0] aimbotdetect.sma::fw_traceline (line 1062)
__________________
Bugsy is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-29-2008 , 01:33   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #3

Replace pev(hit,pev_flags) & (FL_CLIENT | FL_FAKECLIENT) with 1 <= id <= maxplayers
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-01-2008 , 14:24   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #4

Quote:
Originally Posted by connorr View Post
Replace pev(hit,pev_flags) & (FL_CLIENT | FL_FAKECLIENT) with 1 <= id <= maxplayers
Now I am getting index out of bounds

L 11/01/2008 - 14:23:06: [AMXX] Displaying debug trace (plugin "aimbotdetect.amxx")
L 11/01/2008 - 14:23:06: [AMXX] Run time error 4: index out of bounds
L 11/01/2008 - 14:23:06: [AMXX] [0] aimbotdetect.sma::fw_traceline (line 1093)

Line 1093:
if( !(g_bodyhits[shooter][hit] & 1<<hitGroup) )

PHP Code:
public fw_traceline(Float:v1[3], Float:v2[3], NoMonstersshooterptr)
{
    if(!
shooter) return FMRES_IGNORED;
    
    new 
hit get_tr2(ptr,TR_pHit);
    
    if(  (
<= shooter <= g_MaxPlayers) && (pev(shooter,pev_flags) & (FL_CLIENT FL_FAKECLIENT)) )
    {
        new 
hitGroup get_tr2(ptr,TR_iHitgroup);
        
         if( !(
g_bodyhits[shooter][hit] & 1<<hitGroup) )
            
set_tr2(ptr,TR_flFraction,1.0);
    }
    
    return 
FMRES_IGNORED;

__________________
Bugsy is offline
Reply



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 17:32.


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