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

[Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 08-27-2018 , 10:19   [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #1

Solved, close topic pls

Last edited by Barlap; 09-06-2018 at 05:31. Reason: Solved
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 08-27-2018 , 11:14   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #2

PHP Code:
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >
#include < engine >
#include < cstrike >
#include < fun >

#pragma semicolon 1

#define PLUGIN_VERSION            "1.0.1"

#define TASER_COST            2500 
#define TASER_CSGO_DISTANCE_DEFAULT    230
#define is_player(%1)            ( 1 <= %1 <= gMaxPlayers ) 

/* --| Weapon replacement */
new const szZeusWeaponName[ ] = "weapon_fiveseven";

new const 
gBeamSprite[ ] = "sprites/bolt1.spr";
new const 
szZeusViewModel[ ] = "models/csg_z/v_zeus.mdl";
new const 
szZeusPlayerModel[ ] = "models/csg_z/p_zeus.mdl";
new const 
szNewZeusW[] = "models/csg_z/w_zeus.mdl";
new const 
szOldZeusW[] = "models/w_fiveseven.mdl";

new const 
gZeusDrawSound[ ] = "csg_z/zeus_draw.wav";
new const 
gZeusHitSound[ ] = "csg_z/zeus_hit.wav";
new const 
gZeusShootSound[ ] = "csg_z/zeus_shoot.wav";

new 
gBoltSprite;    // Efect zeus
new gMaxPlayers;    // Jucatori conectati
new pBuyZone;        // Pointer buyzone zeus

const m_LinuxDiff 5;
const 
XO_CbasePlayerWeapon 4;

const 
m_pPlayer 41;
const 
m_flNextSecondaryAttack 47
const 
m_flNextAttack  83;
const 
m_rgpPlayerItems 269;
const 
m_fKnown 44;
const 
m_iClip 51;
const 
m_iClientClip 52;
const 
m_iFivesevenAmmo 386;

new const 
m_rgpPlayerItems_CWeaponBox] = { 3435, ... }; 

public 
plugin_init( )
{
    
register_plugin"CS:GO Zeus/taser"PLUGIN_VERSION"tuty" );

    
register_forwardFM_CmdStart"forward_FM_CmdStart" );
    
register_forward(FM_SetModel"fwd_SetModel");

    
register_clcmd"say /zeus""command_BuyZeus" );
    
register_clcmd"say_team /zeus""command_BuyZeus" );

    
register_clcmd"fiveseven""block_BuyingFiveSeven" );
    
register_clcmd"fn57""block_BuyingFiveSeven" );
    
register_clcmd"buyammo2""block_BuyingAmmoFiveSeven" );

    
pBuyZone register_cvar("zeus_buyzone""1"FCVAR_EXTDLL|FCVAR_SPONLY|FCVAR_PRINTABLEONLY);

    
RegisterHamHam_Item_AttachToPlayerszZeusWeaponName"bacon_AttachToPlayer" );
    
RegisterHamHam_Item_DeployszZeusWeaponName"bacon_ZeusDeploy");
    
RegisterHamHam_Weapon_SecondaryAttackszZeusWeaponName"bacon_SecondaryAttack_Pre"false );

    
register_touch"weaponbox""player""touch_OnPlayerTouchWeaponBox" ); 
    
    
gMaxPlayers get_maxplayers( );
}

public 
plugin_precache( )
{
    
gBoltSprite precache_modelgBeamSprite );

    
precache_modelszZeusViewModel );
    
precache_modelszZeusPlayerModel );
    
precache_modelszNewZeusW );
    
    
precache_soundgZeusDrawSound );
    
precache_soundgZeusHitSound );
    
precache_soundgZeusShootSound );
}

public 
bacon_ZeusDeployiWeaponEntity )
{
        new 
id get_pdata_cbaseiWeaponEntitym_pPlayerm_LinuxDiff );
    
    
set_pevidpev_viewmodel2szZeusViewModel );
    
