Raised This Month: $51 Target: $400
 12% 

jCTF + AMXX 1.8.3 Dev 4968 Crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sams
Junior Member
Join Date: Apr 2011
Location: Venezuela
Old 12-17-2015 , 21:13   jCTF + AMXX 1.8.3 Dev 4968 Crash
Reply With Quote #1

Code:
amxx version
AMX Mod X 1.8.3-dev+4968 (http://www.amxmodx.org)
Code:
[ 42] Just Capture the Flag 1.32c Digi jctf_noorpheu.amxx debug
I named it jctf_noorpheu.amxx because i disabled Orpheu module, but haven't changed anything in the code other than the CHAT_PREFIX.

Code:
L 12/17/2015 - 16:37:28: Start of error session.
L 12/17/2015 - 16:37:28: Info (map "fy_snow_dew") (file "addons/amxmodx/logs/error_20151217.log")
L 12/17/2015 - 16:37:28: [ENGINE] Invalid entity 90
L 12/17/2015 - 16:37:28: [AMXX] Displaying debug trace (plugin "jctf_noorpheu.amxx", version "1.32c")
L 12/17/2015 - 16:37:28: [AMXX] Run time error 10: native error (native "find_ent_by_class")
L 12/17/2015 - 16:37:28: [AMXX]    [0] jctf_noorpheu.sma::event_roundStart (line 4912)
L 12/17/2015 - 17:08:34: Start of error session.
L 12/17/2015 - 17:08:34: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20151217.log")
L 12/17/2015 - 17:08:34: [ENGINE] Invalid entity 123
L 12/17/2015 - 17:08:34: [AMXX] Displaying debug trace (plugin "jctf_noorpheu.amxx", version "1.32c")
L 12/17/2015 - 17:08:34: [AMXX] Run time error 10: native error (native "find_ent_by_class")
L 12/17/2015 - 17:08:34: [AMXX]    [0] jctf_noorpheu.sma::event_roundStart (line 4912)
L 12/17/2015 - 17:09:00: [ENGINE] Invalid entity 123
L 12/17/2015 - 17:09:00: [AMXX] Displaying debug trace (plugin "jctf_noorpheu.amxx", version "1.32c")
L 12/17/2015 - 17:09:00: [AMXX] Run time error 10: native error (native "find_ent_by_class")
L 12/17/2015 - 17:09:00: [AMXX]    [0] jctf_noorpheu.sma::event_roundStart (line 4912)
Code:
Line 4912

while((ent = find_ent_by_class(ent, ITEM_CLASSNAME)) > 0)
PHP Code:
public event_restartGame()
    
g_bRestarting true

public event_roundStart()
{
    new 
ent = -1

    
while((ent find_ent_by_class(entWEAPONBOX)) > 0)
    {
        
task_remove(ent)
        
weapon_remove(ent)
    }

    
ent = -1

    
while((ent find_ent_by_class(entITEM_CLASSNAME)) > 0)
    {
        
task_remove(ent)
        
entity_remove(ent)
    }

    for(new 
id 1id g_iMaxPlayersid++)
    {
        if(!
g_bAlive[id])
            continue

        
g_bDefuse[id] = false
        g_bFreeLook
[id] = false
        g_fLastBuy
[id] = Float:{0.00.00.00.0}

        
task_remove(id TASK_EQUIPAMENT)
        
task_remove(id TASK_TEAMBALANCE)
        
task_remove(id TASK_DEFUSE)

        if(
g_bRestarting)
        {
            
task_remove(id)
            
task_remove(id TASK_ADRENALINE)

            
g_bRestarted[id] = true
            g_iAdrenaline
[id] = 0
            g_iAdrenalineUse
[id] = 0
        
}

        
player_updateSpeed(id)
    }

    for(new 
iFlagTeam TEAM_REDiFlagTeam <= TEAM_BLUEiFlagTeam++)
    {
        
flag_sendHome(iFlagTeam)

        
task_remove(g_iFlagEntity[iFlagTeam])

        
log_message("%s, %s flag returned back to base.", (g_bRestarting "Game restarted" "New round started"), g_szTeamName[iFlagTeam])
    }

    if(
g_bRestarting)
    {
        
g_iScore = {0,0,0}
        
g_bRestarting false
    
}


Server runs for about 2-3 maps until it crashes. Map Spawn Editor plugin was also giving me a similar error related to find_ent_by_class but i forgot to debug it.

Last edited by Sams; 12-17-2015 at 21:18.
Sams is offline
Sams
Junior Member
Join Date: Apr 2011
Location: Venezuela
Old 12-19-2015 , 20:32   Re: jCTF + AMXX 1.8.3 Dev 4968 Crash
Reply With Quote #2

Turns out the crash wasn't related this error, it was another plugin but it wasn't giving any logs whatsoever, my bad. Still though, should i ignore this error now considering it isn't making the server crash? I haven't noticed the plugin malfunctioning either. Map Spawn Editor plugin has the same issue, guess i will post in the plugin's thread.

P.S: This might look like a bump, but just wanted to give a heads up.
Sams 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 01:11.


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