Raised This Month: $ Target: $400
 0% 

pev_frags crashing after update, either my code is bad


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
seriousspot
BANNED
Join Date: Mar 2013
Location: Lithuania / Norway
Old 08-18-2013 , 15:36   pev_frags crashing after update, either my code is bad
Reply With Quote #1

crash dump:

Quote:
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20130818233030_1.dmp
success = yes
response: CrashID=bp-399c0ee9-1330-4879-bd54-1ce752130818
Segmentation fault
version:

Quote:
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 10:03:21 Aug 8 2013 (6132)
meta list:

Quote:
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-d ini Start ANY
[ 2] Fun RUN - fun_amxx_i386.so v1.8.3-d pl1 ANY ANY
[ 3] CStrike RUN - cstrike_amxx_i38 v1.8.3-d pl1 ANY ANY
[ 4] CSX RUN - csx_amxx_i386.so v1.8.3-d pl1 ANY ANY
[ 5] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-d pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.8.3-d pl1 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.8.3-d pl1 ANY ANY
7 plugins, 7 running
meta version:

Quote:
meta version
Metamod v1.21-am 2013-03-15 (5:13)
by Will Day <[email protected]>
http://www.metamod.org/
compiled: Mar 15 2013, 150:22 -0500 (optimized)

code:

PHP Code:
public event_alive_frags_t () {
    if (
is_game_started == false) {
        return 
1
    
}
    
    if (
is_game_started == true) {
    
        for (
integer 1integer <= cache_maxplayersinteger += 1) {
            new 
id integer
            
            
if (get_pdata_int(idpdata_team_offset) == TEAM_TERRORIST && cache_is_connected[id] == true && cache_is_bot[id] == false && cache_is_hltv[id] == false && cache_is_alive[id] == true && is_game_runing == true) {
                static 
Float:frags
            
                pev
(idpev_fragsfrags)
                
set_pev(idpev_fragsfrags float(alive_t_frags))
            }
        }
    }
    return 
0


global pcvar alive_t_frag cached on hltv round start event

function public event_alive_frags_t () called when terrorist win or in hostiges not resqued txt hooked events, any ideas?

Last edited by seriousspot; 08-18-2013 at 15:36.
seriousspot 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 15:48.


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