set_pevidpev_weaponmodel2szZeusPlayerModel );
    
    
set_pdata_intidm_iFivesevenAmmo0m_LinuxDiff ); 
    
set_pdata_floatiWeaponEntitym_flNextSecondaryAttack999999.9XO_CbasePlayerWeapon );
    
set_pdata_floatidm_flNextAttack9999.0 );

    
UTIL_PlayWeaponAnimationid);
    
emit_soundiWeaponEntityCHAN_WEAPONgZeusDrawSoundVOL_NORMATTN_NORM0PITCH_NORM );
}

public 
forward_FM_CmdStartiduc_handleseed )
{
    new 
iTempTrash];
    new 
iWeapon get_user_weaponidiTempTrash], iTempTrash] );
    
    if ( 
iWeapon != CSW_FIVESEVEN )
    {
        return 
FMRES_IGNORED;
    }
            
    new 
iButtons get_ucuc_handleUC_Buttons );
    new 
iOldButtons pevidpev_oldbuttons );

    if( 
iButtons IN_ATTACK && !( iOldButtons IN_ATTACK ) )
    {
        new 
iTargetiDistance TASER_CSGO_DISTANCE_DEFAULTiBody;
        
get_user_aimingidiTargetiBodyiDistance );
            
        if( 
pev_validiTarget 
        && 
get_user_teamid ) != get_user_teamiTarget 
        && 
id != iTarget )
        {        
            new 
iOrigin], iTargetOrigin];
            
get_user_originidiOrigin);
            
get_user_originiTargetiTargetOrigin);

            
UTIL_PlayWeaponAnimationid);
        
emit_soundidCHAN_WEAPONgZeusHitSoundVOL_NORMATTN_NORM0PITCH_NORM );

            
UTIL_CreateThunderiOriginiTargetOrigin );
            
ExecuteHamHam_TakeDamageiTarget0id4000.0DMG_SHOCK );
            
engclient_cmdid"drop"szZeusWeaponName );

            return 
FMRES_IGNORED;
        }        
        
UTIL_PlayWeaponAnimationid);
        
emit_soundidCHAN_WEAPONgZeusShootSoundVOL_NORMATTN_NORM0PITCH_NORM );        
        
engclient_cmdid"drop"szZeusWeaponName );
        
        
iButtons &= ~IN_ATTACK;
        
set_ucuc_handleUC_ButtonsiButtons );
    }
    
    return 
FMRES_IGNORED;
}

public 
fwd_SetModel(entmodel[])
{    
    if(
equal(modelszOldZeusW))
    {
        
engfunc(EngFunc_SetModelentszNewZeusW);
        return 
FMRES_SUPERCEDE;
    }
    return 
FMRES_IGNORED;
}

public 
bacon_SecondaryAttack_PreiWeaponEntity )
{
    return 
HAM_SUPERCEDE;
}

public 
block_BuyingFiveSevenid )
{
    if( 
is_user_aliveid ) )
    {
        return 
PLUGIN_HANDLED_MAIN;
    }
    
    return 
PLUGIN_CONTINUE;
}

public 
block_BuyingAmmoFiveSevenid )
{
    new 
iTempTrash];
    new 
iWeapon get_user_weaponidiTempTrash], iTempTrash] );
    
    if( 
iWeapon == CSW_FIVESEVEN )
    {
        return 
PLUGIN_HANDLED_MAIN;
    }
    
    return 
PLUGIN_CONTINUE;
}

public 
command_BuyZeusid )
{
    if( !
is_user_aliveid ) )
    {
        return 
PLUGIN_HANDLED;
    }
    
    if( 
user_has_weaponidCSW_FIVESEVEN ) )
    {
        
client_printidprint_center"Ai deja un Zeus X27!" );
        
        return 
PLUGIN_HANDLED;
    }

    if (!
cs_get_user_buyzone(id) && get_pcvar_num(pBuyZone)) 
    {
        
client_printidprint_center"Nu esti in buyzone.");
        return 
PLUGIN_HANDLED;
    }

    new 
