This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
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 #151

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 #152

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 #153

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
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-01-2008 , 14:37   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #154

TR_pHit returns -1 if there is no entity ( wordspawn ).

You have probably to check hit, too.
__________________
Arkshine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-03-2008 , 03:07   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #155

PHP Code:
public fw_traceline(Float:v1[3], Float:v2[3], NoMonstersshooterptr)
{
    if( 
NoMonsters || !( <= shooter <= g_iMaxPlayers) )
        return 
FMRES_IGNORED;
    
    new 
hit get_tr2(ptr,TR_pHit);
    if( 
<= hit <= g_iMaxPlayers )
    {
        if(   !( 
g_bodyhits[shooter][hit] & (1<<get_tr2(ptr,TR_iHitgroup)) )   )
        {
            
set_tr2(ptr,TR_flFraction,1.0);
            return 
FMRES_SUPERCEDE;
        }
    }
    return 
FMRES_IGNORED;

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
AcidoX
Senior Member
Join Date: Oct 2007
Location: Vilnius
Old 11-10-2008 , 19:16   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #156

Any news about fakemeta_util updates?
__________________
Who need lockerz invite? Pm me.
AcidoX is offline
Send a message via Skype™ to AcidoX
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-11-2008 , 06:50   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #157

Quote:
Originally Posted by AcidoX View Post
Any news about fakemeta_util updates?
for what? >_>
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
AcidoX
Senior Member
Join Date: Oct 2007
Location: Vilnius
Old 11-20-2008 , 10:18   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #158

Well, more functions from fun, engine and other
__________________
Who need lockerz invite? Pm me.
AcidoX is offline
Send a message via Skype™ to AcidoX
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 11-20-2008 , 11:04   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #159

Quote:
Originally Posted by AcidoX View Post
Well, more functions from fun, engine and other
What ones do you need? At least 90% of the most used ones are covered, and the rest can be easily emulated with a few lines of code.
__________________

Community / No support through PM
danielkza is offline
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 11-21-2008 , 03:18   Re: [INC] Fakemeta Utilities [last update: 2007/01/08]
Reply With Quote #160

the cstrike natives should be converted and added too
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
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 16:20.


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