AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   Amx_super debug run time error (https://forums.alliedmods.net/showthread.php?t=275029)

Rising 11-20-2015 13:06

Amx_super debug run time error
 
Hi there,

I am getting following error after installing amx_super:

L 11/20/2015 - 09:14:20: [AMXX] Displaying debug trace (plugin "amx_super-serious.amxx")
L 11/20/2015 - 09:14:20: [AMXX] Run time error 4: index out of bounds

Can you please tell me the solution

ZEDD_Intensity 11-17-2017 09:53

Re: Amx_super debug run time error
 
Quote:

Originally Posted by Rising (Post 2364812)
Hi there,

I am getting following error after installing amx_super:

L 11/20/2015 - 09:14:20: [AMXX] Displaying debug trace (plugin "amx_super-serious.amxx")
L 11/20/2015 - 09:14:20: [AMXX] Run time error 4: index out of bounds

Can you please tell me the solution

Greetings,

I've been having this error everytime and used to shut my server down on its own.
I still couldn't find a workaround, so disabled amx_super-serious component. I don't think it'd make much difference, but if it does to you, I'd recommend finding manual plugins that you usually used with integrated super-serious. You can temporarily comment it out as I'm sure it crashes the server.

If any solution comes out, I'm subscribed to this thread. Take a look here as well.

Regards,
ZEDD

nicke011 04-07-2020 19:49

Re: Amx_super debug run time error
 
I am getting the same error on my server as well.

Code:

L 04/07/2020 - 23:19:57: [AMXX] Displaying debug trace (plugin "amx_super-serious.amxx")
L 04/07/2020 - 23:19:57: [AMXX] Run time error 4: index out of bounds
L 04/07/2020 - 23:19:57: [AMXX]    [0] amx_super-serious.sma::join_team (line 1247)

Line 1247 is part of "Team locker" function (in red):
Code:

/* Team locker
 *------------
*/
public team_select(id, key)
{
        if(g_bBlockJoin[key])
        {
                engclient_cmd(id, "chooseteam");
               
                return PLUGIN_HANDLED;
        }               
       
        return PLUGIN_CONTINUE;
}

public join_team(id)
{               
        new szArg[3];
        read_argv(1, szArg, charsmax(szArg));
       
        if(g_bBlockJoin[str_to_num(szArg) - 1])
        {
                engclient_cmd(id, "chooseteam");
               
                return PLUGIN_HANDLED;
        }

        return PLUGIN_CONTINUE;
}

Server crashed a couple of times, so I temporarily disabled this plugin. However, we are using some of the AMX commands that were part of it, so it is somewhat a hassle.

DruGzOG 04-08-2020 11:43

Re: Amx_super debug run time error
 
What amx super version are you using?


All times are GMT -4. The time now is 06:31.

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