iMoney cs_get_user_moneyid );
    
    if( 
iMoney TASER_COST )
    {
        
client_printidprint_center"Pentru a cumpara Zeus X27 ai nevoie de $%d."TASER_COST );
        
        return 
PLUGIN_HANDLED;
    }
    
    
client_printidprint_chat"[CS:GO] Ai cumparat Zeus X27 $%d ca arma secundara."TASER_COST );
    
    
cs_set_user_moneyidiMoney TASER_COST);
    
give_itemidszZeusWeaponName );
    
    return 
PLUGIN_CONTINUE;
}

public 
touch_OnPlayerTouchWeaponBoxiEntid )
{
    new 
iId UTIL_GetWeaponBoxWeaponTypeiEnt );
    
    if( 
is_user_aliveid 
    &&
is_playerid 
    && 
pev_validiEnt ) )
    {
        if( 
iId == CSW_FIVESEVEN )
        {
            return 
PLUGIN_HANDLED;
        }
    }

    return 
PLUGIN_CONTINUE;
}

public 
bacon_AttachToPlayeriEntid )
{
    if( 
get_pdata_intiEntm_fKnownXO_CbasePlayerWeapon ) )
    {
        return;
    }
    
    
set_pdata_intiEntm_iClip1XO_CbasePlayerWeapon );
    
set_pdata_intidm_iClientClip0m_LinuxDiff );
}

stock UTIL_PlayWeaponAnimation( const Player, const Sequence )
{
    if(
is_user_connected(Player)) {
        
set_pevPlayerpev_weaponanimSequence );
        
        
message_beginMSG_ONE_UNRELIABLESVC_WEAPONANIM, .player Player );
        
write_byteSequence );
        
write_bytepevPlayerpev_body ) );
        
message_end( );
    }
}

stock UTIL_CreateThunderiStart], iEnd] )
{
    
message_beginMSG_BROADCASTSVC_TEMPENTITY ); 
    
write_byteTE_BEAMPOINTS ); 
    
write_coordiStart] ); 
    
write_coordiStart] ); 
    
write_coordiStart] ); 
    
write_coordiEnd] ); 
    
write_coordiEnd] ); 
    
write_coordiEnd] ); 
    
write_shortgBoltSprite ); 
    
write_byte);
    
write_byte);
    
write_byte);
    
write_byte20 );
    
write_byte30 );
    
write_byte135 ); 
    
write_byte206 );
    
write_byte250 );
    
write_byte255 );
    
write_byte145 );
    
message_end( );
}

/* --| Connor */
stock UTIL_GetWeaponBoxWeaponTypeiEntity 

    new 
iWeapon

    for( new 
1<= 5i++ ) 
    { 
        
iWeapon get_pdata_cbaseiEntitym_rgpPlayerItems_CWeaponBox], XO_CbasePlayerWeapon );
 
        if( 
iWeapon 
        { 
            return 
cs_get_weapon_idiWeapon ); 
        } 
    } 

    return 
0

__________________
Airkish is offline
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 08-27-2018 , 12:44   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #3

Quote:
Originally Posted by Airkish View Post
PHP Code:
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >
#include < engine >
#include < cstrike >
#include < fun >

#pragma semicolon 1

#define PLUGIN_VERSION            "1.0.1"

#define TASER_COST            2500 
#define TASER_CSGO_DISTANCE_DEFAULT    230
#define is_player(%1)            ( 1 <= %1 <= gMaxPlayers ) 

/* --| Weapon replacement */
new const szZeusWeaponName[ ] = "weapon_fiveseven";

new const 
gBeamSprite[ ] = "sprites/bolt1.spr";
new const 
szZeusViewModel[ ] = "models/csg_z/v_zeus.mdl";
new const 
szZeusPlayerModel[ ] = "models/csg_z/p_zeus.mdl";
new const 
szNewZeusW[] = "models/csg_z/w_zeus.mdl";
new const 
szOldZeusW[] = "models/w_fiveseven.mdl";

