Raised This Month: $ Target: $400
 0% 

[v2.5.2, March 19] Trouble in Terrorist Town mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
erkike93
Member
Join Date: Aug 2013
Old 04-01-2015 , 01:35   Re: [v2.5.2, March 19] Trouble in Terrorist Town mod
Reply With Quote #11

Hey guskis i have this new debug log error with the ttt_defuse_system.amxx in my server check it out:

PHP Code:
L 03/31/2015 16:46:19Start of error session.
L 03/31/2015 16:46:19Info (map "de_westwood_big_snow") (file "addons/amxmodx/logs/error_20150331.log")
L 03/31/2015 16:46:19: [AMXXDisplaying debug trace (plugin "ttt_defuse_system.amxx"version "2.5.2")
L 03/31/2015 16:46:19: [AMXXRun time error 4index out of bounds 
L 03
/31/2015 16:46:19: [AMXX]    [0ttt_defuse_system.sma::c4_get (line 257)
L 03/31/2015 16:46:19: [AMXX]    [1ttt_defuse_system.sma::get_c4_info (line 162)
L 03/31/2015 16:46:19: [AMXX]    [2ttt_defuse_system.sma::ttt_wires_show (line 113)
L 03/31/2015 16:46:19: [AMXX]    [3ttt_defuse_system.sma::Ham_Use_pre (line 87)
L 03/31/2015 16:46:20: [AMXXDisplaying debug trace (plugin "ttt_defuse_system.amxx"version "2.5.2")
L 03/31/2015 16:46:20: [AMXXRun time error 4index out of bounds 
L 03
/31/2015 16:46:20: [AMXX]    [0ttt_defuse_system.sma::c4_get (line 257)
L 03/31/2015 16:46:20: [AMXX]    [1ttt_defuse_system.sma::get_c4_info (line 162)
L 03/31/2015 16:46:20: [AMXX]    [2ttt_defuse_system.sma::ttt_wires_show (line 113)
L 03/31/2015 16:46:20: [AMXX]    [3ttt_defuse_system.sma::Ham_Use_pre (line 87
I dont know what is that, or if it is dangerous, hope u can fix it or tell me what is this, here are the lines on the .sma from the log error debug:

Line 257:
PHP Code:
stock c4_get(c4)
{
    for(new 
0MAX_C4i++)
        if(
g_iC4Info[i][ENT] == c4)
            return 
i;

    return -
1// Line 257

Line 162:
PHP Code:
public get_c4_info(idc4)
{
    
g_iPlayerC4[id] = c4;
    new 
size g_iC4Info[c4_get(c4)][WIRES]; // Line 162
    
random_right(idsizeg_iC4Info[c4_get(c4)][RIGHT]);
    
random_order(idsize);

Line 113:
PHP Code:
public ttt_wires_show(ident)
{
    
reset_all(id);
    
get_c4_info(ident); // Line 113

    
new param[1];
    
param[0] = ent;
    
set_task(1.0"check_distance"idparam1"b");

    new 
size g_iC4Info[c4_get(ent)][WIRES];
    new 
menu menu_create("\rWires""ttt_wires_handler");
    for(new 
0sizei++)
        
menu_additem(menug_szWireColors[g_iPlayerWires[id][0][i]], ""0);

    
menu_setprop(menuMPROP_EXITMEXIT_ALL);
    
menu_setprop(menuMPROP_NOCOLORS1);

    
menu_display(idmenu0);
    return 
PLUGIN_HANDLED;

Line 87:
PHP Code:
public Ham_Use_pre(entididactivatortypeFloat:value)
{
    if(
type != || value != 1.0 || !is_user_alive(idactivator))
        return 
HAM_IGNORED;

    static 
Float:defuse_delay[33];
    if(
defuse_delay[idactivator] < get_gametime())
    {
        if(
ttt_get_playerstate(id) != PC_TRAITOR)
        {
            
defuse_delay[idactivator] = get_gametime() + 1.0;
            
ttt_wires_show(idactivatorent); // Line 87
        
}
    }
    return 
HAM_SUPERCEDE;

erkike93 is offline
 



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 18:01.


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