new const 
gZeusDrawSound[ ] = "csg_z/zeus_draw.wav";
new const 
gZeusHitSound[ ] = "csg_z/zeus_hit.wav";
new const 
gZeusShootSound[ ] = "csg_z/zeus_shoot.wav";

new 
gBoltSprite;    // Efect zeus
new gMaxPlayers;    // Jucatori conectati
new pBuyZone;        // Pointer buyzone zeus

const m_LinuxDiff 5;
const 
XO_CbasePlayerWeapon 4;

const 
m_pPlayer 41;
const 
m_flNextSecondaryAttack 47
const 
m_flNextAttack  83;
const 
m_rgpPlayerItems 269;
const 
m_fKnown 44;
const 
m_iClip 51;
const 
m_iClientClip 52;
const 
m_iFivesevenAmmo 386;

new const 
m_rgpPlayerItems_CWeaponBox] = { 3435, ... }; 

public 
plugin_init( )
{
    
register_plugin"CS:GO Zeus/taser"PLUGIN_VERSION"tuty" );

    
register_forwardFM_CmdStart"forward_FM_CmdStart" );
    
register_forward(FM_SetModel"fwd_SetModel");

    
register_clcmd"say /zeus""command_BuyZeus" );
    
register_clcmd"say_team /zeus""command_BuyZeus" );

    
register_clcmd"fiveseven""block_BuyingFiveSeven" );
    
register_clcmd"fn57""block_BuyingFiveSeven" );
    
register_clcmd"buyammo2""block_BuyingAmmoFiveSeven" );

    
pBuyZone register_cvar("zeus_buyzone""1"FCVAR_EXTDLL|FCVAR_SPONLY|FCVAR_PRINTABLEONLY);

    
RegisterHamHam_Item_AttachToPlayerszZeusWeaponName"bacon_AttachToPlayer" );
    
RegisterHamHam_Item_DeployszZeusWeaponName"bacon_ZeusDeploy");
    
RegisterHamHam_Weapon_SecondaryAttackszZeusWeaponName"bacon_SecondaryAttack_Pre"false );

    
register_touch"weaponbox""player""touch_OnPlayerTouchWeaponBox" ); 
    
    
gMaxPlayers get_maxplayers( );
}

public 
plugin_precache( )
{
    
gBoltSprite precache_modelgBeamSprite );

    
precache_modelszZeusViewModel );
    
precache_modelszZeusPlayerModel );
    
precache_modelszNewZeusW );
    
    
precache_soundgZeusDrawSound );
    
precache_soundgZeusHitSound );
    
precache_soundgZeusShootSound );
}

public 
bacon_ZeusDeployiWeaponEntity )
{
        new 
id get_pdata_cbaseiWeaponEntitym_pPlayerm_LinuxDiff );
    
    
set_pevidpev_viewmodel2szZeusViewModel );
    
set_pevidpev_weaponmodel2szZeusPlayerModel );
    
    
set_pdata_intidm_iFivesevenAmmo0m_LinuxDiff ); 
    
set_pdata_floatiWeaponEntitym_flNextSecondaryAttack999999.9XO_CbasePlayerWeapon );
    
set_pdata_floatidm_flNextAttack9999.0 );

    
UTIL_PlayWeaponAnimationid);
    
emit_soundiWeaponEntityCHAN_WEAPONgZeusDrawSoundVOL_NORMATTN_NORM0PITCH_NORM );
}

public 
forward_FM_CmdStartiduc_handleseed )
{
    new 
iTempTrash];
    new 
iWeapon get_user_weaponidiTempTrash], iTempTrash] );
    
    if ( 
iWeapon != CSW_FIVESEVEN )
    {
        return 
FMRES_IGNORED;
    }
            
    new 
iButtons get_ucuc_handleUC_Buttons );
    new 
iOldButtons pevidpev_oldbuttons );

    if( 
iButtons IN_ATTACK && !( iOldButtons IN_ATTACK ) )
    {
        new 
iTargetiDistance TASER_CSGO_DISTANCE_DEFAULTiBody;
        
get_user_aimingidiTargetiBodyiDistance );
            
        if( 
pev_validiTarget 
        && 
get_user_teamid ) != get_user_teamiTarget 
        && 
id != iTarget )
        {        
            new 
iOrigin], iTargetOrigin];
            
get_user_originidiOrigin);
            
get_user_originiTargetiTargetOrigin);

            
UTIL_PlayWeaponAnimationid);
        
emit_soundidCHAN_WEAPONgZeusHitSoundVOL_NORMATTN_NORM0PITCH_NORM );

            
UTIL_CreateThunderiOriginiTargetOrigin );
            
ExecuteHamHam_TakeDamageiTarget0id4000.0DMG_SHOCK );
            
engclient_cmdid"drop"szZeusWeaponName );

            return 
FMRES_IGNORED;
        }        
        
UTIL_PlayWeaponAnimationid);
        
emit_soundidCHAN_WEAPONgZeusShootSoundVOL_NORMATTN_NORM0PITCH_NORM );        
        
engclient_cmdid"drop"szZeusWeaponName );
        
        
iButtons &= ~IN_ATTACK;
        
set_ucuc_handleUC_ButtonsiButtons );
    }
    
    return 
FMRES_IGNORED;
}

public 
fwd_SetModel(entmodel[])
{    
    if(
equal(modelszOldZeusW))
    {
        
engfunc(EngFunc_SetModelentszNewZeusW);
        return 
FMRES_SUPERCEDE;
    }
    return 
FMRES_IGNORED;
}

public 
bacon_SecondaryAttack_PreiWeaponEntity )
{
    return 
HAM_SUPERCEDE;
}

public 
block_BuyingFiveSevenid )
{
    if( 
is_user_aliveid ) )
    {
        return 
PLUGIN_HANDLED_MAIN;
    }
    
    return 
PLUGIN_CONTINUE;
}

public 
block_BuyingAmmoFiveSevenid )
{
    new 
iTempTrash];
    new 
iWeapon get_user_weaponidiTempTrash], iTempTrash] );
    
    if( 
iWeapon == CSW_FIVESEVEN )
    {
        return 
PLUGIN_HANDLED_MAIN;
    }
    
    return 
PLUGIN_CONTINUE;
}

public 
command_BuyZeusid )
{
    if( !
is_user_aliveid ) )
    {
        return 
PLUGIN_HANDLED;
    }
    
    if( 
user_has_weaponidCSW_FIVESEVEN ) )
    {
        
client_printidprint_center"Ai deja un Zeus X27!" );
        
        return 
PLUGIN_HANDLED;
    }

    if (!
cs_get_user_buyzone(id) && get_pcvar_num(pBuyZone)) 
    {
        
client_printidprint_center"Nu esti in buyzone.");
        return 
PLUGIN_HANDLED;
    }

    new 
iMoney cs_get_user_moneyid );
    
    if( 
iMoney TASER_COST )
    {
        
client_printidprint_center"Pentru a cumpara Zeus X27 ai nevoie de $%d."TASER_COST );
        
        return 
PLUGIN_HANDLED;
    }
    
    
client_printidprint_chat"[CS:GO] Ai cumparat Zeus X27 $%d ca arma secundara."TASER_COST );
    
    
cs_set_user_moneyidiMoney TASER_COST);
    
give_itemidszZeusWeaponName );
    
    return 
PLUGIN_CONTINUE;
}

public 
touch_OnPlayerTouchWeaponBoxiEntid )
{
    new 
iId UTIL_GetWeaponBoxWeaponTypeiEnt );
    
    if( 
is_user_aliveid 
    &&
is_playerid 
    && 
pev_validiEnt ) )
    {
        if( 
iId == CSW_FIVESEVEN )
        {
            return 
PLUGIN_HANDLED;
        }
    }

    return 
PLUGIN_CONTINUE;
}

public 
bacon_AttachToPlayeriEntid )
{
    if( 
get_pdata_intiEntm_fKnownXO_CbasePlayerWeapon ) )
    {
        return;
    }
    
    
set_pdata_intiEntm_iClip1XO_CbasePlayerWeapon );
    
set_pdata_intidm_iClientClip0m_LinuxDiff );
}

stock UTIL_PlayWeaponAnimation( const Player, const Sequence )
{
    if(
is_user_connected(Player)) {
        
set_pevPlayerpev_weaponanimSequence );
        
        
message_beginMSG_ONE_UNRELIABLESVC_WEAPONANIM, .player Player );
        
write_byteSequence );
        
write_bytepevPlayerpev_body ) );
        
message_end( );
    }
}

stock UTIL_CreateThunderiStart], iEnd] )
{
    
message_beginMSG_BROADCASTSVC_TEMPENTITY ); 
    
write_byteTE_BEAMPOINTS ); 
    
write_coordiStart] ); 
    
write_coordiStart] ); 
    
write_coordiStart] ); 
    
write_coordiEnd] ); 
    
write_coordiEnd] ); 
    
write_coordiEnd] ); 
    
write_shortgBoltSprite ); 
    
write_byte);
    
write_byte);
    
write_byte);
    
write_byte20 );
    
write_byte30 );
    
write_byte135 ); 
    
write_byte206 );
    
write_byte250 );
    
write_byte255 );
    
write_byte145 );
    
message_end( );
}

/* --| Connor */
stock UTIL_GetWeaponBoxWeaponTypeiEntity 

    new 
iWeapon

    for( new 
1<= 5i++ ) 
    { 
        
iWeapon get_pdata_cbaseiEntitym_rgpPlayerItems_CWeaponBox], XO_CbasePlayerWeapon );
 
        if( 
iWeapon 
        { 
            return 
cs_get_weapon_idiWeapon ); 
        } 
    } 

    return 
0

now the models and sound don't work
PHP Code:
L 08/27/2018 19:51:43Start of error session.
L 08/27/2018 19:51:43Info (map "de_dust2") (file "addons/amxmodx/logs/error_20180827.log")
L 08/27/2018 19:51:43: [FAKEMETAInvalid entity
L 08
/27/2018 19:51:43: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:51:43: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:51:43: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:51:43: [FAKEMETAInvalid entity
L 08
/27/2018 19:51:43: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:51:43: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:51:43: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:51:44: [FAKEMETAInvalid entity
L 08
/27/2018 19:51:44: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:51:44: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:51:44: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:51:45: [FAKEMETAInvalid entity
L 08
/27/2018 19:51:45: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:51:45: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:51:45: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:51:48: [FAKEMETAInvalid entity
L 08
/27/2018 19:51:48: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:51:48: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:51:48: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:52:21: [AMXXRun time error 5 (plugin "HLDS-exploit.amxx") - debug not enabled!
L 08/27/2018 19:52:21: [AMXXTo enable debug modeadd "debug" after the plugin name in plugins.ini (without quotes).
L 08/27/2018 19:53:19: [FAKEMETAInvalid entity
L 08
/27/2018 19:53:19: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:53:19: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:53:19: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:53:53: [FAKEMETAInvalid entity
L 08
/27/2018 19:53:53: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:53:53: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:53:53: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:03: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:03: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:03: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:03: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:04: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:04: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:04: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:04: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:15: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:15: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:15: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:15: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:28: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:28: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:28: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:28: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:30: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:30: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:30: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:30: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:38: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:38: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:38: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:38: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:52: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:52: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:52: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:52: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:54:57: [FAKEMETAInvalid entity
L 08
/27/2018 19:54:57: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:54:57: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:54:57: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:07: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:07: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:07: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:07: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:13: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:13: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:13: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:13: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:16: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:16: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:16: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:16: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:19: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:19: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:19: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:19: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:21: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:21: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:21: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:21: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:25: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:25: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:25: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:25: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:28: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:28: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:28: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:28: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:33: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:33: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:33: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:33: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:39: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:39: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:39: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:39: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:45: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:45: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:45: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:45: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:46: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:46: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:46: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:46: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:47: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:47: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:47: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:47: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:55:52: [FAKEMETAInvalid entity
L 08
/27/2018 19:55:52: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:55:52: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:55:52: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:56:01: [FAKEMETAInvalid entity
L 08
/27/2018 19:56:01: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:56:01: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:56:01: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:56:04: [FAKEMETAInvalid entity
L 08
/27/2018 19:56:04: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:56:04: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:56:04: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:56:07: [FAKEMETAInvalid entity
L 08
/27/2018 19:56:07: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:56:07: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:56:07: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:56:12: [FAKEMETAInvalid entity
L 08
/27/2018 19:56:12: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:56:12: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:56:12: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89)
L 08/27/2018 19:56:37: [FAKEMETAInvalid entity
L 08
/27/2018 19:56:37: [AMXXDisplaying debug trace (plugin "go_zeus.amxx")
L 08/27/2018 19:56:37: [AMXXRun time error 10native error (native "set_pev")
L 08/27/2018 19:56:37: [AMXX]    [0022513cq.sma.p::bacon_ZeusDeploy (line 89

Last edited by Barlap; 08-27-2018 at 12:59.
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 08-28-2018 , 03:44   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #4

up! any body can fix it?
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 08-28-2018 , 08:11   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #5

I think it's because you did not check if it's a valid entity.
iceeedr is offline
Send a message via Skype™ to iceeedr
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 08-28-2018 , 16:01   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #6

Quote:
Originally Posted by iceeedr View Post
I think it's because you did not check if it's a valid entity.
any fix plz?
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 08-31-2018 , 15:17   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #7

up
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 08-31-2018 , 15:19   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #8

Quote:
Originally Posted by Barlap View Post
up
https://forums.alliedmods.net/misc.php?do=showrules
Code:
Do not "bump" your threads. Bumping is posting simply to make the thread higher in the forum sort order.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 09-05-2018 , 16:19   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #9

up
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-05-2018 , 17:00   Re: [Help] Zeus plugin shut down server Host_Error: WriteDest_Parm: not a client
Reply With Quote #10

Wrong linux diff.

Code:
public bacon_ZeusDeploy( iWeaponEntity ) {     new id = get_pdata_cbase( iWeaponEntity, m_pPlayer, m_LinuxDiff );         set_pev( id, pev_viewmodel2, szZeusViewModel );     set_pev( id, pev_weaponmodel2, szZeusPlayerModel );         set_pdata_int( id, m_iFivesevenAmmo, 0, m_LinuxDiff );     set_pdata_float( iWeaponEntity, m_flNextSecondaryAttack, 999999.9, XO_CbasePlayerWeapon );     set_pdata_float( id, m_flNextAttack, 9999.0 );     UTIL_PlayWeaponAnimation( id, 3 );     emit_sound( iWeaponEntity, CHAN_WEAPON, gZeusDrawSound, VOL_NORM, ATTN_NORM, 0, PITCH_NORM ); }



Code:
public bacon_ZeusDeploy( iWeaponEntity ) {     new id = get_pdata_cbase( iWeaponEntity, m_pPlayer, XO_CbasePlayerWeapon);         set_pev( id, pev_viewmodel2, szZeusViewModel );     set_pev( id, pev_weaponmodel2, szZeusPlayerModel );         set_pdata_int( id, m_iFivesevenAmmo, 0, m_LinuxDiff );     set_pdata_float( iWeaponEntity, m_flNextSecondaryAttack, 999999.9, XO_CbasePlayerWeapon );     set_pdata_float( id, m_flNextAttack, 9999.0 );     UTIL_PlayWeaponAnimation( id, 3 );     emit_sound( iWeaponEntity, CHAN_WEAPON, gZeusDrawSound, VOL_NORM, ATTN_NORM, 0, PITCH_NORM ); }

And please, stop bumping your thread.
__________________









Last edited by CrazY.; 09-05-2018 at 17:05.
CrazY. 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 08:21.


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